QueryError.PARSING_FAILED

2016-04-26 Thread Jesse Rock
Our AdWords dashboard stopped working.  We have been working through error 
after error we are stuck on the following, any thoughts would be greatly 
appreciated. 

*Fatal error*: Uncaught exception 'ReportDownloadException' with message 
'Report download failed. Underlying errors are Type = 
'QueryError.PARSING_FAILED', Trigger = '', FieldPath = ''. ' in 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/976b1320-db3d-4404-ac88-8b66bab1d2a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ad Words Dashboard failing at ReportUtils::DownloadReportWithAwql

2016-04-25 Thread Jesse Rock

*Fatal error*: Class 'ReportUtils' not found

Error that I am receiving.


On Monday, April 25, 2016 at 3:30:55 PM UTC-4, Jesse Rock wrote:
>
> 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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/bffd8f10-c1e6-47f7-918e-17a9346dc341%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ad Words Dashboard failing at ReportUtils::DownloadReportWithAwql

2016-04-25 Thread Jesse Rock
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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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.