简体   繁体   English

AdMob EARNINGS (USD) 值不是真实值

[英]AdMob EARNINGS (USD) value is not the real value

We use the following AdSense Management API to get AdMob revenue, but the revenue we get from is 1/100 smaller than the actual value on AdMob dashboard.我们使用以下 AdSense 管理 API 来获得 AdMob 收入,但我们从中获得的收入比 Z61DDE68C8306F6C8D91CFE833C32E830 仪表板上的实际值小 1/100。 This makes me think that there is some setting we need to consider in the API request?这让我觉得在 API 请求中我们需要考虑一些设置?

https://developers.google.com/adsense/management/v1.4/reference/reports/generate 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)

Response: $12.87 True value: $1,287回复:$12.87 真实价值:$1,287

The currency code on the dashboard is USD.仪表板上的货币代码是美元。 Thank you for the help!感谢您的帮助!

It could depend on the account default setting (Ie, currency).它可能取决于帐户默认设置(即货币)。 You have mentioned that request and dashboard uses USD, but I think it worth to check.您提到请求和仪表板使用美元,但我认为值得检查。

To check AdMob's account defaults, you need:要检查 AdMob 的帐户默认设置,您需要:

  • Login to AdMob UI (admob.google.com);登录 AdMob 用户界面(admob.google.com);
  • Go to Settings -> Account Information; Go 到设置 -> 账户信息;
  • Check the default reporting currency.检查默认报告货币。

In case all set correct, you can try an AdMob API to get AdMob related reports.如果所有设置正确,您可以尝试AdMob API以获得 AdMob 相关报告。 It works well to me.它对我很有效。

You can leave off currency so that the API report will use the account's default.您可以不使用货币,以便 API 报告将使用帐户的默认值。 That's worth a shot just to be sure that the currencies are the same.只是为了确保货币相同,这是值得一试的。

It's hard for me to compare the two reports since I don't know what parameters are set on the UI report, but I would recommend checking that all the dimensions and filters are the same.我很难比较这两个报告,因为我不知道 UI 报告上设置了哪些参数,但我建议检查所有维度和过滤器是否相同。 Certain dimensions can lead to double-counting report data, like this example with custom channels .某些维度可能会导致重复计算报告数据,例如自定义渠道的示例。

Finally, I would second Maksym's advice to try the new AdMob API for reporting.最后,我会同意 Maksym 的建议,尝试使用新的 AdMob API 进行报告。 It's designed to give you reports more in line with the AdMob UI.它旨在为您提供更符合 AdMob UI 的报告。

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

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