How does authorization work in Microsoft Advertising Scripts?

Scripts run in the context of the user that is signed into the Microsoft Advertising web application. Scripts execute in the script editor or may be scheduled to run later. Because scripts run asynchronously, if the user signs out of Microsoft Advertising while a script is running, the script continues running to completion.