Re: OPERATOR_NOT_SUPPORTED when I trying to remove video id from adgroup (UniversalAppAd)

2019-08-16 Thread Google Ads API Forum Advisor Prod
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

Re: OPERATOR_NOT_SUPPORTED when I trying to remove video id from adgroup (UniversalAppAd)

2019-08-15 Thread 'Игорь Тирский' via AdWords API and Google Ads API Forum
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, #

Re: OPERATOR_NOT_SUPPORTED when I trying to remove video id from adgroup (UniversalAppAd)

2019-08-15 Thread Google Ads API Forum Advisor Prod
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 -- --

Re: OPERATOR_NOT_SUPPORTED when I trying to remove video id from adgroup (UniversalAppAd)

2019-08-14 Thread 'Игорь Тирский' via AdWords API and Google Ads API Forum
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',

RE: OPERATOR_NOT_SUPPORTED when I trying to remove video id from adgroup (UniversalAppAd)

2019-08-14 Thread Google Ads API Forum Advisor Prod
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()