Attention! The Google BigQuery integration has to be enabled to use this feature.

Importing data from myTarget

After enabling this data source, myTarget advertising costs information will be uploaded to Google BigQuery once every 24 hours.

Connecting and configuring

The process of connecting data sources is described in detail in the overview.

After authorization you need to set the data source parameters.

(1) The name of the data source. It is displayed in the interface in the list of sources.

(2) Value multiplier. Multiplied by the cost in the final report.

Import normalized costs report (3) - enable/disable to import normalized costs report.

Import banners statistics (4) - enable/disable to import banners statistics costs, without normalizing the values ​​in the table.

Where to get data on advertising costs

The data for the normalized costs report will be written to a table named myTargetCosts_{USER_ID}_{YYYYMMDD}

The data for the banner statistics report will be written to a table named myTargetCampaignStatistics_{USER_ID}_{YYYYMMDD}

Table structure

myTargetCosts

Field name Type Mode
cost FLOAT REQUIRED
clicks INTEGER NULLABLE
impressions INTEGER NULLABLE
utmTerm STRING NULLABLE
utmCampaign STRING NULLABLE
utmContent STRING NULLABLE
utmMedium STRING REQUIRED
utmSource STRING REQUIRED
currency STRING NULLABLE

myTargetCampaignStatistics

Field name Type Mode
cost FLOAT REQUIRED
impressions INTEGER REQUIRED
clicks INTEGER REQUIRED
banner_id INTEGER REQUIRED
campaign_id INTEGER REQUIRED
campaign_name STRING REQUIRED