I had an answer from the support of Adwords API:

You can switch the clientid at runtime using
AdWordsUser::SerClientId() method. See
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php#507
for details.


On 10 mrt, 11:56, Bart <[email protected]> wrote:
> Hi,
>
> I want to make a script that requests day by day the google costs of
> my active campaigns.
> I have in my MCC multiple accounts.
>
> At this moment I'm able to have the adwords costs per campaign for one
> google account (the account that I have configured in the clientId).
> What is the best and cheapest way to do this for multiple accounts?
>
> I don't know how I can do this for multiple accounts.
>
> I have seen that there is a multiple account - option in the report
> service (clientEmails, crossClient) I could be wrong but I don't think
> this is the way to go for having my daily cost per campaign. I don't
> want an email or a download link, I want the daily costs and put them
> in a database.
>
> At this moment I was thinking to duplicate the Adwords api classes for
> each account and configure the clientId in the inifile seperatly.
>
> I hope someone can point me to the best direction.
>
> Thx

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to