【发布时间】:2019-11-15 06:34:30
【问题描述】:
我正在使用BingAds-PHP-SDK 来获取经过身份验证的用户详细信息。
先成功完成Authentication with 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
更详细的例子here
【问题讨论】:
-
我也遇到同样的错误..运气好吗?
-
也在寻找解决方案。运气好吗?
-
我现在找到了合适的解决方案。
-
@kupendra 你能和我们分享解决方案吗,因为我面临同样的问题。
-
以前我使用 Bing Ads API 版本 11,升级到 12 后为我修复。
标签: php soap oauth bing-api bing-ads-api