Handling multiple advertising accounts efficiently within a single interface
Request one universal developer token for the application; it can be reused for multiple Microsoft Advertising users and accounts, while each user must separately authorize the application through OAuth.
Request the production developer token
- Sign in to Microsoft Advertising as a Super Admin.
- Open Developer Settings at the current developer-token page linked from Microsoft Advertising settings.
- Select the user to associate with the token.
- Select Request Token.
- If an existing token is shown as single-user, select Upgrade to Universal.
The universal token is the default token type and normally one application needs only one, regardless of how many users it supports. The older Developer Portal was scheduled for deprecation beginning May 31, 2025, so use the replacement Developer Settings page rather than building against the old portal workflow.^1^
Authenticate each user separately
The developer token identifies the application; it does not grant account access. For every user:
- Register the application with the Microsoft identity platform.
- Redirect the user through the OAuth consent flow using the
msads.managescope. - Store that user’s access and refresh tokens securely.
- Send both the universal developer token and that user’s OAuth access token with API requests.
All users must provide consent for msads.manage, including users who previously consented under an older scope.^2^
For example, an SDK request uses the same developer token but user-specific authentication and account context:
authorization_data = AuthorizationData(
authentication=user_oauth_authentication,
customer_id=selected_customer_id,
account_id=selected_account_id,
developer_token=universal_developer_token
)
The authenticated user can access only the customers and accounts available to that user in the Microsoft Advertising web application.^1^
User-management permissions
A universal token does not bypass roles:
- Super Admin has full user-management permissions.
- Standard user can manage some users but cannot invite, delete, or change a Super Admin.
- Advertiser Campaign Manager generally cannot perform Customer Management write operations.
- Viewer is read-only.
New users cannot be created directly through the API. An authorized user can call SendUserInvitation, assign the intended role and account access, and the recipient must complete the emailed sign-up workflow. Existing users and their roles can then be retrieved using GetUsersInfo and GetUser.^3^
For REST calls, include:
Authorization: Bearer <user-oauth-access-token>
DeveloperToken: <universal-developer-token>
Content-Type: application/json
SendUserInvitation requires both the Bearer [Token] token and developer token. Pending invitations cannot be deleted through the API; cancel them under Accounts & Billing → Users in the Microsoft Advertising web application.^4^
If “multi-user” means one login across several customers
Have each customer invite the same Microsoft Advertising login and accept every invitation with that login. Its OAuth access token will then represent the combined set of permitted accounts, with the applicable role still determined separately for each customer. If several existing login identities must be consolidated, contact Microsoft Advertising support or the account manager; only one email address per customer can be consolidated.^3^
References