This guide walks you through configuring Addocu after installation. Addocu v3.0+ uses automatic OAuth2 authentication - no API keys needed!
- Open Google Sheets
- Go to Extensions → Addocu → ⚙️ Configure
- The configuration sidebar will appear on the right
- Addocu automatically handles OAuth2 authentication
- You do NOT need to provide an API key
- All 10 platforms are pre-configured and ready to use
- Your Google account permissions control access to each platform
- Click "Test All Connections" button
- Verify services show Connected status:
- Google Analytics Admin API
- Google Tag Manager API
- Looker Studio API
- Search Console API
- YouTube Data API
- Google Business Profile API
- Google Ads API
- Merchant Center API
- BigQuery API
- AdSense API
All Addocu services use automatic OAuth2 authentication. You don't need to create or manage any API keys.
- Automatic: Addocu handles authentication automatically via
ScriptApp.getOAuthToken() - Secure: Uses your Google account's existing permissions
- No key management: Nothing to copy or store
- Platform-specific: Your access is controlled by your permissions in each platform (GA4, GTM, etc.)
Addocu requests 15 OAuth scopes to access the 10 platforms:
analytics.readonly- Google Analytics 4tagmanager.readonly- Google Tag Managerdatastudio- Looker Studiowebmasters.readonly- Search Consoleyoutube.readonly- YouTubebusiness.manage- Google Business Profileadwords- Google Adscontent- Merchant Centerbigquery.readonly- BigQueryadsense.readonly- AdSense
Why these scopes? Each scope gives Addocu read-only access to the corresponding platform. You can see and approve all requested scopes when you first authorize Addocu.
- First use: Addocu requests permissions from your Google account
- Consent screen: You see all requested scopes
- Authorization: Grant permissions to Addocu
- Access granted: Addocu can now read data from authorized platforms
- Token refresh: Automatic token renewal, no re-authorization needed (unless you revoke access)
- Viewer or higher on GA4 properties
- Google Analytics Admin API enabled
- ✅ Properties and Data Streams
- ✅ Custom Dimensions and Metrics
- ✅ Conversion Events
- ✅ Audiences
- ✅ Data Retention Settings
- ✅ 📜 GA4 Change History: Track configuration audits from the last 30 days.
- Multiple accounts: Addocu will detect all GA4 properties you have access to
- Shared properties: Works with properties shared with your account
- View-only access: Full audit capabilities with just viewer permissions
- View or higher permissions on GTM containers
- Google Tag Manager API enabled
- ✅ All Containers and Workspaces
- ✅ Tags, Triggers, and Variables
- ✅ Built-in and Custom Variables
- ✅ Version History and Status
- ✅ Firing and Blocking Triggers
- ✅ 🔍 Unused Variable Detection: Identify variables not used by any tag or trigger.
- Container access: Addocu respects your current GTM permissions
- Multiple accounts: All accessible containers will be included
- Workspace isolation: Each workspace is audited separately
- View access to Looker Studio reports
- Looker Studio API enabled
- ✅ All Accessible Reports
- ✅ Data Sources and Connections
- ✅ Sharing and Permission Settings
- ✅ Last Modified Dates
- ✅ Owner Information
- Shared reports: Includes reports shared with you
- Organization reports: Shows all org-accessible reports
- Data source status: Indicates which sources are active/broken
In the configuration sidebar, you can selectively enable or disable platforms:
- GA4 - Google Analytics 4 audit
- GTM - Google Tag Manager audit
- Looker Studio - Looker Studio reports
- Search Console - Search Console data
- YouTube - YouTube channel audit
- Google Business Profile - Location management
- Google Ads - Ads campaigns and conversions
- Merchant Center - Product feeds
- BigQuery - Datasets and tables
- AdSense - Monetization audit
Use cases:
- Run audits for only specific platforms
- Reduce execution time by disabling unused platforms
- Save on API quota usage by limiting platform syncs
Google Ads requires a Developer Token for API access:
-
Get your Developer Token:
- Go to ads.google.com
- Click on Tools & Settings (gear icon)
- Select API Center → Access level
- Copy your Developer Token (40-character alphanumeric string)
-
Configure in Addocu:
- Go to Extensions > Addocu > Configure
- Paste your Developer Token in the "Google Ads Developer Token" field
- Click Save
-
Test Connection:
- Click "Test All Connections"
- Google Ads should show Connected status
Note: The Developer Token is stored securely in your user properties and never transmitted externally.
Customize your audits with optional filters:
- GA4 Properties Filter - Audit specific properties (comma-separated IDs)
- GTM Workspaces Filter - Audit specific workspaces
- BigQuery Project ID - Specify which BigQuery project to audit
- Single Google account with OAuth2 authentication
- Access only your own GA4, GTM, and other resources
- Configuration stored in your personal Google Apps Script properties
- Each user authenticates with their own account
- Shared spreadsheets can be used by multiple team members
- Each user sees only the data they have access to
- No central configuration - each user configures independently
Since all data is stored in Google Sheets:
- Create an audit in your personal sheet
- Share the sheet with team members
- They can view all audit results (but cannot re-run audits with their own access)
- Each team member can run their own audit in their personal sheet to see data they have access to
- In the configuration sidebar, click "Test API Connection"
- Addocu will check each API individually
- Results will show as:
- ✅ Connected - API is working correctly
- ❌ Failed - Issue with API or permissions
⚠️ Warning - Limited access or quota concerns
Google Analytics Admin API:
- ✅ Connected: Can access GA4 properties
- ❌ Failed: API not enabled or no GA4 access
Google Tag Manager API:
- ✅ Connected: Can access GTM containers
- ❌ Failed: API not enabled or no GTM access
Looker Studio API:
- ✅ Connected: Can access Looker Studio reports
- ❌ Failed: API not enabled or no Looker Studio access
- After successful connection test, go to Extensions → Addocu → 🔄 Sync GA4
- This will run a limited audit of one platform
- Check the LOGS sheet for detailed operation info
- Run Extensions → Addocu → 🔄 Sync All Platforms
- Wait for completion (may take 2-5 minutes)
- Verify all sheets are created:
DASHBOARD- Should show summary statisticsGA4_PROPERTIES- Should list your GA4 propertiesGTM_TAGS- Should show your GTM containersLOOKER_STUDIO- Should list your reports
- API key storage: Securely stored in Google Apps Script User Properties
- Audit data: Stored only in your Google Sheets
- No external transmission: Data never leaves your Google account
- Addocu developers cannot access your data or API keys
- Google Apps Script provides the security layer
- Your Google account controls all access permissions
- Don't share API keys with others
- Regularly review API key usage in Google Cloud Console
- Remove unused keys when no longer needed
- Monitor billing for unexpected API usage
Solutions:
- Refresh the Google Sheet page
- Check popup blockers - disable for Google Sheets
- Try a different browser or incognito mode
Solutions:
- Check internet connection
- Verify Google Apps Script isn't blocked by your organization
- Try again after a few minutes
Solutions:
- Verify all APIs are enabled in Google Cloud Console
- Check API key restrictions aren't too limiting
- Confirm billing is enabled on your Google Cloud project
- Open Extensions → Addocu → 📋 View Logs
- Look for configuration-related errors
- Check API response codes and error messages
You can test APIs manually using curl or browser:
# Test GA4 API
curl "https://analyticsadmin.googleapis.com/v1beta/accounts?key=YOUR_API_KEY"
# Test GTM API
curl "https://tagmanager.googleapis.com/tagmanager/v2/accounts?key=YOUR_API_KEY"
# Test Looker Studio API
curl "https://datastudio.googleapis.com/v1/reports?key=YOUR_API_KEY"- New Google Cloud project - new API key needed
- Changed permissions - may affect platform access
- API restrictions modified - could break existing configuration
- Generate new API key if needed
- Open configuration sidebar in Addocu
- Enter new API key and save
- Run connection test to verify
- Note current configuration and audit schedules
- Set up new Google Cloud project and APIs
- Update Addocu configuration with new API key
- Test thoroughly before decommissioning old project
Next Step: Troubleshooting Guide for resolving common issues.