如何访问推特广告 api? [英] How to get access to twitter ads api?

查看:45
本文介绍了如何访问推特广告 api?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用 Twitter 文档进行了大量反复之后,我现在能够使用 OAuth 1.0 进行身份验证,并代表登录并接受我的应用程序以执行更改/检索数据的用户发出请求.现在,我正在尝试向 Twitter 广告 API 发出请求.这是我得到的错误:

after a lot of back and forth with the Twitter documentation I am now able to authenticate with OAuth 1.0 and make request behalf on the user who sign-ined and accepted my app to preform changes / retrieve data. Now, I'm trying to make requests to the Twitter Ads API. This is the error I get:

{"errors":[{"code":"UNAUTHORIZED_CLIENT_APPLICATION","message":"The client application making this request does not have access to this API"}],"request":{"params":{}}}

看来,需要注册另一个应用程序.我用我的应用 ID 注册,假设开发人员"阶段是适合我.我正在尝试检索分析,例如,检索广告系列对于接受它的用户.

As it seems, there is a need of another app registration. I registered it with my app id, assuming the 'developer' stage is the fit for me. I'm trying to retrieve analytics, e.g., retrieve campaigns for the user who accepted it.

注册 Ads App Form 后,错误依旧.文档没有指定是否需要对 ads-api 进行特殊实现.此外,我打开的广告应用没有在任何地方提及,也没有在我的 twitter 应用中提及.

After registration the Ads App Form, the error stays the same. The docs don't specify if there is a need for a special implementation for the ads-api. Also, the Ads App I opened isn't mentioned anywhere, nor in my twitter apps.

我错过了什么吗?先谢谢了.

Am I missing something? Thanks before.

推荐答案

查看 Twitter 广告 API 文档,获得访问权限是一个非常复杂的过程.在他们的网站上,您需要:

Looking at Twitter ads API documentation, getting access is a pretty involved process. From their site, you'll need:

  • 来自客户、广告商或 Twitter 团队的积极推荐(在 Ads API 之外)
  • 清晰的价值主张,说明您的解决方案如何将补充 Twitter 广告产品并改进广告商表现
  • 遵守 Twitter 开发者政策的历史
  • 拥有运行 Twitter 广告的经验
  • 与企业@username 关联的 Twitter 应用 ID,活动令牌不超过 5 个

这似乎有点矫枉过正,但我​​还没有看到其他方法.如果您找到获得广告 API 访问权限的更好方法,请在此处发布另一个答案,因为我有一个可能使用这些 API 的项目,但申请过程太艰巨,无法真正证明开始努力是合理的.

It seems a little overkill, but I haven't seen any other way around it. If you find a better way to get ads API access, please post another answer here because I have a potential project that would use these APIs, but the application process has been too daunting to really justify starting the effort.

这篇关于如何访问推特广告 api?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