LocationCriterionService Returns empty results for a locationID recieved from CampaignLocationTargetReport

21 views
Skip to first unread message

as...@singular.net

unread,
Mar 24, 2017, 2:00:57 AM3/24/17
to AdWords API Forum
Hi!

We are querying an account data using the CampaignLocationTargetReport and then want to transform the locationID to a country name using LocationCriterionService,

The problem is we sometimes receive bizarre location IDs from CampaignLocationTargetReport that if you send them to LocationCriterionService you get an empty response.

99% of the our requests work fine but several IDs are not working, Can you help us?
An example of the problematic IDs we receive from CampaignLocationTargetReport:  ["297355036044","183428735334","171048395814"]

Ivan Bautista

unread,
Mar 24, 2017, 4:17:54 AM3/24/17
to AdWords API Forum
Hi,

I couldn't find the location IDs you provided in the Geographical Targeting table which probably is the reason why you're getting an empty response from the LocationCriterionService.get() using those location IDs. Could you reply to us privately with the sample report definition you used to generate the CampaignLocationTargetReport containing the problematic IDs as well as a copy of the generated report.

Regards,
Ivan 
AdWords API Team
Reply all
Reply to author
Forward
0 new messages