Thanks Bharani for the useful information. I thought the AdWords API maps to the report using Report Editor but now I know that it matches the one in the AdWords dashboard (https://adwords.google.com/aw/<ads/adgroups/campaigns>?ocid). However, about in-matching results of API call & UI, I would like to ask 2 questions:
1. With the same report query: "SELECT Id, CampaignName, AdGroupName, Clicks, Impressions, Ctr, AverageCpc, Cost, Conversions, ViewThroughConversions, CostPerConversion, ConversionRate FROM AD_PERFORMANCE_REPORT DURING LAST_WEEK" now returns 21978 rows (API), but when I use the AdWords UI (https://adwords.google.com/aw/ads?ocid=...), it shows only 21246 rows. Note that I selected ALL Campaign status, ALL Group status and ALL Ad status already. Similar thing happens for AdGroup Performance or Campaign Performance reports. For example, I found that the API result contains some campaign names which I couldn't find them on the UI: < AWN_001:00000000013edd3b_00000000013edef8 < AWN_001:00000000013edd3b_00000000013ef211 < AWX_001:00000000013edd3b_00000000013edef8 < AWX_001:00000000013edd3b_00000000013edef8_content < AWX_001:00000000013edd3b_00000000013ef211 < AWX_001:00000000013edd3b_00000000013ef211_content Am I missing something? Is there any hidden filter on AdWords UI that causes this? I would like to know them all as we rely on the AdWords UI to compare it with the result of our API call. 2. I found that the AdWords Report Editor works differently from API call on the same Attributes, Segments & Metrics. For example, if I use AdWords Report Editor to select row keys (Ad Id, Year), and metrics (Clicks, Impressions), the result seems to be aggregated by Year and the number of rows gets reduced significantly. Whereas, in the API call's result using Ad Performance Report, there are about the same number of Ad items (~21978 rows). Is there any way to build query using API so that the result can match with the one in Report Editor UI? Thanks in advance! On Friday, April 13, 2018 at 2:54:37 AM UTC+7, Bharani Cherukuri (AdWords API Team) wrote: > > Hello, > > I was able to take a look at the discrepancy you're noticing. The AdWords > API have similar naming conventions as UI reports. However, the stats > pulled through the API map to the corresponding Ads tab metrics in the UI. > Please refer to this guide > <https://developers.google.com/adwords/api/docs/guides/uireports> on how > API reports are mapped in the UI. > > Let me know if you have any other questions. > > Thanks, > Bharani, AdWords API Team > > On Thursday, April 12, 2018 at 6:09:11 AM UTC-4, Khoa Nguyen wrote: >> >> Hi AdWords API support team, >> >> It seems the result of report query by API and AdWords UI is different: >> - With the following report query: >> SELECT Id, CampaignName, AdGroupName, Clicks, Impressions, Ctr, >> AverageCpc, Cost, Conversions, ViewThroughConversions, CostPerConversion, >> ConversionRate >> FROM AD_PERFORMANCE_REPORT DURING LAST_WEEK >> >> In the AdWords UI (I used predefined "Basic / Ad" report), it shows 21240 >> rows whereas the API returns 21972 rows. I found that there are some Ids in >> the API result not found in the AdWords UI. >> - With this report query (add Year segment): >> >> SELECT Id, CampaignName, AdGroupName, Year, Clicks, Impressions, Ctr, >> AverageCpc, Cost, Conversions, ViewThroughConversions, CostPerConversion, >> ConversionRate >> FROM AD_PERFORMANCE_REPORT DURING LAST_WEEK >> >> In the AdWords UI, once I add "Year" to the row key, it shows 222 rows >> whereas the API still returns 21972 rows and the "Year" column all contains >> "2018" value >> >> Do you have any idea why it's like that? >> >> Thank you. >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to email@example.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 "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/816edae7-aff4-49a8-92c1-fb3943778d98%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.