Thank you for your interest in contributing! This collection thrives on community input.
- Fork this repository
- Create a feature branch:
git checkout -b add-my-script - Add your script to the appropriate category folder under
scripts/ - Ensure your script includes:
- A header comment block with description, author, and version
- A
CONFIGobject for user-configurable settings - Inline comments explaining key logic
- Error handling for common failure modes
- Update the category
README.mdin the script's folder - Submit a Pull Request with a clear description
All scripts should:
- Be standalone
.jsfiles that run directly in Google Ads Scripts - Use
AdsApp(not the deprecatedAdWordsApp) - Include a
main()function as the entry point - Have a
CONFIGsection at the top with clearly documented options - Handle errors gracefully (try/catch, logging)
- Not expose credentials, API keys, or personal information
- Use GitHub Issues for bug reports
- Include the script name, error message, and steps to reproduce
- Note your Google Ads account type (single account vs MCC)
- Wiki improvements are always welcome
- Fix typos, add examples, or expand installation guides
- Translate documentation to other languages
- Use
constandlet(notvar) where supported - Prefer descriptive variable and function names
- Keep functions focused and under 50 lines where possible
- Use JSDoc-style comments for function documentation
By contributing, you agree that your contributions will be licensed under GPL-2.0.