zumpo/docs
Dashboard
Skip to content
billing / API reference
GETgetXApiPricing

Machine-readable X (twitter) pricing and the tariff rule

The per-operation tariff of X publishes, machine-readable (PRD "16. Faturalandirma" -> transparency bar). The numbers come from the SAME expression as the value actually deducted on the publish path; that the declared price and the charged price cannot diverge is the sole reason this endpoint exists. Amounts are INTEGER micro-USD (microsPerUnit), because $0.015 cannot be represented exactly in floating point and the sum of thousands of rows drifts. THERE ARE TWO TARIFFS and there is more than a 13-FOLD difference between them; the link detection that determines which one applies is DECLARED under rule. The detector is BROAD and the direction is DELIBERATE: a narrow detector under-bills us and we pay the difference, a broad detector may charge the customer too much but it is VISIBLE - the name of the applied tariff is written both into the metadata field of the billable event and defined here, so the customer CAN DISPUTE it. rule.examples shows the rule with runnable examples and does not hide the accepted false positive class. There is NO metered platform BESIDES X; publishing on other platforms is not billed (see GET /v1/billing).

Authentication

The following security requirement applies to this operation.

  1. bearerhttp

    scheme
    bearer
    bearerFormat
    zumpo-api-key
Read the authentication guide

Parameters

This operation declares no path, query, header or cookie parameters.

Responses

Status codes and shapes declared for this operation. Read each description for the meaning of that response.

200Response schema
application/json
Response 200object
#/components/schemas/XPricingDto
additionalProperties
false
required
[ "platform", "currency", "microsPerUnit", "tariffs", "rule" ]
platformstringrequired

The platform the tariff belongs to. This endpoint is specific to X by its path name; today X is also the only metered platform.

enum
[ "twitter" ]
example
twitter
currencystringrequired

Currency of all amounts.

enum
[ "USD" ]
example
USD
microsPerUnitintegerrequired

How many MICROS one unit of currency is. unitCostMicros is an INTEGER at this scale; micros were chosen because the value $0.015 is BELOW A CENT.

example
1000000
tariffsarrayrequired

ALL applicable tariffs. The numbers come from the SAME expression as the number actually deducted on the publish path: that the declared price and the charged price cannot diverge is the sole reason this endpoint exists.

Array itemobject
#/components/schemas/XPricingTariffDto
additionalProperties
false
required
[ "tariff", "unitCostMicros", "unitCostUsd" ]
tariffstringrequired

The machine-readable name of the tariff. EXACTLY this string is written into the metadata field of the billable event.

example
post_create
unitCostMicrosintegerrequired

Cost per unit, integer micro-USD.

example
15000
unitCostUsdstringrequired

The decimal string rendering of the same cost. NO rounding.

example
0.015000
ruleobjectrequired
#/components/schemas/XPricingRuleDto
additionalProperties
false
required
[ "detector", "appliesTo", "examples" ]
detectorstringrequired

The class of the link detection. broad: the detector DOES NOT COPY the provider rule, it APPROXIMATES it - X does not publish which string it counts as a link. The direction is CHOSEN DELIBERATELY: a narrow detector under-bills us and we pay the difference; a broad detector may charge the customer too much but it is VISIBLE, because the applied tariff is written both in the event metadata field and at this endpoint, and the customer can dispute it. A cost that is silently under-billed leaves no trace visible to anyone. exact: if the provider publishes its rule and we apply it exactly.

enum
[ "broad", "exact" ]
example
broad
appliesTostringrequired

The name of the tariff to apply if the detector matches; if it does not match, the other one in the tariffs list applies.

example
post_create_with_url
examplesarrayrequired

Runnable examples of the rule. The list is NOT exhaustive; these are examples that make a claim about the boundary of the rule - in particular, that spellings which contain a dot but are not links (the bkz.orada class) can produce FALSE POSITIVES is an accepted cost and is shown here. A number (3.5) IS NOT COUNTED as a link: a top level domain name requires at least TWO LETTERS.

Array itemobject
#/components/schemas/XPricingExampleDto
additionalProperties
false
required
[ "content", "tariff" ]
contentstringrequired

Example post text.

example
https://example.com/launch
tariffstringrequired

The name of the tariff to be applied to this text.

