JDBC Driver for Microsoft Ads

Build 22.0.8462

GetOAuthAuthorizationURL

Gets the BingAds authorization URL. Access the URL returned in the output in a Web browser. This requests the access token that can be used as part of the connection string to BingAds.

Input

Name Type Required Description
CallbackUrl String False The URL that BingAds will return to after the user has authorized your app.
Scope String False The scope or permissions you are requesting.

The default value is offline_access https://ads.microsoft.com/msads.manage.

State String False This field indicates any state that may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to BingAds authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery.
Prompt String False Defaults to 'select_account' which prompts the user to select account while authenticating. Set to 'None', for no prompt, 'login' to force user to enter their credentials or 'consent' to trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app.

Result Set Columns

Name Type Description
URL String The URL to be entered into a Web browser to obtain the verifier token and authorize the data provider with.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462