This PPC script will help you count impression weighted avg. amount of ads per each campaign and ad group. The results will be shown in the spreadsheet report.
What it does

This ppc script downloads data from your account into the spreadsheet in the tab "input" and with QUERY organizes and filter data into 3 tables:
- Overview All the campaigns in your account with impression weighted avg. number of ads. The column "# of processed ad groups" will tell you on how many ad groups this data is based on.
- Campaigns that need most action Only the adgroups that have less than 3 ads, grouped on campaign level so you can see priority which campaigns need most attention.
- Adgroups that need most action Ad groups with the issue arranged by the most spend.
When to use it
- Pre-holiday seasonal check
- Optimization of biggest adgroups
- After changes in product ads auto-generators
Implementation
- Make a copy of this spreadsheet to your GDriveFile > Make a copy https://docs.google.com/spreadsheets/d/1wz0m4CSv39k-cXmD0wwxAWb0MoF-PKMqeton_ETl5RY/edit?usp=sharing
- Insert the URL of your new spreadsheet in the 1st line of the code
- Authorize and run the script
Extra notes:
- Script can manage about 1500 adgroups in 30 min
- you can change "minImpressions" depending on your account size
- you can un"//" line 33 if you want to go through one bid campaign with a lot of adgroups