Bikram, You are welcome! There is no JSON support at the moment. The supported formats are documented in the Reporting guide<https://developers.google.com/adwords/api/docs/guides/reporting>. Please use the XML format as you prefer.
Thanks! -- Ray Tsang (AdWords API Advisor) On Tuesday, January 21, 2014 1:50:28 PM UTC-5, Bikram Bhuyan wrote: > > Thanks a lot for the response. Is there any support for JSON currently or > if not is there are plan to add it in the future. I think JSON is one of > the popular data parsing format now and days and think the API should > support that. Currently if JSON is not there then I think XML format will > be the best for now. > > On Tuesday, January 21, 2014 10:44:46 AM UTC-8, Ray Tsang (AdWords API > Team) wrote: >> >> Bikram, >> >> You are correct. The format of the data needs to be specified so that >> your application can expect the format. >> You can expect the returned data in the >> ReportDownloadResponse.getInputStream(). >> You'll need to parse that data and consume it the way your application >> needs to. >> >> I hope this helps. >> >> -- >> Ray Tsang (AdWords API Advisor) >> >> >> On Friday, January 17, 2014 4:32:04 PM UTC-5, Bikram Bhuyan wrote: >>> >>> Hi Ray, >>> >>> Not sure if I understood your comment properly. I dont see any method >>> ReportDownloader which does not take the report download format. Below is >>> the code which I see in the sample example. >>> >>> ReportDownloadResponse response = new >>> ReportDownloader(session).downloadReport(query, DownloadFormat.CSV); >>> FileOutputStream fos = new FileOutputStream(new File(reportFile)); >>> >>> You have to define the download format as the 2nd parameter. Not sure >>> how I can get the data without download parameters. >>> >>> Thanks, >>> Bikram. >>> >>> On Friday, January 17, 2014 11:47:29 AM UTC-8, Ray Tsang (AdWords API >>> Team) wrote: >>>> >>>> Bikram, >>>> >>>> In the example, ReportDownloadResponse.getInputStream() will return you >>>> an InputStream that you can process. Whether you want to store that >>>> InputStream to another file or processing it directly is completely up to >>>> you. >>>> >>>> Thanks, >>>> >>>> -- >>>> Ray Tsang (AdWords API Advisor) >>>> >>>> >>>> On Thursday, January 16, 2014 3:57:48 PM UTC-5, Bikram Bhuyan wrote: >>>>> >>>>> Hi Ray, >>>>> >>>>> I am using Java Client library. The file I am looking at is >>>>> "v201309\reporting\DownloadCriteriaReport" & >>>>> "DownloadCriteriaReportWithAwql". >>>>> >>>>> Thanks, >>>>> Bikram. >>>>> >>>>> On Thursday, January 16, 2014 12:54:19 PM UTC-8, Ray Tsang (AdWords >>>>> API Team) wrote: >>>>>> >>>>>> Bikram, >>>>>> >>>>>> Could I trouble you to let me know which client library (which >>>>>> language) you are using? >>>>>> >>>>>> Thanks, >>>>>> >>>>>> -- >>>>>> Ray Tsang (AdWords API Advisor) >>>>>> >>>>>> >>>>>> On Thursday, January 16, 2014 1:17:19 PM UTC-5, Bikram Bhuyan wrote: >>>>>>> >>>>>>> Thanks a lot for the information. Its really helpful. I checked the >>>>>>> client library and found the sample example. The example have the code >>>>>>> which export the report data to file. Is there any way I can get the >>>>>>> data >>>>>>> without exporting it to the file (like we get the data from API calls). >>>>>>> I >>>>>>> wanted to store the stats in one of the table. If it exported to file >>>>>>> when >>>>>>> I need to reprocess it to read it and insert into the table. >>>>>>> >>>>>>> If you could send me a sample code how to fetch the data without >>>>>>> exporting to file that will be really helpful. >>>>>>> >>>>>>> Thanks, >>>>>>> Bikram. >>>>>>> >>>>>>> On Wednesday, January 15, 2014 4:28:10 PM UTC-8, Ray Tsang (AdWords >>>>>>> API Team) wrote: >>>>>>>> >>>>>>>> Bikram, >>>>>>>> >>>>>>>> Please check our reporting >>>>>>>> guide<https://developers.google.com/adwords/api/docs/guides/reporting> >>>>>>>> . >>>>>>>> You will be able to find specific report types and its data in the >>>>>>>> Reference >>>>>>>> Data<https://developers.google.com/adwords/api/docs/appendix/reports> >>>>>>>> . >>>>>>>> >>>>>>>> If you use a client library, there should also be an example of >>>>>>>> retrieving reports using AWQL. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> -- >>>>>>>> Ray Tsang (AdWords API Advisor) >>>>>>>> >>>>>>>> >>>>>>>> On Tuesday, January 14, 2014 8:27:06 PM UTC-5, Bikram Bhuyan wrote: >>>>>>>>> >>>>>>>>> Hello Guys, >>>>>>>>> >>>>>>>>> I need to fetch the following information for each ad. Could you >>>>>>>>> please let me know which API call can be used to get these >>>>>>>>> information. >>>>>>>>> >>>>>>>>> 1. Clicks >>>>>>>>> 2. Impressions >>>>>>>>> 3. CTR >>>>>>>>> 4. Avg. CPC >>>>>>>>> 5. Cost >>>>>>>>> 6. Budget >>>>>>>>> >>>>>>>>> Also I wanted to how how much granular data we can get. Our design >>>>>>>>> requires to store the data for each day. So does daily data is being >>>>>>>>> provided by the API or only Weekly data is returned. >>>>>>>>> >>>>>>>>> I would appreciate if you could provide some details on this. >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> Bikram. >>>>>>>>> >>>>>>>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.