通过AdWords API获取广告系列统计信息(例如,点击次数,点击率,每次点击费用等) [英] Getting campaign stats (e.g. Clicks, CTR, CPC, etc.) via AdWords API
问题描述
我目前正在尝试获取特定广告系列的广告系列统计信息,例如点击次数,展示次数,点击率,平均每次点击费用等.不幸的是,我找不到如何通过AdWords API做到这一点.
What I'm trying to currently do is fetch Campaign statistics such as Clicks, Impressions, CTR, Average CPC and etc for a particular campaign. Unfortunately, I can't find how to do it via the AdWords API.
到目前为止,我发现的是,
What I've found up till now is that,
- 也许,在
CampaignService
的早期版本中,我们可以通过执行$campaign->campaignStats
之类的方法来获取统计信息.不幸的是,我正在使用V201506
,并且其中没有campaignStats
对象/变量. - 我可能可以使用" CAMPAIGN_PERFORMANCE_REPORT "获得这些统计信息,但是需要下载它,并且我不想下载报告.我只想返回一个数组或类似的东西,以便我可以处理它.另外,我不想给出任何时间范围,我只想返回该广告系列的所有时间统计信息.甚至有可能吗?
- Maybe, in an earlier version of the
CampaignService
, we were able to obtain stats by doing something like$campaign->campaignStats
. Unluckily, I'm usingV201506
and in it there is nocampaignStats
object/variable. - I probably can get these stats using the 'CAMPAIGN_PERFORMANCE_REPORT' but it needs to be downloaded and I don't want to download the report. I just want an array or something similar returned so that I can process it. Also, I don't want to give any time frame, I just want all time stats to be returned for that campaign. Is it even possible?
如果有人可以帮助我,我将不胜感激.在这里呆了几个小时,浏览了整个AdWords API文档,但不知道什么是最好的,最简单的方法.
If any one could help me out, I would really appreciate it. Kind of been stuck here for a few hours, skimmed through the whole AdWords API documentation but couldn't understand what would be the best and easy approach to this.
推荐答案
现在,Adwords API
仅允许统计信息通过报告服务.
可以使用两种方法获得统计信息.
Now, Adwords API
allowing stats only By reporting service.
And stats can be get using two methods.
1)通过使用报告服务进行描述 此处
1) By using reporting service as described here
2)您可以使用AdWords查询语言. 请参阅 这个
2) You can use Adwords Query Language. See this
这篇关于通过AdWords API获取广告系列统计信息(例如,点击次数,点击率,每次点击费用等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!