Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
273 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Environment:
BingAds-PHP-SDK Version 13.0.14 ,
PHP version 7.4.30
For SSL: Ngrok
Local Machine Server: Apache2
Required PHP modules: Enabled
Problem Description:
1- After getting a refresh and access token. I am getting the below error when I call ReportRequests.php -> (https://github.com/BingAds/BingAds-PHP-SDK/blob/main/samples/V13/ReportRequests.php)
Error: invalid_client Description: AADSTS70002: The provided request must include a 'client_secret' input parameter.
Trace ID: 45xxxx-3bd4-4890b-8cnb1-1c63xxxxxx00 Correlation ID: fxxxxxd-8vbn5-4axe4-8002-a5sadadadabb6c
Timestamp: 2022-08-15 14: 54: 54Z You need to provide consent for the application to access your Microsoft Advertising accounts.
Copy and paste this authorization endpoint into a web browser and sign in with a Microsoft account with access to a Microsoft Advertising account:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?scope=https://ads.microsoft.com%2Fmsads.manage+offline_access&client_id=1xxxxxx-xxx-xxxxx&response_type=code&redirect_uri=https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fnativeclient
After you have granted consent in the web browser for the application to access your Microsoft Advertising accounts,
Any suggestion or solution to this issue?