Skip to content

Source BingAds: support oauth (java part) #7442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #6294
annalvova05 opened this issue Oct 28, 2021 · 1 comment
Closed
Tracked by #6294

Source BingAds: support oauth (java part) #7442

annalvova05 opened this issue Oct 28, 2021 · 1 comment

Comments

@annalvova05
Copy link
Contributor

Python part

BingAds docs
Necessary scopes values: offline_access user.read

Example of consent url: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?
client_id=
&response_type=code
&redirect_uri=
&response_mode=query
&scope=https://ads.microsoft.com/offline_access%20user.read

Example of token url: https://login.microsoftonline.com/common/oauth2/v2.0/token
-ContentType application/x-www-form-urlencoded
-Method POST
-Body "client_id=$clientId&scope=https://ads.microsoft.com/offline_access%20user.read&code=_code_&grant_type=authorization_code&redirect_uri=_url_"

where accounts, customer_id, developer_token, user_id, reports_start_date, hourly_reports, daily_reports, weekly_reports, monthly_reports should be forwarded from UI part

The BingAds oAuth2 implementation returns refresh_token

@antixar
Copy link
Contributor

antixar commented Nov 4, 2021

duplicate
This issues will be fixed with #6294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants