Posted on

Iris, a consumer electronics brand, recently started using AMC to perform analytics on events related to their Amazon Ads campaigns. Why should Iris consider using the instructional query library?

  • To find a searchable list of AMC tables and fields available to query, including Amazon Ads events and tables uploaded by Iris
  • To ensure minimum aggregation thresholds are met on all queries
  • Iris should not consider using the instructional query library as it does not apply to advertiser uploaded inputs
  • To save time and reduce errors when compared to writing custom SQL queries from scratch

The correct answer is:

  • To save time and reduce errors when compared to writing custom SQL queries from scratch
Posted on

How would you adapt this query to obtain cost and impression metrics by supply_source? SELECT device_type, operating_system, SUM(total_cost)/100000 AS total_cost_dollars, ((SUM(total_cost)/100000)/SUM(impressions))*1000 AS avg_cpm, SUM(impressions) AS impressions FROM dsp_impressions GROUP BY 1,2

  • SELECT supply_source, SUM(total_cost)/100000000 AS total_cost_dollars, ((SUM(total_cost)/100000000)/SUM(impressions))*1000 AS avg_cpm, SUM(impressions) AS impressions FROM dsp_inventory GROUP BY 1
  • SELECT supply_source, SUM(total_cost)/100000 AS total_cost_dollars, ((SUM(total_cost)/100000)/SUM(impressions))*1000 AS avg_cpm, SUM(impressions) AS impressions FROM dsp_impressions GROUP BY 1,2
  • SELECT supply_source, SUM(total_cost)/100000 AS total_cost_dollars, ((SUM(total_cost)/100000)/SUM(impressions))*1000 AS avg_cpm, SUM(impressions) AS impressions FROM dsp_impressions GROUP BY 1

The correct answer is:

  • SELECT supply_source, SUM(total_cost)/100000 AS total_cost_dollars, ((SUM(total_cost)/100000)/SUM(impressions))*1000 AS avg_cpm, SUM(impressions) AS impressions FROM dsp_impressions GROUP BY 1,2
Posted on

Which of these statements is false regarding the amazon_attributed_events_by_conversion_time table?

  • The impressions column should not be leveraged to calculate total impressions served in the query timeframe
  • The time window used for your query will apply to the time of the conversion event
  • Conversions included within this table have occurred within 14 days of a traffic event
  • The conversions field will always contain a value of either 1 or 0

The correct answer is:

  • The conversions field will always contain a value of either 1 or 0.