Re: Fetch all campaigns for all accounts w/o iterating thru accounts?

2015-04-09 Thread Danial Klimkin
Hello, Yes, you can use CustomerService to find out the effective clientCustomerId and then ManagedCustomerService to retrieve the accounts list. Please note this will pull data for the authenticated user, no the developer token MCC. You can't target an account with a dev token. -Danial, AdW

Re: Fetch all campaigns for all accounts w/o iterating thru accounts?

2015-04-09 Thread saif
I just wanted to clarify. Is it possible to get a list of accounts without including a customer ID..? Or rather get a list of customer IDs linked to a developer token? On Wednesday, April 23, 2014 at 2:23:05 AM UTC-4, Oliver wrote: > > It's not possible to do it how you want it. You need to ite

Re: Fetch all campaigns for all accounts w/o iterating thru accounts?

2014-04-22 Thread Oliver
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

Re: Fetch all campaigns for all accounts w/o iterating thru accounts?

2014-04-22 Thread Jake Wilson
Also, I've tried to do a "structure report", but it tells me "The client customer ID must be specified for report downloads." Any clues on this? On Tuesday, April 22, 2014 12:27:12 PM UTC-6, Jake Wilson wrote: > > We have multiple accounts in our MMC. Right now, in order to fetch a list > of c

Fetch all campaigns for all accounts w/o iterating thru accounts?

2014-04-22 Thread Jake Wilson
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->GetServic