【发布时间】:2019-09-30 18:14:52
【问题描述】:
我正在尝试通过 bing ads api 提取数据。我已经按照演练使用 php SDK 获取身份验证和刷新令牌,但是我现在需要使用存储的刷新令牌来调用 api 来获取信息。
SDK 文档建议使用以下设置身份验证凭据:
$authorizationData = (new AuthorizationData())
->withAuthentication($AuthenticationGoesHere)
->withCustomerId($CustomerIdGoesHere)
->withAccountId($AccountIdGoesHere)
->withDeveloperToken($DeveloperTokenGoesHere);
但是它没有解释 $AuthenticationGoesHere 应该是什么/它是如何构造的。我已经尝试了相应的令牌,但无济于事。有人知道怎么做吗?
【问题讨论】: