Logger.log("Account: " + account.getName()) withCondition("ServingStatus = SERVING")ĮmailContent += "" + account.getName() + "" withCondition("CampaignExperimentType = BASE") withCondition("LabelNames CONTAINS '" + config.ACCOUNT_LABEL + "'") even if there are no campaigns without impressions. Change this to true if you always want an email, When a campaign didn't receive any impressions yesterday, With this script you keep track of impressions in campaigns. Last update: 23-05-2022 Added videocampaigns Scheduling: Run this script 1x per day, preferably at the end of the morning. If you do not want this, you can delete line 30 from the script. In the accountSelector, I filter all accounts that are labeled 'Active' in your MCC. The following script can be used at MCC level, so that you have an overview of campaigns that are silent in 1 email. SEND_MAIL: Set to true to always receive an email, even if there are no campaigns without impressions.ACCOUNT_LABEL: Use this to select specific accounts.COMPARE_DATERANGE: If compare is set to true, define the daterange you want to compare with.COMPARE: Set to true, if you want to check if the campaigns had impressions before.DATE_RANGE: Set the daterange for the period you want to check for impressions.EMAIL_SUBJECT: The subject of the email that will be send.EMAIL_INTRO: This is the message at the top of the email.You can enter multiple email addresses by separating them with a comma. EMAIL: Enter the e-mail address where you want to receive the notification.Leave on 'false' when the script is really running, because that's faster. LOG: Change this to 'true' to see what exactly happened.In the config section of the script, you can adjust multiple values as desired.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |