#1 Copy and paste script from the WeDiscover Github profile
Find the script hosted on the Public WeDiscover GitHub here.
#2 Add to scripts section within the account
You can add this script either at an individual account or MCC level.
Navigate to Tools (top right corner of your screen when in Google Ads) > Bulk Actions > Scripts.
Click on the blue “+” icon to create a new script.
Be sure to delete anything that is already in the box for the script insertion in Google Ads first, then copy and paste the full script from GitHub into Google Ads.
You may choose to edit the script name at the top. This will allow you to easily differentiate between the different scripts you enter.
Note that you can add this script using the new Google Ads beta experience (available at individual account level only, not MCC), if you wish to.
#3 Update parts at top of the script (email, settings)
Near the top of the script, you will see an area that says “Edit Me”, running from lines 12-24 and highlighted in the red box in the screenshot below.
In the first section, lines 12-15, you may choose your settings for how you want the script to run over paused entities. By default, these options are set to “false”, meaning that the script will not label or notify you about the presence of RSAs in any paused entities.
Line 18 lets you control whether or not you would like to receive all notifications every time the script runs, or only have an update on new ad groups when they are found to not contain an RSA.
On line 21 you must enter the email address that you want to receive the summary email to when the script runs.
On line 24, you can control what label is applied to ad groups that do not contain RSAs. By default, this is set to “no_rsa_present”.
#4 Run the script
Save your script, authorise it and the press run. You can also choose to schedule the script if you want it to run on a recurring basis.
Be aware here that scripts only have 30 mins to run, so for very large MCCs, it may time out before completing all of its checks. In these instances, you’ll need to add the script to individual accounts.
If you have no missing RSAs in your accounts (well done!), you won't receive any email notifications. We would still suggest you run the script daily to double-check and if an ad group gets created in the future without an RSA you will then be notified.
We hope you enjoy using this script and find it useful! Please send any questions or thoughts on it to firstname.lastname@example.org