Overview
Add Google Search Console to any ModuleX agent or workflow. Access Google Search Console search analytics and URL indexing via the Search Console API (searchconsole.googleapis.com) and the Indexing API (indexing.googleapis.com).
Categories: Marketing & Advertising · SEO · Marketing · Developer Tools & Infrastructure · Auth: OAuth2 · Actions: 2
Authentication
OAuth2 Authentication
Connect using Google OAuth (recommended)Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Client ID | Google OAuth App Client ID | Yes | - |
| Client Secret | Google OAuth App Client Secret | Yes | - |
OAuth Configuration
- Authorization URL:
https://accounts.google.com/o/oauth2/v2/auth - Token URL:
https://oauth2.googleapis.com/token - Scopes:
https://www.googleapis.com/auth/webmasters.readonly,https://www.googleapis.com/auth/indexing
Available Actions
retrieve_site_performance_data — Fetches search analytics from Google Search Console for a verified site
retrieve_site_performance_data — Fetches search analytics from Google Search Console for a verified site
Parameters
The site URL as registered in Search Console (e.g. ‘sc-domain:example.com’ or ‘https://example.com/’)
Start date in YYYY-MM-DD format
End date in YYYY-MM-DD format
Dimensions to group results by. Allowed values: country, device, page, query, searchAppearance, date
Type of search. Allowed values: web, image, video, news, googleNews, discover (Default:
web)Aggregation type. Allowed values: auto, byPage
Maximum number of rows to return (Default:
10)Start row for pagination (zero-based)
Filter results to a specific subdomain when using a domain property (e.g. ‘https://subdomain.example.com’)
Dimension to filter by when subdomain_filter is used. Allowed values: country, device, page, query (Default:
page)Filter operator. Allowed values: contains, equals, notContains, notEquals, includingRegex, excludingRegex (Default:
contains)Custom dimension filter groups following the Search Console API structure (JSON object)
Data state to use. Allowed values: all, final (Default:
final)Response
submit_url_for_indexing — Sends a URL update notification to the Google Indexing API
submit_url_for_indexing — Sends a URL update notification to the Google Indexing API
Limits & Quotas
- Search Analytics API: 1,200 queries per minute per project (default quota).
- Indexing API: 200 publish requests per day per site property (standard quota).
- Error model: non-2xx responses are caught and returned as
success=False+errorrather than raising.