【发布时间】:2020-10-22 13:39:43
【问题描述】:
我们使用以下 AdSense Management API 来获取 AdMob 收入,但我们从中获得的收入比 AdMob 信息中心上的实际值小 1/100。 这让我觉得我们需要在 API 请求中考虑一些设置?
https://developers.google.com/adsense/management/v1.4/reference/reports/generate
response = ad_sense.generate_report(date.to_s, date.to_s,
metric: %w[CLICKS EARNINGS INDIVIDUAL_AD_IMPRESSIONS],
dimension: %w[APP_ID APP_PLATFORM AD_UNIT_NAME AD_UNIT_ID DATE COUNTRY_CODE],
currency: 'USD',
use_timezone_reporting: true)
回复:12.87 美元 真实价值:1,287 美元
仪表板上的货币代码是美元。 感谢您的帮助!
【问题讨论】:
标签: adsense-api