I am using BingAds-PHP-SDK to get authenticated user detail.
Firstly done Authentication with OAuth successfully and get authentication token
and refresh token
.
But when call GetUser()
returning following Exception
.
Main Exception detail:
stdClass Object (
[AdApiFaultDetail] => stdClass Object (
[TrackingId] => bdfe1a94-b33f-xxxx-a542-1adc15148bae
[Errors] => stdClass Object (
[AdApiError] => stdClass Object (
[Code] => 105
[Detail] =>
[ErrorCode] => InvalidCredentials
[Message] => Authentication failed. Either supplied credentials are invalid or the account is inactive
)
)
)
)
Exception faultcode
: s:Server
Exception faultstring
: Invalid client data. Check the SOAP fault details for more information
More detailed example here
Does the Microsoft account user (corresponding to your access token) have permissions to login to the Bing Ads web UI? It is possible to get an access token for a Microsoft account who does not have Bing Ads permissions (and thus GetUser would fail with the 105 error by design), so please check to make sure this user can manage at least one Bing Ads account.
If the Microsoft account user has Bing Ads UI access, then I suggest contacting support for help with troubleshooting the 105 error. In that case it will also help if you provide support the SOAP request, response, and timestamp.
I hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With