Enable/Disable assets of an ad group

114 views
Skip to first unread message

Juan Antonio Perez

unread,
Sep 20, 2023, 6:17:16 AM9/20/23
to Google Ads API and AdWords API Forum
Hi team,
I need to know if resources (specifically YouTube videos) can be enabled and disabled from an ad group using the Google Ads PHP API. Is this possible to do? Thank you.

Google Ads API Forum Advisor

unread,
Sep 21, 2023, 3:42:32 AM9/21/23
to juanan...@codigames.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

After reviewing your concern, I understand that you need assistance on whether it is possible to enable and disable assets of an ad group using the Google Ads PHP API. According to the Google Ads API documentation, I would like to inform you that  
AssetGroupAssetOperation allows you to create, remove and update an AssetGroupAsset's status field because it is not IMMUTABLE.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2ozkhJ:ref"

Thanks,
 
Google Logo Google Ads API Team


Juan Antonio Perez

unread,
Sep 26, 2023, 3:12:27 AM9/26/23
to Google Ads API and AdWords API Forum
Hi I tried to use AssetGroupAssetOperation to update the asset but the class in GoogleAds PHP API code hasn't any method to update the asset but hast methods to create and remove an asset. Can you give me an example of how  I can achieve this?
Thank you very much.

Google Ads API Forum Advisor

unread,
Sep 27, 2023, 7:40:31 AM9/27/23
to juanan...@codigames.com, adwor...@googlegroups.com
Hi,

Thank you for getting back to us.

By reviewing your concern, I understand that you are looking for an example on AssetGroupAssetOperation. I would suggest you follow the Rest Interface document on AssetGroupAssetOperation to get more information on how to create, remove and update fields on asset group assets.
Reply all
Reply to author
Forward
0 new messages