ads_table

The Ads table aggregates data on advertising campaigns from various platforms, detailing when ads were run, through which channels, and their performance metrics such as spend, clicks, and conversions. By querying this table, users can uncover insights into the effectiveness of their ad campaigns across different platforms, optimize ad spend, and improve targeting strategies to enhance overall ad performance.

📘

Note

event_date is a required field for queries on this table.

Dimensions

Dimensions are immutable properties that can be used for grouping data.

IDTypeDescription
event_datedateThe date the ad was run. Based on the time zone of the shop at the moment of publishing.
event_date.daydateThe day on which the ad was run. Derived from event_date.
event_date.weekdateThe Sunday of the week during which the ad was run. Derived from event_date.
event_date.monthdateThe month during which the ad was run. Derived from event_date.
event_date.quarterdateThe first month of the quarter during which the ad was run. Derived from event_date.
event_date.yeardateThe year during which the ad was run. Derived from event_date.
event_hourstringThe hour of the day the ad was run, according to a 24-hour clock. Based on the time zone of the shop at the moment of publishing.

Example values: 07, 16, 21
ad_bid_amountstringThe bid amount for the ad.

Example values: 15, 28, 30
ad_copystringThe full text (copy) of the ad.
ad_idstringThe unique ad ID. Assigned by the publisher platform.

Example value: 120210439891110007
ad_image_urlstringThe URL of the ad image.

Example value: https://www.example.com/ad-image.jpg
ad_namestringThe name of the specific ad.

Example values: Kids Ad 1, Read Our Latest Blog 03/12/2023, 8 best fall looks
ad_statusstringThe status of the ad.

Example values: active, paused
ad_typestringThe format of the ad.

Example values: video, image, copy
adset_bid_amountstringThe bid amount for the ad set.

Example values: 25, 35, 40
adset_bid_strategystringThe bidding strategy for the ad set.

Example values: LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP
adset_daily_budgetstringThe daily budget set for the ad set within a campaign. By default shown in the shop's currency.
adset_idstringThe unique ID for the ad set within a campaign. Assigned by the publisher platform.
adset_lifetime_budgetstringThe total budget set for the ad set within a campaign over its lifetime. By default shown in the shop's currency.
adset_namestringThe name of the ad set within a campaign.

Example values: Broad Audience, Bracelets, Wellness
adset_statusstringThe status of the adset.

Example values: active, paused
adset_targetingrecord repeatedDetails on targeting parameters for the adset, including specific audience segments. Learn more about adset targeting data
adset_targeting.target_keystringThe targeting category key within the adset (e.g., location, age, gender). Learn more about adset targeting data

Example values: age_min, age_max, geo_locations_countries, device_platforms, genders
adset_targeting.target_valuesrecord repeatedThe specific values associated with the targeting category key, returned as an array. Learn more about adset targeting data
amazon_marketplace_idstringThe Amazon marketplace ID for the marketplace associated with the order. See list of marketplace IDs.
amazon_report_typestringThe type of report generated for Amazon advertising activities (e.g. sponsored products, sponsored brands, sponsored display).
breakdown_dimensionstringThe dimension used to break down the data (e.g. country, gender, age, publisher platform, frequency).
breakdown_valuestringThe value of the breakdown dimension.
campaign_bid_strategystringThe bidding strategy for the campaign.

Example values: LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP
campaign_daily_budgetstringThe daily budget set for the campaign. By default shown in the shop's currency.
campaign_idstringThe unique ID for the marketing campaign associated with the ad. Assigned by the publisher platform.

Example values: 23852438666180053, 531011533, 20620285829
campaign_lifetime_budgetstringThe total budget set for the campaign over its lifetime. By default shown in the shop's currency.
campaign_namestringThe name of the marketing campaign associated with the ad.

Example values: Catalog Retargeting, US | Generic | Search, Breakfast of Champions Campaign
campaign_statusstringThe status of the campaign.

Example values: active, paused
channelstringThe platform through which the ad was delivered.
currencystringThe currency used in the ad platform.

Example values: USD, GBP, EUR
destination_urlstringThe URL where the ad redirects users upon clicking.

Example value: https://www.myshop.com/products/productA
url_templatestringA template URL used to dynamically populate ad URLs with relevant tracking parameters.

Example value: utm_source=facebook&utm_campaign={{campaign.name}}
video_urlstringThe URL of the ad video.

Example values: https://www.youtube.com/embed/example

Measures

Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.

TitleIDTypeDescription
Channel-Reported Ad SpendspendnumericChannel-Reported Ad Spend (without Custom Expenses)
ClicksclicksnumericNumber of channel-reported clicks
VisitsvisitsnumericNumber of channel-reported visits
Outbound Clicksoutbound_clicksnumericNumber of channel-reported outbound clicks
ImpressionsimpressionsnumericNumber of channel-reported impressions
Onsite Conversion Valueonsite_conversion_valuenumericChannel-reported revenue from purchases made on the ad channel shop (e.g. Meta Shop, TikTok Shop)
Onsite Purchasesonsite_purchasesnumericNumber of purchases made on the ad channel shop (e.g. Meta Shop, TikTok Shop)
Channel-Reported Conversion Valueconversion_valuenumericRevenue generated from channel-reported conversions
Channel-Reported Conversions (Purchases)conversionsnumericThe number of purchases attributed to the ad.
Google All Conversionsall_conversionsnumericThe total number of conversions of all types (e.g. purchases, registrations, subscriptions, applications), as reported by Google.
Google All Conversion Valueall_conversion_valuenumericRevenue generated from conversions of all types (e.g. purchases, registrations, subscriptions, applications), as reported by Google.
One-Day View Purchasesone_day_view_purchasesnumericThe total number of purchases made within one day of viewing the ad.
One-Day View Conversion Valueone_day_view_conversion_valuenumericThe total value of purchases made within one day of viewing the ad.
ThruplaysthruplaysnumericThe number of times a video ad was played to completion or for at least 15 seconds.
ReachreachnumericThe total number of unique individuals who saw the ad.
Inline Post Engagementinline_post_engagementnumericThe inline engagement (likes, shares, comments) with the ad.
Three-Second Video Viewthree_second_video_viewnumericThe number of times a video ad was viewed for at least 3 seconds (thumbstop ratio).

Derived

Derived fields are metrics that are pre-calculated using multiple measures or advanced formulas.

TitleIDTypeDescription
Channel-Reported Return on Ad SpendroasformulaChannel-Reported ROAS = Channel-Reported Conversion Value / Channel-Reported Ad Spend
Cost Per MillecpmformulaCost Per 1000 Impressions.

Cost Per Mille (CPM) = Ad Spend / Impressions x 1000
Click-Through RatectrformulaPercentage of people clicking on the ad.

Click-Through Rate (CTR) = Clicks / Impressions
Cost Per ClickcpcformulaCost for each click on an ad.
Cost Per AcquisitioncpaformulaCost to acquire a single paying customer.

Cost Per Acquisition (CPA) = Ad Spend / Number of Conversions
Cost Per Outbound ClickcpocformulaCost for each click leading out from the publisher platform to an external website.

Cost Per Outbound Click (CPOC) = Ad Spend / Outbound Clicks
Revenue Per Link Clickrevenue_per_link_clickformulaAverage revenue generated from each outbound click on the ad.

Revenue Per Link Click = Conversion Value / Outbound Clicks