【发布时间】:2020-04-24 15:27:35
【问题描述】:
我正在使用谷歌广告来生成关键字,
我不确定我是否遵循了正确的指示。
我首先创建了一个经理帐户https://developers.google.com/adwords/api/docs/guides/accounts-overview#test_accounts 然后我申请了测试帐户(但在我的状态下测试帐户已关闭)甚至经理:( 我不知道为什么。
来自谷歌广告的团队表示,在他们的系统中他们是开放的......但是
当我使用开发者令牌和 outh2 测试我的应用程序时:我收到了这条消息
ApiException was thrown with message '{
"message": "The caller does not have permission",
"code": 7,
"status": "PERMISSION_DENIED",
"details": [
{
"@type": 0,
"data": "type.googleapis.com\/google.ads.googleads.v3.errors.GoogleAdsFailure"
},
{
"@type": 0,
"data": [
{
"errorCode": {
"authorizationError": "CUSTOMER_NOT_ENABLED"
},
"message": "The customer can't be used because it isn't enabled."
}
]
}
]
}'
您有使用 google ads api 的经验吗?
【问题讨论】:
标签: php google-ads-api