example
post_create_with_url
Original schema
{
  "$ref": "#/components/schemas/XPricingDto"
}
400Invalid request

Invalid request

application/json
Response 400object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

Stable error category (does not change across versions).

enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]
example
invalid_request_error
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

Additional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
401Authentication failed

Authentication failed

application/json
Response 401object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

Stable error category (does not change across versions).

enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]
example
invalid_request_error
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

Additional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
403Permission denied

Permission denied

application/json
Response 403object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

Stable error category (does not change across versions).

enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]
example
invalid_request_error
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

Additional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
404Resource not found

Resource not found

application/json
Response 404object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

Stable error category (does not change across versions).

enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]
example
invalid_request_error
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

Additional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
409Conflict

Conflict

application/json
Response 409object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

Stable error category (does not change across versions).

enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]
example
invalid_request_error
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

Additional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
429Rate limit exceeded

Rate limit exceeded

application/json
Response 429object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

Stable error category (does not change across versions).

enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]
example
invalid_request_error
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

Additional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}

Response headers

X-RateLimit-Limit

Request ceiling that applied to this request. Authenticated requests use the team tier ceiling; unauthenticated identity endpoints use a per-IP ceiling. Usage is measured continuously against a trailing period rather than tallied and cleared at a boundary, so the full ceiling never becomes available again in one step.

X-RateLimit-Limitinteger
minimum
1
Original schema
{
  "type": "integer",
  "minimum": 1
}

X-RateLimit-Remaining

Requests still allowed against that ceiling; never negative. On a 429 produced by the request throttler this is 0. Such a refused request is not counted, so retrying too early costs you no capacity and does not push your recovery further away.

X-RateLimit-Remaininginteger
minimum
0
Original schema
{
  "type": "integer",
  "minimum": 0
}

X-RateLimit-Reset

Absolute Unix epoch time, in SECONDS, at which the current counting period turns over. This is NOT the number of seconds left: subtract the current time to obtain that. It is also NOT the moment your capacity returns: earlier usage keeps weighing on the ceiling across the turnover, so after a 429 wait for Retry-After instead, which is usually later than this value.

X-RateLimit-Resetinteger
format
int64
minimum
0
Original schema
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Retry-After

Seconds to wait before retrying. Always a positive integer delta (never an HTTP-date), at least 1. On a 429 from the request throttler it is the wait until your usage actually drops back under the ceiling; prefer it over any delay you compute from X-RateLimit-Reset.

Retry-Afterinteger
minimum
1
maximum
86400
Original schema
{
  "type": "integer",
  "minimum": 1,
  "maximum": 86400
}
500Server error

Server error

application/json
Response 500object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

Stable error category (does not change across versions).

enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]
example
invalid_request_error
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

Additional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
502Platform error

Platform error

application/json
Response 502object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

Stable error category (does not change across versions).

enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]
example
invalid_request_error
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

Additional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
503Service unavailable

Service unavailable

application/json
Response 503object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

Stable error category (does not change across versions).

enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]
example
invalid_request_error
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

Additional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}

Referenced schemas

Original local definitions used by this operation. Recursive and deeply nested references can be inspected here without expanding them repeatedly.

XPricingDto

#/components/schemas/XPricingDto

{
  "type": "object",
  "properties": {
    "platform": {
      "type": "string",
      "enum": [
        "twitter"
      ],
      "example": "twitter",
      "description": "The platform the tariff belongs to. This endpoint is specific to X by its path name; today X is also the only metered platform."
    },
    "currency": {
      "type": "string",
      "enum": [
        "USD"
      ],
      "example": "USD",
      "description": "Currency of all amounts."
    },
    "microsPerUnit": {
      "type": "integer",
      "example": 1000000,
      "description": "How many MICROS one unit of currency is. `unitCostMicros` is an INTEGER at this scale; micros were chosen because the value $0.015 is BELOW A CENT."
    },
    "tariffs": {
      "description": "ALL applicable tariffs. The numbers come from the SAME expression as the number actually deducted on the publish path: that the declared price and the charged price cannot diverge is the sole reason this endpoint exists.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/XPricingTariffDto"
      }
    },
    "rule": {
      "$ref": "#/components/schemas/XPricingRuleDto"
    }
  },
  "additionalProperties": false,
  "required": [
    "platform",
    "currency",
    "microsPerUnit",
    "tariffs",
    "rule"
  ]
}
XPricingTariffDto

