This approach doesn't work for Headline assets. Please suggest how it could be done for headline assets.
My automatically created asset(ACA) is a Headline Asset associated with an RSA Ad, but it was created at the campaign level. This was done by enabling the ACA flag at the campaign level on Google Ads UI. I ran the below query to get the ID details of my ACA (Headline ACA for RSA ad), *SELECT* * ad_group.name, ad_group_ad_asset_view.asset, ad_group_ad_asset_view.ad_group_adFROM ad_group_ad_asset_viewWHERE asset.source = 'AUTOMATICALLY_CREATED'* Even after identifying the resource ID of this HEADLINE asset using Google UI and the above-mentioned query, if I try removing it using the CampaignAsset <https://developers.google.com/google-ads/api/reference/rpc/v16/CampaignAsset> / AdGroupAsset <https://developers.google.com/google-ads/api/reference/rpc/v16/AdGroupAsset> service you mentioned above, I get a resource not found message. Can I please understand the way to move ahead. I intend to remove the association of a Headline ACA associated with the RSA ad, which I cannot achieve as outlined above. Any help is highly appreciated. On Wednesday, April 17, 2024 at 11:43:05 PM UTC+5:30 Google Ads API Forum Advisor wrote: > Hi, > > Yes, you can remove individual assets via API. As per this guide > <https://developers.google.com/google-ads/api/docs/assets/automated-assets#pause_or_remove_the_association>, > > you can remove CampaignAsset > <https://developers.google.com/google-ads/api/reference/rpc/v16/CampaignAsset>, > > AdGroupAsset > <https://developers.google.com/google-ads/api/reference/rpc/v16/AdGroupAsset>, > > or CustomerAsset > <https://developers.google.com/google-ads/api/reference/rpc/v16/CustomerAsset> > > entities that associate the automated asset with the corresponding > resource. I would recommend that you set the status > <https://developers.google.com/google-ads/api/reference/rpc/v16/AssetLinkStatusEnum.AssetLinkStatus> > > of the asset to 'REMOVED' to remove the association. > > Hope this helps. > > > This message is in relation to case > "ref:!00D1U01174p.!5004Q02kCq2o:ref" (ADR-00172756) > > Thanks, > > [image: Google Logo] Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 on the web visit https://groups.google.com/d/msgid/adwords-api/9e50fe8f-aa3b-4441-a7d8-9c6c8d9229f2n%40googlegroups.com.