Version upgrade issue - from V9 to V11 RRS feed

  • Question

  • We have been using version 9 for Bing ads. Recently we came to know that the version has deprecated. So we would like to upgrade to version 11. PHP is our platform. We have followed / specified the credentials in the files. But still we are getting an error stating as "Error: invalid_grant Description: The provided value for the input parameter 'refresh_token' or 'assertion' is not valid. You need to provide consent for the application to access your Bing Ads accounts. Copy and paste this authorization endpoint into a web browser and sign in with a Microsoft account with access to a Bing Ads account: https://login.live.com/oauth20_authorize.srf?scope=bingads.manage&client_id=6b1496d1-e3c6-4655-ab14-c5c57f617ece&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf After you have granted consent in the web browser for the application to access your Bing Ads accounts, please enter the response URI that includes the authorization 'code' parameter: 0 The ResponseUri is not set. #0 /home/directiv/public_html/admin/msadsapi11/vendor/microsoft/bingads/samples/AuthHelper.php(93): Microsoft\BingAds\Auth\OAuthWithAuthorizationCode->RequestOAuthTokensByResponseUri('') #1 /home/directiv/public_html/admin/msadsapi11/vendor/microsoft/bingads/samples/AuthHelper.php(78): Microsoft\BingAds\Samples\AuthHelper::RequestUserConsent() #2 /home/directiv/public_html/admin/msadsapi11/getaccounts.php(60): Microsoft\BingAds\Samples\AuthHelper::AuthenticateWithOAuth() #3 {main}"
    Monday, April 23, 2018 6:42 AM