Hi Brian.

Till you're waiting answer from Google team try to remove:
"ParentLocations", "Reach"

May be problem located in strings comparing on API side. So Reach is
determines not as Euro Countries association, but like one of
locations in Tennessee state in United States.

Regards,
Evgeniy.

On 7 янв, 00:32, Brian King <[email protected]> wrote:
> I am using the below code (taken from the code examples) to get a set of
> locations. The returned data contains invalid results. (In this example,
> Rock City, TN is returned). Can someone please tell me what I am doing
> wrong? Thank you.
>
>             var predicate1 = new Media.Predicate
>             {
>                 field = "LocationName",
>                 @operator = Media.PredicateOperator.IN,
>                 operatorSpecified = true,
>                 values = new[] {"Paris", "Quebec", "Spain", "Deutschland"}
>             };
>
>             var predicate2 = new Media.Predicate
>             {
>                 field = "Locale",
>                 @operator = Media.PredicateOperator.EQUALS,
>                 values = new[] { "en" },
>                 operatorSpecified = true
>             };
>
>             var selector = new Media.Selector
>             {
>                 predicates = new[] { predicate1, predicate2 },
>                 fields = new[] { "Id", "LocationName", "CanonicalName",
> "DisplayType",
>           "ParentLocations", "Reach" }
>             };
>
>             var locations = lservice.get(selector);

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to