【发布时间】:2020-08-17 06:57:06
【问题描述】:
我想为我的经理帐户下的一个广告帐户提出预算。我有以下 YAML 文件:
developer_token: 13245
login-customer-id: 1324567891
customer-id: 1324567891
user_agent: 13245
client_id: 13245
client_secret: 13245
refresh_token: 13245
当我尝试运行我的脚本时,我收到了这个错误:
消息出错p>
"用户无权访问客户。注意:如果您正在访问 客户客户,经理的客户ID必须在'login-customer-id'标头中设置。
这是我使用的代码,来自示例 python 库:
try:
account_budget_proposal_response = (
account_budget_proposal_service.mutate_account_budget_proposal(
customer_id, account_budget_proposal_operation))
【问题讨论】: