The error code is not in this version.

54 views
Skip to first unread message

Mike Fang

unread,
Oct 23, 2023, 4:20:41 AM10/23/23
to Google Ads API and AdWords API Forum
Hi,
I got this error when I try to creating asset group under a PMax campaign
2023-10-23T08:16:19.645458+00:00 app[web.1]: W, [2023-10-23T08:16:19.645380 #170]  WARN -- : CID: 3601885092, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v14.services.AssetGroupService/MutateAssetGroups, IsFault: yes, Request ID: Q_uxdVcvOQMtlsToihjK-w
2023-10-23T08:16:19.645687+00:00 app[web.1]: I, [2023-10-23T08:16:19.645658 #170]  INFO -- : Outgoing request: Headers: {"developer-token":"REDACTED","login-customer-id":"9677213623","x-goog-api-client":"gl-ruby/3.1.3 gccl/23.0.0 gax/0.9.0 gapic/23.0.0 grpc/1.53.2","x-goog-request-params":"customer_id=3601885092"} Payload: {"customerId":"3601885092","operations":[{"create":{"campaign":"customers/3601885092/campaigns/20701493713","name":"mike","status":"ENABLED"}}]}
2023-10-23T08:16:19.645790+00:00 app[web.1]: I, [2023-10-23T08:16:19.645768 #170]  INFO -- : Incoming response (errors):
2023-10-23T08:16:19.645790+00:00 app[web.1]: Google::Ads::GoogleAds::Errors::GoogleAdsError(Google::Ads::GoogleAds::Errors::GoogleAdsError): The error code is not in this version.

Could you help to check this error?

Thanks
Mike

Google Ads API Forum Advisor

unread,
Oct 23, 2023, 2:19:32 PM10/23/23
to mike...@placements.io, adwor...@googlegroups.com
Hi Mike,

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

After reviewing your concern, I understand that you are encountering an error "The error code is not in this version" when trying to create an asset group under a PMax campaign.

Kindly note that, an asset group is a collection of assets centered on a theme or related to a target audience. Asset groups contain one or more final URLs. At least one final URL is required. Use the URL that is most relevant to the conversion path for the given asset group and campaign objectives. I would recommend you to check this guide on Creating Performance Max Asset Groups via the Google Ads API.

If the issue still persists even after following the steps mentioned in the above guide, kindly provide us with the complete API logs (request and response with request-id and request header) generated at your end so that we can better assist you.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02pVPnO:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages