googleAds:search account manager

69 views
Skip to first unread message

Giuseppe Pandolfino

unread,
Jan 5, 2022, 12:05:44 PM1/5/22
to AdWords API and Google Ads API Forum
Hi,
to migrate from Google AdWords, I am trying to get the same information using Ads API.

I need to get the same structure that was used by of https://developers.google.com/adwords/api/docs/appendix/reports/adgroup-performance-report and I set a query like this:
"SELECT customer.id,segments.date,campaign.id,ad_group.id,segments.device,metrics.impressions,metrics.clicks,metrics.cost_micros,metrics.conversions,metrics.top_impression_percentage FROM ad_group WHERE segments.date BETWEEN 'yyyy-mm-dd' AND ' yyyy-mm-dd '" that cover what I need.

I test the result using https://googleads.googleapis.com/v9/customers/MYCUSTOMEID/googleAds:search
.

I need to use my admin customer id but i can't because you receive "Metrics cannot be requested for a manager account. To retrieve metrics, issue separate requests against each client account under the manager account".

I have more than 300+ client account, I can't call 300times the api...

Exists another way using REST to obtain the result?

Google Ads API Forum Advisor

unread,
Jan 5, 2022, 3:30:08 PM1/5/22
to giuseppe....@motork.io, adwor...@googlegroups.com
Hi Giuseppe,

Unfortunately for you, The Ads API can only pull metrics reports on production accounts and not on MCC accounts with the included sub accounts. We recommend you use one of our client libraries to automate the report pulls, we have a Get Account Hierarchy sample application for all our client libraries to harvest account the hierarchy of accounts and this can be used by our sample Parallel Report Download in some client libraries  that can be modified easily to pull any report from many accounts. If you can automate REST it may also work. 

Could you tell us how you are managing with just REST when you have so many accounts in the hierarchy? Could you tell us also in business terms how this lack of cross account reporting is affecting you?

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2UgnqT:ref

Google Ads API Forum Advisor

unread,
Jan 5, 2022, 3:32:25 PM1/5/22
to adwor...@googlegroups.com, giuseppe....@motork.io
Hi Giuseppe,

Please note that the AdWords API is deprecated and will be sunset on April 27, 2022. We strongly recommend that you migrate to the Google Ads API as soon as possible.

Giuseppe Pandolfino

unread,
Jan 10, 2022, 10:48:11 AM1/10/22
to AdWords API and Google Ads API Forum
hi,
what about https://developers.google.com/google-ads/scripts ? My target for the data is google big query

Google Ads API Forum Advisor

unread,
Jan 10, 2022, 11:09:04 PM1/10/22
to giuseppe....@motork.io, adwor...@googlegroups.com

Hi Giuseppe,

Thanks for getting back to us.

You mention that you are looking for a Google Ads script, I recommend posting on the dedicated Ads scripts forum. Note that this forum channel can only provide assistance to issues/concerns related to the AdWords API / Google Ads API.

Let us know if you have any further questions.

Regards,

Google Logo
Yasar
Google Ads API Team
 


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