Error with customer.status API request

110 views
Skip to first unread message

Ahmed Nasser Omran

unread,
Aug 29, 2022, 4:54:32 PM8/29/22
to Google Ads API and AdWords API Forum
Hi Support team, 

there're two error i'm encountering with getCustomerRequest : 
1- there's an excpetion thrown upon calling a canceled customer account 

  "StatusCode": 7,

  "Details": "The caller does not have permission",

  "RequestId": "UvAM6Mb2S2HmFzgsO6WkkQ",

  "Failure": {

    "errors": [

      {

        "errorCode": {

          "authorizationError": "CUSTOMER_NOT_ENABLED"

        },

        "message": "The customer can't be used because it isn't enabled."

      }

    ],

2- upon calling a suspended account the API response returned "Enabled" which is not correct 

Can you provide resolution for the two issues ?

Kind Regards,
Message has been deleted

Google Ads API Forum Advisor

unread,
Aug 29, 2022, 10:41:35 PM8/29/22
to oahmed...@gmail.com, adwor...@googlegroups.com
Hello Ahmed, 

This is Carmela from the Google Ads API team. Thank you for reaching out. However, I need to delete your recent email in the forum as it contains your UI screenshot.

Moving forward, you may see the items below:
 
  • I can see that you've encountered the authorizationError : CUSTOMER_NOT_ENABLED which means the customer can't be used because it isn't enabled. Kindly note that you can't send a request using a canceled customer account. That being said, you may check this article as it explains the details on how to Reactivate a cancelled Google Ads account.
  • "upon calling a suspended account the API response returned "Enabled" which is not correct" - Could you provide the complete request and response logs with request ID and request header generated on your end showing this behavior? Also, you may see this article which is about Google Ads account suspensions.

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Carmela
Google Ads API Team
 


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