Friday, March 13, 2015

Digest for adsense-api@googlegroups.com - 1 update in 1 topic

Donghan Miao <miaodonghan@gmail.com>: Mar 11 07:24AM -0700

I am using google adsense APIs to get total # of clicks and page_views for
a client id. however, I get different results if adding CUSTOM_CHANNEL_ID
in dimension.
 
following query doesn't include CUSTOM_CHANNEL_ID in dimension, the result
is consistent with adsense web console (account overview).
 
 
GET /adsense/v1.4/accounts/xxxx/reports?filter=AD_CLIENT_ID%3D%3Dxxxx&
endDate=2014-09-21&startDate=2014-09-21&metric=CLICKS&metric=PAGE_VIEWS&
dimension=AD_CLIENT_ID&dimension=DATE&key=..
 
 
in contrast, if adding &dimension=CUSTOM_CHANNEL_ID in the search query
(everything else remains the same), total clicks/pageviews surprisingly
changed (in some cases, I got larger #, some casesI got smaller #).
 
I believe this is not correct. the query above itself contains all
dimensions and metrics I was using. this issue can be reproduced using
other client_id too. does any of you have similar issues too?
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com.

No comments:

Post a Comment