Combining a script for no impressions with Slack alerts

389 views
Skip to first unread message

Websaus BVBA

unread,
Mar 11, 2016, 5:59:08 AM3/11/16
to AdWords Scripts Forum

I'd like to combine the AdWords script from Frederic Vallaeys (https://bitbucket.org/snippets/fvallaeys/nLEoj/check-if-account-is-offline) to check if there are impressions for an AdWords account and send an alert to a channel in Slack with the script from Russell Savage (http://searchengineland.com/send-adwords-alerts-directly-slack-adwords-script-library-243870?utm_campaign=socialflow&utm_source=twitter&utm_medium=social). As I just started to learn to use AdWords scripts, I don't know how I can combine those two in a full working one. I always get the message that I only can have 1 main function. Who can help me with this ? 

Tyler Sidell (AdWords Scripts Team)

unread,
Mar 11, 2016, 10:04:03 AM3/11/16
to AdWords Scripts Forum
Hi,

Currently we do not support sending alerts, especially between two scripts.  You are correct that each script should only have 1 main function.

Thanks,
Tyler Sidell
AdWords Scripts Team

Andrew Bloch

unread,
May 2, 2016, 9:13:07 AM5/2/16
to AdWords Scripts Forum
Hi Websaus,

See that attached .txt file. I got the two scripts working together. You just need to add your email address or slack webhook and channel.

Kind Regards
Andrew
Working Slack Notification .txt

Tyler Sidell (AdWords Scripts Team)

unread,
May 2, 2016, 9:23:45 AM5/2/16
to AdWords Scripts Forum
Hi Andrew,

Thank you for supplying that script.

Regards,
Tyler Sidell
AdWords Scripts Team

David Boleij

unread,
May 6, 2016, 9:37:31 AM5/6/16
to AdWords Scripts Forum
Hi,

You could also used e-mail intergrations for slack https://slack.com/apps/A0F81496D-email.
Would have been a lot easier;)

Kind regards,
David

Op vrijdag 11 maart 2016 11:59:08 UTC+1 schreef Websaus BVBA:
Reply all
Reply to author
Forward
0 new messages