Can I get the reports data, instead of download it?

62 views
Skip to first unread message

js...@webqlo.com

unread,
Nov 6, 2015, 8:56:09 AM11/6/15
to AdWords API Forum

I downloaded the example, but what I can find are download report api only (it must download).
What I want is just to get the report data without downloading it, as I want to display in my own layout.

Is there any API for just to get the reporting data?

Umesh Dengale

unread,
Nov 6, 2015, 3:09:34 PM11/6/15
to AdWords API Forum
Hello,

In the AdWords API, the reports could be downloaded in these formats. You could download the report in the XML format (e.g. AdPerformanceReport.xml) and you could process the XML report output to display in your layout. Please check out reporting basics guide for more details.

Cheers,
Umesh, AdWords API Team.

Gianluca Demarinis

unread,
Jul 5, 2016, 4:00:40 AM7/5/16
to AdWords API Forum
You can set null to path and use the return value


    $filePath = null;
    $stringOfResult = $reportUtils->DownloadReport($reportDefinition, $filePath, $user, $options);

    //now you can parse the result

Reply all
Reply to author
Forward
0 new messages