How to get all Campaigns Performance data under MCC account

37 views
Skip to first unread message

Hao Long

unread,
Dec 9, 2021, 3:00:28 AM12/9/21
to AdWords API and Google Ads API Forum
Hi Google Ads Team,

we have below account and campaign relationship cases:
    MCC account - account - campaigns
    MCC account - account - account - campaigns

and the requirement is we want got all campaigns performance data, we do not want to loop the accounts list to query the campaign performance data and combine it. is there have way to get the campaign performance data in one request?

Google Ads API Forum Advisor

unread,
Dec 10, 2021, 2:38:25 AM12/10/21
to adwor...@googlegroups.com

Hi Hao Long,

 

I'm Kevin from the Google Ads API Team.

 

I'm afraid that it's not possible to retrieve performance data of all accounts in a single request. I suggest you check out parallel report downloads (Google Ads API sample, AdWords API sample) as an alternative option to looping through all accounts instead.

 

Let me know if you have any further clarifications.

 

Regards,

Google Logo
Kevin Gil Soriano
Google Ads API Team
 


ref:_00D1U1174p._5004Q2SdTOb:ref

Hao Long

unread,
Dec 13, 2021, 3:58:53 AM12/13/21
to AdWords API and Google Ads API Forum
Thanks Kevin,

so i need to get the MCC account‘s lowest depth accounts list as wiki(https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy) and looping these account list to get the performance data?

Google Ads API Forum Advisor

unread,
Dec 13, 2021, 12:00:49 PM12/13/21
to adwor...@googlegroups.com
Hello,

You can get the accounts using the GetHierarchy or ListAccessibleCustomers examples to obtain a list of accessible customer IDs, which can then be passed to the parallel reports example. Please let us know if we can help with anything else.

Regards,
Matt
Google Ads API Team


Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 
Google Logo
Matt
Google Ads API Team
 


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