Re: How can I get the AdMob Network Report from GA's API?

16 views
Skip to first unread message
Message has been deleted

Amy Quispe (AdMob SDK Team)

unread,
Jul 28, 2014, 7:33:30 PM7/28/14
to google-adm...@googlegroups.com
Hi there,

You might want to ask this question on the Google Analytics API Forum.

Amy Quispe

On Monday, July 28, 2014 3:02:05 AM UTC-7, ltt wrote:
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.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages