Skip to content
advardeDeveloper docs
v1.0

Save account standard

Loading server catalog…. Download catalog

POSThttps://app.advarde.com/mcp
Write

Available subject to your connection’s permissions.

Description: Save account standards or a reusable campaign template. Does not change live advertising. Templates exclude authorization and remote identity fields; campaign use requires fresh validation.

Method: tools/call · ads_save_account_standard

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: Requires the applicable write scopes, workspace role, and account permissions.

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_idstringrequired
format: "uuid"
standard_idstringoptional
format: "uuid"
expected_revisionintegeroptional
minimum: 1
kindenumrequired
enum: ["standard","template"]
namestringrequired
minLength: 1maxLength: 200
dataobjectrequired
additionalProperties: false
EXPAND DATA
naming_prefixstringoptional
minLength: 0maxLength: 100
allowed_domainsarrayoptional
minItems: 0maxItems: 50
EXPAND ALLOWED_DOMAINS

Each array item

{
  "type": "string",
  "minLength": 1,
  "maxLength": 255
}
utmobjectoptional
additionalProperties: false
EXPAND UTM
utm_sourcestringoptional
minLength: 0maxLength: 200
utm_mediumstringoptional
minLength: 0maxLength: 200
utm_campaignstringoptional
minLength: 0maxLength: 200
utm_contentstringoptional
minLength: 0maxLength: 200
utm_termstringoptional
minLength: 0maxLength: 200
operating_startstringoptional
format: "date"
operating_endstringoptional
format: "date"
guidancestringoptional
minLength: 0maxLength: 10000
templateobjectoptional
Full JSON Schema
{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "format": "uuid"
    },
    "standard_id": {
      "type": "string",
      "format": "uuid"
    },
    "expected_revision": {
      "type": "integer",
      "minimum": 1
    },
    "kind": {
      "enum": [
        "standard",
        "template"
      ]
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "data": {
      "type": "object",
      "properties": {
        "naming_prefix": {
          "type": "string",
          "minLength": 0,
          "maxLength": 100
        },
        "allowed_domains": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "minItems": 0,
          "maxItems": 50
        },
        "utm": {
          "type": "object",
          "properties": {
            "utm_source": {
              "type": "string",
              "minLength": 0,
              "maxLength": 200
            },
            "utm_medium": {
              "type": "string",
              "minLength": 0,
              "maxLength": 200
            },
            "utm_campaign": {
              "type": "string",
              "minLength": 0,
              "maxLength": 200
            },
            "utm_content": {
              "type": "string",
              "minLength": 0,
              "maxLength": 200
            },
            "utm_term": {
              "type": "string",
              "minLength": 0,
              "maxLength": 200
            }
          },
          "required": [],
          "additionalProperties": false
        },
        "operating_start": {
          "type": "string",
          "format": "date"
        },
        "operating_end": {
          "type": "string",
          "format": "date"
        },
        "guidance": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10000
        },
        "template": {
          "type": "object",
          "maxProperties": 100
        }
      },
      "required": [],
      "additionalProperties": false
    }
  },
  "required": [
    "account_id",
    "name",
    "kind",
    "data"
  ],
  "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.

Advarde MCP API v1.0