Wednesday, 22 June 2016

Re: LocationCriterionService does not return Country Code

Hello Armin,

In fact, CountryCode is not selectable, so even if you specify that in the Selector, it will not be returned.
(If a field can be selected, it will be explained explicitly in a reference page.
For example, you can see countryCode is said to be filterable, whereas canonicalName is said to be selectable)

You can instead suggest country codes via predicates.

Cheers,
Thanet, AdWords API Team

On Friday, June 17, 2016 at 2:05:00 AM UTC+9, armin.laidre@netekspert.com wrote:
It appears that the field name "CountryCode" is valid, but the LocationCriterionService does not return any value. It's aways nothing..
All other fields return values correctly.

I'm helpful for any hints!

selector.fields = New String() {"Id", "LocationName", "CanonicalName", "CountryCode", "DisplayType", "ParentLocations", "Reach"}

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@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/cec3b08c-5a15-4908-8df4-a97a84bc67d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment