c# - 我需要开发人员 token 才能从 Adwords 获取数据吗

标签 c# java google-api google-ads-api

我是否需要开发人员 token 才能获取 Adwords 数据?

我只想抓取一些数据,而不是创建/编辑/修改某些东西。

我的计划是让我的客户通过 oauth 进行身份验证,然后在他们来自 adwords 的数据上绘制一些图表。

在我看来,我必须获得开发人员 key 才能获取该数据 ( source )。

这是正确的还是有其他方法可以从 AdWords 帐户中获取数据?

最佳答案

答案是yes ,您需要开发人员 token 才能从 AdWords 获取数据:

A developer token is required to make AdWords API calls. It's main purpose is to ensure that the developer has accepted AdWords API T&Cs, identify your requests in case we need to troubleshoot issues you are facing, etc. In the past, it was also used to identify the account to which API calls were charged, but that's no longer the case since AdWords API calls are now free.

OAuth2 tokens are used to authenticate the calls you make against a client account. You may also use ClientLogin as an alternative to OAuth2, but it is deprecated and it's use is strongly discouraged.

You need an MCC account to get a developer token, but it's not a requirement that the account you make calls to lives under that MCC. Using OAuth, you could make calls to a totally unrelated account (e.g. a client logs in from the UI), as long as you can generate an access token for the same. Right now, your developer token is under review, that's why your ability to make calls are restricted to test accounts. Once your token is approved, you should be able to make calls to any account that you have access to.

关于c# - 我需要开发人员 token 才能从 Adwords 获取数据吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20893454/

相关文章:

ios - 服务器请求 Google Calendar API 使用来自客户端的访问 token

c# - Web 应用程序中的 BeginGetResponse

Java 替换空格

java - 如何在 Java EE 和 Spring Boot 中热重载属性?

java - 当参数中已提供字节数组对象时,为什么某些 Java 函数需要字节数组长度?

javascript - 使用 node.js Gmail API 发送现有草稿

node.js - 如何从 Google API 获取用户信息配置文件?

c# - 将WPF与MVVM架构一起使用以创建与要轮询的设备相对应的动态GUI

c# - 我有一个带有分页事件的 gridview。每次我点击一个新页面时,它都会让我从上传文件控件重新加载文件,然后它会显示新页面

c# - C#/.NET 3.5 中的转换如何适用于具有 '?' 的类型