Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Python Access to Bing Ads API OAuth refresh token

Hello,

I'm creating a Python script that will interact with Bing Ads via their SDK python library (https://github.com/BingAds/BingAds-Python-SDK)

I've already set up Bing Ads authentication as described on https://redshiftsupport.matillion.com/customer/portal/articles/2312291-oauth , but how do I access the refresh token and/or other authentication variables from the Python script component? is there another way to do it?

Regards,
M

1 Community Answers

Matillion Agent  

David Lipowitz —

Hi Miguel,

Unfortunately the OAuth connection you’ve set up inside Matillion can’t be re-used by your Python script. You’ll need to handle authentication for Python separately.

Microsoft provides some documentation on that here: Get Started Using Python with Bing Ads Services

I believe they have examples in there that should help you get going. Hope that helps.

Best Regards,
Dave

Post Your Community Answer

To add an answer please login