It's not possible to do it how you want it. You need to iterate through each account. Here is a similar discussion (check last few posts):
https://groups.google.com/forum/#!topic/adwords-api/6_se0m7g1v8 Oliver On Tuesday, April 22, 2014 7:27:12 PM UTC+1, Jake Wilson wrote: > > We have multiple accounts in our MMC. Right now, in order to fetch a list > of campaigns, it's on a per-account basis. That is, we have to specify > which account we want to fetch campaigns for: > > $user = new AdWordsUser(); > $user->setClientCustomerId($accountId); > > $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); > > $selector = new Selector(); > $selector->fields = array( > 'Id', > 'Name', > 'Status', > etc... > > So this means, that if we want to get a list of ALL campaigns for our MMC, > we have to iterate through each account, and get the campaigns for each > account, thus requiring multiple calls to the API. > > Is it possible to fetch all campaigns at once? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. For more options, visit https://groups.google.com/d/optout.
