Failed to create new client account

23 views
Skip to first unread message

cheekuan tan

unread,
Apr 20, 2021, 3:58:55 AM4/20/21
to AdWords API and Google Ads API Forum
Hi team,

I am currently using google ads restful api (v6) to create a new client account. But i got this error returned.

{"error":{"code":400,"message":"Request contains an invalid argument.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.ads.googleads.v6.errors.GoogleAdsFailure","errors":[{"errorCode":{"requestError":"UNKNOWN"},"message":"The error code is not in this version."}]}]}}

Here is my request param:

{"customer_id":"xxxxxx","customer_client":{"descriptive_name":"xxxxxx","currency_code":"MYR","time_zone":"Asia/Kuala_Lumpur","manager":false,"test_account":false},"access_role":"ADMIN","email_address":"xxx...@gmail.com"}

Would like to know how to resolve this issue. 

Thanks.




Google Ads API Forum Advisor Prod

unread,
Apr 20, 2021, 11:11:23 AM4/20/21
to cheekua...@gmail.com, adwor...@googlegroups.com
Hello,

Please try to create the accounts without setting the fields access_role and email_address. These fields are accessible only to customers on the allow-list. If you continue to face issues, please let me know.

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


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