The error code is not in this version - when using latest java client version 26.0.0 with ads-api V14

120 views
Skip to first unread message

Ronald Findling

unread,
Jul 24, 2023, 6:01:55 AM7/24/23
to Google Ads API and AdWords API Forum
Dear Google Ads API Team,

we are facing a similar problem as described here [1] where some of our requests get errors with message `The error code is not in this version`.

But as we are using the latest Google-ads-api version (V14 see [2]) through the latest java library version (google-ads-:26.0.0 see [3]) for our request we need some guidance how to see the root causes.

An example error would be:
```
errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
    string_value: "SHOPPING"
  }
  location {
    field_path_elements {
      field_name: "mutate_operations"
      index: 27
    }
    field_path_elements {
      field_name: "asset_group_listing_group_filter_operation"
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "vertical"
    }
  }
}
```

Links:
* [1] Similar issue but with an older API version https://groups.google.com/g/adwords-api/c/RECHNpNKL6A/m/G_N4uiHfAAAJ
* [3] Java libraries `google-ads-:26.0.0` https://mvnrepository.com/artifact/com.google.api-ads/google-ads

Best Regards,
Ronald Findling

Ronald Findling

unread,
Jul 24, 2023, 8:26:47 AM7/24/23
to Google Ads API and AdWords API Forum
Doing the Rest requests manually (Postman) leads to the same results - so it's not specific for the java library.

Some request and response bodies for a minimal request that fail are attached below
simpler-request-v1.json
simpler-json-response-v1.json

Google Ads API and AdWords API Forum

unread,
Jul 24, 2023, 10:55:42 AM7/24/23
to Google Ads API and AdWords API Forum
Re-posting the last inquiry (https://groups.google.com/g/adwords-api/c/B5UsCUfiqt4) from the forum as it wasn't routed to our support queue.

Regards,
Google Ads API Team

Google Ads API and AdWords API Forum

unread,
Jul 24, 2023, 5:55:52 PM7/24/23
to Google Ads API and AdWords API Forum
Hi Ronald,

Thank you for raising this concern to the Google Ads API support team.

Kindly note that the vertical the current node tree represents. All nodes in the same tree must belong to the same vertical. Can you provide the complete API logs below so our team can better investigate this issue?

Note that these logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check here (https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging) for the specific guideline to enable it.

You may then send the requested logs via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.


Regards,
Google Ads API Team

Ronald Findling

unread,
Jul 26, 2023, 5:41:30 AM7/26/23
to Google Ads API and AdWords API Forum
Dear Google Ads API Team,

attached you find a full request and response with sensitive data removed - RequestId: jYANqslB-_D4dampbIHvhA

We already found out what causes this specific issue - which in this case is adding a listingGroup to a campaign which doesn't have a merchantCenter linked. 
This operation was allowed a few weeks ago - so it seems the Ads-API silently changed its behaviour without release notes. 
So the bug we found is that in this situation the Ads-Api V14 doesn't represent this error correctly and only returns a "The error is not represented in this version".

Our follow up tech question would be - are there any other undocumented changes (additionally enforced validations) done recently?
Internally such changes might be treated as bugfixes but due to the behaviour change it would be good for the users to know about them.

Best Regards,
Ronald Findling
google-full-response-2.txt
google-full-request.txt

Google Ads API and AdWords API Forum

unread,
Jul 26, 2023, 8:19:52 AM7/26/23
to Google Ads API and AdWords API Forum
Re-posting the last inquiry (https://groups.google.com/g/adwords-api/c/B5UsCUfiqt4) from the forum as it wasn't routed to our support queue.

Regards,
Google Ads API Team

Google Ads API Forum Advisor

unread,
Jul 26, 2023, 6:14:02 PM7/26/23
to adwor...@googlegroups.com

Hi,

Thank you for providing additional information.

Let me share these with the wider team for investigation. Rest assured that we'll update this thread as soon as we have more information.

This message is in relation to case "ref:_00D1U1174p._5004Q2nSnBg:ref"

Thanks,
 
Google Logo Google Ads API Team


Google Ads API Forum Advisor

unread,
Jul 27, 2023, 11:33:22 AM7/27/23
to adwor...@googlegroups.com
Hello -

Just letting you know that I've escalated this issue internally. I does appear as though this is affecting other users, so hopefully it's addressed quickly. I'll follow up here as soon as I have more details.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2nSnBg:ref"

Thanks,
 
Google Logo
Ben Karl
Google Ads API Team


Reply all
Reply to author
Forward
0 new messages