#/components/schemas/XPricingTariffDto

{
  "type": "object",
  "properties": {
    "tariff": {
      "type": "string",
      "example": "post_create",
      "description": "The machine-readable name of the tariff. EXACTLY this string is written into the metadata field of the billable event."
    },
    "unitCostMicros": {
      "type": "integer",
      "example": 15000,
      "description": "Cost per unit, integer micro-USD."
    },
    "unitCostUsd": {
      "type": "string",
      "example": "0.015000",
      "description": "The decimal string rendering of the same cost. NO rounding."
    }
  },
  "additionalProperties": false,
  "required": [
    "tariff",
    "unitCostMicros",
    "unitCostUsd"
  ]
}
XPricingRuleDto

#/components/schemas/XPricingRuleDto

{
  "type": "object",
  "properties": {
    "detector": {
      "type": "string",
      "enum": [
        "broad",
        "exact"
      ],
      "example": "broad",
      "description": "The class of the link detection. `broad`: the detector DOES NOT COPY the provider rule, it APPROXIMATES it - X does not publish which string it counts as a link. The direction is CHOSEN DELIBERATELY: a narrow detector under-bills us and we pay the difference; a broad detector may charge the customer too much but it is VISIBLE, because the applied tariff is written both in the event metadata field and at this endpoint, and the customer can dispute it. A cost that is silently under-billed leaves no trace visible to anyone. `exact`: if the provider publishes its rule and we apply it exactly."
    },
    "appliesTo": {
      "type": "string",
      "example": "post_create_with_url",
      "description": "The name of the tariff to apply if the detector matches; if it does not match, the other one in the `tariffs` list applies."
    },
    "examples": {
      "description": "Runnable examples of the rule. The list is NOT exhaustive; these are examples that make a claim about the boundary of the rule - in particular, that spellings which contain a dot but are not links (the `bkz.orada` class) can produce FALSE POSITIVES is an accepted cost and is shown here. A number (`3.5`) IS NOT COUNTED as a link: a top level domain name requires at least TWO LETTERS.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/XPricingExampleDto"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "detector",
    "appliesTo",
    "examples"
  ]
}
XPricingExampleDto

#/components/schemas/XPricingExampleDto

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "example": "https://example.com/launch",
      "description": "Example post text."
    },
    "tariff": {
      "type": "string",
      "example": "post_create_with_url",
      "description": "The name of the tariff to be applied to this text."
    }
  },
  "additionalProperties": false,
  "required": [
    "content",
    "tariff"
  ]
}
ZumpoErrorDto

#/components/schemas/ZumpoErrorDto

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Human-readable message. UNSTABLE — do not branch on it.",
      "example": "WhatsApp session window expired; use a template message."
    },
    "type": {
      "type": "string",
      "description": "Stable error category (does not change across versions).",
      "enum": [
        "invalid_request_error",
        "authentication_error",
        "permission_error",
        "not_found",
        "conflict",
        "rate_limit_error",
        "platform_error",
        "platform_rejected",
        "account_disconnected",
        "media_error",
        "api_error"
      ],
      "example": "invalid_request_error"
    },
    "code": {
      "type": "string",
      "description": "Stable machine-readable code.",
      "example": "whatsapp_window_expired"
    },
    "param": {
      "type": "string",
      "description": "Offending parameter, present only when relevant.",
      "example": "body"
    },
    "docUrl": {
      "type": "string",
      "description": "https://docs.zumpo.io/errors/{code}",
      "example": "https://docs.zumpo.io/errors/whatsapp_window_expired"
    },
    "requestId": {
      "type": "string",
      "description": "Support correlation id: req_ + 16 hex.",
      "example": "req_7f3a9c2e1b8d4056"
    },
    "details": {
      "type": "object",
      "additionalProperties": true,
      "description": "Additional structured context, present only when an error has more to say than a single `param` can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.",
      "example": {
        "created": [
          {
            "kind": "campaign",
            "platformId": "120210000000000001"
          },
          {
            "kind": "adSet",
            "platformId": "120210000000000002"
          }
        ]
      }
    }
  },
  "required": [
    "error",
    "type",
    "code",
    "docUrl",
    "requestId"
  ]
}