I am jumping into a dashboard that I did not build trying to troubleshoot
why the reporting fails at the section below. The
ReportUtils::DownloadReporWithAwql() line is where the code fails. Any
thoughts?
$user->LoadService('ReportDefinitionService', API_VERSION);
$reportFormat = "TSV";
$reportQuery = "SELECT
AdNetworkType1,
AdNetworkType2,
CampaignId,
CampaignName,
AccountDescriptiveName,
AverageCpc,
AverageCpm,
AveragePosition,
Clicks,
Cost,
CostPerConversionManyPerClick,
Ctr,
Impressions,
SearchImpressionShare,
TotalCost,
ViewThroughConversions,
NumOfflineImpressions,
NumOfflineInteractions,
ConversionsManyPerClick,EstimatedTotalConversions ";
$options = array(
'version' => API_VERSION
// 'includeZeroImpressions' => true
// ,'returnMoneyInMicros' => true
);
$report = ReportUtils::DownloadReportWithAwql($reportQuery, null, $user,
$reportFormat, $options);
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/40e31f8d-b5fa-4d09-93a7-086b1095b846%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.