Labels on Ad level in the Google Ads API vs Adwords

33 views
Skip to first unread message

maria.r...@funnel.io

unread,
Sep 2, 2020, 4:22:37 AM9/2/20
to AdWords API and Google Ads API Forum
Hi the Google Ads API team! 

We are trying to request labels from the Google Ads API on an Ad level and want to match the request to give the same result as in the Adwords API.

In the Adwords API we use the request:
SELECT Id, Labels, Clicks, Impressions, Cost, Date FROM AD_PERFORMANCE_REPORT DURING 20200701,20200702 

But since there are no "labels" resource field in the ad_group_ad report we are trying to use the ad_group_ad_label report to get the labels names and map them to the corresponding ad ids in the response from the Google Ads API request. Mostly it works fine when we compare the labels in the responses, but in some cases we get more labels on an ad from the Google Ads API than from Adwords. Do you know what causes this discrepancy between the APIs?

Requests to the Google Ads API:
SELECT ad_group_ad.ad.id, metrics.clicks, metrics.impressions, metrics.cost_micros, segments.date FROM ad_group_ad WHERE segments.date BETWEEN '2020-07-01' AND '2020-07-02'
and 
SELECT ad_group_ad.ad.id, label.name FROM ad_group_ad_label 

Best regards,
Maria Ravander,
Developer @ Funnel 


Google Ads API Forum Advisor Prod

unread,
Sep 2, 2020, 3:33:19 PM9/2/20
to maria.r...@funnel.io, adwor...@googlegroups.com
Hi Maria,

Could you please reply privately to author both your AdWords and Google Ads API reports and let me know which rows are showing inconsistencies?

Thanks,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q23wYlX:ref
Reply all
Reply to author
Forward
0 new messages