【问题标题】:Google ad-words API authentication issueGoogle 广告词 API 身份验证问题
【发布时间】:2014-04-14 21:57:21
【问题描述】:

我正在尝试使用 OAuth 2.0 对本机应用程序的 adwords API 进行身份验证。

我创建了 MCC 生产帐户和 MCC 测试帐户。 我已接受条款和条件,并已成功在 MCC 生产和测试帐户中提交了我的结算信息。

我正在关注官方教程并成功生成刷新令牌。 (https://developers.google.com/adwords/api/docs/guides/authentication)

我正在尝试访问我的 MCC TEST 帐户,而不是尝试连接到生产帐户。 但不幸的是,当我尝试从我的 Java 代码连接到 AdWords 时出现错误。 首先,我使用的是我的 MCC TEST 开发人员令牌,在这种情况下,我得到:

 faultString: [QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'<null>']
 faultActor: 
 faultNode: 
 faultDetail: 
    {https://adwords.google.com/api/adwords/cm/v201306}ApiExceptionFault:<message>[QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'&lt;null&gt;']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="QuotaCheckError"><fieldPath/><trigger>&lt;null&gt;</trigger><errorString>QuotaCheckError.ACCOUNT_INACTIVE</errorString><ApiError.Type>QuotaCheckError</ApiError.Type><reason>ACCOUNT_INACTIVE</reason></errors>

接下来我试图切换到我的生产令牌,但仍指向 MCC TEST 帐户。收到新错误:

 faultString: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'&lt;null&gt;']
 faultActor: 
 faultNode: 
 faultDetail: 
    {https://adwords.google.com/api/adwords/cm/v201306}ApiExceptionFault:<message>[QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'&lt;null&gt;']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="QuotaCheckError"><fieldPath/><trigger>&lt;null&gt;</trigger><errorString>QuotaCheckError.INCOMPLETE_SIGNUP</errorString><ApiError.Type>QuotaCheckError</ApiError.Type><reason>INCOMPLETE_SIGNUP</reason></errors>

任何想法我做错了什么?

非常感谢!

【问题讨论】:

    标签: google-api google-ads-api google-api-java-client


    【解决方案1】:

    如果您收到 INCOMPLETE_SIGNUP 错误,请阅读error handling guide

    【讨论】:

      猜你喜欢
      • 2017-11-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多