Re: Basic report for many clients

2014-02-13 Thread Jeremy Aube
Young wrote: How do I use a basic report for many clients. (Cost, Conversions, Impressions etc) I have 1 MCC with 30 clients (all different IDs) I would usually add the clientID in auth.ini , but as it changes have wrote a script with a counter that each time the API is run using

Re: Basic report for many clients

2014-02-13 Thread Mike Young
By a separate thread, are you meaning a copy of the whole google adwords folder as it contains only one clientID in the auth.ini file. The whole folder download is 29mb. I cant replicate this 30 times. I do not want to produce spaghetti coding. Surely you have a procedure that gets all the

Re: Basic report for many clients

2014-02-13 Thread Jeremy Aube
http://stackoverflow.com/questions/70855/how-can-one-use-multi-threading-in-php-applications On Thursday, February 13, 2014 10:16:05 AM UTC-5, Mike Young wrote: By a separate thread, are you meaning a copy of the whole google adwords folder as it contains only one clientID in the auth.ini

Re: Basic report for many clients

2014-02-13 Thread Mike Young
Ok, if I run the same page in 10 threads (running it 10 times) it will still pick up the same clientID in the auth.ini file (123-456-7890) How do I get it to change and use the rest of the client IDs that I need? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog

Re: Basic report for many clients

2014-02-13 Thread Jeremy Aube
There should be a way for you to specify the client id for each request. I'm not very familiar with the PHP library, so I can't help in terms of actual implementation, but that's how it typically works for other libraries. On Thursday, February 13, 2014 10:23:09 AM UTC-5, Mike Young wrote:

Re: Basic report for many clients

2014-02-13 Thread Ray Tsang (AdWords API Team)
Mike, You could potentially run it in a batched fashion from the command line, and launching multiple processes with each process grabbing data for a different client customer ID. That being said, if serial execution is too slow, I feel your best option is to execute in parallel.

Basic report for many clients

2014-02-12 Thread Mike Young
How do I use a basic report for many clients. (Cost, Conversions, Impressions etc) I have 1 MCC with 30 clients (all different IDs) I would usually add the clientID in auth.ini , but as it changes have wrote a script with a counter that each time the API is run using a scheduled task (every