Hi, I created a conversion action and now I am trying to add it to the smart campaign and get this error:
*Request with ID "lTV-hzVcWEK7lPcVioGp_A" failed with status "INVALID_ARGUMENT" and includes the following errors: Error with message "The error code is not in this version.". On field: operations On field: create On field: selective_optimization On field: conversion_actionsRequest made: ClientCustomerId: 5103537456, Host: googleads.googleapis.com, Method: /google.ads.googleads.v10.services.CampaignService/MutateCampaigns, RequestId: lTV-hzVcWEK7lPcVioGp_A, IsFault: True, FaultMessage: The error code is not in this version.* I added the resource_name of the conversion_action in that way: *campaign.selective_optimization.conversion_actions.append("customers/5103537456/conversionActions/958724854")* What should I need to do now? Thanks for your replying! Elinor ב-יום חמישי, 23 ביוני 2022 בשעה 17:00:25 UTC+3, adsapi כתב/ה: > Hi Elinor, > > Before you can set up a Target CPA bid strategy, you’ll need to set up > conversion tracking <https://support.google.com/google-ads/answer/1722054> to > manage your conversion. Target CPA > <https://support.google.com/google-ads/answer/6268632> is the only > allowed bidding strategy for this campaign type. > > If the above doesn't help, could you send us a 'DEBUG' log level request > and response log of raw API communications for the errors encountered? > > The request and response appears similar to the JSON Mappings in our REST > documentation > <https://developers.google.com/google-ads/api/rest/design/json-mappings?hl=en> > with > additional headers and information such as request Id > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>. > > Here are logging instructions for our Java > <https://developers.google.com/google-ads/api/docs/client-libs/java/logging> > , .NET > <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging> > , PHP > <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> > , Python > <https://developers.google.com/google-ads/api/docs/client-libs/python/logging> > , Ruby > <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging> > and Perl > <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> > Ads > API Client Libraries. > > If you are using our REST interface > <https://developers.google.com/google-ads/api/rest/overview> then the > full multi line curl command line is a request log and adding curl command > line option '-i' will also generate a response log. > > You may send the requested information via "Reply to author" or via > googleadsa...@google.com > <https://mail.google.com/mail/u/0/?fs=1&tf=cm&source=mailto&to=googleadsapi-supp...@google.com> > with > a link to this forum post added to the new thread. > > Regards, > > [image: Google Logo] > Aryeh > Google Ads API Team > > > ref:_00D1U1174p._5004Q2bzVIl:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e192e415-5a16-4835-b294-a5fd1bb2c680n%40googlegroups.com.