Hi Team, Tried following the document refrence that was shared but no lunk. Please validate if there is something being missed . We are unable to update Campaign Conversion Goal. Following are the steps configured
1. Created a ConversionAction and Tagged it to a Campaign Following request: *https://googleads.googleapis.com/v9/customers/5511294223/conversionActions:mutate* { "operations": [ { "updateMask": "primaryForGoal", "update": { "resourceName": "customers/5511294223/conversionActions/841733022", "status": "ENABLED", "type": "WEBSITE_CALL", "origin": "WEBSITE", "primaryForGoal": false, "category": "PHONE_CALL_LEAD", "name": "StoreVisitConversion", "includeInConversionsMetric": true } } ], "partialFailure": false, "validateOnly": false } 2. Tried Creating CampaignConversionGoal and i always get error response . Create operation is not supported for this method . *https://googleads.googleapis.com/v9/customers/5511294223/campaignConversionGoals:mutate* *Request:* { "validateOnly": false, "operations": [ { "updateMask": "category,origin,biddable", "update": { "resourceName": "customers/5511294223/campaignConversionGoals/15855767503~DEFAULT~WEBSITE", "campaign": "15855767503", "category": "DEFAULT", "origin": "WEBSITE", "biddable": true } } ] } *Response:* { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "mutateError": "RESOURCE_NOT_FOUND" }, "message": "Resource was not found.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 } ] } } ], "requestId": "IlzwTDtACKU4ID1H7w8eow" } ] } } 3. Even tried last option of setting ConversionGoalCampaignConfig. But no luck here as well. I get the same error response *https://googleads.googleapis.com/v9/customers/5511294223/conversionGoalCampaignConfigs:mutate* *Request:* { "operations": [ { "updateMask": "goalConfigLevel", "update": { "resourceName": "customers/5511294223/conversionGoalCampaignConfigs/15855767503", "campaign": "15855767503", "goalConfigLevel": "CAMPAIGN" } } ], "validateOnly": false } *Response:* { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "requestError": "UNKNOWN" }, "message": "The error code is not in this version.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 } ] } } ], "requestId": "cx9pMn2JXcHvtNF1TrynuQ" } ] } } Can you please help where am i going wrong ? the process is first we need to set the ConversionAction at Campaign level and then we can set the campaignConversion Goal right? Setting up campaignConversionGoal via API will setup Goal parameter on graphical UI of a Campaign in GADS ? Why do i get a null response even if i have conversionAction present in my Account via Query language ? Appreciate response for the same. On Friday, 14 January, 2022 at 12:20:36 pm UTC+5:30 adsapi wrote: > Hi, > > Thank you for reaching out to our API support team. > > You can find here > <https://developers.google.com/google-ads/api/docs/conversions/goals/overview>, > > the guide regarding conversion / campaign goals. This guide > <https://developers.google.com/google-ads/api/docs/conversions/goals/campaign-goals#managing_campaign_goals> > then > provides more information on how you may manage your campaign goals. > > You can then use the below services : > > - CampaignConversionGoalService > > <https://developers.google.com/google-ads/api/reference/rpc/v9/CampaignConversionGoalService> > - to > manage your campaign goals > - CustomConversionGoalService > > <https://developers.google.com/google-ads/api/reference/rpc/v9/CustomConversionGoalService> > - > for managing custom goals > - CustomerConversionGoalService > > <https://developers.google.com/google-ads/api/reference/rpc/v9/CustomerConversionGoalService> > - > to manage customer conversion goals > > If you are using the REST interface, you can refer to the below > documentation instead : > > - customers.campaignConversionGoals/mutate > > <https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.campaignConversionGoals/mutate> > > - customers.customConversionGoals/mutate > > <https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.customConversionGoals/mutate> > > - customers.customerConversionGoals/mutate > > <https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.customerConversionGoals/mutate> > > > Best regards, > > [image: Google Logo] > Peter Laurence Napa Oliquino > Google Ads API Team > > > ref:_00D1U1174p._5004Q2Ujk53: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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/8176c1bf-2033-45b8-8f22-7a9955bca7a1n%40googlegroups.com.
