RE: API returned 403 error - message "The caller does not have permission"

452 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Dec 1, 2021, 1:52:28 AM12/1/21
to adwor...@googlegroups.com

Hi Mark,

Thank you for reaching out to us.

The error CUSTOMER_NOT_ENABLED usually occurs if the API call is made against an account which is not completely set up. Could you please complete the account setup and retry the API request? If you're encountering any issues, can you provide us with the complete request and response logs with request ID so we can have a closer look at your concern? You can send these to us via Reply privately to the author option. If this option is not available, please send it directly to googleadsa...@google.com.

Regards,

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

Google Logo
Princess Pamela Pineda
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Rx6y4:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Dec 2, 2021, 1:31:31 AM12/2/21
to adwor...@googlegroups.com

Hi Mark,

Thank you for your response.

For us to further check your concern, it will be best if you can provide us with the complete request and response logs. You can send these to us via Reply privately to the author option. If this option is not available, please send it directly to googleadsa...@google.com. Furthermore, the other reason why the issue occurred is because the account where you requested on the API transaction is inactive or cancelled. You can also verify it in your end by checking this help center article.

On the other hand, I've deleted your recent and previous response as it contains private information. Below is the copy of your post with scrubbed information.

Regards,

Google Logo
Princess Pamela Pineda
Google Ads API Team
 

Hi Google Ads

I'm a support engineer at AppsFlyer.

We are pulling cost data through your Ads API.
Recently, we encountered many 403 error like below:

{:error {:code 403, :message "The caller does not have permission", :status "PERMISSION_DENIED", :details [{:@type "type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure", :errors [{:errorCode {:authorizationError "CUSTOMER_NOT_ENABLED"}, :message "The customer can't be used because it isn't enabled."}], :requestId "xxxxxxxxxxxxxxxx"}]}}

The related account is xxxxxxxxxxxxxxxxxxx

We would like to know in which situation this error may happen and how to avoid it.

Thanks,
Mark Liu
AppsFlyer Support Team 

Hi Adsapi

Thanks for your reply.

Currently, I couldn't get the request and response log.
The request ID could be found in the response message and the account is xxxxxxxxxxxxxxxxxxxxx

{:error {:code 403, :message "The caller does not have permission", :status "PERMISSION_DENIED", :details [{:@type "type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure", :errors [{:errorCode {:authorizationError "CUSTOMER_NOT_ENABLED"}, :message "The customer can't be used because it isn't enabled."}], :requestId "xxxxxxxxxxxxxxxxxxxxxx"}]}}

Not sure if you could use the two pieces of info to have a close look at the issue.

Regards,
Mark Liu
AppsFlyer Support Team 



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