Pausing/Enabling Asset Groups Based on Product Eligibility via Google Ads Scripts

15 views
Skip to first unread message

Markus

unread,
Jul 30, 2025, 6:44:38 AMJul 30
to Google Ads Scripts Forum

Hi Google Ads Scripts Support,

I'm looking to implement a script that monitors a few selected Performance Max campaigns. The goal is to automatically pause asset groups within those campaigns when all associated products are ineligible (e.g. "Not eligible"), and to re-enable the asset groups once eligible products (e.g. "Active" or "Active (limited)") are detected again.

Is it technically possible to access product eligibility status per asset group within Google Ads Scripts or would I need to use the Content API for Shopping and connect it to the script (e.g. via Sheets)?  

Google Ads Scripts Forum Advisor

unread,
Jul 30, 2025, 12:36:35 PMJul 30
to adwords...@googlegroups.com

Hi,

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

Note that our support is focused on guiding users to troubleshoot specific issues within their own scripts, rather than providing hands-on implementation or creating scripts on a user's behalf.

It's not possible to access, pause, or enable product eligibility status per asset group directly within Google Ads scripts. To manage asset groups, I recommend creating your script by referring to the AdsApp.AssetGroup document. You can enable and pause asset groups using the enable() and pause() methods, respectively.

If you need to retrieve the status of asset groups, you should use the 'asset_group ' report.
SELECT asset_group.id, asset_group.name, asset_group.status, asset_group.primary_status, asset_group.primary_status_reasons FROM asset_group 
The above data can be accessible via AdsApp.search/AdsApp.report. For more details refer to this reporting document. You may try the below GAQL query in the AdsApp.report() or AdsApp.search method. 

Note that Content API for shopping are out of scope for the Google Ads Scripts team, as we can only assist with technical queries or concerns related to the Google Ads Scripts.

For questions regarding accessing product eligibility status per asset group using the Content API for Shopping, I suggest reaching out to the Content API for shopping support team, as they are best equipped to assist with those specific queries.

Thanks,
 
Google Logo Google Ads Scripts Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-07-30 16:36:02Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01sxDpi:ref" (ADR-00321212)



Reply all
Reply to author
Forward
0 new messages