As the documentation states, you should use LocationCriterionService to 
look up the MostSpecificCriteriaId. Alternatively, you could try to look up 
MostSpecificCriteriaId in the *Geotargets CSV file 
<https://developers.google.com/adwords/api/docs/appendix/geotargeting>*.

Google supplies a new table every few months, unfortunately you cannot 
automate the detection of a new file. Also, you cannot automatically 
determine the location of the latest table.
In other words, be prepared for the possibility you cannot find a location 
in the table. In that case you should use LocationCriterionService.


On Tuesday, January 7, 2020 at 5:45:38 AM UTC+1, R wrote:
>
> If possible, could someone post an example of how to get the information 
> from the LocationCriterionService in Python. I am having trouble tracing 
> the most specific id to an actual location. 
>
> On Monday, January 6, 2020 at 11:02:41 PM UTC-5, R wrote:
>>
>> Hi, 
>>
>> I ran the following ad words query: 
>>
>> report_query = (adwords.ReportQueryBuilder()
>>                   .Select( 
>> 'CampaignId','Date','CountryCriteriaId','CityCriteriaId','MostSpecificCriteriaId','Clicks','Impressions',
>>                             'AverageCpc','AverageCpm','ConversionRate' )
>>                   .From('GEO_PERFORMANCE_REPORT')
>>                   .Build())
>>
>> It is running just fine, but the output for 'MostSpecificCriteriaId' is 
>> 9019293 etc. I was expecting zip code, what does this most specific id 
>> correspond to? 
>>
>> Thanks!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/a1970c12-2642-415a-8ddd-f3d9eed966c3%40googlegroups.com.

Reply via email to