Hi,

When I try to create a client customer under my Manager account(Test 
Account) with an emailAddress value  via Google Ads REST API, I am getting 
the following error.

When I try to create a client customer without specifying access_role and 
emailAddress in the request body it is working fine. Also when I create a 
client fro Google Ads UI, with emailAddress and access_role, client 
customer is created and invitation mail is sent to the mentioned 
emailAddress.

Please assist on fixing this.

Error:
{
  "error": {
    "code": 400,
    "message": "Request contains an invalid argument.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": 
"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure",
        "errors": [
          {
            "errorCode": {
              "notAllowlistedError": 
"CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE"
            },
            "message": "Customer is not allowlisted for accessing this 
feature."
          }
        ],
        "requestId": "*******"
      }
    ]
  }
}

Request Body used in API:

{"validateOnly":false,"emailAddress":"******@gmail.com","access_role":"STANDARD","customerClient":{"descriptiveName":"client
 
1","manager":false,"timeZone":"America/Los_Angeles","currencyCode":"USD"}}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/97643a0d-7def-495b-911e-a9f1d5797b0dn%40googlegroups.com.
  • CU... kv ads
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to