Hi,
I want to get my AdMob's earning infos using the GA, but I followed the GA's guides to get datas using this metric 'ga:adsenseAdsViewed' ,and it just had no data return.
The codes :
analytics.data().ga().get(tableId, // Table Id.
"2014-07-20", // Start date.
"2014-07-27", // End date.
"ga:adsenseAdsViewed") // Metrics.
// .setDimensions("ga:city")
// .setSort("-ga:visits,ga:source")
// .setFilters("ga:medium==organic")
.setMaxResults(25)
.execute();
Can anyone tell me what's wrong and how to deal with this.