Hi, we have faced the same problem. Now we can't create campaigns with 
conversions. Need help =)

*AdWords API request:*
CampaignOperation{operand=Campaign{advertisingChannelType=SEARCH, 
biddingStrategyConfiguration=BiddingStrategyConfiguration{biddingStrategyType=MAXIMIZE_CONVERSIONS},
 
budget=Budget{budgetId=9777618222}, name=test campaign, 
selectiveOptimization=SelectiveOptimization{conversionTypeIds=[743430475]}}, 
operator=ADD}

*AdWords API response:*
CampaignReturnValue{listReturnValueType=CampaignReturnValue, 
partialFailureErrors=[CampaignError{apiErrorType=CampaignError, 
errorString=CampaignError.CANNOT_SET_SELECTIVE_OPTIMIZATION_DURING_OR_POST_UNIFIED_GOAL_MIGRATION,
 
fieldPath=operations[0].operand.selectiveOptimization.conversionTypeIds, 
fieldPathElements=[FieldPathElement{field=operations, index=0}, 
FieldPathElement{field=operand}, 
FieldPathElement{field=selectiveOptimization}, 
FieldPathElement{field=conversionTypeIds}], reason=UNKNOWN, trigger=}], 
value=[Campaign{}]}

*Ads API request:*
Request
-------
MethodName: google.ads.googleads.v8.services.CampaignService/MutateCampaigns
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=2013833878, 
x-goog-api-client=gl-java/1.8.0_252 gapic/ gax/1.65.1 grpc/1.37.0}
Body: customer_id: "5649429894"
operations {
  create {
    advertising_channel_type: SEARCH
    maximize_conversions {
    }
    selective_optimization {
      conversion_actions: "customers/5649429894/conversionActions/743430475"
    }
    name: "test campaign"
    campaign_budget: "customers/5649429894/campaignBudgets/9777618222"
  }
}
response_content_type: MUTABLE_RESOURCE

*Ads API response:*
Response
--------
Headers: 
Metadata(content-type=application/grpc,request-id=_yvyqMoIWBj-RDqlIVMRhQ,date=Mon,
 
25 Oct 2021 21:16:26 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
    request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
    string_value: ""
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "selective_optimization"
    }
    field_path_elements {
      field_name: "conversion_actions"
    }
  }
}
request_id: "_yvyqMoIWBj-RDqlIVMRhQ"

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}.

Hello,
>
> Thanks for reaching out. Can you please privately provide us with your 
> complete request and response logs so that we can take a closer look at 
> this error?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PKjQV: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 
"AdWords API and Google Ads 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/99319382-dc4e-4ab1-8879-dc40a835643an%40googlegroups.com.
  • Cr... xuantoi....@gmail.com
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... Maxim Serebryakov
        • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
          • ... san...@knorex.com
            • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
              • ... san...@knorex.com
                • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
                • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
    • ... 娜娜
      • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
        • ... 娜娜
          • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to