I have been asked to troubleshoot an issue with a adwords dashboard.  The 
code is failing at the ReportUtils::DownloadReportWithAwql() call and I am 
having very liitle luck poin pointing the issue.  Any thoughts would be 
greatly appreciated.  


$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/7d84c7a9-b87c-48d3-9879-10a3304c4283%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Ad Words Dashbo... Jesse Rock

Reply via email to