Hi guys,
Am trying to implement the Minimum Required Functionality for Reporting in
a PHP Application, but am having a little trouble working out how the
ReportDefinitionService works.
At present, I have the following erronous code which hopefully demonstrates
roughly what I'm trying to do:
$selector = new \Selector();
$selector->fields = array('Id', 'Name', 'Clicks', 'Cost', 'Impressions',
'Conversions', 'Status' );
$selector->ordering[] = new \OrderBy('Name', 'ASCENDING');
$campaignPerformanceReportService =
$user->GetService('ReportDefinitionService', ADWORDS_VERSION);
$campaignPerformanceReportService->reportType =
'CAMPAIGN_PERFORMANCE_REPORT';
$page = $campaignPerformanceReportService->get($selector);
$campaignPerformanceReport = $page->entries;
However, looking at the example code, I've noticed that Reports download to
CSV, so I'm not even sure that what I'm attempting to do (get the data the
same as with the other services) is supported.
Is there any example code or documentation that you might be able to point
me to to help me in this regard?
Thanks in advance,
- Jim
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
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/groups/opt_out.