Hi, a) The example gives you how to remove a campaign. But removing this way it NOT set the status to REMOVED but instead it fisically removes it. --> Not working as Google Ads Console that put the status to REMOVED. b) Updating the status to REMOVED with Update operation gives you the error i already reported : "message": "Enum value 'REMOVED' cannot be used.". --> Not working as Google Ads Console that put the status to REMOVED.
So, how to set status to REMOVED using apis ? Both the examples you reported are not working this way. Regards, Pietro On Friday, 31 January 2020 20:43:04 UTC+1, adsapiforumadvisor wrote: > > Hi Pietro, > > Thank you for reaching out to us. I see that you want to remove a campaign > through Google Ads API. Could I confirm with you if you are using our Client > Libraries <https://developers.google.com/google-ads/api/docs/client-libs> to > remove the campaign? If so,you can see this example > <https://developers.google.com/google-ads/api/docs/samples/remove-campaign> > of > how to remove a campaign in Google Ads API, or this example > <https://developers.google.com/google-ads/api/docs/samples/update-campaign> > of > how to update a campaign’s status. Please let me know if you have further > questions. > > Thank you, > Bryan, Google Ads API Team > > > ref:_00D1U1174p._5001UUzrsb: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 "AdWords API and Google Ads 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/aa909f24-c4f8-4f81-8101-1e91efe547f8%40googlegroups.com.
