Skip to main content
POST
/
google-ads
/
mcp#get_customer
Get Customer
curl --request POST \
  --url 'https://api.adside.ai/google-ads/mcp#get_customer' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "<string>",
  "method": "<string>",
  "params": {
    "name": "<string>",
    "arguments": {
      "customer_id": "<string>"
    }
  },
  "id": "1"
}
'
{
  "jsonrpc": "<string>",
  "id": "<string>",
  "result": {
    "content": [
      {
        "type": "<string>",
        "text": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key (sk_live_*) — SHA256 hashed, looked up in Redis. Generate via the web app's workspace settings.

Body

application/json
jsonrpc
string
required
Allowed value: "2.0"
method
string
required
Allowed value: "tools/call"
params
object
required
id
string
Example:

"1"

Response

JSON-RPC response with tool result

jsonrpc
string
Allowed value: "2.0"
id
string
result
object