This script will email a report of a weighted quality score at the Account and Campaign Levels.
Notes:Update the values for the following settings:
dashboardEndPoint: enter the endpoint for the Cyfe.com push API if you want to add the account quality score to one of their dashboards. Leaving this value blank is fine.
emailNotificationRecipients: enter a comma separated list of everyone who should get an email with the results when this script completes running.
time: you can change this to a different value to change the time range used for the quality score calculation but we recommend leaving this set to LAST_30_DAYS