Hi, I am retrieving the conversion actions of a customer to use them in the 
creation of my campaign. But I can't find any documentation on how or where 
to use the resourceName of the conversion action when creating the campaign.

Currently I tried with the selectiveOptimization value in the campaign 
resource because it was the closest I found in the documentation, but it 
returns the following error:

Request:
{
      name: 'test generate google - Buzzly',
      status: 'ENABLED',
      campaignBudget: 'customers/9437372372/campaignBudgets/14185471816',
      manualCpc: { enhancedCpcEnabled: false },
      advertisingChannelType: 'SEARCH',
      networkSettings: {
        targetContentNetwork: true,
        targetGoogleSearch: true,
        targetSearchNetwork: false,
        targetPartnerSearchNetwork: false
      },
      selectiveOptimization: {
        conversionActions: [ 'customers/9437372372/conversionActions/
6885521223' ]
      }
}

Error:
{
  "errorCode": { "requestError": "UNKNOWN" },
  "message": "The error code is not in this version.",
  "trigger": { "stringValue": "[6885521223]" },
  "location": {
    "fieldPathElements": [
      { "fieldName": "operations", "index": 0 },
      { "fieldName": "create" },
      { "fieldName": "selective_optimization" },
      { "fieldName": "conversion_actions" }
    ]
  }
}

RequestID:
T8sVIAECgJ46Ux8OyPa0Jw

I would appreciate guidance on how to assign conversion actions to a 
campaign.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/cce6d4e9-ed03-46a6-bdea-98bc894ffb3an%40googlegroups.com.
  • Ho... Marlon Gómez
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Marlon Gómez
        • ... Marlon Gómez

Reply via email to