Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have an
val authData = new AuthorizationData() authData.setAccountId(accountId) authData.setCustomerId(customerId) authData.setDeveloperToken(developerToken) authData.setAuthentication(???) // what do I put here?
I need to set an
Authentication class in
authData.setAuthentication method. My only option is a
val oauth = new OAuthWebAuthCodeGrant(clientId, clientSecret, redirectUri)
But the thing is, I don't want that. I just want to put my access token, I don't want the user to go get it; I'll be doing it manually.
Is there any way I can just put my beautiful access token inside this class?