Last updated
Quick fixes for connecting Claude, Antigravity, Gemini Enterprise and other MCP assistants to cozan Marketing Data. Need your connector URL or connected accounts? Check your Account page.
Error: "Client ID '...apps.googleusercontent.com' not found"
If your assistant prompts you to reconnect and shows an error like
{"error":"invalid_request","error_description":"Client ID '...apps.googleusercontent.com' not found"},
your connector is still using an older setup that saved a Google OAuth Client ID and Client Secret.
Marketman now handles Google sign-in automatically using only the MCP URL. Clicking Reconnect reuses the old saved Client ID, so you need to remove and re-add the connector.
Claude Desktop & claude.ai
- Open Settings > Connectors (or visit
claude.ai/settings/connectors). On a Team or Enterprise plan, an owner updates it under Organization settings > Connectors. - Delete / Remove the existing Marketman connector completely — do not just click Reconnect.
- Click Add custom connector.
- Enter a Name (for example
Marketman) and your Remote MCP server URL (https://marketman.cozan.co.za/mcp, orhttps://marketman.cozan.co.za/gtm/mcpif your organisation connected Google Tag Manager). - Leave Advanced settings (OAuth Client ID and OAuth Client Secret) completely empty.
- Click Add, then Connect. Approve on the Marketman screen, sign in with Google and make sure every permission box is ticked.
Claude Code (CLI)
Remove the old server entry and add it again with only the URL (no --client-id or --client-secret):
claude mcp remove marketing-data
claude mcp add --transport http --scope user marketing-data https://marketman.cozan.co.za/mcp
Then start Claude Code, run /mcp, select marketing-data and choose Authenticate.
Antigravity & Antigravity CLI (agy)
Edit ~/.gemini/config/mcp_config.json (or Settings > Customizations > MCP Servers) and remove the entire "oauth" block so only "url" remains:
{
"mcpServers": {
"marketing-data": {
"url": "https://marketman.cozan.co.za/mcp"
}
}
}
Refresh MCP Servers (or run /mcp in agy) and click Authenticate.
Other sign-in & connection issues
- "Not every Google permission was ticked": Start the connection again and tick every checkbox on Google's permission screen so the connector can read your Ads, Analytics, Search Console (and Tag Manager, if enabled) data.
- "Unknown assistant", "Connection expired" or "Your browser didn't keep the sign-in cookie": Start the connection again from your assistant and complete Google sign-in in the same browser window. If it still fails, remove and re-add the connector.
- "Google refused the refresh. Connect again.": Re-authenticate the connector in your assistant. If you previously removed Marketman at myaccount.google.com/permissions, signing in again restores access.
- Google Workspace blocks the app: If your Workspace restricts third-party apps, a Workspace administrator needs to trust Marketman under Admin console > Security > API controls > App access control.
Which MCP URL should I use?
- Standard (Google Ads, GA4, Search Console):
https://marketman.cozan.co.za/mcp - With Google Tag Manager:
https://marketman.cozan.co.za/gtm/mcp(only for organisations that have connected Tag Manager containers)
Sign in to your Account page at any time to copy the exact URL for your organisation.
Missing accounts or "No subscription found"
- Sign in with the Google account that has access to your organisation's Google Ads, Analytics and Search Console accounts.
- Each user only sees accounts their own Google account can open — Marketman never widens Google permissions.
- If you signed up for your organisation as a whole, anyone with an email at your organisation's domain can connect. Otherwise, only the account owner can connect.
- The account owner can add or remove connected accounts, view usage and manage billing on the Account page.
Gemini Enterprise credentials
Gemini Enterprise does not support dynamic client registration. The organisation's account owner creates or rotates a dedicated Client ID (mm-ge-<client>) and Client Secret under the Gemini Enterprise section on the Account page. Rotating credentials immediately stops the previous secret, so update the data store in Gemini Enterprise admin straight away.
Still stuck?
Email helpdesk@cozan.co.za or call +27 21 012 5575 — we're happy to jump on a quick Google Meet screenshare and get you connected in a few minutes.
AI assistants helping a user troubleshoot can also read our machine-readable guide at /llms.txt.