Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bing Ads API V11 Exception : Invalid client data. Check the SOAP fault details for more information

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

like image 659
kupendra Avatar asked Jan 06 '18 11:01

kupendra


1 Answers

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!

like image 187
Eric Urban Avatar answered Sep 19 '22 11:09

Eric Urban