Hi, You do not have to take the intermediate step of writing the output to a file. You can simply read and parse the input stream directly. For example, if you were using the Java client library, you could read and parse response.getInputStream() <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/reporting/DownloadCriteriaReportWithAwql.java#L75>. You can take a similar approach with each of the libraries.
Cheers, Josh, AdWords API Team On Tuesday, August 5, 2014 12:42:38 AM UTC-4, Moe wrote: > > Hi Josh, > > I want to directly retrieve cost for a certain campaign using AWQL on the > campaign service and output it in my program. Is that possible? > > Or am I supposed to download an AdHoc report in csv format, then parse it > to retrieve the cost value?! > > Thanks! > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
