Hi,
Would someone be able to help me with the below issue. I have modified account Summary Report as following: changed getReportRowForDuring function to use the
Campaign Performance Report instead of the Account Performance Report and add predicates to look at a specific campaign.
function getReportRowForDuring(during) {
var report = AdsApp.report(
'SELECT ' +
REPORT_FIELDS
.map(function(field) {
return field.columnName;
})
.join(',') +
' FROM CAMPAIGN_PERFORMANCE_REPORT ' +
' WHERE CampaignName CONTAINS "generic" ' +
'DURING ' + during,
REPORTING_OPTIONS);
return report.rows().next();
}
The script is running fine and I don't get any errors, however i receive an email with "0" results 9print-screen below). Could someone help me to solve this issue?
Thanks,
Olga