Hi, Thank you for reaching out to the Google Ads API support team.
The AssetService only supports create operations. Once an asset is uploaded to an advertiser's account, it cannot be changed or removed programmatically. If you try to update an ad using the adGroupAds method you will encounter an IMMUTABLE_FIELD error because it's not possible to update using this method. Note that you cannot update any assets (headlines and descriptions) and final_urls because the field 'ad' itself is an immutable field which means if you try to update any sub-field under the ad then it will encounter an IMMUTABLE_FIELD error. You must use ad-level operations to manage associations between individual assets and ads. I would recommend you to use the ad method to update the ads using the Google Ads API. The example code which you shared also explains you to use the ad operation for updating the ads using the Google Ads API. However, I am sharing with you the sample request and response logs to update the responsive search ads via the Google Ads API: Request Body: ============== POST https://googleads.googleapis.com/v19/customers/{customerId}/ads:mutate?key=[YOUR_API_KEY] HTTP/1.1 developer-token: ********************** Authorization: Bearer [YOUR_ACCESS_TOKEN] Accept: application/json Content-Type: application/json { "operations": [ { "update": { "resourceName": "customers/{customerId}/ads/{adId}", "responsiveSearchAd": { "descriptions": [ { "text": "sjdf ejkkejhdd" }, { "text": "gshahd wjwdhuiwuhdd" } ], "headlines": [ { "text": "esgegb" }, { "text": "adhqwjjk" }, { "text": "ajddkjae ejadeajff" } ] }, "finalUrls": [ "https://www.example.com" ] }, "updateMask": "responsiveSearchAd.descriptions,responsiveSearchAd.headlines,finalUrls" } ] } Response: =========== HTTP/1.1 200 content-encoding: gzip content-length: 102 content-type: application/json; charset=UTF-8 date: Mon, 07 Apr 2025 21:43:09 GMT server: ESF vary: Origin, X-Origin, Referer { "results": [ { "resourceName": "customers/{customerId}/ads/{adId}" } ] } I hope this clarifies. Thanks, Google Ads API Team Feedback How was our support today? [2025-04-07 22:07:13Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01pRmlF:ref" (ADR-00298863) -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 visit https://groups.google.com/d/msgid/adwords-api/228cI000000000000000000000000000000000000000000000SUDC41004tFtXaE1TUaEMR3h3aU2uA%40sfdc.net.