javascript - 无效的客户 ID - google-ads-api,我提供了正确的 customer_id 集,但它返回错误
问题描述
我正在使用google-ads-api
nodejs 中的模块来连接 Google Ads API。
我正在使用此代码块来获取Customer
const customer = client.Customer({
customer_id: 'XXX-XXX-XXXX',
refresh_token: refreshToken,
})
我使用了XXX-XXX-XXXX
, XXXXXXXXXX
,XXXX-XXX-XXX
格式,customer_id
但它仍然返回此错误
GoogleAdsFailure {
errors: [
GoogleAdsError {
error_code: [ErrorCode],
message: "Invalid customer ID ''."
}
],
request_id: 'OcUdfalh_N0U4hTJUd6c6g'
}
解决方案
推荐阅读
- c - 我的文件 I/O 操作函数中的错误地址
- java - 如何从 OpenSAML 中的签名 XML 字符串生成 SignatureValue
- android - android中的文件重命名
- html - 为什么我的页脚和内容不在使用 flexbox 的侧边栏旁边?
- c++ - 将“*”作为输入参数(argv)处理时的 G++ 和 MSBuild 差异
- java - 如何正确制作文本字段的副本?
- python-3.x - 我无法在我的 django 项目中成功使用我的 css 文件
- javascript - 通过重定向或标头从 Node jS 发送数据和 SAML 响应到 React
- python - 无法打印混淆矩阵
- javascript - 单击特定菜单时显示和隐藏关联的子菜单