AdSense Report response in csv for dotnet client

38 views
Skip to first unread message

Anna T

unread,
Oct 13, 2014, 6:32:08 PM10/13/14
to adsen...@googlegroups.com
I'm using the latest client library for the AdSense Management API, Google.Apis.AdSense.v1_4 Client Library 1.9.0.470.  When following the example from GitHub(https://github.com/googleads/googleads-adsense-examples/tree/master/dotnet) to run GenerateReport,the library fails to parse the response when alt is set to csv:
{"Failed to parse response from server as json [DATE,PAGE_VIEWS,AD_REQUESTS,AD_REQUESTS_COVERAGE,AD_REQUESTS_CTR,COST_PER_CLICK (USD),AD_REQUESTS_RPM (USD),EARNINGS (USD)\n2014-10-08,6120198,6121497,0.6976,0.0021,0.44,0.93,5721.19\n2014-10-09,6759296,6761745,0.7036,0.0019,0.44,0.84,5669.46\n]"}
 
Is csv support in the latest library? Additionally, I would like to use the alt="media" for downloading larger files but I don't see this option available in the library (https://developers.google.com/adsense/management/reporting/large_reports).
 
 

Jose Alcérreca (AdSense API Team)

unread,
Oct 27, 2014, 6:17:37 AM10/27/14
to adsen...@googlegroups.com
Hi Anna,

I think the .NET client library doesn't have support for CSV.

Cheers!
Jose
Reply all
Reply to author
Forward
0 new messages