QUANTI:
QUANTI:
  • DATA WAREHOUSES
    • Manage rights on GCP
  • CONNECTORS
    • Marketing connectors
      • Affilae
      • Awin
      • CJ
      • Criteo
      • Effinity
      • Email
      • Google Ads
      • Google Search Console
      • Google Sheets
      • Linkedin Ads
      • Meta Ads
      • Mailchimp
      • Microsoft Advertising
      • Rakuten Advertising
      • RTB House
      • Stylight
      • Tiktok
      • TimeOne
      • Wonderpush
    • Sales analytics connectors
      • Hubspot
    • Analytics connectors
      • Google Analytics 4
      • Piano Analytics
      • Piwik Pro
    • Reverse connectors
      • Adobe Analytics
      • Google Ads
  • TAG TRACKER
    • Tag setup
    • Tag data model
      • raw_hits
      • raw_sessions
      • advanced_attribution
    • Rules for calculated attribution
  • TRANSFORMATIONS
    • The principle of reconciliation
    • Pre-built tables
      • ads_import
      • ads_import_conv
      • quanti_ids
    • Tracking templates
Powered by GitBook
On this page
  • Introduction
  • Schema
  • Dimension and Unique keys
  • Metrics
  • ads_import_conv with all conversions

Was this helpful?

Edit on GitHub
  1. TRANSFORMATIONS
  2. Pre-built tables

ads_import_conv

Presentation of the aggregation table of conversions from advertising platforms.

Last updated 1 year ago

Was this helpful?


Introduction

ads_import_conv is a pre-built table that allows for the consolidation of conversion and conversion_value from all platforms into a single table.

Without ads_import_conv :

Example without ads_import_conv

With ads_import_conv :


Schema

`your-project`.quanti.aggregation.ads_import_conv
field name
type

date

DATE

quanti_id

STRING

platform_conversion

INT64

platform_conversion_value

FLOAT64


Dimension and Unique keys

The primary keys of the table are:

  • date : aggregates the data daily.

  • quanti_id : aggregates data at a "ad" level. The quanti_id allows, via 'tracking templates,' to insert this information into campaign parameters (traditionally called UTM parameters) in order to link ad-centric information with site-centric information.

Get more information about how is built quanti_id directly in quanti_ids


Metrics

The metrics of the table are:

  • platform_conversion : which accounts conversions

  • platform_conversion_value : which accounts values of the conversions.

  • Conversions and their values come from advertising platforms. So, we can say that they have an ad-centric origin. Be careful not to confuse them with the conversions reported by your analysis tool (site-centric).

  • Some platforms can track all kinds of events, not just conversions. It is then necessary to define what event is a conversion to be able to aggregate it in the table. Example: Meta Ads, Google Ads.

  • If you want to aggregate multiple events from the same platform in the table, you will not have the distinction between them.


ads_import_conv with all conversions

It is possible to have the pre-built table ads_import_conv with performance distinctions by events/conversions. Instead of having generic columns platform_conversion and platform_conversion_value, the idea is to have one column counting conversions and another column counting conversion values for each conversion.

Metrics are all prefixed by platform_conversion followed by the ID assigned by the advertising platform. The conversion values are all suffixed by _value.

Example

On Google Ads, if you track a conversion purchase with the conversion ID 12345678 (automatically assigned by Google), you will find its conversion values in the metrics:

  • platform_conversion_12345678 that counts the number of this conversion.

  • platform_conversion_12345678_value that counts value associated with this conversion.

The technique that allows, from raw data, to have an ads_import_conv table integrating a multitude of distinct conversions, incorporates in its SQL transformation process, the concept of PIVOT which allows transforming rows into columns.

Example with ads_import_conv