Pulse fork: teammate onboarding + setup_credentials.py + context.md#169
Closed
lukeshumaker8 wants to merge 1 commit into
Closed
Pulse fork: teammate onboarding + setup_credentials.py + context.md#169lukeshumaker8 wants to merge 1 commit into
lukeshumaker8 wants to merge 1 commit into
Conversation
- README: add "Setup for Pulse teammates" section with prereqs, clone, uv sync, OAuth client setup, API enablement, setup_credentials.py walkthrough, ~/.claude.json registration, smoke test, and trade-offs - setup_credentials.py: interactive wrapper around `gcloud auth application-default login` with the analytics.readonly + cloud-platform scopes; reuses an existing ADC if present, otherwise walks through OAuth client JSON + browser sign-in - context.md: project-folder context for future Claude Code sessions — what this is, how it pairs with the Ads MCP, the auth model difference (ADC vs hand-rolled yaml), Friday recap integration plan - .gitignore: never commit OAuth client JSONs or ADC files Upstream tools (get_account_summaries, list_google_ads_links, run_report, etc.) are unchanged so we can `git pull upstream main` cleanly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Author
|
Closing — opened against the wrong base by accident. This is Pulse-specific onboarding content that should live only on our internal fork (pulse-integrated/google-analytics-mcp), not the upstream Google repo. Apologies for the noise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First Pulse-specific commit on top of the Google upstream. Adds the onboarding scaffolding our teammates need to use this MCP without re-reading the upstream README or fighting gcloud commands by hand.
setup_credentials.pywalkthrough,~/.claude.jsonregistration JSON, smoke test, and trade-offs (shared identity, read-only).gcloud auth application-default login --scopes=analytics.readonly,cloud-platform --client-id-file=<path>. Reuses an existing ADC if present; otherwise walks through OAuth client JSON + browser sign-in. Prints the exact env var line to paste into~/.claude.json.Upstream tools (
get_account_summaries,list_google_ads_links,run_report,run_funnel_report,run_conversions_report,run_realtime_report,get_custom_dimensions_and_metrics) are unchanged so we cangit pull upstream maincleanly when Google ships updates.Test plan
uv run setup_credentials.pyproduces a working ADC file after browser sign-inget_account_summariesvia the MCP, confirm properties come backlist_google_ads_linksreturns the expected Ads ↔ GA4 mapping for at least one client🤖 Generated with Claude Code