Adwords PHP 客户端库示例无法连接?

发布于 2024-12-17 05:57:14 字数 692 浏览 1 评论 0原文

我正在沙盒中使用 201109 版本,并在导航到 Examples/v201109/GetAllCampaigns.php

AuthenticationError.CLIENT_CUSTOMER_ID_INVALID @ ; trigger:'client_1+email' Service[CampaignService.get]

(已删除电子邮件)

时收到此错误,如果我将 auth.ini 中的 clientId 更改为,

clientId = "2"

则会收到不同的错误

AuthenticationError.CUSTOMER_NOT_FOUND @ ; trigger:'2' Service[CampaignService.get]

,如果我评论clientId 线路输出,它告诉我我没有活动。

通过转到 AddCampaign.php 示例,该行被注释掉,我仍然收到此错误

[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

,我已经查看了所有这些错误,但它们似乎没有给我太多指示我应该做什么。 自动营销活动的默认格式是否已更改?我什至连接到沙箱了吗?好困惑!谢谢

I'm working with the 201109 version in the sandbox and getting this error when navigating to examples/v201109/GetAllCampaigns.php

AuthenticationError.CLIENT_CUSTOMER_ID_INVALID @ ; trigger:'client_1+email' Service[CampaignService.get]

(removed email)

if i change the clientId in auth.ini to

clientId = "2"

I get a different error

AuthenticationError.CUSTOMER_NOT_FOUND @ ; trigger:'2' Service[CampaignService.get]

and if i comment the the clientId line out, It tells me i have no Campaigns.

By going to the AddCampaign.php example,with the line commented out still i get this error

[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

I've looked all these errors up but they don't seem to give me much indication of what i should be doing.
Has the default format for the automated campaigns changed? Am i even connected to the sandbox? So confused! Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

岁吢 2024-12-24 05:57:14

v201109 中已弃用在请求中使用客户电子邮件,必须改用客户客户 ID。如需了解更多信息,请访问:

http://code.google.com /apis/adwords/docs/sandbox.html#getting-started

The use of client emails in the request was deprecated in v201109, and client customer IDs must be used instead. More information is available here:

http://code.google.com/apis/adwords/docs/sandbox.html#getting-started

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文