Hi all,
I am using the adwords API with version v201809 and I have the following question. How can I generate the report CAMPAIGN_PERFORMANCE_REPORT without downloading the file (for example just showing the result). Here is actually what I do: $reportQuery = 'SELECT CampaignId,CampaignName, Impressions, Clicks, Ctr , Cost ' . ' FROM CAMPAIGN_PERFORMANCE_REPORT ' . ' WHERE CampaignId = '.$campaignId.' DURING '.$date.','.$date; // Download report. ReportUtils::DownloadReportWithAwql($reportQuery, $filePath, $user,$reportFormat, $options); $dataArray =file($filePath); I download the file, then I read from the data to show it up. Check the response of Anthony Madrigal answer <https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!searchin/adwords-api/string$20report%7Csort:date/adwords-api/Vk210OB1oD8/VjYjGN_NBAAJ> but I am not clear with awql, since the example is in xml. I hope you can help me. Thanks. This is the answer of the previous post. [ $report = ReportUtils::DownloadReport($reportDefinition, NULL, $user, $options); $xml = simplexml_load_string($report); print "<pre>"; print_r($xml); print "</pre>"; ] -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/326f0710-fc30-4ece-b6f6-38d95045ada1%40googlegroups.com.