Hi Mike,

1. You could modify the code example at 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201309/Reporting/DownloadCriteriaReport.php#L51
 
to download reports for a custom date. I don't have a handy code example to 
share for custom dates, but you could look at 
https://adwords.google.com/api/adwords/reportdownload/v201309/reportDefinition.xsd
 
for details on how the schema for reportdefinition looks like. Also, if you 
include Date as a column, your report will get segmented by date, so you 
would need to run only one report for the whole period.
2. You can set customerId at runtime. Please take a look at the constructor 
for AdWordsUser class for details. 
https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php

Cheers,
Anash P. Oommen,
AdWords API Advisor.



On Friday, February 28, 2014 5:06:17 AM UTC-5, Mike Young wrote:
>
> Yes the PHP way I am currently using (v201306, 
>> getcampaignstats.php)......I have created a way to rotate the clientiD in 
>> the auth.ini file, but not for the new version for some reason.
>>
>
> Are you saying I should : -
> 1. Run the file download criteria report to get todays report
> 2. Then run another version to get yesterdays,
> 3. Then change the auth.ini file clientid number and then  
>
> For the next client
> 1. Run the file download criteria report to get todays report
> 2. Then run another version to get yesterdays,
> 3. Then change the auth.ini file clientid number and then  
>
> For the next client
> 1. Run the file download criteria report to get todays report
> 2. Then run another version to get yesterdays,
> 3. Then change the auth.ini file clientid number and then  
>
> ETC 25 times for each client?
>
> How do I run multiple reports (today and yesterday) for many clients.
>
> I have done this using the Bing API in 63 lines of code !
> I provide the MCC and it gets all clients in one go.
>
> Google so far is 29MB , does not get reports for different days or 
> different clients.
>
> Can you provide a definitive answer to how one should obtain these reports?
>
> Please help........
>
>
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to