This script can pause an entire Google Ads account, if its associated website/domain is down. It finds the ad groups associated with the domain that is down, labels them and pauses them. The labels are used to reactivate the ad groups when the issue is fixed.
Note: The script should always have two settings created; one to pause ad groups and the other to resume ad groups.
- 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 easily 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".