Problems using AccountBudgetProposal/BillingSetupOperation

82 views
Skip to first unread message

Diogo Pereira

unread,
Oct 18, 2019, 1:25:45 PM10/18/19
to AdWords API and Google Ads API Forum
Hi

Today i have an several problems when requesting the AccountBudgetProposal/BillingSetupOperation. In the first two request he returns:


2019-10-18T17:30:03+01:00 CRIT (2): FILE: /opt/services.e-goi.com/module/Google/src/Google/Service/CustomerService.php
LINE: 168
ERROR: 1 : {
   "message": "The caller does not have permission",
   "code": 7,
   "status": "PERMISSION_DENIED",
   "details": [
       {
           "@type": "google.ads.googleads.v1.errors.googleadsfailure-bin",
           "data": "<Unknown Binary Data>"
       },
       {
           "@type": "grpc-status-details-bin",
           "data": "<Unknown Binary Data>"
       },
       {
           "@type": "request-id",
           "data": "7k0OelXWJgN7pWbp7xeigg"
       }
   ]
}

2019-10-18T17:29:56+01:00 CRIT (2): FILE: /opt/services.e-goi.com/module/Google/src/Google/Service/CustomerService.php
LINE: 168
ERROR: 1 : {
   "message": "Request contains an invalid argument.",
   "code": 3,
   "status": "INVALID_ARGUMENT",
   "details": [
       {
           "@type": "google.ads.googleads.v1.errors.googleadsfailure-bin",
           "data": "<Unknown Binary Data>"
       },
       {
           "@type": "grpc-status-details-bin",
           "data": "<Unknown Binary Data>"
       },
       {
           "@type": "request-id",
           "data": "07z4FNRUvmRyA2PNzvgVZw"
       }
   ]
}


But in the third request the problem goes.. I know the ads api are in beta, but why i receive different answers?

Many thanks
Message has been deleted

Google Ads API Forum Advisor Prod

unread,
Oct 18, 2019, 3:51:09 PM10/18/19
to dperei...@gmail.com, adwor...@googlegroups.com
Hello Diogo,

I see that you are still using v1, I recommend you to upgrade to the latest version of the API and try again. In general the PERMISSION_DENIED error occurs when the user making the API call(authenticating the OAuth) might not have access to the account or to the manager account. Please share email address of the authenticating user, the client customer id and login-customer-id to investigate further.  Please use reply privately to the author option while sharing the information requested.

Regards,
Sai Teja, Google Ads API Team

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