Account Summary Report

76 views
Skip to first unread message

Olga Bodnar

unread,
Oct 19, 2020, 12:36:55 PM10/19/20
to Google Ads Scripts Forum
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 

Google Ads Scripts Forum Advisor

unread,
Oct 20, 2020, 5:06:23 AM10/20/20
to adwords...@googlegroups.com
Hi there,

For us to investigate your concern further, could you please provide the following details via Reply privately to author option?
  • CID
  • Script Name
  • Shareable link of the spreadsheet being used in the script 
Regards,
Google Logo
Teejay Wennie Pimentel
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q26AObX:ref

Google Ads Scripts Forum Advisor

unread,
Oct 21, 2020, 12:47:58 AM10/21/20
to adwords...@googlegroups.com
Hi there,

Thank you for getting back to us.

I tried your script, and I wasn't able to reproduce the issue on my end. Could you please provide us the date that the script reports 0 datas? Also, could you please check again the script in question on your end, then let me know if you still encounter the issue?

As an aside, I need to delete your previous post as it contains a sensitive information. Moving forward, kindly use the Reply privately to author option instead.
Screen Shot 2020-10-21 at 11.52.30 AM.png
Reply all
Reply to author
Forward
0 new messages