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)?
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.SELECT asset_group.id, asset_group.name, asset_group.status, asset_group.primary_status, asset_group.primary_status_reasons FROM asset_groupThe 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.
![]() |
Google Ads Scripts Team |
[2025-07-30 16:36:02Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01sxDpi:ref" (ADR-00321212)