Before using the script
Take into consideration that the script will pause an entire Google Ads account associated with the website/domain used in the setting. This means that if you run it in Google Ads, it will pause all the ad groups that contain the domain (you can pause your account if there is an issue with the site).
As the script will pause everything, is meant to be used manually: you run it once, and it will pause all the ad groups. Then you run the script in Google Ads again, and it will resume the ad groups. This is why you need two settings created; one to pause ad groups and the other to resume ad groups.
If you are interested in pausing campaigns when a final URL is broken, or a product is out stock, we recommend using the Destination URLs script.
If you want to pause campaigns once the daily or monthly budget is achieved, we recommend using the Flexible Budget script.
URL To Pause: Specify the domain or the URL which you would want to stop or resume Google Ads advertising for. With this setting, the script will find all ad groups that contain this domain.
Label Text: Label text is the label that is assigned by the script when it pauses an ad group. This helps in quickly recognizing the ad groups that are paused for when they need to be resumed.
Pause or Resume: This selection will help in defining the action expected from the script. Select Pause or Resume from the drop-down menu.
Selecting Pause will pause ad groups with the mentioned URL.
Selecting Resume will enable ad groups with the label defined in the "Label Text."