Skip to content
advardeDeveloper docs
v1.0

Save account standards

Loading server catalog…. Download catalog

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

Automation rules must be enabled for the workspace.

Description: Save reusable naming, destination-domain, UTM, operating-date and review-role standards. Does not change campaigns.

Method: tools/call · ads_save_account_standards

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"
expected_revisionintegerrequired
minimum: 0maximum: 9007199254740991
configobjectrequired
additionalProperties: false
EXPAND CONFIG
name_prefixstringoptional
minLength: 1maxLength: 100
destination_domainsarrayoptional
maxItems: 100
EXPAND DESTINATION_DOMAINS

Each array item

{
  "type": "string",
  "minLength": 1,
  "maxLength": 253
}
utm_defaultsobjectoptional
additionalProperties: false
EXPAND UTM_DEFAULTS
utm_sourcestringoptional
minLength: 1maxLength: 200
utm_mediumstringoptional
minLength: 1maxLength: 200
utm_campaignstringoptional
minLength: 1maxLength: 200
utm_contentstringoptional
minLength: 1maxLength: 200
utm_termstringoptional
minLength: 1maxLength: 200
operating_startstringoptional
format: "date-time"
operating_endstringoptional
format: "date-time"
review_rolesarrayoptional
maxItems: 2uniqueItems: true
EXPAND REVIEW_ROLES

Each array item

{
  "enum": [
    "owner",
    "admin"
  ]
}
Full JSON Schema
{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "format": "uuid"
    },
    "expected_revision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "config": {
      "type": "object",
      "properties": {
        "name_prefix": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "destination_domains": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 253
          },
          "maxItems": 100
        },
        "utm_defaults": {
          "type": "object",
          "properties": {
            "utm_source": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "utm_medium": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "utm_campaign": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "utm_content": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "utm_term": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "required": [],
          "additionalProperties": false
        },
        "operating_start": {
          "type": "string",
          "format": "date-time"
        },
        "operating_end": {
          "type": "string",
          "format": "date-time"
        },
        "review_roles": {
          "type": "array",
          "items": {
            "enum": [
              "owner",
              "admin"
            ]
          },
          "uniqueItems": true,
          "maxItems": 2
        }
      },
      "required": [],
      "additionalProperties": false
    }
  },
  "required": [
    "account_id",
    "expected_revision",
    "config"
  ],
  "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