Hi Nikhil,

Some more useful tips:

1. If you want to download the report in memory instead of dumping to disk, 
then

ClientReport report = new ReportUtilities().GetClientReport(definition);
string reportText = report.Text;

2. If you are requesting a GZIPPED report format (that's faster for 
download), then

definition.downloadFormat = DownloadFormat.GZIPPED_XML;

ClientReport report = new ReportUtilities().GetClientReport(definition);
byte[] reportBytes = report.Contents;
string deflatedReportText = 
Encoding.UTF8.GetString(MediaUtilities.DeflateGZipData(reportBytes));

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to