Hello,

okay thanks for your answer.
I will make it with die CSV, you are right.

Thanks for your help and a have a nice day,

Regards,
Alexander Schlegel

Am Montag, 7. März 2016 18:44:23 UTC+1 schrieb Michael Cloonan (AdWords API 
Team):
>
> Hello,
>
> The LocationCriterion includes a Location, which has an ID that should be 
> filterable.
>
> However, keep in mind that the LocationCriterionService is fairly slow, 
> and doing lookups each time you have an ID is probably going to cause your 
> application to be slower than it needs to be. A better alternative would be 
> to download and parse the provided CSV file from the Geographical Targeting 
> page, which is kept up to date with complete information from the 
> LocationCriterionService.
>
> Regards,
> Mike, AdWords API Team
>
> On Monday, March 7, 2016 at 12:05:24 PM UTC-5, alexander...@brainson.de 
> <javascript:> wrote:
>>
>> Hello,
>>
>> thanks for your answer. How do I manage it with LocationCriterionService. 
>> Can I filter it with ID? Because in die Doc's are only the fields 
>> `canonicalName` and `reach`.
>>
>> Regard,
>> Alexander Schlegel
>>
>> Am Montag, 7. März 2016 16:31:50 UTC+1 schrieb Michael Cloonan (AdWords 
>> API Team):
>>>
>>> Hello,
>>>
>>> I believe the parent locations are only supposed to populate IDs; this 
>>> is expected.
>>>
>>> You can look up what each ID actually means using our Geographical 
>>> Targeting page 
>>> <https://developers.google.com/adwords/api/docs/appendix/geotargeting> 
>>> (either 
>>> manually or by downloading the CSV provided there), or by using the 
>>> LocationCriterionService 
>>> <https://developers.google.com/adwords/api/docs/reference/v201601/LocationCriterionService>
>>> .
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Friday, March 4, 2016 at 11:16:02 AM UTC-5, alexander...@brainson.de 
>>> wrote:
>>>>
>>>> Hallo Guys,
>>>>
>>>> today was my first day with the Adwords API.
>>>> I use the Beta Version of the Framework: 
>>>> https://github.com/googleads/googleads-php-lib/tree/experimental
>>>>
>>>> Now I would like to get all Location Criterions of a Campaign.
>>>> And I get it, but the parentLocations are empty (except the ID)
>>>>
>>>> My Code is like: http://pastebin.com/m4BexPa0
>>>> The Request Id is: 00052d3ac61a26c80ac4e544b5072676
>>>>
>>>> And the Return is like:
>>>>
>>>> *object*(*Google\AdsApi\AdWords\v201601\cm\Location*)[*89*]
>>>>   *protected* 'locationName' => null
>>>>   *protected* 'displayType' => null
>>>>   *protected* 'targetingStatus' => null
>>>>   *protected* 'parentLocations' => null
>>>>   *protected* 'id' => int 2276
>>>>   *protected* 'type' => null
>>>>   *protected* 'CriterionType' => null
>>>>   *public* 'Criterion.Type' => string 'Location' 
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *(length=8)It is a Bug? Or made a Mistake?I hope you can help me out ;) *
>>>>
>>>>
>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@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/25f395df-f2a7-4aa1-8efb-828de8cf046c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to