Skip to main content
Glama

Google Ads MCP Server

by martechery
formatCustomerId.test.ts476 B
import { describe, it, expect } from 'vitest'; import { formatCustomerId } from '../../src/utils/formatCustomerId.js'; describe('formatCustomerId', () => { it('pads to 10 digits and strips non-digits', () => { expect(formatCustomerId('123-456-7890')).toBe('1234567890'); expect(formatCustomerId('"0012345678"')).toBe('0012345678'); expect(formatCustomerId('{9873 186 703}')).toBe('9873186703'); expect(formatCustomerId(12345)).toBe('0000012345'); }); });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/martechery/mcp-google-ads-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server