Hello,
Hope you have solved your issue. If not, could you please check the sample provided in comment and let us know how this goes on your side? We are here to help.
Regards,
Yutong
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello ,
I am having a difficult time to get the refresh token for the auth module to connect to Bing Ads for reports . We are using Fivetran and in order to programmatically authorize , we need client_id , client_access and refresh_token. I am able to get a access_token following the doc below
https://learn.microsoft.com/en-us/advertising/guides/authentication-oauth-get-tokens?view=bingads-13
Having a tough time getting the POST Request correct with the access code. Could you provide the python script so that I can plug and play the information and get the refresh_token ?
I also tried using POSTMAN and get invalid Grant Error
Hello,
Hope you have solved your issue. If not, could you please check the sample provided in comment and let us know how this goes on your side? We are here to help.
Regards,
Yutong
Hi Yutong,
I'm also facing similar issue. Trying to get the access token from Bing ads api by passing below details - clientid, code, granttype , refresh token & scope as per documentation https://learn.microsoft.com/en-us/advertising/guides/authentication-oauth-get-tokens?view=bingads-13, but getting below error.
"error_description": "AADSTS70000: The provided value for the input parameter 'refresh_token' or 'assertion' is not valid.\r\nTrace ID: 369b2372-4666-41cd-9b59-03916d828d05\r\nCorrelation ID: d0fef881-efff-42a3-b52f-24af5a611bfa\r\nTimestamp: 2021-12-02 16:33:36Z",
Please help to resolve.
Thanks!