You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords Scripts Forum
Hi. Is there a way to load the majority of the script code from an external source? That would be handy because I have a lot of single accounts to change if I update a script.
Thanks
Bernhard
Anthony Madrigal
unread,
Feb 6, 2017, 12:04:46 PM2/6/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords Scripts Forum
Hi Bernhard,
I'm afraid there is no way to load a script from an external file using AdWords Scripts.
Regards,
Anthony
AdWords Scripts Team
Trevor
unread,
Feb 7, 2017, 2:21:46 PM2/7/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
eval() is dangerous though and most people would tell you not to do it. If anyone got access to the .js file you're fetching and if your script ran on a schedule, any code inserted into the .js file would run authorized as you and do whatever they wanted it to.
Bernhard Prange
unread,
Feb 8, 2017, 7:42:05 AM2/8/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Trevor via AdWords Scripts Forum
=-O I already saw that eval is working in the scripts. But I did not
consider this Option. Thanks for pointing that out.
Stephen Howe
unread,
Feb 8, 2017, 7:51:32 AM2/8/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords Scripts Forum
Are the single accounts under an MCC? If so, an MCC script would be perfect for this. You just have to modify a single function that the MccApp will perform as it iterates over the accounts.
Sven Reinhardt
unread,
Feb 8, 2017, 9:12:10 AM2/8/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message