Hello i am trying to update ad with new list of video assets:
{
  "operations": [
    {
      "update": {
        "ad": {
          "appAd": {
            "youtubeVideos": [
              {
                "asset": "customers/6048388927/assets/187375757144"
              }
            ]
          }
        },
        "resourceName": "customers/.../adGroupAds/177988305964~738590653189"
      },
      "updateMask": "ad.appAd.youtube_videos"
    }
  ]
}


 but i am getting error: "errorCode": {
              "requestError": "IMMUTABLE_FIELD"
            },
            "message": "Field 'ad.app_ad.youtube_videos' cannot be modified 
by 'UPDATE' operation.",



what i do wrong?

On Wednesday, June 1, 2022 at 6:31:29 AM UTC+3 Google Ads API Forum Advisor 
wrote:

> Hi Evgeniy,
>
> Thank you for the reply. I am also a member of the Google Ads API team and 
> let me provide support to your concern.
>
> With regard to your concern, I am afraid that there is no sample code for 
> updating the link of assets and ads. However, the service that needs to use 
> is the AdService 
> <https://developers.google.com/google-ads/api/reference/rpc/v10/AdService> 
> and the operation should be the update AdOperation 
> <https://developers.google.com/google-ads/api/reference/rpc/v10/AdOperation#update>
>  if 
> you want to remove some of the assets from specific ads.
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bDKdy: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 visit 
https://groups.google.com/d/msgid/adwords-api/43673e34-c79d-4558-94b7-b7edb405ad3fn%40googlegroups.com.

Reply via email to