Closed rokkerruslan closed 4 years ago
@rokkerruslan the sample does work for me with a native console app. Did you register a web app with client secret? In that case please try updating the sample to use OAuthWebAuthCodeGrant (and include the client secret) instead of OAuthDesktopMobileAuthCodeGrant. Otherwise please consider posting the repro steps (without credentials) via the developer forum or contact support for additional assistance.
Using https://docs.microsoft.com/en-us/advertising/guides/walkthrough-desktop-application-python?view=bingads-13
Environment:
Follow the documentation create a file and edit
two
constants CLIENT_ID and DEVELOPER_TOKEN.Run:
After run a get:
Ok, authenticate on web site success and I get the link.
After copy link to terminal a get
again
:Ok, authenticate on web site success and I get the second link.
After copy link to terminal a get: