Hi Google Ads API Support, I've pulled my Google Ads data into BigQuery and I'm attempting to pull specific data using standard SQL queries - I'm attempting to get my values as accurate to the UI as possible.
Campaign Level + Ad Group level all metrics are 100% except for my Impr. and Conv. I've recently learned that these discrepancies in Impressions and Conversions are normal. Could you provide me with SQL logic that accurately reflects what is shown on the UI? Here are my queries: Generic stats at Campaign + Ad Group level: #standardSQL SELECT ADG.date, CMP.CampaignId, BASE.CampaignName, CMP.AdGroupID, CMP.AdGroupName, ADG.Cost, ADG.Clicks, ADG.Impressions, ADG.Interactions, FROM `p_AdGroup_3355755821` as CMP LEFT JOIN `p_AdGroupBasicStats_3355755821` as ADG ON CMP.AdGroupId = ADG.AdGroupId LEFT JOIN `p_Campaign_3355755821` as BASE ON CMP.CampaignId = BASE.CampaignId WHERE ADG.Date >= DATE_ADD(CURRENT_DATE(), INTERVAL -31 DAY) AND ADG.ExternalCustomerId = {yourid} GROUP BY 1,2,3,4,5,6,7,8,9; Conversions at Campaign + Ad Group level: #standardSQL SELECT ADG.date, CMP.CampaignId, BASE.CampaignName, CMP.AdGroupID, CMP.AdGroupName, ADG.ConversionTypeName, ADG.Conversions FROM `p_AdGroup_3355755821` as CMP LEFT JOIN `p_AdGroupConversionStats_3355755821` as ADG ON CMP.AdGroupId = ADG.AdGroupId LEFT JOIN `p_Campaign_3355755821` as BASE ON CMP.CampaignId = BASE.CampaignId WHERE ADG.Date >= DATE_ADD(CURRENT_DATE(), INTERVAL -31 DAY) AND ADG.ExternalCustomerId = {yourid} GROUP BY 1,2,3,4,5,6,7; Thanks, MJ -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/fe772a37-3dd3-4504-824a-2e1b321ebdb5n%40googlegroups.com.