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.schle...@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/d573a6a0-622a-4362-944f-ac4eaba28873%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • CampaignCriteri... alexander . schlegel
    • Re: Campai... 'Yin Niu' via AdWords API Forum
    • Re: Campai... 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
      • Re: Ca... alexander . schlegel
        • Re... 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
          • ... alexander . schlegel

Reply via email to