Hi,
You can either specify in the adsapi_php.ini file or via by using the
AdWordsSessionBuilder
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-php-lib%2Fblob%2Fmaster%2Fsrc%2FGoogle%2FAdsApi%2FAdWords%2FAdWordsSessionBuilder.php&sa=D&sntz=1&usg=AFQjCNGqXXYHMgP29AF7pQY_Y4FYdH-pBA>
as
below:
$session = (new AdWordsSessionBuilder())
->fromFile()
->withOAuth2Credential($oAuth2Credential)
->withclientcustomerid("XXX-XXX-XXXX")
->build();
Once you get the client customer id via ManagedCustomerService->get
<https://developers.google.com/adwords/api/docs/reference/v201802/ManagedCustomerService#get>,
you can pull up campaigns for each client customer id by using the
CampaignService
<https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService>.
Please check this section
<https://developers.google.com/adwords/api/docs/samples/php/basic-operations#get-campaigns>
of
guide for code samples.
Regards,
Dhanya, AdWords API Team
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/80282a8e-fbdd-4316-929b-3ebd460ade0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.