As with version v201603 "CountryCode" seems to be a valid field, 
nevertheless it does not return any value. 
Please help!
thanks,
Armin



On Friday, November 2, 2012 at 1:58:42 PM UTC+2, Danial Klimkin wrote:
>
> Hello Ian,
>
>
> 'CountryCode' is not a valid selector field according to the documentation:
>
>   
> https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201209-LocationCriterionService
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, November 1, 2012 4:54:50 AM UTC+4, Ian Knox wrote:
>>
>> It's handy but currently the country code attribute seems broken (or at 
>> least with the PHP client)
>>
>>
>>   $selector->fields = array('Id', 'LocationName', 
>> 'CanonicalName','DisplayType',  'ParentLocations', 'Reach', 
>> 'TargetingStatus', 'CountryCode');
>>   $selector->predicates[] = new Predicate('ID', 'EQUALS', 2084);
>>
>> Yields: 
>>
>> Array
>> (
>>     [0] => LocationCriterion Object
>>         (
>>             [location] => Location Object
>>                 (
>>                     [locationName] => Ukraine
>>                     [displayType] => Country
>>                     [targetingStatus] => ACTIVE
>>                     [parentLocations] =>
>>                     [id] => 2804
>>                     [type] =>
>>                     [CriterionType] => Location
>>                     [_parameterMap:Criterion:private] => Array
>>                         (
>>                             [Criterion.Type] => CriterionType
>>                         )
>>
>>                 )
>>
>>             [canonicalName] => Ukraine
>>             [reach] => 4100000
>>             [locale] =>
>>             [searchTerm] =>
>>             [countryCode] =>
>>         )
>>
>> )
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5417461c-1b1c-46a8-856e-9b886c202a3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to