How to add multiple emails to a script?

Many Google Ads scripts allow you to add email addresses to receive the output of the script.  These email addresses are usually added via a configuration variable at the top of the script.
Here’s an example of such a configuration variable:

var EMAIL_ADDRESS = 'anny@domain1.com';

or, it may look like

const EMAIL= "bob@domain2.com";

Whenever you find a variable declaration at the top of your script that looks like any of the above, here’s how you add multiple email addresses:

Simply add all email addresses between the quotes, and separate them with a comma.
Here’s what that looks like:

var EMAIL_ADDRESS = 'anny@domain1.com, bob@domain2.com';

or

const EMAIL= "anny@domain1.com, bob@domain2.com";

NOTE: Some scripts use an array to store the email addresses. Here’s what that looks like:

var recipient_emails = ['anny@domain1.com'];

If you want to add multiple emails to the array,simply add multiple email addresses by inserti ng them between the square brackets, surround each email address with quotes, and separate them with a comma:

var recipient_emails = ['anny@domain1.com', 'bob@domain2.com', 'chrissy@domain3.com'];

 

 

Join thousands of PPC geeks who already have access:

If the button above isn’t working for you, you can sign up here to get access.