ads_import_conv
Presentation of the aggregation table of conversions from advertising platforms.
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 :

With ads_import_conv :

Schema
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. Thequanti_idallows, 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_12345678that counts the number of this conversion.platform_conversion_12345678_valuethat 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.
Last updated