AWQL: Error in While fetch BiddingStrategyType in CAMPAIGN_PERFORMANCE_REPORT

17 views
Skip to first unread message

Varun Kumar

unread,
Dec 11, 2017, 5:39:19 AM12/11/17
to AdWords API Forum
Please look into this. I am trying following awql:


SELECT Cost,CampaignId,Date,BiddingStrategyType,CampaignName FROM CRITERIA_PERFORMANCE_REPORT WHERE Status IN [ENABLED, PAUSED] DURING YESTERDAY;

Fatal error: Uncaught exception 'Google\AdsApi\AdWords\v201710\cm\ApiException' with message 'Details: [fieldPath: BiddingStrategyType; trigger: ; errorString: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT]' in /var/www/html/crm2017/application/third_party/Googleadwords/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201710/ReportDownloader.php:169 Stack trace: #0 /var/www/html/crm2017/application/third_party/Googleadwords/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201710/ReportDownloader.php(127): Google\AdsApi\AdWords\Reporting\v201710\ReportDownloader->makeReportRequest(Array) #1 /var/www/html/crm2017/application/libraries/My_adwords.php(97): Google\AdsApi\AdWords\Reporting\v201710\ReportDownloader->downloadReportWithAwql('SELECT Cost,Cam...', 'CSV', Object(Google\AdsApi\AdWords\ReportSettings


Many Thanks.

Bharani Cherukuri (AdWords API Team)

unread,
Dec 11, 2017, 11:30:23 AM12/11/17
to AdWords API Forum
Hello, 

The INVALID_FIELD_NAME_FOR_REPORT indicates that an invalid field name has been used for the report type and the fieldPath indicates the invalid field used. BiddingStrategyType field is not supported in the Criteria Performance Report. You can take a look at all the supported report types for this field here

Regards,
Bharani, AdWords API Team

Varun Kumar

unread,
Dec 11, 2017, 11:32:35 PM12/11/17
to AdWords API Forum
Isssue has been fixed. Use CAMPAIGN_PERFORMANCE_REPORT instead of CRITERIA_PERFORMANCE_REPORT.
Reply all
Reply to author
Forward
0 new messages