When making a request to create a campaign with a selective optimization 
conversion action I get an unknown error (below). I'm running V8 of the 
API, and this code previously work a few weeks ago. Not sure if there was a 
last minute change that's not reflected in the documentation, but I've 
tried a bunch of stuff nothing seems to work except simply removing the 
conversion actions from the call, then everything works fine.

making request:
{"customerId":"{{customer_id}}","operations":[{"create":{"name":"DB_aa1_fixinglocal20_8659_us__bing_k4431","status":"PAUSED","advertisingChannelType":"SEARCH","networkSettings":{"targetGoogleSearch":true,"targetSearchNetwork":true,"targetContentNetwork":false,"targetPartnerSearchNetwork":false},"campaignBudget":"customers/{{customer_id}}/campaignBudgets/{{budget_id}}","selectiveOptimization":{"conversionActions":["customers/
 
{{customer_id}}/conversionActions/{{conversion_action_id}} 
"]},"manualCpc":{"enhancedCpcEnabled":true}}}]}

returns error:
Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure: {"errors":[{"errorCode":{"requestError":"UNKNOWN"},"message":"The 
error code is not in this 
version.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"create"},{"fieldName":"selective_optimization"},{"fieldName":"conversion_actions"}]}}],"requestId":"LuQltR5HARDia65ESMp2-g"}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/617c1a17-faa8-4dbb-a874-3ee8219dd28bn%40googlegroups.com.
  • Co... David Brilliant
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to