-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Hi All,
I am trying to get the refresh token for bing ads api. But I am unable to get the refresh token. I am only able to get the access token.
Following are the parameters and values used
Host: - https://login.microsoftonline.com/common/oauth2/v2.0/token (sending a post request)
Key and Values used to make the request
client_id:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
client_secret:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
grant_type:authorization_code
scope:https://ads.microsoft.com/msads.manage
code:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
redirect_uri:https://localhost:xxxxx/
Response
{
"token_type": "Bearer",
"scope": "https://ads.microsoft.com/msads.manage",
"expires_in": 4xxx,
"ext_expires_in": 4xxx,
"access_token": "xxxxx"
}
I have followed the official documentation but unable to get the refresh token.
Please help me on this.
Thanks in advance!