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