Microsoft Advertising Scripts Reference

Microsoft Advertising Scripts lets you access and manage your advertising data using JavaScript in a browser-based script editor.

This section provides information about the JavaScript objects that you use in your scripts.

For information about Microsoft Advertising entities and the limits that apply to each entity, see Entity Hierarchy and Limits.

The following are the top-level objects that you use to access your Microsoft Advertising entities and perform other tasks.

Object Description
AccountsApp This is the top-level object that you use if you're managing accounts for others. Use it to get the list of accounts you have access to, and to select the account to manage. Read more.
AdsApp This is the top-level object used to access and manage single-account entities, such as campaigns and keywords. Read more.
UrlFetchApp This is the top-level object used to fetch resources from the web.