简体   繁体   English

如何使用Google Adsense或Analytics(分析)API来获取各个页面的利润?

[英]how can I take the profit of the individual pages with google adsense or analytics api?

我想从Google蜜蜂获取我网站上每个商品的收入,以在我的网站上创建一个控制面板,在其中我可以看到每个商品的收入

You can use the AdSense Management API to generate reports on your website's ads. 您可以使用AdSense Management API 生成有关您网站广告的报告 You can specify dimensions to break down your data by (for example, using the AD_UNIT_ID dimension will generate a report with a row for each Ad Unit), and you can use metrics to specify what data you want to retrieve (there are a number of metrics associated with revenue). 您可以指定维度来细分数据(例如,使用AD_UNIT_ID维度将为每个广告单元生成一个报告,其中包含一行),并且您可以使用指标来指定要检索的数据(有很多与收益相关的指标)。

For a more detailed walkthrough, there are several Reporting guides that you might find useful. 有关更详细的演练,有一些报告指南可能对您有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM