I am trying to get reports from the AdSense API. But I get different results for different dimensions.
For example, when I use only the “DATE” dimension, the result looks like this:
DATE AD_REQUESTS CLICKS EARNINGS IMPRESSIONS
2020-04-16 525282 327 148.00 320146
And when "DATE" and "AD_UNIT_CODE" I get less metrics value
DATE AD_UNIT_CODE AD_REQUESTS CLICKS EARNINGS IMPRESSIONS
2020-04-16 457879**** 4262 0 0.19 3090
2020-04-16 565117**** 20138 0 0.02 6420
2020-04-16 728568**** 14024 14 2.76 9165
2020-04-16 837588**** 20960 10 1.79 11132
2020-04-16 998165**** 2892 1 0.37 618
2020-04-16 535298**** 6869 0 0.03 1044
2020-04-16 229349**** 15060 2 0.59 11031
2020-04-16 225246**** 2135 0 0.03 956
The amount of clicks, impressions, etc. with "DATE" dimension not equals to the amount with "DATE" and "AD_UNIT_CODE" dimensions.