This get_started.py stuff doesn't work. One glaring issue is it just doesn't run to begin with as it throws an exception that isn't imported so you have to add 'from bingads.exceptions import OAuthTokenRequestException' to top just to get started. One annoying thing is it should go ahead and print the URL, it should'nt be assumed your on a client with a browser. Finally the auth endpoint doesn't appear to work. I had to switch it to use OAuthWithAuthorizationCode. There should also be specific instructions to make sure your using a personal account and not a work account.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
This get_started.py stuff doesn't work. One glaring issue is it just doesn't run to begin with as it throws an exception that isn't imported so you have to add 'from bingads.exceptions import OAuthTokenRequestException' to top just to get started. One annoying thing is it should go ahead and print the URL, it should'nt be assumed your on a client with a browser. Finally the auth endpoint doesn't appear to work. I had to switch it to use OAuthWithAuthorizationCode. There should also be specific instructions to make sure your using a personal account and not a work account.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.