Hello, instead of using the 'REMOVE' operator in your mutate request, please
instead try using the 'SET' operator to update the ad itself. In doing so,
specify what you would like the 'videos' array to look like after the operation
is complete. So for example, if you had 1 video and wanted to
Yes. I try to remove the video (or mediaId) from the campaign (but after
changing API I can't remove mediaId from
youtubeVideoMediaIds
list
I do not want to replace the video, I want to remove video from UAC campaign
My UAC campaign has this structure:
# 'id': 1693x,
#
Hi,
My apologies for the confusion. I can see that you wish to remove the video
itself from the ad. Could you, instead, try replacing the video instead of
removing it using the AdService.mutate()?
Regards,
Dannison
Google Ads API Team
ref:_00D1U1174p._5001UEIvKC:ref
--
--
Trying to do it, but
I'm using this doc
https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupAdService.UniversalAppAd
operations = [{
'operator': 'REMOVE',
'operand': {
'id': 328973xx, #this is an ad_id
'xsi_type': 'UniversalAppAd',
Hi,
Thank you for reaching out.
Upon checking your code, I can see that you are using the AdService. As per the
link provided, this service can only support SET operator. This is the reason
why you are encountering the error OPERATOR_NOT_SUPPORTED. You can use the
AdGroupAdService.mutate()