Hi,
Thank you for reaching out to the Google Ads Scripts support team.
I would suggest you to use the Source code available in the Google Ads Scripts solutions tab for account summary report. Kindly change the reporting version in the line 58 as ‘v16’ or else comment out the ‘apiVersion’ line to set it to the latest version.
I hope this helps. If the issue still persists even after following the above steps, Kindly get back to us with the below details.
![]() |
Google Ads Scripts Team |
Hey dear Scripts Team
i can only replay to all which is frustrating..
unfortunately I can’t use the
source code directly as we need to make customization to the reporting format
and metrics.
You can find the required details below:
Regards
CONFIG = { // URL of the report spreadsheet. This should be a copy of // https://docs.google.com/spreadsheets/d/1gYLXtDK93lWoTe3OBKvTlfcc7L_qHJFgWU9N6HwhZtU/copy 'spreadsheet_url': 'https://docs.google.com/spreadsheets/d/1Jk-EKK8NGnjV5NbMKzADcWPsqxTriyz7J-hgLZRm0Wc/edit?gid=0#gid=0', // More reporting options can be found at // https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp#report_2
'reporting_options': { // Comment out the following line to default to the latest reporting // version. 'apiVersion': 'v16' }, /** * To add additional fields to the report, follow the instructions at * https://developers.google.com/google-ads/scripts/docs/solutions/account-summary#extending_the_report_optional */ 'report_fields': [ {'columnName': 'metrics.cost_micros', 'displayName': 'Cost'}, {'columnName': 'metrics.average_cpc', 'displayName': 'Avg. CPC'}, {'columnName': 'metrics.ctr', 'displayName': 'CTR'}, {'columnName': 'metrics.search_impression_share', 'displayName': 'Search Impr. share'}, {'columnName': 'metrics.impressions', 'displayName': 'Impressions'}, {'columnName': 'metrics.clicks', 'displayName': 'Clicks'} ] }; const SPREADSHEET_URL = CONFIG.spreadsheet_url;