Request contains an invalid argument

2,146 views
Skip to first unread message

Raju Choudhary

unread,
Mar 6, 2023, 6:41:17 AM3/6/23
to Google Ads API and AdWords API Forum
ApiException was thrown with message '{
    "message": "Request contains an invalid argument.",
    "code": 3,
    "status": "INVALID_ARGUMENT",
    "details": [
        {
            "@type": "type.googleapis.com\/google.ads.googleads.v10.errors.GoogleAdsFailure",
            "errors": [
                {
                    "errorCode": {
                        "requestError": "UNKNOWN"
                    },
                    "message": " Version v10 is deprecated. Requests to this version will be blocked."
                }
            ],
            "requestId": "8EHcdlwakPGTQwLelXFYuw"
        }
    ]
}'.

Raju Choudhary

unread,
Mar 6, 2023, 6:44:13 AM3/6/23
to Google Ads API and AdWords API Forum
Please help how to fix this

Ramanajee

unread,
Mar 6, 2023, 7:35:15 AM3/6/23
to Google Ads API and AdWords API Forum
Hi Raju,
it looks like you are using a deprecated Google Ads API version, you can find API deprecated schedule here. try to migrate the Google Ads API version to the latest.

Thanks,
Ramanajee

Google Ads API Forum Advisor

unread,
Mar 6, 2023, 10:05:46 AM3/6/23
to raju...@gmail.com, adwor...@googlegroups.com

Hi Raju,

Thanks for reaching out to Google Ads API Support.

Please take note that the v10 version is already sunset and all of these API version requests will begin to fail. Please migrate to a newer version, which is v13, to ensure your API access is unaffected. You may check this blog post for more information.

You may try it on your end again once you upgrade the version, let me know if you still encounter this issue so i can assist you further.

Regards,

Google Logo Google Ads API Team


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