Hi David,
You can perform a LocationCriterionService.get()
<https://developers.google.com/adwords/api/docs/reference/v201705/LocationCriterionService#get>
request
with the following selector to get the name of the location using a
location Id.
$selector = new Selector();
$selector->setFields(['Id', 'LocationName', 'CanonicalName', 'DisplayType',
'ParentLocations']);
$selector->setPredicates([new Predicate('Id', PredicateOperator::EQUALS, [
$countryCriteriaId])]);
Please try this out and let me know if you are able to get the name of
locations using Location Id
<https://developers.google.com/adwords/api/docs/reference/v201705/LocationCriterionService.Location#id>
.
Regards,
Shwetha, AdWords API Team.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/a4d82735-87bd-41fa-b80d-1188a9d302b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.