From 17df8d45c2d5473fd8605aae6b291291ebd42c75 Mon Sep 17 00:00:00 2001 From: tburmawalaupgrade <56602766+tburmawalaupgrade@users.noreply.github.com> Date: Tue, 10 Jun 2025 14:24:55 -0700 Subject: [PATCH] Update scope url for SANDBOX MSA PROD Based on the article to Authenticate and Get refresh token on Sandbox : https://learn.microsoft.com/en-us/advertising/guides/authentication-oauth-quick-start?view=bingads-13 --- bingads/authorization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bingads/authorization.py b/bingads/authorization.py index 3a1898bc..97589659 100644 --- a/bingads/authorization.py +++ b/bingads/authorization.py @@ -692,7 +692,7 @@ def __init__(self): (PRODUCTION, ADS_MANAGE): 'https://ads.microsoft.com/ads.manage offline_access', (PRODUCTION, BINGADS_MANAGE): 'bingads.manage', (SANDBOX, MSADS_MANAGE): 'https://api.ads.microsoft.com/msads.manage offline_access', - (SANDBOX, MSA_PROD): 'https://si.ads.microsoft.com' + (SANDBOX, MSA_PROD): 'https://si.ads.microsoft.com/msads.manage offline_access' } @staticmethod