Ads Table

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.

TitleIDTypeDescription
Event Hourevent_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
Event Dateevent_datedateThe date the ad was run. Based on the time zone of the shop at the moment of publishing.
Event Dayevent_date.daydateThe day on which the event occurred. Derived from event_date.
Event Weekevent_date.weekdateThe Sunday of the week during which the event occurred. Derived from event_date.
Event Monthevent_date.monthdateThe month during which the event occurred. Derived from event_date.
Event Quarterevent_date.quarterdateThe first month of the quarter during which the event occurred. Derived from event_date.
Event Yearevent_date.yeardateThe year during which the event occurred. Derived from event_date.
Ad Bid Amountad_bid_amountstringThe bid amount for the ad.

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

Example value: 120210439891110007
Ad Image URLad_image_urlstringThe URL of the ad image.

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

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

Example values: active, paused
Ad Typead_typestringThe format of the ad.

Example values: video, image, copy
Adset Bid Amountadset_bid_amountstringThe bid amount for the adset.

Example values: 25, 35, 40
Adset Bid Strategyadset_bid_strategystringThe bidding strategy for the adset.

Example values: LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS
Adset Daily Budgetadset_daily_budgetstringThe daily budget set for the adset within a campaign. By default shown in the shop's currency.

Example values: 1750, 6000, 40000
Adset IDadset_idstringThe unique ID for the adset associated with the ad click. Assigned by the publisher platform.

Example value: 120210439890740003
Adset Lifetime Budgetadset_lifetime_budgetstringThe total budget set for the adset within a campaign over its lifetime. By default shown in the shop's currency.

Example values: 5000, 10000, 20000
Adset Nameadset_namestringThe name of the adset within a campaign.

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

Example values: active, paused
Adset Targetingadset_targetingrecord repeatedDetails on targeting parameters for the adset, including specific audience segments. Learn more about adset targeting data
Target Keyadset_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
Target Valuesadset_targeting.target_valuesrecord repeatedThe specific values associated with the targeting category key, returned as an array. Learn more about adset targeting data
Amazon Marketplace IDamazon_marketplace_idstringThe Amazon marketplace ID for the marketplace associated with the order. See list of marketplace IDs.
Amazon Report Typeamazon_report_typestringThe type of report generated for Amazon advertising activities (e.g. sponsored products, sponsored brands, sponsored display).
Breakdown Dimensionbreakdown_dimensionstringThe dimension used to break down the data, e.g., Country, Gender, Age, Publisher Platform, Frequency.
Breakdown Valuebreakdown_valuestringThe value of the breakdown dimension.
Campaign Bid Strategycampaign_bid_strategystringThe bidding strategy for the campaign.

Example values: LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS
Campaign Daily Budgetcampaign_daily_budgetstringThe daily budget for the campaign.

Example values: 8000, 10000, 15000
Campaign IDcampaign_idstringThe unique ID for the marketing campaign associated with the ad. Assigned by the publisher platform.

Example values: 23852438666180053, 531011533, 20620285829
Campaign Lifetime Budgetcampaign_lifetime_budgetstringThe lifetime budget for the campaign.

Example values: 5000, 10000, 20000
Campaign Namecampaign_namestringThe name of the marketing campaign associated with the ad.

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

Example values: active, paused
ChannelchannelstringThe platform through which the ad was delivered.

Example values: facebook-ads, google-ads, tiktok-ads
CurrencycurrencystringThe currency used in the ad platform.

Example values: USD, GBP, EUR
Destination URLdestination_urlstringThe destination URL where users land after clicking the ad.

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

Example value: utm_source=facebook&utm_campaign={{campaign.name}}
Video URLvideo_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
All Conversion Valueall_conversion_valuenumericRevenue generated from channel-reported conversions of all types (e.g. purchases, registrations, subscriptions, applications).
All Conversionsall_conversionsnumericThe total number of channel-reported conversions of all types (e.g. purchases, registrations, subscriptions, applications).
ClicksclicksnumericNumber of channel-reported clicks.
Channel-Reported Conversion Valueconversion_valuenumericRevenue generated from channel-reported conversions (purchases).
Channel-Reported Conversions (Purchases)conversionsnumericNumber of channel-reported conversions (purchases).
EngagementsengagementsnumericNumber of interactions with the ad (likes, shares, etc).
FollowsfollowsnumericNumber of new follows attributed to the ad.
ImpressionsimpressionsnumericNumber of channel-reported impressions.
Inline Post Engagementinline_post_engagementnumericNumber of inline engagement (likes, shares, comments) with the ad.
One-Day View Conversion Valueone_day_view_conversion_valuenumericThe total value of channel-reported purchases made within one day of viewing the ad.
One-Day View Purchasesone_day_view_purchasesnumericThe total number of channel-reported purchases made within one day of viewing the ad.
Onsite Conversion Valueonsite_conversion_valuenumericRevenue from channel-reported purchases made on the ad channel shop (e.g. Meta Shop, TikTok Shop).
Onsite Purchasesonsite_purchasesnumericNumber of channel-reported purchases made on the ad channel shop (e.g. Meta Shop, TikTok Shop).
Outbound Clicksoutbound_clicksnumericNumber of channel-reported outbound clicks.
ReachreachnumericThe total number of unique individuals who saw the ad.
Ad SpendspendnumericChannel-reported ad spend, excluding any custom expenses marked as ad spend.
Three-Second Video Viewthree_second_video_viewnumericThe number of times a video ad was viewed for at least 3 seconds (thumbstop ratio).
ThruplaysthruplaysnumericThe number of times a video ad was played to completion or for at least 15 seconds.
VisitsvisitsnumericNumber of channel-reported visits.

Derived

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

TitleIDTypeDescription
All Cost Per Acquisition (All CPA)all_cpaformulaCost per conversion of all types (e.g. purchases, registrations, subscriptions, applications).

All CPA = Ad Spend / All Conversions
All Return on Ad Spendall_roasformulaRevenue generated per dollar spent on ads, for channel-reported conversions of all types (e.g. purchases, registrations, subscriptions, applications).

All ROAS = All Conversion Value / Ad Spend
Average Order ValueaovformulaThe average order value as reported by the ad channel.

Channel-Reported AOV = Channel-Reported Conversion Value / Number of Channel-Reported Conversions
Conversion Rateconversion_rateformulaThe percentage of visits that convert into orders, as reported by the channel.

Channel-Reported Conversion Rate = Number of Channel-Reported Conversions / Number of Visits
Cost Per AcquisitioncpaformulaThe cost to acquire a single conversion, as reported by the channel.

Channel-Reported CPA = Ad Spend / Number of Channel-Reported Conversions
Cost Per ClickcpcformulaThe average cost for each ad click.

CPC = Ad Spend / Clicks
Cost Per MillecpmformulaThe cost for 1,000 ad impressions.

CPM = Ad Spend / Impressions x 1000
Cost Per Outbound ClickcpocformulaCost for each click leading out from the publisher platform to an external website.

CPOC = Ad Spend / Outbound Clicks
Cost Per VisitcpvformulaThe cost for each visit driven by ads.

CPV = Ad Spend / Number of Visits
Click-Through RatectrformulaThe percentage of impressions that result in a click.

Click-Through Rate (CTR) = Clicks / Impressions
Revenue Per Link Clickrevenue_per_link_clickformulaAverage revenue generated from each outbound click on the ad.

Revenue Per Link Click = Conversion Value / Outbound Clicks
Channel-Reported Return on Ad SpendroasformulaRevenue generated per dollar spent on ads, as reported by the channel.

Channel-Reported ROAS = Channel-Reported Conversion Value / Ad Spend