REQUESTED_METRICS_FOR_MANAGER with Test Account

1,934 views
Skip to first unread message

Test Booking Expert

unread,
Jun 15, 2019, 4:25:04 PM6/15/19
to AdWords API and Google Ads API Forum
Hello,
I get an error through OAuth Playground when requesting metrics for a Google ADS Test Account through a test developer-token.

The error is:

        "errors": [
         
{
           
"errorCode": {
             
"queryError": "REQUESTED_METRICS_FOR_MANAGER"
           
},
           
"message": "Metrics cannot be requested for a manager account. To retrieve metrics, issue separate requests against each client account under the manager account."
         
}
       
],
       
"@type": "type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure"

The error is quite clear: I think I should do request against a client account not the manager.

Thus I've created a test client user and invited to the Test account as Administrator but I need the customer ID but I can find it nowhere. The ID I find when I login with the Client account is the ID of the Manager account which is the one I get the error for.

Could you please clarify when I find the customer ID for a client account?

Thank you,
Kind regards




Google Ads API Forum Advisor Prod

unread,
Jun 17, 2019, 4:00:52 AM6/17/19
to adwor...@googlegroups.com
Hi,

Yes, report requests can only be made against client accounts when using the Google Ads API. So I can better assist you in finding the client account that you created, could you share with me your test MCC account ID? You may reply using the Reply privately to author option.

Also, you may create your your test client accounts directly under your test MCC account ID by using the CustomerService.CreateCustomerClient method.

Thanks and regards,
Peter
Google Ads API Team

ref:_00D1U1174p._5001UBnYAA:ref

Test Booking Expert

unread,
Jun 17, 2019, 9:49:08 AM6/17/19
to AdWords API and Google Ads API Forum
Hi Peter,
I finally made it. I was adding the client simply inviting him but I should have created an account from the Account Section.

Thank you for your help

Google Ads API Forum Advisor Prod

unread,
Jun 17, 2019, 10:43:32 PM6/17/19
to adwor...@googlegroups.com

Hi,

Glad to hear that you have already resolved the issue! Feel free to write back to me if you have additional clarifications.

Cheers,


Peter
Google Ads API Team



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