I can create customConversionGoal & attach to campaign. How to remove/unlink custom conversion goal from that campaign? I tried to clear custom_conversion_goal or set custom_conversion_goal="" but it give error: Body: null Failure message: errors { error_code { field_mask_error: FIELD_MASK_MISSING } message: "Cannot use empty field mask in update operation." location { field_path_elements { field_name: "operations" index: 0 } } } request_id: "M13bOYnsJhBglV8OdSMxJg"
On Friday, 11 March 2022 at 18:05:15 UTC+7 adsapi wrote: > Hi there, > > Thanks for reaching out to the Google Ads API Forum. > > I am afraid that there is no sample code for custom conversion goals, and > how to update it to your campaign. However, to update the campaign's > *ConversionGoalCampaignConfig* > <https://developers.google.com/google-ads/api/reference/rpc/v10/ConversionGoalCampaignConfig>, > > setting the custom_conversion_goal to the resource name of the > CustomConversionGoal from the previous step, and setting the operation's > update_mask to custom_conversion_goal. > > 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/v10/CampaignConversionGoalService> > > - to manage your campaign goals > - CustomConversionGoalService > > <https://developers.google.com/google-ads/api/reference/rpc/v10/CustomConversionGoalService> > > - for managing custom goals > - CustomerConversionGoalService > > <https://developers.google.com/google-ads/api/reference/rpc/v10/CustomerConversionGoalService> > > - to manage customer conversion goals > > Let us know if you have any further questions. > > Regards, > [image: Google Logo] > Yasar > Google Ads API Team > > > ref:_00D1U1174p._5004Q2XnXhh: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/a29833c6-9436-4074-b735-48e5eb3de501n%40googlegroups.com.