Get all campaigns of all accounts

29 views
Skip to first unread message

Yuvraj Chauhan

unread,
May 28, 2019, 2:38:14 AM5/28/19
to AdWords API and Google Ads API Forum
Hello team,

I'm managing different client accounts. I'm using PHP client library for my REST API. I want to get all the campaign details of all my client accounts. I tried with CampaignService example given in docs, but it requires clientCustomerId to fetch campaigns. In my case, I have multiple clientCustomerIds of different accounts.

Can you please help me with proper API and small example?

Thanx,
Yuvraj

Google Ads API Forum Advisor Prod

unread,
May 28, 2019, 5:24:57 AM5/28/19
to adwor...@googlegroups.com

Hi Yuvraj,

There is currently no way via the Google Ads API to retrieve all the campaign information of all client accounts under a specific MCC. You will be required to make one get request per clientCustomerId using the CampaignService to do so.

Thanks and regards,
Peter
Google Ads API Team



ref:_00D1U1174p._5001UAqoHC:ref
Reply all
Reply to author
Forward
0 new messages