A collection of Google Ads Scripts that export Performance Max data directly into a Google Sheet.
Ideal for marketers who want quick, automated reporting without using BigQuery or Data Studio.
These scripts connect your Google Ads account with a Google Sheet and pull:
- Search term insights
- Campaign performance
- Day-by-day metrics
- Product and asset group stats
- Ad-level inventory for PMax
Pulls campaign_search_term_insight data for all active PMax campaigns and writes it to a SearchTerm tab.
Exports:
- Campaign totals for the last 30 days →
Campaigntab - Daily metrics for the last 365 days →
ByDaytab
Exports multiple datasets:
- Campaign by day →
r_camp - Discovery view by day →
r_dv - Product totals →
r_prod_t - Asset group by day →
r_ag - PMax ads inventory →
r_ads
- Access to a Google Ads account with Performance Max campaigns
- A Google Sheet you own or can edit
- Permission to run Google Ads Scripts
- Create a Google Sheet and add the necessary tabs: