Hi,
Thank you for reaching out to the Google Ads Scripts support team.
I would like to inform you that the
Google Ads scripts allow you to remove and add associations between extensions and campaigns/ad groups, they don't provide a direct pause() or enable() method for these associations. Kindly refer to the guides
Ad Extensions and
AdsApp.Extensions to get more information.
I hope this helps! Feel free to get back to us in case of any further queries.
Thanks & Regards,
Google Ads Scripts support team.