【问题标题】:Google Ads REST API: The operation is not allowed for the given context., at operations[0]Google Ads REST API:给定上下文不允许该操作。,在操作[0]
【发布时间】:2021-11-11 11:16:42
【问题描述】:
我试图使用 Google Ads API 要求的所有信息创建一个campaigBudget:mutate,但没有结果,它们只显示一个错误:
The operation is not allowed for the given context., at operations[0]
这个截图可能对你们有帮助:
标题:
正文(请求和请求):
这是来自 Google Ads API 的示例:
谢谢
【问题讨论】:
标签:
rest
google-ads-api
google-experiments
【解决方案1】:
经过研究发现问题出在 CUSTOMER_ID
在标题中我们应该设置:login-customer-id => MANAGER_CUSTOMER_ID
我们应该在端点 url 中设置:/customers/CUSTOMER_ID/campaignBudgets:mutate