Google Ads API V22 – Client Creation Fails with “Request contains an invalid argument” (UNKNOWN Error)

9 views
Skip to first unread message

Wim Lokal

unread,
Nov 4, 2025, 6:50:13 PM (10 hours ago) Nov 4
to Google Ads API and AdWords API Forum

Hey everyone,

we’re trying to create a new client via the Google Ads API, but the request consistently fails with this response:

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

All parameters look valid, but the API still returns this UNKNOWN requestError.
I also reproduced the issue using the official API Test Tool — same result.

Has anyone experienced this recently or figured out what triggers "The error code is not in this version"?
Could it be related to the API version (v22) or a mismatch in the request schema?

Any insights would be much appreciated!

— Michael

Bildschirmfoto 2025-11-04 um 09.27.03.png

Google Ads API Forum Advisor

unread,
2:27 AM (3 hours ago) 2:27 AM
to it.b...@winlocal.de, adwor...@googlegroups.com
Hi,

 

Thank you for reaching out to the Google Ads API support team.

After reviewing your concern, it appears the UNKNOWN error you are encountering with the message "The error code is not in this version" is due to missing required fields in your request when attempting to create a customer client via the Google Ads API.

The request ID you provided indicates that you were only passing the descriptiveName field in the request body.

However, the API requires the descriptiveName and the currencyCode and timeZone to successfully create a new customer client.

To resolve this issue and receive a successful response, you must update your request to include the currencyCode and timeZone fields.

Here is an example of the corrected request body and response :

 

{

  "customerClient": {

    "descriptiveName": "Testname",

    "currencyCode": "yourcurrencycode",

    "timeZone": "YourTimezone"

  }

}


{

  "resourceName": "customers/6962391496"

}

 


Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-11-05 07:26:52Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vShVk:ref" (ADR-00338499)



Reply all
Reply to author
Forward
0 new messages