List custom audiences
Loading server catalog…. Download catalog
https://app.advarde.com/mcpUpstream account eligibility and feature access may also apply.
Description: List custom audiences for the authenticated ad account.
Method: tools/call · ads_list_custom_audiences
Output: Tool data is returned in result.structuredContent and as JSON text in result.content. Inspect result.isError before using the result. Individual output fields depend on the operation.
Access: Read access to the relevant workspace and account.
Upstream operation: GET /custom_audiences. Call this through the MCP tool above.
Authentication
Use an MCP access token from MCP connections, or connect through OAuth. Send your token in the Authorization: Bearer header.
For full protocol initialization and tool discovery, use an MCP client. These examples show individual JSON-RPC requests.
Tool arguments
Send these fields inside params.arguments. The tool name is sent as params.name.
account_idstringrequiredWorkspace-owned Advarde connection ID from ads_list_accounts.
"uuid"intended_usestringoptional["inclusion","exclusion","bid_multiplier"]custom_audience_idsarrayoptional500EXPAND CUSTOM_AUDIENCE_IDS
Each array item
{
"type": "string"
}policy_revisionstringoptional64maxLength: 64matched_count_granularitystringoptional["granular"]limitintegeroptional1maximum: 500afterstringoptionalbeforestringoptionalorderstringoptional["asc","desc"]Full JSON Schema
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid",
"description": "Workspace-owned Advarde connection ID from ads_list_accounts."
},
"intended_use": {
"type": "string",
"enum": [
"inclusion",
"exclusion",
"bid_multiplier"
],
"x-openai-class-name": "sofa.api.params.custom_audiences.CustomAudienceIntendedUseParam"
},
"custom_audience_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 500
},
"policy_revision": {
"type": "string",
"minLength": 64,
"maxLength": 64
},
"matched_count_granularity": {
"type": "string",
"enum": [
"granular"
],
"x-openai-class-name": "sofa.api.params.custom_audiences.CustomAudienceMatchedCountGranularityParam"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 500
},
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"order": {
"type": "string",
"enum": [
"asc",
"desc"
],
"x-openai-class-name": "sofa.api.params.common.ListOrderParam"
}
},
"required": [
"account_id"
],
"additionalProperties": false
}Responses
200Successful protocol response
Inspect result.isError for tool-level failures, even when the HTTP status is 200.
202Notification accepted
MCP notifications return no JSON-RPC response body.
400Invalid request
Check the JSON-RPC envelope, parameters, and protocol version.
406Not acceptable
Accept must include application/json and text/event-stream.
429Rate limited
Wait for the Retry-After interval before making another request.
401Unauthorized
A valid, unexpired MCP bearer token is required.
403Access denied
Your connection needs access to this workspace and the requested operation.