Cookbook
Integrations
Stable
Google Search Console — OAuth Client, Callback URI & Pulling Query Data
Wire Google Search Console into a Rails app with zero gems — create the Google Cloud OAuth client ID (Web application type), set the Authorized redirect URI callback, store credentials in .env, mint a durable refresh token (in-app flow or OAuth Playground), and pull real search-query data (impressions, clicks, CTR, position) with a plain Net::HTTP client.
Related
Cookbook
Google Ads API — OAuth, REST Client & Keyword Research
Sibling recipe — the same Google OAuth web-client + zero-gem Net::HTTP pattern, for Ads instead of Search Console.
Link
Search Console API reference (Search Analytics query)
Official docs for the searchAnalytics.query endpoint used below — dimensions, filters, row limits.
Link
Setting up OAuth 2.0 (Google Cloud)
Google's own walkthrough of consent screens, client IDs, and redirect URIs.