我正在使用BingAds-PHP-SDK来获取经过身份验证的用户详细信息。
首先使用 OAuth成功完成身份验证并获取authentication token
和refresh token
.
但是当调用GetUser()
返回以下时Exception
。
主要异常细节:
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
)
)
)
)
异常faultcode
:s:Server
异常faultstring
:Invalid client data. Check the SOAP fault details for more information
更详细的例子在这里