Platform Setup
Configure Google Ads and Bing Ads credentials for this plugin and verify account access.
Workflow
Step 1: Identify setup target
- If the user asks about Google Ads setup or verification, use
references/google-setup.md.
- If the user asks about Bing setup, use
references/bing-setup.md.
- If the user asks to set up both or "all platforms", run both flows.
- Use
references/config-patterns.md for shared environment variable guidance.
Step 2: Google Ads setup
Guide the user through OAuth credentials, developer token setup, and shell env var configuration from references/google-setup.md.
Step 3: Verify Google Ads access
After env vars are configured, run mcp__google-ads__list_accounts and report:
- Whether account listing succeeds
- Which customer IDs are visible
- Any missing env vars or auth failures that block access
Step 4: Bing Ads setup
Guide the user through Azure app registration, developer token, and OAuth credential setup from references/bing-setup.md.
Step 5: Verify Bing Ads access
After env vars are configured, run mcp__bing-ads__list_accounts and report:
- Whether account listing succeeds
- Which account IDs, names, and statuses are visible
- Any missing env vars or auth failures that block access
Step 6: Cross-platform summary
If both platforms are configured, summarize:
- Google Ads: [N] accounts accessible
- Bing Ads: [N] accounts accessible
- Any platforms with missing or failed credentials
Step 7: Generate account profile
After verifying platform access:
- Read
references/profile-template.md as the base template.
- Populate the Accounts table with discovered account IDs, names, and statuses from Steps 3 and 5.
- Ask the user for their KPI targets (CPA, ROAS, monthly budget) and fill the Targets table.
- Ask about any active tests, conversion actions, attribution model, and preferences.
- Write the populated profile to
${CLAUDE_PLUGIN_ROOT}/profile/account-profile.md.
- Confirm the profile was saved and explain that analysis skills (morning-brief, waste-detector, etc.) will read it automatically on each run.
If the profile already exists, ask whether to overwrite or merge new account data into the existing profile.
Cowork compatibility
- Claude Code / Codex: Full API access via MCP tools.
- Claude Cowork: MCP servers are expected to work via passthrough. Verify by running
/setup in your Cowork session.
Guardrails
- Never ask users to paste secrets into chat logs.
- Recommend
.claude/settings.local.json (gitignored, project-scoped) for credentials. Shell env vars are an alternative.
- For failed verification, report the exact missing variable or auth step.
References
references/google-setup.md
references/bing-setup.md
references/config-patterns.md
references/google-shopping-campaigns.md
references/bing-campaign-management.md
references/bing-shopping-campaigns.md
references/bing-content-api.md
references/bing-bulk-operations.md
references/bing-reporting.md
1---2name: platform-setup-33description: This skill should be used when the user asks to "connect to Google Ads", "set up Bing", "verify connection", "configure my search ad accounts", "set up Microsoft Advertising", "check my paid search access", or "connect my paid search platforms".4---56# Platform Setup78Configure Google Ads and Bing Ads credentials for this plugin and verify account access.910## Workflow1112### Step 1: Identify setup target1314- If the user asks about Google Ads setup or verification, use `references/google-setup.md`.15- If the user asks about Bing setup, use `references/bing-setup.md`.16- If the user asks to set up both or "all platforms", run both flows.17- Use `references/config-patterns.md` for shared environment variable guidance.1819### Step 2: Google Ads setup2021Guide the user through OAuth credentials, developer token setup, and shell env var configuration from `references/google-setup.md`.2223### Step 3: Verify Google Ads access2425After env vars are configured, run `mcp__google-ads__list_accounts` and report:2627- Whether account listing succeeds28- Which customer IDs are visible29- Any missing env vars or auth failures that block access3031### Step 4: Bing Ads setup3233Guide the user through Azure app registration, developer token, and OAuth credential setup from `references/bing-setup.md`.3435### Step 5: Verify Bing Ads access3637After env vars are configured, run `mcp__bing-ads__list_accounts` and report:3839- Whether account listing succeeds40- Which account IDs, names, and statuses are visible41- Any missing env vars or auth failures that block access4243### Step 6: Cross-platform summary4445If both platforms are configured, summarize:4647- Google Ads: [N] accounts accessible48- Bing Ads: [N] accounts accessible49- Any platforms with missing or failed credentials5051### Step 7: Generate account profile5253After verifying platform access:54551. Read `references/profile-template.md` as the base template.562. Populate the **Accounts** table with discovered account IDs, names, and statuses from Steps 3 and 5.573. Ask the user for their KPI targets (CPA, ROAS, monthly budget) and fill the **Targets** table.584. Ask about any active tests, conversion actions, attribution model, and preferences.595. Write the populated profile to `${CLAUDE_PLUGIN_ROOT}/profile/account-profile.md`.606. Confirm the profile was saved and explain that analysis skills (morning-brief, waste-detector, etc.) will read it automatically on each run.6162If the profile already exists, ask whether to overwrite or merge new account data into the existing profile.6364## Cowork compatibility6566- **Claude Code / Codex**: Full API access via MCP tools.67- **Claude Cowork**: MCP servers are expected to work via passthrough. Verify by running `/setup` in your Cowork session.6869## Guardrails7071- Never ask users to paste secrets into chat logs.72- Recommend `.claude/settings.local.json` (gitignored, project-scoped) for credentials. Shell env vars are an alternative.73- For failed verification, report the exact missing variable or auth step.7475## References7677- `references/google-setup.md`78- `references/bing-setup.md`79- `references/config-patterns.md`80- `references/google-shopping-campaigns.md`81- `references/bing-campaign-management.md`82- `references/bing-shopping-campaigns.md`83- `references/bing-content-api.md`84- `references/bing-bulk-operations.md`85- `references/bing-reporting.md`