Skip to main content
Glama

AdsAgent — Meta Ads MCP

campaigns_quick_create

Use ad_account_id, template_id or template_name, and either creative_source or nonempty groups. Append: append_mode + target. Copy: copy_ad_quick_copy. If truncated, read the same approval with operations_get_approval. Confirm with operations_confirm_campaign_create after user approval. With groups, select assets in groups[].creatives. Omit creative_source unless changing copy per library asset. For copy, match creative_source.creative_names or creative_ids to the first group or all distinct group assets and include creative_overrides. Without groups, set creative_source.creative_overrides by creative_name for images or videos. Without groups, use creative_distribution=one_per_adset for separate Ad Sets. To append Ad Sets, use append_mode=append-campaign and target_campaign_id. Dynamic: overrides.bodies/titles. Leave copy out: overrides.clear_fields. ABO groups:[{"key":"g1","creatives":["id"],"budget":10}]. Budget each group. Omit shared amounts. Pause: activation:{"requested":"paused"}. execution.adset_count: omit or match. Ask on CBO/lifetime. Use one object for request.creative_source. A string or {type, creative_id} is invalid. For a library creative use {"mode":"creative","creative_names":[""]}. page_backed is a shadow IG. Never swap it in. Ask the user to confirm changes. Web landing page: request.destination type=web, required http(s) web_url; omit with template_source. Names: request.campaign_naming/adset_naming. Use the workflow's original link_id when exposed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "request": "<request>"
    },
    "name": "campaigns_quick_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / request / properties / destination / description
      Added value: +"Web landing page: type=web, required http(s) web_url, no app fields. Omit with template_source."
    • addedInput schema / properties / request / properties / overrides / description
      Added value: +"Not for landing page or names: use request.destination and request.campaign_naming/adset_naming."
  2. Changed2 schema fields changed
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "oneOf": [
      -      {
      -        "anyOf": [
      -          {
      -            "properties": {
      -              "creative_names": {
      -                "minItems": 1,
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "creative_names"
      -            ]
      -          }
      -        ],
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "creative"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        }
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "partnership"
      -          },
      -          "partnership_rows": {
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "partnership_rows"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "template_source"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "carousel"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "carousel_groups"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "existing_post"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "existing_posts"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "ad_name": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "carousel_groups": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "properties": {
      -                "creative_names": {
      -                  "minItems": 2,
      -                  "not": {
      -                    "type": "null"
      -                  }
      -                }
      -              },
      -              "required": [
      -                "creative_names"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "card_overrides": {
      -              "description": "Match by creative_id or creative_name. Omitted fields inherit group copy, template link and CTA.",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Copy inherits from the group.",
      -                "oneOf": [
      -                  {
      -                    "properties": {
      -                      "creative_name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "creative_name"
      -                    ]
      -                  }
      -                ],
      -                "properties": {
      -                  "creative_name": {
      -                    "maxLength": 500,
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "cta": {
      -                    "description": "Meta CTA, e.g. LEARN_MORE, SHOP_NOW, SIGN_UP. Free text works. Omit to inherit. Web/app exclude phone, message and profile CTAs.",
      -                    "maxLength": 100,
      -                    "type": "string"
      -                  },
      -                  "description": {
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  },
      -                  "display_link": {
      -                    "description": "Display URL shown under the card (caption).",
      -                    "maxLength": 255,
      -                    "type": "string"
      -                  },
      -                  "link_url": {
      -                    "description": "Card landing URL.",
      -                    "maxLength": 2048,
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Card headline.",
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "creative_names": {
      -              "items": {
      -                "maxLength": 500,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_names": {
      -        "items": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_overrides": {
      -        "description": "Per creative_name: body, title, description. Omit to inherit template copy or shared overrides. one_per_adset assigns one creative per Ad Set.",
      -        "items": {
      -          "additionalProperties": false,
      -          "oneOf": [
      -            {
      -              "properties": {
      -                "creative_name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "creative_name"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "creative_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "existing_posts": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "oneOf": [
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "string"
      -                    },
      -                    "page_post_id": {
      -                      "type": "null"
      -                    }
      -                  },
      -                  "required": [
      -                    "instagram_media_id"
      -                  ]
      -                },
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "null"
      -                    },
      -                    "page_post_id": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "page_post_id"
      -                  ]
      -                }
      -              ]
      -            }
      -          ],
      -          "description": "One profile-visit ad per post. Use the numeric ID from Instagram media or Page <page_id>_<post_id>.",
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "instagram_media_id": {
      -              "pattern": "^[0-9]{1,32}$",
      -              "type": "string"
      -            },
      -            "page_post_id": {
      -              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "media_mode": {
      -        "enum": [
      -          "single",
      -          "multi"
      -        ],
      -        "type": "string"
      -      },
      -      "mode": {
      -        "default": "creative",
      -        "enum": [
      -          "creative",
      -          "partnership",
      -          "template_source",
      -          "carousel",
      -          "existing_post"
      -        ],
      -        "type": "string"
      -      },
      -      "partnership_rows": {
      -        "items": {
      -          "additionalProperties": false,
      -          "anyOf": [
      -            {
      -              "required": [
      -                "partnership_ad_id"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "original_post_url": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "partnership_ad_id": {
      -              "description": "Meta partnership ad ID.",
      -              "maxLength": 4096,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "source_choice": {
      -              "default": "auto",
      -              "enum": [
      -                "auto",
      -                "new"
      -              ],
      -              "type": "string"
      -            },
      -            "source_ref": {
      -              "pattern": "^(ad|creative):[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "media_mode": {
      -        "const": "single",
      -        "default": "single",
      -        "type": "string"
      -      },
      -      "media_refs": {
      -        "items": {
      -          "maxLength": 2048,
      -          "minLength": 16,
      -          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "const": "account_media",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "media_refs"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "oneOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "creative_names": {
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "creative_names"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "creative"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        }
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "partnership"
      +          },
      +          "partnership_rows": {
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "partnership_rows"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "template_source"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "carousel"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "carousel_groups"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "existing_post"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "existing_posts"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "ad_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "carousel_groups": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "properties": {
      +                "creative_names": {
      +                  "minItems": 2,
      +                  "not": {
      +                    "type": "null"
      +                  }
      +                }
      +              },
      +              "required": [
      +                "creative_names"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "card_overrides": {
      +              "description": "Match by creative_id or creative_name. Omitted fields inherit group copy, template link and CTA.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Copy inherits from the group.",
      +                "oneOf": [
      +                  {
      +                    "properties": {
      +                      "creative_name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "creative_name"
      +                    ]
      +                  }
      +                ],
      +                "properties": {
      +                  "creative_name": {
      +                    "maxLength": 500,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "cta": {
      +                    "description": "Meta CTA, e.g. LEARN_MORE, SHOP_NOW, SIGN_UP. Free text works. Omit to inherit. Web/app exclude phone, message and profile CTAs.",
      +                    "maxLength": 100,
      +                    "type": "string"
      +                  },
      +                  "description": {
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  },
      +                  "display_link": {
      +                    "description": "Display URL shown under the card (caption).",
      +                    "maxLength": 255,
      +                    "type": "string"
      +                  },
      +                  "link_url": {
      +                    "description": "Card landing URL.",
      +                    "maxLength": 2048,
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Card headline.",
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "creative_names": {
      +              "items": {
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_names": {
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_overrides": {
      +        "description": "Per creative_name: body, title, description. Omit to follow template or shared copy, including clear_fields. one_per_adset assigns one creative per Ad Set.",
      +        "items": {
      +          "additionalProperties": false,
      +          "oneOf": [
      +            {
      +              "properties": {
      +                "creative_name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "creative_name"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "existing_posts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "oneOf": [
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "string"
      +                    },
      +                    "page_post_id": {
      +                      "type": "null"
      +                    }
      +                  },
      +                  "required": [
      +                    "instagram_media_id"
      +                  ]
      +                },
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "null"
      +                    },
      +                    "page_post_id": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "page_post_id"
      +                  ]
      +                }
      +              ]
      +            }
      +          ],
      +          "description": "One profile-visit ad per post. Use the numeric ID from Instagram media or Page <page_id>_<post_id>.",
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "instagram_media_id": {
      +              "pattern": "^[0-9]{1,32}$",
      +              "type": "string"
      +            },
      +            "page_post_id": {
      +              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "media_mode": {
      +        "enum": [
      +          "single",
      +          "multi"
      +        ],
      +        "type": "string"
      +      },
      +      "mode": {
      +        "default": "creative",
      +        "enum": [
      +          "creative",
      +          "partnership",
      +          "template_source",
      +          "carousel",
      +          "existing_post"
      +        ],
      +        "type": "string"
      +      },
      +      "partnership_rows": {
      +        "items": {
      +          "additionalProperties": false,
      +          "anyOf": [
      +            {
      +              "required": [
      +                "partnership_ad_id"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "original_post_url": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "partnership_ad_id": {
      +              "description": "Meta partnership ad ID.",
      +              "maxLength": 4096,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "source_choice": {
      +              "default": "auto",
      +              "enum": [
      +                "auto",
      +                "new"
      +              ],
      +              "type": "string"
      +            },
      +            "source_ref": {
      +              "pattern": "^(ad|creative):[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "media_mode": {
      +        "const": "single",
      +        "default": "single",
      +        "type": "string"
      +      },
      +      "media_refs": {
      +        "items": {
      +          "maxLength": 2048,
      +          "minLength": 16,
      +          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "account_media",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "media_refs"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / request / properties / overrides / properties / clear_fields
      Added value: +{
      +  "description": "Omit to inherit copy. List body, description or title to leave them out of each new single-media ad. Omit the corresponding shared copy override. Nonempty per-asset copy takes precedence. Dynamic ads can only clear description.",
      +  "items": {
      +    "enum": [
      +      "body",
      +      "description",
      +      "title"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
  3. Changed3 schema fields changed
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "oneOf": [
      -      {
      -        "anyOf": [
      -          {
      -            "properties": {
      -              "creative_names": {
      -                "minItems": 1,
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "creative_names"
      -            ]
      -          }
      -        ],
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "creative"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        }
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "partnership"
      -          },
      -          "partnership_rows": {
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "partnership_rows"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "template_source"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "carousel"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "carousel_groups"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "existing_post"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "existing_posts"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "ad_name": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "carousel_groups": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "properties": {
      -                "creative_names": {
      -                  "minItems": 2,
      -                  "not": {
      -                    "type": "null"
      -                  }
      -                }
      -              },
      -              "required": [
      -                "creative_names"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "card_overrides": {
      -              "description": "Match by creative_id or creative_name. Omitted fields inherit group copy, template link and CTA.",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Copy inherits from the group.",
      -                "oneOf": [
      -                  {
      -                    "properties": {
      -                      "creative_name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "creative_name"
      -                    ]
      -                  }
      -                ],
      -                "properties": {
      -                  "creative_name": {
      -                    "maxLength": 500,
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "cta": {
      -                    "description": "Meta CTA, e.g. LEARN_MORE, SHOP_NOW, SIGN_UP. Free text works. Omit to inherit. Web/app exclude phone, message and profile CTAs.",
      -                    "maxLength": 100,
      -                    "type": "string"
      -                  },
      -                  "description": {
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  },
      -                  "display_link": {
      -                    "description": "Display URL shown under the card (caption).",
      -                    "maxLength": 255,
      -                    "type": "string"
      -                  },
      -                  "link_url": {
      -                    "description": "Card landing URL.",
      -                    "maxLength": 2048,
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Card headline.",
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "creative_names": {
      -              "items": {
      -                "maxLength": 500,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_names": {
      -        "items": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_overrides": {
      -        "description": "One per creative_name. Missing title/body/description inherits overrides.*. With one_per_adset each Ad Set gets its own copy. No new template needed.",
      -        "items": {
      -          "additionalProperties": false,
      -          "oneOf": [
      -            {
      -              "properties": {
      -                "creative_name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "creative_name"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "creative_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "existing_posts": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "oneOf": [
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "string"
      -                    },
      -                    "page_post_id": {
      -                      "type": "null"
      -                    }
      -                  },
      -                  "required": [
      -                    "instagram_media_id"
      -                  ]
      -                },
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "null"
      -                    },
      -                    "page_post_id": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "page_post_id"
      -                  ]
      -                }
      -              ]
      -            }
      -          ],
      -          "description": "One profile-visit ad per post. Use the numeric ID from Instagram media or Page <page_id>_<post_id>.",
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "instagram_media_id": {
      -              "pattern": "^[0-9]{1,32}$",
      -              "type": "string"
      -            },
      -            "page_post_id": {
      -              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "media_mode": {
      -        "enum": [
      -          "single",
      -          "multi"
      -        ],
      -        "type": "string"
      -      },
      -      "mode": {
      -        "default": "creative",
      -        "enum": [
      -          "creative",
      -          "partnership",
      -          "template_source",
      -          "carousel",
      -          "existing_post"
      -        ],
      -        "type": "string"
      -      },
      -      "partnership_rows": {
      -        "items": {
      -          "additionalProperties": false,
      -          "anyOf": [
      -            {
      -              "required": [
      -                "partnership_ad_id"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "original_post_url": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "partnership_ad_id": {
      -              "description": "Meta partnership ad ID.",
      -              "maxLength": 4096,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "source_choice": {
      -              "default": "auto",
      -              "enum": [
      -                "auto",
      -                "new"
      -              ],
      -              "type": "string"
      -            },
      -            "source_ref": {
      -              "pattern": "^(ad|creative):[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "media_mode": {
      -        "const": "single",
      -        "default": "single",
      -        "type": "string"
      -      },
      -      "media_refs": {
      -        "items": {
      -          "maxLength": 2048,
      -          "minLength": 16,
      -          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "const": "account_media",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "media_refs"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "oneOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "creative_names": {
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "creative_names"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "creative"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        }
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "partnership"
      +          },
      +          "partnership_rows": {
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "partnership_rows"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "template_source"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "carousel"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "carousel_groups"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "existing_post"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "existing_posts"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "ad_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "carousel_groups": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "properties": {
      +                "creative_names": {
      +                  "minItems": 2,
      +                  "not": {
      +                    "type": "null"
      +                  }
      +                }
      +              },
      +              "required": [
      +                "creative_names"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "card_overrides": {
      +              "description": "Match by creative_id or creative_name. Omitted fields inherit group copy, template link and CTA.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Copy inherits from the group.",
      +                "oneOf": [
      +                  {
      +                    "properties": {
      +                      "creative_name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "creative_name"
      +                    ]
      +                  }
      +                ],
      +                "properties": {
      +                  "creative_name": {
      +                    "maxLength": 500,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "cta": {
      +                    "description": "Meta CTA, e.g. LEARN_MORE, SHOP_NOW, SIGN_UP. Free text works. Omit to inherit. Web/app exclude phone, message and profile CTAs.",
      +                    "maxLength": 100,
      +                    "type": "string"
      +                  },
      +                  "description": {
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  },
      +                  "display_link": {
      +                    "description": "Display URL shown under the card (caption).",
      +                    "maxLength": 255,
      +                    "type": "string"
      +                  },
      +                  "link_url": {
      +                    "description": "Card landing URL.",
      +                    "maxLength": 2048,
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Card headline.",
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "creative_names": {
      +              "items": {
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_names": {
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_overrides": {
      +        "description": "Per creative_name: body, title, description. Omit to inherit template copy or shared overrides. one_per_adset assigns one creative per Ad Set.",
      +        "items": {
      +          "additionalProperties": false,
      +          "oneOf": [
      +            {
      +              "properties": {
      +                "creative_name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "creative_name"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "existing_posts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "oneOf": [
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "string"
      +                    },
      +                    "page_post_id": {
      +                      "type": "null"
      +                    }
      +                  },
      +                  "required": [
      +                    "instagram_media_id"
      +                  ]
      +                },
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "null"
      +                    },
      +                    "page_post_id": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "page_post_id"
      +                  ]
      +                }
      +              ]
      +            }
      +          ],
      +          "description": "One profile-visit ad per post. Use the numeric ID from Instagram media or Page <page_id>_<post_id>.",
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "instagram_media_id": {
      +              "pattern": "^[0-9]{1,32}$",
      +              "type": "string"
      +            },
      +            "page_post_id": {
      +              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "media_mode": {
      +        "enum": [
      +          "single",
      +          "multi"
      +        ],
      +        "type": "string"
      +      },
      +      "mode": {
      +        "default": "creative",
      +        "enum": [
      +          "creative",
      +          "partnership",
      +          "template_source",
      +          "carousel",
      +          "existing_post"
      +        ],
      +        "type": "string"
      +      },
      +      "partnership_rows": {
      +        "items": {
      +          "additionalProperties": false,
      +          "anyOf": [
      +            {
      +              "required": [
      +                "partnership_ad_id"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "original_post_url": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "partnership_ad_id": {
      +              "description": "Meta partnership ad ID.",
      +              "maxLength": 4096,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "source_choice": {
      +              "default": "auto",
      +              "enum": [
      +                "auto",
      +                "new"
      +              ],
      +              "type": "string"
      +            },
      +            "source_ref": {
      +              "pattern": "^(ad|creative):[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "media_mode": {
      +        "const": "single",
      +        "default": "single",
      +        "type": "string"
      +      },
      +      "media_refs": {
      +        "items": {
      +          "maxLength": 2048,
      +          "minLength": 16,
      +          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "account_media",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "media_refs"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / request / properties / overrides / properties / bodies
      Added value: +{
      +  "description": "Dynamic primary texts. Omit body.",
      +  "items": {
      +    "maxLength": 5000,
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / request / properties / overrides / properties / titles
      Added value: +{
      +  "description": "Dynamic headlines. Omit title.",
      +  "items": {
      +    "maxLength": 500,
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "minItems": 1,
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / request / properties / creative_source / description
      Added value: +"Use one object for request.creative_source. A string or {type, creative_id} is invalid. For a library creative use {\"mode\":\"creative\",\"creative_names\":[\"<exact filename>\"]}. Partnership code {\"mode\":\"partnership\",\"partnership_rows\":[{\"partnership_ad_id\":\"<code>\",\"ad_name\":\"Ad\"}]}. Reuse saved Partnership v2 source {\"mode\":\"template_source\"}. Carousel {\"mode\":\"carousel\",\"carousel_groups\":[{\"ad_name\":\"Ad\",\"creative_names\":[\"A.jpg\",\"B.jpg\"]}]}. Profile-visit post {\"mode\":\"existing_post\",\"existing_posts\":[{\"ad_name\":\"Ad\",\"instagram_media_id\":\"123\"}]} or use \"page_post_id\":\"123_456\" instead for a Facebook Page destination. V2 account-only policy {\"mode\":\"account_media\",\"media_refs\":[\"media_e1.placeholder\"]}."
  5. Changed11 schema fields changed
    • changedInput schema / properties / request / allOf
      Previous value: -[
      -  {
      -    "required": [
      -      "template_name"
      -    ]
      -  },
      -  {
      -    "anyOf": [
      -      {
      -        "properties": {
      -          "creative_source": {
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "creative_source"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "groups": {
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "groups"
      -        ]
      -      }
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "properties": {
      +          "template_name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "template_name"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "structure_source": {
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "structure_source"
      +        ]
      +      }
      +    ]
      +  },
      +  {
      +    "anyOf": [
      +      {
      +        "properties": {
      +          "creative_source": {
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "creative_source"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "groups"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "structure_source": {
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "structure_source"
      +        ]
      +      }
      +    ]
      +  }
      +]
    • changedInput schema / properties / request / properties / adset_naming / description
      Previous value: -"Ad Set name pattern. {name} = rendered Campaign name; {index} = Ad Set number from 1 (continues after existing Ad Sets when appending). Use {index} so Ad Sets get distinct names."New value: +"{name} is the Campaign name. Use {index} for distinct Ad Sets, starting at 1 or after existing Ad Sets."
    • changedInput schema / properties / request / properties / campaign_naming / description
      Previous value: -"Campaign name pattern. {index} = campaign number from 1; {name} = the literal \"Campaign\". Use {index} when campaign_count > 1."New value: +"{name} is \"Campaign\". Use {index} from 1 for multiple campaigns."
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "oneOf": [
      -      {
      -        "anyOf": [
      -          {
      -            "properties": {
      -              "creative_names": {
      -                "minItems": 1,
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "creative_names"
      -            ]
      -          }
      -        ],
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "creative"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        }
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "partnership"
      -          },
      -          "partnership_rows": {
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "partnership_rows"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "template_source"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "carousel"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "carousel_groups"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "existing_post"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "existing_posts"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "ad_name": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "carousel_groups": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "properties": {
      -                "creative_names": {
      -                  "minItems": 2,
      -                  "not": {
      -                    "type": "null"
      -                  }
      -                }
      -              },
      -              "required": [
      -                "creative_names"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "card_overrides": {
      -              "description": "Optional per-card title, description, link_url, cta and display_link, each matched to a card by creative_id/creative_name. A field left out falls back to this group's title/description and the template's link and CTA.",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Copy for one carousel card; every field left out uses the group's value.",
      -                "oneOf": [
      -                  {
      -                    "properties": {
      -                      "creative_name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "creative_name"
      -                    ]
      -                  }
      -                ],
      -                "properties": {
      -                  "creative_name": {
      -                    "maxLength": 500,
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "cta": {
      -                    "description": "Call-to-action button. Common values: LEARN_MORE, SHOP_NOW, SIGN_UP, DOWNLOAD, INSTALL_MOBILE_APP, GET_OFFER, SUBSCRIBE, BOOK_NOW, APPLY_NOW, CONTACT_US, SEE_DETAILS. Free text is accepted and normalised (\"Learn More\" -> LEARN_MORE); Meta has more types than are listed here. Phone, message and profile CTAs do not fit a website or app destination. Omit to keep the template's CTA.",
      -                    "maxLength": 100,
      -                    "type": "string"
      -                  },
      -                  "description": {
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  },
      -                  "display_link": {
      -                    "description": "Display URL shown under the card (caption).",
      -                    "maxLength": 255,
      -                    "type": "string"
      -                  },
      -                  "link_url": {
      -                    "description": "Card landing URL.",
      -                    "maxLength": 2048,
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Card headline.",
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "creative_names": {
      -              "items": {
      -                "maxLength": 500,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_names": {
      -        "items": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_overrides": {
      -        "description": "Per-creative copy: one entry per creative_name with optional title/body/description; omitted fields inherit overrides.*. With one_per_adset each Ad Set gets its own copy. No new template needed.",
      -        "items": {
      -          "additionalProperties": false,
      -          "oneOf": [
      -            {
      -              "properties": {
      -                "creative_name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "creative_name"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "creative_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "existing_posts": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "oneOf": [
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "string"
      -                    },
      -                    "page_post_id": {
      -                      "type": "null"
      -                    }
      -                  },
      -                  "required": [
      -                    "instagram_media_id"
      -                  ]
      -                },
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "null"
      -                    },
      -                    "page_post_id": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "page_post_id"
      -                  ]
      -                }
      -              ]
      -            }
      -          ],
      -          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric ``id`` of an item in the Instagram account's media list\nor the Page post id ``<page_id>_<post_id>``. URLs and shortcodes are not accepted.",
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "instagram_media_id": {
      -              "pattern": "^[0-9]{1,32}$",
      -              "type": "string"
      -            },
      -            "page_post_id": {
      -              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "media_mode": {
      -        "enum": [
      -          "single",
      -          "multi"
      -        ],
      -        "type": "string"
      -      },
      -      "mode": {
      -        "default": "creative",
      -        "enum": [
      -          "creative",
      -          "partnership",
      -          "template_source",
      -          "carousel",
      -          "existing_post"
      -        ],
      -        "type": "string"
      -      },
      -      "partnership_rows": {
      -        "items": {
      -          "additionalProperties": false,
      -          "anyOf": [
      -            {
      -              "required": [
      -                "partnership_ad_id"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "original_post_url": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "partnership_ad_id": {
      -              "description": "Meta partnership ad ID.",
      -              "maxLength": 4096,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "source_choice": {
      -              "default": "auto",
      -              "enum": [
      -                "auto",
      -                "new"
      -              ],
      -              "type": "string"
      -            },
      -            "source_ref": {
      -              "pattern": "^(ad|creative):[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "media_mode": {
      -        "const": "single",
      -        "default": "single",
      -        "type": "string"
      -      },
      -      "media_refs": {
      -        "items": {
      -          "maxLength": 2048,
      -          "minLength": 16,
      -          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "const": "account_media",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "media_refs"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "oneOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "creative_names": {
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "creative_names"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "creative"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        }
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "partnership"
      +          },
      +          "partnership_rows": {
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "partnership_rows"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "template_source"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "carousel"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "carousel_groups"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "existing_post"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "existing_posts"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "ad_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "carousel_groups": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "properties": {
      +                "creative_names": {
      +                  "minItems": 2,
      +                  "not": {
      +                    "type": "null"
      +                  }
      +                }
      +              },
      +              "required": [
      +                "creative_names"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "card_overrides": {
      +              "description": "Match by creative_id or creative_name. Omitted fields inherit group copy, template link and CTA.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Copy inherits from the group.",
      +                "oneOf": [
      +                  {
      +                    "properties": {
      +                      "creative_name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "creative_name"
      +                    ]
      +                  }
      +                ],
      +                "properties": {
      +                  "creative_name": {
      +                    "maxLength": 500,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "cta": {
      +                    "description": "Meta CTA, e.g. LEARN_MORE, SHOP_NOW, SIGN_UP. Free text works. Omit to inherit. Web/app exclude phone, message and profile CTAs.",
      +                    "maxLength": 100,
      +                    "type": "string"
      +                  },
      +                  "description": {
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  },
      +                  "display_link": {
      +                    "description": "Display URL shown under the card (caption).",
      +                    "maxLength": 255,
      +                    "type": "string"
      +                  },
      +                  "link_url": {
      +                    "description": "Card landing URL.",
      +                    "maxLength": 2048,
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Card headline.",
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "creative_names": {
      +              "items": {
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_names": {
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_overrides": {
      +        "description": "One per creative_name. Missing title/body/description inherits overrides.*. With one_per_adset each Ad Set gets its own copy. No new template needed.",
      +        "items": {
      +          "additionalProperties": false,
      +          "oneOf": [
      +            {
      +              "properties": {
      +                "creative_name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "creative_name"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "existing_posts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "oneOf": [
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "string"
      +                    },
      +                    "page_post_id": {
      +                      "type": "null"
      +                    }
      +                  },
      +                  "required": [
      +                    "instagram_media_id"
      +                  ]
      +                },
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "null"
      +                    },
      +                    "page_post_id": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "page_post_id"
      +                  ]
      +                }
      +              ]
      +            }
      +          ],
      +          "description": "One profile-visit ad per post. Use the numeric ID from Instagram media or Page <page_id>_<post_id>.",
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "instagram_media_id": {
      +              "pattern": "^[0-9]{1,32}$",
      +              "type": "string"
      +            },
      +            "page_post_id": {
      +              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "media_mode": {
      +        "enum": [
      +          "single",
      +          "multi"
      +        ],
      +        "type": "string"
      +      },
      +      "mode": {
      +        "default": "creative",
      +        "enum": [
      +          "creative",
      +          "partnership",
      +          "template_source",
      +          "carousel",
      +          "existing_post"
      +        ],
      +        "type": "string"
      +      },
      +      "partnership_rows": {
      +        "items": {
      +          "additionalProperties": false,
      +          "anyOf": [
      +            {
      +              "required": [
      +                "partnership_ad_id"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "original_post_url": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "partnership_ad_id": {
      +              "description": "Meta partnership ad ID.",
      +              "maxLength": 4096,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "source_choice": {
      +              "default": "auto",
      +              "enum": [
      +                "auto",
      +                "new"
      +              ],
      +              "type": "string"
      +            },
      +            "source_ref": {
      +              "pattern": "^(ad|creative):[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "media_mode": {
      +        "const": "single",
      +        "default": "single",
      +        "type": "string"
      +      },
      +      "media_refs": {
      +        "items": {
      +          "maxLength": 2048,
      +          "minLength": 16,
      +          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "account_media",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "media_refs"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / request / properties / native_shell_task_ref
      Added value: +{
      +  "description": "Approval 2: matched shell task_ref, append-adset; omit target IDs.",
      +  "maxLength": 255,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / request / properties / overrides / properties / body / description
      Previous value: -"Shared by every ad; for per-creative copy use creative_source.creative_overrides[]."New value: +"Shared by all ads. See creative_source.creative_overrides."
    • changedInput schema / properties / request / properties / overrides / properties / cta / description
      Previous value: -"Call-to-action button. Common values: LEARN_MORE, SHOP_NOW, SIGN_UP, DOWNLOAD, INSTALL_MOBILE_APP, GET_OFFER, SUBSCRIBE, BOOK_NOW, APPLY_NOW, CONTACT_US, SEE_DETAILS. Free text is accepted and normalised (\"Learn More\" -> LEARN_MORE); Meta has more types than are listed here. Phone, message and profile CTAs do not fit a website or app destination. Omit to keep the template's CTA."New value: +"Meta CTA, e.g. LEARN_MORE, SHOP_NOW, SIGN_UP. Free text works. Omit to inherit. Web/app exclude phone, message and profile CTAs."
    • changedInput schema / properties / request / properties / overrides / properties / description / description
      Previous value: -"Shared by every ad; for per-creative copy use creative_source.creative_overrides[]."New value: +"Shared by all ads. See creative_source.creative_overrides."
    • changedInput schema / properties / request / properties / overrides / properties / display_link / description
      Previous value: -"Display URL shown under single-image and carousel ads (link_data.caption). Ignored for video ads, which have no such field."New value: +"Image/carousel display URL. Ignored for video."
    • changedInput schema / properties / request / properties / overrides / properties / title / description
      Previous value: -"Shared by every ad; for per-creative copy use creative_source.creative_overrides[]."New value: +"Shared by all ads. See creative_source.creative_overrides."
    • addedInput schema / properties / request / properties / structure_source
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "kind": {
      +      "const": "native_shell",
      +      "description": "Approval 1: empty PAUSED copy in the same campaign.",
      +      "type": "string"
      +    },
      +    "name": {
      +      "maxLength": 500,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "rename_options": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "rename_prefix": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "rename_suffix": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "source_adset_id": {
      +      "pattern": "^[0-9]{1,32}$",
      +      "type": "string"
      +    },
      +    "status": {
      +      "const": "PAUSED",
      +      "type": "string"
      +    },
      +    "target_campaign_id": {
      +      "pattern": "^[0-9]{1,32}$",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "source_adset_id",
      +    "target_campaign_id"
      +  ],
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "oneOf": [
      -      {
      -        "anyOf": [
      -          {
      -            "properties": {
      -              "creative_names": {
      -                "minItems": 1,
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "creative_names"
      -            ]
      -          }
      -        ],
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "creative"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        }
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "partnership"
      -          },
      -          "partnership_rows": {
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "partnership_rows"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "template_source"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "carousel"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "carousel_groups"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "existing_post"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "existing_posts"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "ad_name": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "carousel_groups": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "properties": {
      -                "creative_names": {
      -                  "minItems": 2,
      -                  "not": {
      -                    "type": "null"
      -                  }
      -                }
      -              },
      -              "required": [
      -                "creative_names"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "card_overrides": {
      -              "description": "Optional per-card title, description, link_url, cta and display_link, each matched to a card by creative_id/creative_name. A field left out falls back to this group's title/description and the template's link and CTA.",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Copy for one carousel card; every field left out uses the group's value.",
      -                "oneOf": [
      -                  {
      -                    "properties": {
      -                      "creative_name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "creative_name"
      -                    ]
      -                  }
      -                ],
      -                "properties": {
      -                  "creative_name": {
      -                    "maxLength": 500,
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "cta": {
      -                    "description": "Call-to-action button. Common values: LEARN_MORE, SHOP_NOW, SIGN_UP, DOWNLOAD, INSTALL_MOBILE_APP, GET_OFFER, SUBSCRIBE, BOOK_NOW, APPLY_NOW, CONTACT_US, SEE_DETAILS. Free text is accepted and normalised (\"Learn More\" -> LEARN_MORE); Meta has more types than are listed here. Phone, message and profile CTAs do not fit a website or app destination. Omit to keep the template's CTA.",
      -                    "maxLength": 100,
      -                    "type": "string"
      -                  },
      -                  "description": {
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  },
      -                  "display_link": {
      -                    "description": "Display URL shown under the card (caption).",
      -                    "maxLength": 255,
      -                    "type": "string"
      -                  },
      -                  "link_url": {
      -                    "description": "Card landing URL.",
      -                    "maxLength": 2048,
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Card headline.",
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "creative_names": {
      -              "items": {
      -                "maxLength": 500,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_names": {
      -        "items": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_overrides": {
      -        "description": "Per-creative copy: one entry per creative_name with optional title/body/description; omitted fields inherit overrides.*. With one_per_adset each Ad Set gets its own copy. No new template needed.",
      -        "items": {
      -          "additionalProperties": false,
      -          "oneOf": [
      -            {
      -              "properties": {
      -                "creative_name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "creative_name"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "creative_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "existing_posts": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "oneOf": [
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "string"
      -                    },
      -                    "page_post_id": {
      -                      "type": "null"
      -                    }
      -                  },
      -                  "required": [
      -                    "instagram_media_id"
      -                  ]
      -                },
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "null"
      -                    },
      -                    "page_post_id": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "page_post_id"
      -                  ]
      -                }
      -              ]
      -            }
      -          ],
      -          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "instagram_media_id": {
      -              "pattern": "^[0-9]{1,32}$",
      -              "type": "string"
      -            },
      -            "page_post_id": {
      -              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "media_mode": {
      -        "enum": [
      -          "single",
      -          "multi"
      -        ],
      -        "type": "string"
      -      },
      -      "mode": {
      -        "default": "creative",
      -        "enum": [
      -          "creative",
      -          "partnership",
      -          "template_source",
      -          "carousel",
      -          "existing_post"
      -        ],
      -        "type": "string"
      -      },
      -      "partnership_rows": {
      -        "items": {
      -          "additionalProperties": false,
      -          "anyOf": [
      -            {
      -              "required": [
      -                "partnership_ad_id"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "original_post_url": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "partnership_ad_id": {
      -              "description": "Meta partnership ad ID.",
      -              "maxLength": 4096,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "source_choice": {
      -              "default": "auto",
      -              "enum": [
      -                "auto",
      -                "new"
      -              ],
      -              "type": "string"
      -            },
      -            "source_ref": {
      -              "pattern": "^(ad|creative):[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "media_mode": {
      -        "const": "single",
      -        "default": "single",
      -        "type": "string"
      -      },
      -      "media_refs": {
      -        "items": {
      -          "maxLength": 2048,
      -          "minLength": 16,
      -          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "const": "account_media",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "media_refs"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "oneOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "creative_names": {
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "creative_names"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "creative"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        }
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "partnership"
      +          },
      +          "partnership_rows": {
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "partnership_rows"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "template_source"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "carousel"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "carousel_groups"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "existing_post"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "existing_posts"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "ad_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "carousel_groups": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "properties": {
      +                "creative_names": {
      +                  "minItems": 2,
      +                  "not": {
      +                    "type": "null"
      +                  }
      +                }
      +              },
      +              "required": [
      +                "creative_names"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "card_overrides": {
      +              "description": "Optional per-card title, description, link_url, cta and display_link, each matched to a card by creative_id/creative_name. A field left out falls back to this group's title/description and the template's link and CTA.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Copy for one carousel card; every field left out uses the group's value.",
      +                "oneOf": [
      +                  {
      +                    "properties": {
      +                      "creative_name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "creative_name"
      +                    ]
      +                  }
      +                ],
      +                "properties": {
      +                  "creative_name": {
      +                    "maxLength": 500,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "cta": {
      +                    "description": "Call-to-action button. Common values: LEARN_MORE, SHOP_NOW, SIGN_UP, DOWNLOAD, INSTALL_MOBILE_APP, GET_OFFER, SUBSCRIBE, BOOK_NOW, APPLY_NOW, CONTACT_US, SEE_DETAILS. Free text is accepted and normalised (\"Learn More\" -> LEARN_MORE); Meta has more types than are listed here. Phone, message and profile CTAs do not fit a website or app destination. Omit to keep the template's CTA.",
      +                    "maxLength": 100,
      +                    "type": "string"
      +                  },
      +                  "description": {
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  },
      +                  "display_link": {
      +                    "description": "Display URL shown under the card (caption).",
      +                    "maxLength": 255,
      +                    "type": "string"
      +                  },
      +                  "link_url": {
      +                    "description": "Card landing URL.",
      +                    "maxLength": 2048,
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Card headline.",
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "creative_names": {
      +              "items": {
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_names": {
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_overrides": {
      +        "description": "Per-creative copy: one entry per creative_name with optional title/body/description; omitted fields inherit overrides.*. With one_per_adset each Ad Set gets its own copy. No new template needed.",
      +        "items": {
      +          "additionalProperties": false,
      +          "oneOf": [
      +            {
      +              "properties": {
      +                "creative_name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "creative_name"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "existing_posts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "oneOf": [
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "string"
      +                    },
      +                    "page_post_id": {
      +                      "type": "null"
      +                    }
      +                  },
      +                  "required": [
      +                    "instagram_media_id"
      +                  ]
      +                },
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "null"
      +                    },
      +                    "page_post_id": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "page_post_id"
      +                  ]
      +                }
      +              ]
      +            }
      +          ],
      +          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric ``id`` of an item in the Instagram account's media list\nor the Page post id ``<page_id>_<post_id>``. URLs and shortcodes are not accepted.",
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "instagram_media_id": {
      +              "pattern": "^[0-9]{1,32}$",
      +              "type": "string"
      +            },
      +            "page_post_id": {
      +              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "media_mode": {
      +        "enum": [
      +          "single",
      +          "multi"
      +        ],
      +        "type": "string"
      +      },
      +      "mode": {
      +        "default": "creative",
      +        "enum": [
      +          "creative",
      +          "partnership",
      +          "template_source",
      +          "carousel",
      +          "existing_post"
      +        ],
      +        "type": "string"
      +      },
      +      "partnership_rows": {
      +        "items": {
      +          "additionalProperties": false,
      +          "anyOf": [
      +            {
      +              "required": [
      +                "partnership_ad_id"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "original_post_url": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "partnership_ad_id": {
      +              "description": "Meta partnership ad ID.",
      +              "maxLength": 4096,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "source_choice": {
      +              "default": "auto",
      +              "enum": [
      +                "auto",
      +                "new"
      +              ],
      +              "type": "string"
      +            },
      +            "source_ref": {
      +              "pattern": "^(ad|creative):[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "media_mode": {
      +        "const": "single",
      +        "default": "single",
      +        "type": "string"
      +      },
      +      "media_refs": {
      +        "items": {
      +          "maxLength": 2048,
      +          "minLength": 16,
      +          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "account_media",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "media_refs"
      +    ],
      +    "type": "object"
      +  }
      +]
  7. Changed2 schema fields changed
    • addedInput schema / $defs / 0 / properties / country_groups
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 300,
      +  "type": "array"
      +}
    • addedInput schema / $defs / 0 / properties / excluded_country_groups
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 300,
      +  "type": "array"
      +}
  8. Changed6 schema fields changed
    • addedInput schema / properties / request / properties / adset_naming / description
      Added value: +"Ad Set name pattern. {name} = rendered Campaign name; {index} = Ad Set number from 1 (continues after existing Ad Sets when appending). Use {index} so Ad Sets get distinct names."
    • addedInput schema / properties / request / properties / campaign_naming / description
      Added value: +"Campaign name pattern. {index} = campaign number from 1; {name} = the literal \"Campaign\". Use {index} when campaign_count > 1."
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "oneOf": [
      -      {
      -        "anyOf": [
      -          {
      -            "properties": {
      -              "creative_names": {
      -                "minItems": 1,
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "creative_names"
      -            ]
      -          }
      -        ],
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "creative"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        }
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "partnership"
      -          },
      -          "partnership_rows": {
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "partnership_rows"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "template_source"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "carousel"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "carousel_groups"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "existing_post"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "existing_posts"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "ad_name": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "carousel_groups": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "properties": {
      -                "creative_names": {
      -                  "minItems": 2,
      -                  "not": {
      -                    "type": "null"
      -                  }
      -                }
      -              },
      -              "required": [
      -                "creative_names"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "card_overrides": {
      -              "description": "Optional per-card title, description, link_url, cta and display_link, each matched to a card by creative_id/creative_name. A field left out falls back to this group's title/description and the template's link and CTA.",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "Copy for one carousel card; every field left out uses the group's value.",
      -                "oneOf": [
      -                  {
      -                    "properties": {
      -                      "creative_name": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "creative_name"
      -                    ]
      -                  }
      -                ],
      -                "properties": {
      -                  "creative_name": {
      -                    "maxLength": 500,
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "cta": {
      -                    "description": "Call-to-action button. Common values: LEARN_MORE, SHOP_NOW, SIGN_UP, DOWNLOAD, INSTALL_MOBILE_APP, GET_OFFER, SUBSCRIBE, BOOK_NOW, APPLY_NOW, CONTACT_US, SEE_DETAILS. Free text is accepted and normalised (\"Learn More\" -> LEARN_MORE); Meta has more types than are listed here. Phone, message and profile CTAs do not fit a website or app destination. Omit to keep the template's CTA.",
      -                    "maxLength": 100,
      -                    "type": "string"
      -                  },
      -                  "description": {
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  },
      -                  "display_link": {
      -                    "description": "Display URL shown under the card (caption).",
      -                    "maxLength": 255,
      -                    "type": "string"
      -                  },
      -                  "link_url": {
      -                    "description": "Card landing URL.",
      -                    "maxLength": 2048,
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "description": "Card headline.",
      -                    "maxLength": 500,
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "creative_names": {
      -              "items": {
      -                "maxLength": 500,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_names": {
      -        "items": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_overrides": {
      -        "items": {
      -          "additionalProperties": false,
      -          "oneOf": [
      -            {
      -              "properties": {
      -                "creative_name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "creative_name"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "creative_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "existing_posts": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "oneOf": [
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "string"
      -                    },
      -                    "page_post_id": {
      -                      "type": "null"
      -                    }
      -                  },
      -                  "required": [
      -                    "instagram_media_id"
      -                  ]
      -                },
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "null"
      -                    },
      -                    "page_post_id": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "page_post_id"
      -                  ]
      -                }
      -              ]
      -            }
      -          ],
      -          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "instagram_media_id": {
      -              "pattern": "^[0-9]{1,32}$",
      -              "type": "string"
      -            },
      -            "page_post_id": {
      -              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "media_mode": {
      -        "enum": [
      -          "single",
      -          "multi"
      -        ],
      -        "type": "string"
      -      },
      -      "mode": {
      -        "default": "creative",
      -        "enum": [
      -          "creative",
      -          "partnership",
      -          "template_source",
      -          "carousel",
      -          "existing_post"
      -        ],
      -        "type": "string"
      -      },
      -      "partnership_rows": {
      -        "items": {
      -          "additionalProperties": false,
      -          "anyOf": [
      -            {
      -              "required": [
      -                "partnership_ad_id"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "original_post_url": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "partnership_ad_id": {
      -              "description": "Meta partnership ad ID.",
      -              "maxLength": 4096,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "source_choice": {
      -              "default": "auto",
      -              "enum": [
      -                "auto",
      -                "new"
      -              ],
      -              "type": "string"
      -            },
      -            "source_ref": {
      -              "pattern": "^(ad|creative):[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "media_mode": {
      -        "const": "single",
      -        "default": "single",
      -        "type": "string"
      -      },
      -      "media_refs": {
      -        "items": {
      -          "maxLength": 2048,
      -          "minLength": 16,
      -          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "const": "account_media",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "media_refs"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "oneOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "creative_names": {
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "creative_names"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "creative"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        }
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "partnership"
      +          },
      +          "partnership_rows": {
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "partnership_rows"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "template_source"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "carousel"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "carousel_groups"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "existing_post"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "existing_posts"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "ad_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "carousel_groups": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "properties": {
      +                "creative_names": {
      +                  "minItems": 2,
      +                  "not": {
      +                    "type": "null"
      +                  }
      +                }
      +              },
      +              "required": [
      +                "creative_names"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "card_overrides": {
      +              "description": "Optional per-card title, description, link_url, cta and display_link, each matched to a card by creative_id/creative_name. A field left out falls back to this group's title/description and the template's link and CTA.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Copy for one carousel card; every field left out uses the group's value.",
      +                "oneOf": [
      +                  {
      +                    "properties": {
      +                      "creative_name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "creative_name"
      +                    ]
      +                  }
      +                ],
      +                "properties": {
      +                  "creative_name": {
      +                    "maxLength": 500,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "cta": {
      +                    "description": "Call-to-action button. Common values: LEARN_MORE, SHOP_NOW, SIGN_UP, DOWNLOAD, INSTALL_MOBILE_APP, GET_OFFER, SUBSCRIBE, BOOK_NOW, APPLY_NOW, CONTACT_US, SEE_DETAILS. Free text is accepted and normalised (\"Learn More\" -> LEARN_MORE); Meta has more types than are listed here. Phone, message and profile CTAs do not fit a website or app destination. Omit to keep the template's CTA.",
      +                    "maxLength": 100,
      +                    "type": "string"
      +                  },
      +                  "description": {
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  },
      +                  "display_link": {
      +                    "description": "Display URL shown under the card (caption).",
      +                    "maxLength": 255,
      +                    "type": "string"
      +                  },
      +                  "link_url": {
      +                    "description": "Card landing URL.",
      +                    "maxLength": 2048,
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Card headline.",
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "creative_names": {
      +              "items": {
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_names": {
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_overrides": {
      +        "description": "Per-creative copy: one entry per creative_name with optional title/body/description; omitted fields inherit overrides.*. With one_per_adset each Ad Set gets its own copy. No new template needed.",
      +        "items": {
      +          "additionalProperties": false,
      +          "oneOf": [
      +            {
      +              "properties": {
      +                "creative_name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "creative_name"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "existing_posts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "oneOf": [
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "string"
      +                    },
      +                    "page_post_id": {
      +                      "type": "null"
      +                    }
      +                  },
      +                  "required": [
      +                    "instagram_media_id"
      +                  ]
      +                },
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "null"
      +                    },
      +                    "page_post_id": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "page_post_id"
      +                  ]
      +                }
      +              ]
      +            }
      +          ],
      +          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "instagram_media_id": {
      +              "pattern": "^[0-9]{1,32}$",
      +              "type": "string"
      +            },
      +            "page_post_id": {
      +              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "media_mode": {
      +        "enum": [
      +          "single",
      +          "multi"
      +        ],
      +        "type": "string"
      +      },
      +      "mode": {
      +        "default": "creative",
      +        "enum": [
      +          "creative",
      +          "partnership",
      +          "template_source",
      +          "carousel",
      +          "existing_post"
      +        ],
      +        "type": "string"
      +      },
      +      "partnership_rows": {
      +        "items": {
      +          "additionalProperties": false,
      +          "anyOf": [
      +            {
      +              "required": [
      +                "partnership_ad_id"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "original_post_url": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "partnership_ad_id": {
      +              "description": "Meta partnership ad ID.",
      +              "maxLength": 4096,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "source_choice": {
      +              "default": "auto",
      +              "enum": [
      +                "auto",
      +                "new"
      +              ],
      +              "type": "string"
      +            },
      +            "source_ref": {
      +              "pattern": "^(ad|creative):[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "media_mode": {
      +        "const": "single",
      +        "default": "single",
      +        "type": "string"
      +      },
      +      "media_refs": {
      +        "items": {
      +          "maxLength": 2048,
      +          "minLength": 16,
      +          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "account_media",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "media_refs"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / request / properties / overrides / properties / body / description
      Added value: +"Shared by every ad; for per-creative copy use creative_source.creative_overrides[]."
    • addedInput schema / properties / request / properties / overrides / properties / description / description
      Added value: +"Shared by every ad; for per-creative copy use creative_source.creative_overrides[]."
    • addedInput schema / properties / request / properties / overrides / properties / title / description
      Added value: +"Shared by every ad; for per-creative copy use creative_source.creative_overrides[]."
  9. Changed1 schema field changed
    • removedInput schema / properties / connection_context
      Removed value: -{
      -  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      -  "type": "string"
      -}
  10. Changed3 schema fields changed
    • removedOutput schema / $defs
      Removed value: -{
      -  "s0": {
      -    "properties": {
      -      "amount": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "daily_budget": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "level": {
      -        "type": "string"
      -      },
      -      "mode": {
      -        "type": "string"
      -      },
      -      "total_daily_budget": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "unit": {
      -        "type": "string"
      -      }
      -    },
      -    "type": [
      -      "null",
      -      "object"
      -    ]
      -  },
      -  "s1": {
      -    "properties": {
      -      "amount": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "currency": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "daily_budget": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "level": {
      -        "type": "string"
      -      },
      -      "mode": {
      -        "type": "string"
      -      },
      -      "total_daily_budget": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "unit": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "s2": {
      -    "items": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "anyOf": [
      -            {
      -              "properties": {
      -                "code": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "code"
      -              ]
      -            },
      -            {
      -              "required": [
      -                "message"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "message": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      ]
      -    },
      -    "type": "array"
      -  }
      -}
    • changedOutput schema / else / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "approval_request": {
      -        "properties": {
      -          "approval_ref": {
      -            "type": "string"
      -          },
      -          "confirm_token": {
      -            "type": "string"
      -          },
      -          "confirm_tool": {
      -            "type": "string"
      -          },
      -          "expires_at": {
      -            "type": "string"
      -          },
      -          "instruction_template_id": {
      -            "type": "string"
      -          },
      -          "mode": {
      -            "type": "string"
      -          },
      -          "plan_digest": {
      -            "type": "string"
      -          },
      -          "schema_version": {
      -            "type": "integer"
      -          },
      -          "status": {
      -            "const": "approval_required"
      -          },
      -          "summary": {
      -            "properties": {
      -              "account_currency": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "action": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_count": {
      -                "type": "integer"
      -              },
      -              "ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_count": {
      -                "type": "integer"
      -              },
      -              "adset_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "bid": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "budget": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "campaign_count": {
      -                "type": "integer"
      -              },
      -              "campaign_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "campaign_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "change_percent": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "copies": {
      -                "type": "integer"
      -              },
      -              "count": {
      -                "type": "integer"
      -              },
      -              "creative_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "creative_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "cross_account": {
      -                "type": "boolean"
      -              },
      -              "current_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "engagement_mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_type": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "groups": {
      -                "items": {
      -                  "properties": {
      -                    "adsets": {
      -                      "items": {
      -                        "properties": {
      -                          "name": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "target_adset_id": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "bid": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "budget": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "campaign_name": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "layout": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "items": {
      -                "items": {
      -                  "properties": {
      -                    "ad_account_id": {
      -                      "type": "string"
      -                    },
      -                    "ad_id": {
      -                      "type": "string"
      -                    },
      -                    "campaign_id": {
      -                      "type": "string"
      -                    },
      -                    "current_configured_status": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "current_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "new_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "target_configured_status": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "new_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "note": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "preflight": {
      -                "properties": {
      -                  "ad_account_id": {
      -                    "type": "string"
      -                  },
      -                  "billing": {
      -                    "properties": {
      -                      "available_funds_major": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "balance_semantics": {
      -                        "type": "string"
      -                      },
      -                      "currency": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "low_remaining_spend_cap": {
      -                        "type": "boolean"
      -                      },
      -                      "note": {
      -                        "type": "string"
      -                      },
      -                      "reported_balance_major": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend_cap_remaining_major": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "checked_at": {
      -                    "type": "string"
      -                  },
      -                  "checks": {
      -                    "items": {
      -                      "properties": {
      -                        "asset_id": {
      -                          "type": "string"
      -                        },
      -                        "asset_type": {
      -                          "type": "string"
      -                        },
      -                        "message": {
      -                          "type": "string"
      -                        },
      -                        "provider_error_code": {
      -                          "type": "integer"
      -                        },
      -                        "provider_error_subcode": {
      -                          "type": "integer"
      -                        },
      -                        "reason_code": {
      -                          "type": "string"
      -                        },
      -                        "status": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "status": {
      -                    "type": "string"
      -                  },
      -                  "timing": {
      -                    "properties": {
      -                      "account_local_now": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "hours_left_today": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "note": {
      -                        "type": "string"
      -                      },
      -                      "schedule_valid": {
      -                        "type": "boolean"
      -                      },
      -                      "timezone_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "utc_offset_hours": {
      -                        "type": "number"
      -                      },
      -                      "windows": {
      -                        "items": {
      -                          "properties": {
      -                            "end_time": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "hours_remaining": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "hours_until_start": {
      -                              "type": "number"
      -                            },
      -                            "paused": {
      -                              "type": "boolean"
      -                            },
      -                            "potential_delivery_hours_today": {
      -                              "type": "number"
      -                            },
      -                            "start_time": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            }
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "version": {
      -                    "type": "integer"
      -                  },
      -                  "warnings": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "required": [
      -                  "version",
      -                  "checked_at",
      -                  "ad_account_id",
      -                  "status",
      -                  "checks",
      -                  "warnings"
      -                ],
      -                "type": "object"
      -              },
      -              "publish_start_label": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_level": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "statuses": {
      -                "properties": {
      -                  "ad": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "adset": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "campaign": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "structure": {
      -                "properties": {
      -                  "ads": {
      -                    "type": "integer"
      -                  },
      -                  "adsets": {
      -                    "type": "integer"
      -                  },
      -                  "auxiliary_writes": {
      -                    "type": "integer"
      -                  },
      -                  "campaigns": {
      -                    "type": "integer"
      -                  },
      -                  "creative_keys": {
      -                    "type": "integer"
      -                  },
      -                  "layouts": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "target_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "template_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "warnings": {
      -                "$ref": "#/$defs/s2"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "tool_name": {
      -            "type": "string"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "warnings": {
      -            "$ref": "#/$defs/s2"
      -          }
      -        },
      -        "required": [
      -          "status",
      -          "confirm_token",
      -          "expires_at",
      -          "summary"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "approval_request"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "missing_requirements": {
      -        "items": {
      -          "properties": {
      -            "field": {
      -              "type": "string"
      -            },
      -            "message": {
      -              "type": "string"
      -            },
      -            "override_path": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "safe_to_retry_with_user_input": {
      -        "const": true
      -      },
      -      "status": {
      -        "const": "needs_input"
      -      },
      -      "user_instruction": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "user_instruction",
      -      "safe_to_retry_with_user_input"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "account_blocker_code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "account_blocker_label": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ad_account_id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ad_account_name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "automatic_retry_allowed": {
      -        "type": "boolean"
      -      },
      -      "category": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "invalid_fields": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "manual_new_task_allowed": {
      -        "type": "boolean"
      -      },
      -      "narrative": {
      -        "properties": {
      -          "details": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "headline": {
      -            "type": "string"
      -          },
      -          "summary": {
      -            "type": "string"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "what_happens_next": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "operator_review_required": {
      -        "type": "boolean"
      -      },
      -      "status": {
      -        "const": "blocked"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/s2"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "narrative"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "approval_request"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "safe_to_retry_with_user_input": {
      +        "const": true
      +      },
      +      "status": {
      +        "const": "needs_input"
      +      }
      +    },
      +    "required": [
      +      "safe_to_retry_with_user_input",
      +      "status",
      +      "user_instruction"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "status": {
      +        "const": "blocked"
      +      }
      +    },
      +    "required": [
      +      "narrative",
      +      "status"
      +    ]
      +  }
      +]
    • addedOutput schema / else / else / properties
      Added value: +{
      +  "account_blocker_code": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "account_blocker_label": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "ad_account_id": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "ad_account_name": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "approval_request": {
      +    "properties": {
      +      "approval_ref": {
      +        "type": "string"
      +      },
      +      "confirm_token": {
      +        "type": "string"
      +      },
      +      "confirm_tool": {
      +        "type": "string"
      +      },
      +      "expires_at": {
      +        "type": "string"
      +      },
      +      "instruction_template_id": {
      +        "type": "string"
      +      },
      +      "mode": {
      +        "type": "string"
      +      },
      +      "plan_digest": {
      +        "type": "string"
      +      },
      +      "schema_version": {
      +        "type": "integer"
      +      },
      +      "status": {
      +        "const": "approval_required"
      +      },
      +      "summary": {
      +        "properties": {
      +          "account_currency": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "action": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ad_account_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ad_count": {
      +            "type": "integer"
      +          },
      +          "ad_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ad_name_after": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ad_name_before": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ad_status": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "adset_count": {
      +            "type": "integer"
      +          },
      +          "adset_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "adset_status": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "bid": {
      +            "properties": {
      +              "amount": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "currency": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "level": {
      +                "type": "string"
      +              },
      +              "mode": {
      +                "type": "string"
      +              },
      +              "total_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "unit": {
      +                "type": "string"
      +              }
      +            },
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "budget": {
      +            "properties": {
      +              "amount": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "currency": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "level": {
      +                "type": "string"
      +              },
      +              "mode": {
      +                "type": "string"
      +              },
      +              "total_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "unit": {
      +                "type": "string"
      +              }
      +            },
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "campaign_count": {
      +            "type": "integer"
      +          },
      +          "campaign_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "campaign_status": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "change_percent": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "copies": {
      +            "type": "integer"
      +          },
      +          "count": {
      +            "type": "integer"
      +          },
      +          "creative_after": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "creative_before": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "cross_account": {
      +            "type": "boolean"
      +          },
      +          "current_daily_budget": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "engagement_mode": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "entity_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "entity_type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "groups": {
      +            "items": {
      +              "properties": {
      +                "adsets": {
      +                  "items": {
      +                    "properties": {
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "target_adset_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "bid": {
      +                  "properties": {
      +                    "amount": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "currency": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "level": {
      +                      "type": "string"
      +                    },
      +                    "mode": {
      +                      "type": "string"
      +                    },
      +                    "total_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "unit": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "budget": {
      +                  "properties": {
      +                    "amount": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "currency": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "level": {
      +                      "type": "string"
      +                    },
      +                    "mode": {
      +                      "type": "string"
      +                    },
      +                    "total_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "unit": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "campaign_name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "layout": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "items": {
      +            "items": {
      +              "properties": {
      +                "ad_account_id": {
      +                  "type": "string"
      +                },
      +                "ad_id": {
      +                  "type": "string"
      +                },
      +                "campaign_id": {
      +                  "type": "string"
      +                },
      +                "current_configured_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "current_daily_budget": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "new_daily_budget": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "target_configured_status": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "mode": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "new_daily_budget": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "note": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page_id_after": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page_id_before": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "preflight": {
      +            "properties": {
      +              "ad_account_id": {
      +                "type": "string"
      +              },
      +              "billing": {
      +                "properties": {
      +                  "available_funds_major": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "balance_semantics": {
      +                    "type": "string"
      +                  },
      +                  "currency": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "low_remaining_spend_cap": {
      +                    "type": "boolean"
      +                  },
      +                  "note": {
      +                    "type": "string"
      +                  },
      +                  "reported_balance_major": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "spend_cap_remaining_major": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "checked_at": {
      +                "type": "string"
      +              },
      +              "checks": {
      +                "items": {
      +                  "properties": {
      +                    "asset_id": {
      +                      "type": "string"
      +                    },
      +                    "asset_type": {
      +                      "type": "string"
      +                    },
      +                    "message": {
      +                      "type": "string"
      +                    },
      +                    "provider_error_code": {
      +                      "type": "integer"
      +                    },
      +                    "provider_error_subcode": {
      +                      "type": "integer"
      +                    },
      +                    "reason_code": {
      +                      "type": "string"
      +                    },
      +                    "status": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "status": {
      +                "type": "string"
      +              },
      +              "timing": {
      +                "properties": {
      +                  "account_local_now": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "hours_left_today": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "note": {
      +                    "type": "string"
      +                  },
      +                  "schedule_valid": {
      +                    "type": "boolean"
      +                  },
      +                  "timezone_name": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "utc_offset_hours": {
      +                    "type": "number"
      +                  },
      +                  "windows": {
      +                    "items": {
      +                      "properties": {
      +                        "end_time": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "hours_remaining": {
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "hours_until_start": {
      +                          "type": "number"
      +                        },
      +                        "paused": {
      +                          "type": "boolean"
      +                        },
      +                        "potential_delivery_hours_today": {
      +                          "type": "number"
      +                        },
      +                        "start_time": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "version": {
      +                "type": "integer"
      +              },
      +              "warnings": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "version",
      +              "checked_at",
      +              "ad_account_id",
      +              "status",
      +              "checks",
      +              "warnings"
      +            ],
      +            "type": "object"
      +          },
      +          "publish_start_label": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_ad_account_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_ad_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_level": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "statuses": {
      +            "properties": {
      +              "ad": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "adset": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "campaign": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "structure": {
      +            "properties": {
      +              "ads": {
      +                "type": "integer"
      +              },
      +              "adsets": {
      +                "type": "integer"
      +              },
      +              "auxiliary_writes": {
      +                "type": "integer"
      +              },
      +              "campaigns": {
      +                "type": "integer"
      +              },
      +              "creative_keys": {
      +                "type": "integer"
      +              },
      +              "layouts": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "target_ad_account_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "template_name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "warnings": {
      +            "items": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "anyOf": [
      +                    {
      +                      "properties": {
      +                        "code": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "code"
      +                      ]
      +                    },
      +                    {
      +                      "required": [
      +                        "message"
      +                      ]
      +                    }
      +                  ],
      +                  "properties": {
      +                    "message": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "tool_name": {
      +        "type": "string"
      +      },
      +      "user_instruction": {
      +        "type": "string"
      +      },
      +      "warnings": {
      +        "items": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "anyOf": [
      +                {
      +                  "properties": {
      +                    "code": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "code"
      +                  ]
      +                },
      +                {
      +                  "required": [
      +                    "message"
      +                  ]
      +                }
      +              ],
      +              "properties": {
      +                "message": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "confirm_token",
      +      "expires_at",
      +      "summary"
      +    ],
      +    "type": "object"
      +  },
      +  "automatic_retry_allowed": {
      +    "type": "boolean"
      +  },
      +  "category": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "code": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "invalid_fields": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "manual_new_task_allowed": {
      +    "type": "boolean"
      +  },
      +  "missing_requirements": {
      +    "items": {
      +      "properties": {
      +        "field": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "override_path": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "narrative": {
      +    "properties": {
      +      "details": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "headline": {
      +        "type": "string"
      +      },
      +      "summary": {
      +        "type": "string"
      +      },
      +      "user_instruction": {
      +        "type": "string"
      +      },
      +      "what_happens_next": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "operator_review_required": {
      +    "type": "boolean"
      +  },
      +  "safe_to_retry_with_user_input": {
      +    "const": true
      +  },
      +  "status": {
      +    "type": "string"
      +  },
      +  "user_instruction": {
      +    "type": "string"
      +  },
      +  "warnings": {
      +    "items": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "anyOf": [
      +            {
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code"
      +              ]
      +            },
      +            {
      +              "required": [
      +                "message"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "message": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "type": "array"
      +  }
      +}
  11. Changed22 schema fields changed
    • addedInput schema / $defs
      Added value: +{
      +  "0": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "age": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "max": {
      +            "maximum": 65,
      +            "minimum": 13,
      +            "type": "integer"
      +          },
      +          "min": {
      +            "maximum": 65,
      +            "minimum": 13,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "min"
      +        ],
      +        "type": "object"
      +      },
      +      "cities": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "country": {
      +              "maxLength": 200,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "name": {
      +              "maxLength": 200,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "region": {
      +              "maxLength": 200,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "country"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "countries": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "maxItems": 300,
      +        "type": "array"
      +      },
      +      "excluded_countries": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "maxItems": 300,
      +        "type": "array"
      +      },
      +      "gender": {
      +        "default": "all",
      +        "enum": [
      +          "all",
      +          "female",
      +          "male"
      +        ],
      +        "type": "string"
      +      },
      +      "languages": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "languages_mode": {
      +        "enum": [
      +          "restricted",
      +          "all"
      +        ],
      +        "type": "string"
      +      },
      +      "placements": {
      +        "anyOf": [
      +          {
      +            "const": "automatic",
      +            "type": "string"
      +          },
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        ],
      +        "default": "automatic"
      +      },
      +      "regions": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "country": {
      +              "maxLength": 200,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "name": {
      +              "maxLength": 200,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "country"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • changedInput schema / properties / request / allOf
      Previous value: -[
      -  {
      -    "required": [
      -      "template_name"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "creative_source": {
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "creative_source"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "template_name"
      +    ]
      +  },
      +  {
      +    "anyOf": [
      +      {
      +        "properties": {
      +          "creative_source": {
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "creative_source"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "groups"
      +        ]
      +      }
      +    ]
      +  }
      +]
    • addedInput schema / properties / request / properties / activation
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "on_partial": {
      +      "default": "activate_complete",
      +      "enum": [
      +        "activate_complete",
      +        "keep_paused",
      +        "rollback_all"
      +      ],
      +      "type": "string"
      +    },
      +    "requested": {
      +      "default": "paused",
      +      "enum": [
      +        "active",
      +        "paused"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / request / properties / execution / properties / statuses / properties / ad / anyOf
      Added value: +[
      +  {
      +    "description": "Use 开启 or 暂停.",
      +    "enum": [
      +      "开启",
      +      "启用",
      +      "暂停",
      +      "active",
      +      "paused"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "deprecated": true,
      +    "description": "Deprecated platform values; use 开启 or 暂停.",
      +    "enum": [
      +      "ACTIVE",
      +      "PAUSED"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / request / properties / execution / properties / statuses / properties / ad / default
      Added value: +null
    • removedInput schema / properties / request / properties / execution / properties / statuses / properties / ad / enum
      Removed value: -[
      -  "ACTIVE",
      -  "PAUSED"
      -]
    • removedInput schema / properties / request / properties / execution / properties / statuses / properties / ad / type
      Removed value: -"string"
    • addedInput schema / properties / request / properties / execution / properties / statuses / properties / adset / anyOf
      Added value: +[
      +  {
      +    "description": "Use 开启 or 暂停.",
      +    "enum": [
      +      "开启",
      +      "启用",
      +      "暂停",
      +      "active",
      +      "paused"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "deprecated": true,
      +    "description": "Deprecated platform values; use 开启 or 暂停.",
      +    "enum": [
      +      "ACTIVE",
      +      "PAUSED"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / request / properties / execution / properties / statuses / properties / adset / default
      Added value: +null
    • removedInput schema / properties / request / properties / execution / properties / statuses / properties / adset / enum
      Removed value: -[
      -  "ACTIVE",
      -  "PAUSED"
      -]
    • removedInput schema / properties / request / properties / execution / properties / statuses / properties / adset / type
      Removed value: -"string"
    • addedInput schema / properties / request / properties / execution / properties / statuses / properties / campaign / anyOf
      Added value: +[
      +  {
      +    "description": "Use 开启 or 暂停.",
      +    "enum": [
      +      "开启",
      +      "启用",
      +      "暂停",
      +      "active",
      +      "paused"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "deprecated": true,
      +    "description": "Deprecated platform values; use 开启 or 暂停.",
      +    "enum": [
      +      "ACTIVE",
      +      "PAUSED"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / request / properties / execution / properties / statuses / properties / campaign / default
      Added value: +null
    • removedInput schema / properties / request / properties / execution / properties / statuses / properties / campaign / enum
      Removed value: -[
      -  "ACTIVE",
      -  "PAUSED"
      -]
    • removedInput schema / properties / request / properties / execution / properties / statuses / properties / campaign / type
      Removed value: -"string"
    • addedInput schema / properties / request / properties / groups
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "budget": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "creatives": {
      +        "items": {
      +          "maxLength": 2048,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "key": {
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$",
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 300,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "targeting": {
      +        "$ref": "#/$defs/0"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "creatives"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / request / properties / overrides / properties / countries_override / deprecated
      Added value: +true
    • addedInput schema / properties / request / properties / overrides / properties / countries_override / description
      Added value: +"Deprecated: use targeting.countries with country names."
    • changedInput schema / properties / request / properties / overrides / properties / countries_override / items / maxLength
      Previous value: -8New value: +200
    • addedInput schema / properties / request / properties / overrides / properties / locales_override / deprecated
      Added value: +true
    • addedInput schema / properties / request / properties / overrides / properties / locales_override / description
      Added value: +"Deprecated: use targeting.languages with language names."
    • addedInput schema / properties / request / properties / targeting
      Added value: +{
      +  "$ref": "#/$defs/0",
      +  "description": "Use language and country names, for example {\"languages\": [\"英语\"], \"countries\": [\"美国\"]}."
      +}
  12. Changed1 schema field changed
    • changedOutput schema / else / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "approval_request": {
      -        "properties": {
      -          "approval_ref": {
      -            "type": "string"
      -          },
      -          "confirm_token": {
      -            "type": "string"
      -          },
      -          "expires_at": {
      -            "type": "string"
      -          },
      -          "mode": {
      -            "type": "string"
      -          },
      -          "plan_digest": {
      -            "type": "string"
      -          },
      -          "schema_version": {
      -            "type": "integer"
      -          },
      -          "status": {
      -            "const": "approval_required"
      -          },
      -          "summary": {
      -            "properties": {
      -              "account_currency": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "action": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_count": {
      -                "type": "integer"
      -              },
      -              "ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_count": {
      -                "type": "integer"
      -              },
      -              "adset_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "bid": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "budget": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "campaign_count": {
      -                "type": "integer"
      -              },
      -              "campaign_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "campaign_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "change_percent": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "copies": {
      -                "type": "integer"
      -              },
      -              "count": {
      -                "type": "integer"
      -              },
      -              "creative_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "creative_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "cross_account": {
      -                "type": "boolean"
      -              },
      -              "current_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "engagement_mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_type": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "groups": {
      -                "items": {
      -                  "properties": {
      -                    "adsets": {
      -                      "items": {
      -                        "properties": {
      -                          "name": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "target_adset_id": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "bid": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "budget": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "campaign_name": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "layout": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "items": {
      -                "items": {
      -                  "properties": {
      -                    "ad_account_id": {
      -                      "type": "string"
      -                    },
      -                    "ad_id": {
      -                      "type": "string"
      -                    },
      -                    "campaign_id": {
      -                      "type": "string"
      -                    },
      -                    "current_configured_status": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "current_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "new_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "target_configured_status": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "new_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "note": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "preflight": {
      -                "properties": {
      -                  "ad_account_id": {
      -                    "type": "string"
      -                  },
      -                  "billing": {
      -                    "properties": {
      -                      "available_funds_major": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "balance_semantics": {
      -                        "type": "string"
      -                      },
      -                      "currency": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "low_remaining_spend_cap": {
      -                        "type": "boolean"
      -                      },
      -                      "note": {
      -                        "type": "string"
      -                      },
      -                      "reported_balance_major": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend_cap_remaining_major": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "checked_at": {
      -                    "type": "string"
      -                  },
      -                  "checks": {
      -                    "items": {
      -                      "properties": {
      -                        "asset_id": {
      -                          "type": "string"
      -                        },
      -                        "asset_type": {
      -                          "type": "string"
      -                        },
      -                        "message": {
      -                          "type": "string"
      -                        },
      -                        "provider_error_code": {
      -                          "type": "integer"
      -                        },
      -                        "provider_error_subcode": {
      -                          "type": "integer"
      -                        },
      -                        "reason_code": {
      -                          "type": "string"
      -                        },
      -                        "status": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "status": {
      -                    "type": "string"
      -                  },
      -                  "timing": {
      -                    "properties": {
      -                      "account_local_now": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "hours_left_today": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "note": {
      -                        "type": "string"
      -                      },
      -                      "schedule_valid": {
      -                        "type": "boolean"
      -                      },
      -                      "timezone_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "utc_offset_hours": {
      -                        "type": "number"
      -                      },
      -                      "windows": {
      -                        "items": {
      -                          "properties": {
      -                            "end_time": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "hours_remaining": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "hours_until_start": {
      -                              "type": "number"
      -                            },
      -                            "paused": {
      -                              "type": "boolean"
      -                            },
      -                            "potential_delivery_hours_today": {
      -                              "type": "number"
      -                            },
      -                            "start_time": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            }
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "version": {
      -                    "type": "integer"
      -                  },
      -                  "warnings": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "required": [
      -                  "version",
      -                  "checked_at",
      -                  "ad_account_id",
      -                  "status",
      -                  "checks",
      -                  "warnings"
      -                ],
      -                "type": "object"
      -              },
      -              "publish_start_label": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_level": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "statuses": {
      -                "properties": {
      -                  "ad": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "adset": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "campaign": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "structure": {
      -                "properties": {
      -                  "ads": {
      -                    "type": "integer"
      -                  },
      -                  "adsets": {
      -                    "type": "integer"
      -                  },
      -                  "auxiliary_writes": {
      -                    "type": "integer"
      -                  },
      -                  "campaigns": {
      -                    "type": "integer"
      -                  },
      -                  "creative_keys": {
      -                    "type": "integer"
      -                  },
      -                  "layouts": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "target_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "template_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "warnings": {
      -                "$ref": "#/$defs/s2"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "tool_name": {
      -            "type": "string"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "warnings": {
      -            "$ref": "#/$defs/s2"
      -          }
      -        },
      -        "required": [
      -          "status",
      -          "confirm_token",
      -          "expires_at",
      -          "summary"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "approval_request"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "missing_requirements": {
      -        "items": {
      -          "properties": {
      -            "field": {
      -              "type": "string"
      -            },
      -            "message": {
      -              "type": "string"
      -            },
      -            "override_path": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "safe_to_retry_with_user_input": {
      -        "const": true
      -      },
      -      "status": {
      -        "const": "needs_input"
      -      },
      -      "user_instruction": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "user_instruction",
      -      "safe_to_retry_with_user_input"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "account_blocker_code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "account_blocker_label": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ad_account_id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ad_account_name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "automatic_retry_allowed": {
      -        "type": "boolean"
      -      },
      -      "category": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "invalid_fields": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "manual_new_task_allowed": {
      -        "type": "boolean"
      -      },
      -      "narrative": {
      -        "properties": {
      -          "details": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "headline": {
      -            "type": "string"
      -          },
      -          "summary": {
      -            "type": "string"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "what_happens_next": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "operator_review_required": {
      -        "type": "boolean"
      -      },
      -      "status": {
      -        "const": "blocked"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/s2"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "narrative"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "approval_request": {
      +        "properties": {
      +          "approval_ref": {
      +            "type": "string"
      +          },
      +          "confirm_token": {
      +            "type": "string"
      +          },
      +          "confirm_tool": {
      +            "type": "string"
      +          },
      +          "expires_at": {
      +            "type": "string"
      +          },
      +          "instruction_template_id": {
      +            "type": "string"
      +          },
      +          "mode": {
      +            "type": "string"
      +          },
      +          "plan_digest": {
      +            "type": "string"
      +          },
      +          "schema_version": {
      +            "type": "integer"
      +          },
      +          "status": {
      +            "const": "approval_required"
      +          },
      +          "summary": {
      +            "properties": {
      +              "account_currency": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "action": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_count": {
      +                "type": "integer"
      +              },
      +              "ad_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_name_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_name_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "adset_count": {
      +                "type": "integer"
      +              },
      +              "adset_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "adset_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "bid": {
      +                "$ref": "#/$defs/s0"
      +              },
      +              "budget": {
      +                "$ref": "#/$defs/s0"
      +              },
      +              "campaign_count": {
      +                "type": "integer"
      +              },
      +              "campaign_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "campaign_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "change_percent": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "copies": {
      +                "type": "integer"
      +              },
      +              "count": {
      +                "type": "integer"
      +              },
      +              "creative_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "creative_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "cross_account": {
      +                "type": "boolean"
      +              },
      +              "current_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "engagement_mode": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "entity_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "entity_type": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "groups": {
      +                "items": {
      +                  "properties": {
      +                    "adsets": {
      +                      "items": {
      +                        "properties": {
      +                          "name": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "target_adset_id": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "bid": {
      +                      "$ref": "#/$defs/s1"
      +                    },
      +                    "budget": {
      +                      "$ref": "#/$defs/s1"
      +                    },
      +                    "campaign_name": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "layout": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "items": {
      +                "items": {
      +                  "properties": {
      +                    "ad_account_id": {
      +                      "type": "string"
      +                    },
      +                    "ad_id": {
      +                      "type": "string"
      +                    },
      +                    "campaign_id": {
      +                      "type": "string"
      +                    },
      +                    "current_configured_status": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "current_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "new_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "target_configured_status": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "mode": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "new_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "note": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "page_id_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "page_id_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "preflight": {
      +                "properties": {
      +                  "ad_account_id": {
      +                    "type": "string"
      +                  },
      +                  "billing": {
      +                    "properties": {
      +                      "available_funds_major": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "balance_semantics": {
      +                        "type": "string"
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "low_remaining_spend_cap": {
      +                        "type": "boolean"
      +                      },
      +                      "note": {
      +                        "type": "string"
      +                      },
      +                      "reported_balance_major": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_cap_remaining_major": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "checked_at": {
      +                    "type": "string"
      +                  },
      +                  "checks": {
      +                    "items": {
      +                      "properties": {
      +                        "asset_id": {
      +                          "type": "string"
      +                        },
      +                        "asset_type": {
      +                          "type": "string"
      +                        },
      +                        "message": {
      +                          "type": "string"
      +                        },
      +                        "provider_error_code": {
      +                          "type": "integer"
      +                        },
      +                        "provider_error_subcode": {
      +                          "type": "integer"
      +                        },
      +                        "reason_code": {
      +                          "type": "string"
      +                        },
      +                        "status": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "status": {
      +                    "type": "string"
      +                  },
      +                  "timing": {
      +                    "properties": {
      +                      "account_local_now": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "hours_left_today": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "note": {
      +                        "type": "string"
      +                      },
      +                      "schedule_valid": {
      +                        "type": "boolean"
      +                      },
      +                      "timezone_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "utc_offset_hours": {
      +                        "type": "number"
      +                      },
      +                      "windows": {
      +                        "items": {
      +                          "properties": {
      +                            "end_time": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "hours_remaining": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "hours_until_start": {
      +                              "type": "number"
      +                            },
      +                            "paused": {
      +                              "type": "boolean"
      +                            },
      +                            "potential_delivery_hours_today": {
      +                              "type": "number"
      +                            },
      +                            "start_time": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "version": {
      +                    "type": "integer"
      +                  },
      +                  "warnings": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "version",
      +                  "checked_at",
      +                  "ad_account_id",
      +                  "status",
      +                  "checks",
      +                  "warnings"
      +                ],
      +                "type": "object"
      +              },
      +              "publish_start_label": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_ad_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_level": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "statuses": {
      +                "properties": {
      +                  "ad": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "adset": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "campaign": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "structure": {
      +                "properties": {
      +                  "ads": {
      +                    "type": "integer"
      +                  },
      +                  "adsets": {
      +                    "type": "integer"
      +                  },
      +                  "auxiliary_writes": {
      +                    "type": "integer"
      +                  },
      +                  "campaigns": {
      +                    "type": "integer"
      +                  },
      +                  "creative_keys": {
      +                    "type": "integer"
      +                  },
      +                  "layouts": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "target_ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "template_name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "warnings": {
      +                "$ref": "#/$defs/s2"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "tool_name": {
      +            "type": "string"
      +          },
      +          "user_instruction": {
      +            "type": "string"
      +          },
      +          "warnings": {
      +            "$ref": "#/$defs/s2"
      +          }
      +        },
      +        "required": [
      +          "status",
      +          "confirm_token",
      +          "expires_at",
      +          "summary"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "approval_request"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "missing_requirements": {
      +        "items": {
      +          "properties": {
      +            "field": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            },
      +            "override_path": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "safe_to_retry_with_user_input": {
      +        "const": true
      +      },
      +      "status": {
      +        "const": "needs_input"
      +      },
      +      "user_instruction": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "user_instruction",
      +      "safe_to_retry_with_user_input"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "account_blocker_code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "account_blocker_label": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ad_account_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ad_account_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "automatic_retry_allowed": {
      +        "type": "boolean"
      +      },
      +      "category": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "invalid_fields": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "manual_new_task_allowed": {
      +        "type": "boolean"
      +      },
      +      "narrative": {
      +        "properties": {
      +          "details": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "headline": {
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "user_instruction": {
      +            "type": "string"
      +          },
      +          "what_happens_next": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "operator_review_required": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "const": "blocked"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/s2"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "narrative"
      +    ]
      +  }
      +]
  13. Changed3 schema fields changed
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "oneOf": [
      -      {
      -        "anyOf": [
      -          {
      -            "properties": {
      -              "creative_names": {
      -                "minItems": 1,
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "creative_names"
      -            ]
      -          }
      -        ],
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "creative"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        }
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "partnership"
      -          },
      -          "partnership_rows": {
      -            "minItems": 1,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "partnership_rows"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "template_source"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "carousel"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "carousel_groups"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "existing_post"
      -          },
      -          "partnership_rows": {
      -            "maxItems": 0
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "existing_posts"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "ad_name": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "carousel_groups": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "properties": {
      -                "creative_names": {
      -                  "minItems": 2,
      -                  "not": {
      -                    "type": "null"
      -                  }
      -                }
      -              },
      -              "required": [
      -                "creative_names"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "creative_names": {
      -              "items": {
      -                "maxLength": 500,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_names": {
      -        "items": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_overrides": {
      -        "items": {
      -          "additionalProperties": false,
      -          "oneOf": [
      -            {
      -              "properties": {
      -                "creative_name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "creative_name"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "creative_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "existing_posts": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "oneOf": [
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "string"
      -                    },
      -                    "page_post_id": {
      -                      "type": "null"
      -                    }
      -                  },
      -                  "required": [
      -                    "instagram_media_id"
      -                  ]
      -                },
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "null"
      -                    },
      -                    "page_post_id": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "page_post_id"
      -                  ]
      -                }
      -              ]
      -            }
      -          ],
      -          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "instagram_media_id": {
      -              "pattern": "^[0-9]{1,32}$",
      -              "type": "string"
      -            },
      -            "page_post_id": {
      -              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "media_mode": {
      -        "enum": [
      -          "single",
      -          "multi"
      -        ],
      -        "type": "string"
      -      },
      -      "mode": {
      -        "default": "creative",
      -        "enum": [
      -          "creative",
      -          "partnership",
      -          "template_source",
      -          "carousel",
      -          "existing_post"
      -        ],
      -        "type": "string"
      -      },
      -      "partnership_rows": {
      -        "items": {
      -          "additionalProperties": false,
      -          "anyOf": [
      -            {
      -              "required": [
      -                "partnership_ad_id"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "original_post_url": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "partnership_ad_id": {
      -              "description": "Meta partnership ad ID.",
      -              "maxLength": 4096,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "source_choice": {
      -              "default": "auto",
      -              "enum": [
      -                "auto",
      -                "new"
      -              ],
      -              "type": "string"
      -            },
      -            "source_ref": {
      -              "pattern": "^(ad|creative):[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "media_mode": {
      -        "const": "single",
      -        "default": "single",
      -        "type": "string"
      -      },
      -      "media_refs": {
      -        "items": {
      -          "maxLength": 2048,
      -          "minLength": 16,
      -          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "const": "account_media",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "media_refs"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "oneOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "creative_names": {
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "creative_names"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "creative"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        }
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "partnership"
      +          },
      +          "partnership_rows": {
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "partnership_rows"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "template_source"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "carousel"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "carousel_groups"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "existing_post"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "existing_posts"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "ad_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "carousel_groups": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "properties": {
      +                "creative_names": {
      +                  "minItems": 2,
      +                  "not": {
      +                    "type": "null"
      +                  }
      +                }
      +              },
      +              "required": [
      +                "creative_names"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "card_overrides": {
      +              "description": "Optional per-card title, description, link_url, cta and display_link, each matched to a card by creative_id/creative_name. A field left out falls back to this group's title/description and the template's link and CTA.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "Copy for one carousel card; every field left out uses the group's value.",
      +                "oneOf": [
      +                  {
      +                    "properties": {
      +                      "creative_name": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "creative_name"
      +                    ]
      +                  }
      +                ],
      +                "properties": {
      +                  "creative_name": {
      +                    "maxLength": 500,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "cta": {
      +                    "description": "Call-to-action button. Common values: LEARN_MORE, SHOP_NOW, SIGN_UP, DOWNLOAD, INSTALL_MOBILE_APP, GET_OFFER, SUBSCRIBE, BOOK_NOW, APPLY_NOW, CONTACT_US, SEE_DETAILS. Free text is accepted and normalised (\"Learn More\" -> LEARN_MORE); Meta has more types than are listed here. Phone, message and profile CTAs do not fit a website or app destination. Omit to keep the template's CTA.",
      +                    "maxLength": 100,
      +                    "type": "string"
      +                  },
      +                  "description": {
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  },
      +                  "display_link": {
      +                    "description": "Display URL shown under the card (caption).",
      +                    "maxLength": 255,
      +                    "type": "string"
      +                  },
      +                  "link_url": {
      +                    "description": "Card landing URL.",
      +                    "maxLength": 2048,
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Card headline.",
      +                    "maxLength": 500,
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "creative_names": {
      +              "items": {
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_names": {
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_overrides": {
      +        "items": {
      +          "additionalProperties": false,
      +          "oneOf": [
      +            {
      +              "properties": {
      +                "creative_name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "creative_name"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "existing_posts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "oneOf": [
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "string"
      +                    },
      +                    "page_post_id": {
      +                      "type": "null"
      +                    }
      +                  },
      +                  "required": [
      +                    "instagram_media_id"
      +                  ]
      +                },
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "null"
      +                    },
      +                    "page_post_id": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "page_post_id"
      +                  ]
      +                }
      +              ]
      +            }
      +          ],
      +          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "instagram_media_id": {
      +              "pattern": "^[0-9]{1,32}$",
      +              "type": "string"
      +            },
      +            "page_post_id": {
      +              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "media_mode": {
      +        "enum": [
      +          "single",
      +          "multi"
      +        ],
      +        "type": "string"
      +      },
      +      "mode": {
      +        "default": "creative",
      +        "enum": [
      +          "creative",
      +          "partnership",
      +          "template_source",
      +          "carousel",
      +          "existing_post"
      +        ],
      +        "type": "string"
      +      },
      +      "partnership_rows": {
      +        "items": {
      +          "additionalProperties": false,
      +          "anyOf": [
      +            {
      +              "required": [
      +                "partnership_ad_id"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "original_post_url": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "partnership_ad_id": {
      +              "description": "Meta partnership ad ID.",
      +              "maxLength": 4096,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "source_choice": {
      +              "default": "auto",
      +              "enum": [
      +                "auto",
      +                "new"
      +              ],
      +              "type": "string"
      +            },
      +            "source_ref": {
      +              "pattern": "^(ad|creative):[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "media_mode": {
      +        "const": "single",
      +        "default": "single",
      +        "type": "string"
      +      },
      +      "media_refs": {
      +        "items": {
      +          "maxLength": 2048,
      +          "minLength": 16,
      +          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "account_media",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "media_refs"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / request / properties / overrides / properties / cta / description
      Added value: +"Call-to-action button. Common values: LEARN_MORE, SHOP_NOW, SIGN_UP, DOWNLOAD, INSTALL_MOBILE_APP, GET_OFFER, SUBSCRIBE, BOOK_NOW, APPLY_NOW, CONTACT_US, SEE_DETAILS. Free text is accepted and normalised (\"Learn More\" -> LEARN_MORE); Meta has more types than are listed here. Phone, message and profile CTAs do not fit a website or app destination. Omit to keep the template's CTA."
    • addedInput schema / properties / request / properties / overrides / properties / display_link
      Added value: +{
      +  "description": "Display URL shown under single-image and carousel ads (link_data.caption). Ignored for video ads, which have no such field.",
      +  "maxLength": 255,
      +  "type": "string"
      +}
  14. Changed1 schema field changed
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "oneOf": [
      -      {
      -        "anyOf": [
      -          {
      -            "properties": {
      -              "creative_names": {
      -                "minItems": 1,
      -                "type": "array"
      -              }
      -            },
      -            "required": [
      -              "creative_names"
      -            ]
      -          }
      -        ],
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "creative"
      -          }
      -        }
      -      },
      -      {
      -        "properties": {
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "template_source"
      -          }
      -        },
      -        "required": [
      -          "mode"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "maxItems": 0
      -          },
      -          "mode": {
      -            "const": "carousel"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "carousel_groups"
      -        ]
      -      },
      -      {
      -        "properties": {
      -          "ad_name": {
      -            "type": "null"
      -          },
      -          "carousel_groups": {
      -            "maxItems": 0
      -          },
      -          "creative_names": {
      -            "maxItems": 0
      -          },
      -          "creative_overrides": {
      -            "maxItems": 0
      -          },
      -          "existing_posts": {
      -            "minItems": 1,
      -            "type": "array"
      -          },
      -          "media_mode": {
      -            "const": "single"
      -          },
      -          "mode": {
      -            "const": "existing_post"
      -          }
      -        },
      -        "required": [
      -          "mode",
      -          "existing_posts"
      -        ]
      -      }
      -    ],
      -    "properties": {
      -      "ad_name": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "carousel_groups": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "properties": {
      -                "creative_names": {
      -                  "minItems": 2,
      -                  "not": {
      -                    "type": "null"
      -                  }
      -                }
      -              },
      -              "required": [
      -                "creative_names"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "creative_names": {
      -              "items": {
      -                "maxLength": 500,
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "maxItems": 10,
      -              "type": "array"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_names": {
      -        "items": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "creative_overrides": {
      -        "items": {
      -          "additionalProperties": false,
      -          "oneOf": [
      -            {
      -              "properties": {
      -                "creative_name": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "creative_name"
      -              ]
      -            }
      -          ],
      -          "properties": {
      -            "body": {
      -              "maxLength": 5000,
      -              "type": "string"
      -            },
      -            "creative_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "deeplink": {
      -              "maxLength": 2048,
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            "title": {
      -              "maxLength": 500,
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "existing_posts": {
      -        "items": {
      -          "additionalProperties": false,
      -          "allOf": [
      -            {
      -              "required": [
      -                "ad_name"
      -              ]
      -            },
      -            {
      -              "oneOf": [
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "string"
      -                    },
      -                    "page_post_id": {
      -                      "type": "null"
      -                    }
      -                  },
      -                  "required": [
      -                    "instagram_media_id"
      -                  ]
      -                },
      -                {
      -                  "properties": {
      -                    "instagram_media_id": {
      -                      "type": "null"
      -                    },
      -                    "page_post_id": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "page_post_id"
      -                  ]
      -                }
      -              ]
      -            }
      -          ],
      -          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      -          "properties": {
      -            "ad_name": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "instagram_media_id": {
      -              "pattern": "^[0-9]{1,32}$",
      -              "type": "string"
      -            },
      -            "page_post_id": {
      -              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "ad_name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "media_mode": {
      -        "enum": [
      -          "single",
      -          "multi"
      -        ],
      -        "type": "string"
      -      },
      -      "mode": {
      -        "default": "creative",
      -        "enum": [
      -          "creative",
      -          "template_source",
      -          "carousel",
      -          "existing_post"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "media_mode": {
      -        "const": "single",
      -        "default": "single",
      -        "type": "string"
      -      },
      -      "media_refs": {
      -        "items": {
      -          "maxLength": 2048,
      -          "minLength": 16,
      -          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      -          "type": "string"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "mode": {
      -        "const": "account_media",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "media_refs"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "oneOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "creative_names": {
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "creative_names"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "creative"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        }
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "partnership"
      +          },
      +          "partnership_rows": {
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "partnership_rows"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "template_source"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "carousel"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "carousel_groups"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "existing_post"
      +          },
      +          "partnership_rows": {
      +            "maxItems": 0
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "existing_posts"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "ad_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "carousel_groups": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "properties": {
      +                "creative_names": {
      +                  "minItems": 2,
      +                  "not": {
      +                    "type": "null"
      +                  }
      +                }
      +              },
      +              "required": [
      +                "creative_names"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_names": {
      +              "items": {
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_names": {
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_overrides": {
      +        "items": {
      +          "additionalProperties": false,
      +          "oneOf": [
      +            {
      +              "properties": {
      +                "creative_name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "creative_name"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "existing_posts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "oneOf": [
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "string"
      +                    },
      +                    "page_post_id": {
      +                      "type": "null"
      +                    }
      +                  },
      +                  "required": [
      +                    "instagram_media_id"
      +                  ]
      +                },
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "null"
      +                    },
      +                    "page_post_id": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "page_post_id"
      +                  ]
      +                }
      +              ]
      +            }
      +          ],
      +          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "instagram_media_id": {
      +              "pattern": "^[0-9]{1,32}$",
      +              "type": "string"
      +            },
      +            "page_post_id": {
      +              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "media_mode": {
      +        "enum": [
      +          "single",
      +          "multi"
      +        ],
      +        "type": "string"
      +      },
      +      "mode": {
      +        "default": "creative",
      +        "enum": [
      +          "creative",
      +          "partnership",
      +          "template_source",
      +          "carousel",
      +          "existing_post"
      +        ],
      +        "type": "string"
      +      },
      +      "partnership_rows": {
      +        "items": {
      +          "additionalProperties": false,
      +          "anyOf": [
      +            {
      +              "required": [
      +                "partnership_ad_id"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "original_post_url": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "partnership_ad_id": {
      +              "description": "Meta partnership ad ID.",
      +              "maxLength": 4096,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "source_choice": {
      +              "default": "auto",
      +              "enum": [
      +                "auto",
      +                "new"
      +              ],
      +              "type": "string"
      +            },
      +            "source_ref": {
      +              "pattern": "^(ad|creative):[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "media_mode": {
      +        "const": "single",
      +        "default": "single",
      +        "type": "string"
      +      },
      +      "media_refs": {
      +        "items": {
      +          "maxLength": 2048,
      +          "minLength": 16,
      +          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "account_media",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "media_refs"
      +    ],
      +    "type": "object"
      +  }
      +]
  15. Changed6 schema fields changed
    • addedOutput schema / else / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / else / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  16. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  17. Changed6 schema fields changed
    • changedInput schema / properties / request / allOf
      Previous value: -[
      -  {
      -    "required": [
      -      "template_name"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "creative_source"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "template_name"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "creative_source": {
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "creative_source"
      +    ]
      +  }
      +]
    • removedInput schema / properties / request / properties / creative_source / additionalProperties
      Removed value: -false
    • addedInput schema / properties / request / properties / creative_source / discriminator
      Added value: +{
      +  "mapping": {
      +    "account_media": "#/$defs/AccountMediaSource",
      +    "carousel": "#/$defs/MCPCreativeSourceInput",
      +    "creative": "#/$defs/MCPCreativeSourceInput",
      +    "existing_post": "#/$defs/MCPCreativeSourceInput",
      +    "partnership": "#/$defs/MCPCreativeSourceInput",
      +    "template_source": "#/$defs/MCPCreativeSourceInput"
      +  },
      +  "propertyName": "mode"
      +}
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "ad_name": {
      -        "type": "null"
      -      },
      -      "creative_names": {
      -        "minItems": 1
      -      },
      -      "mode": {
      -        "const": "creative"
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^(m|cr)"
      -    },
      -    "required": [
      -      "creative_names"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "media_mode": {
      -        "const": "single"
      -      },
      -      "mode": {
      -        "const": "template_source"
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^(m|a)"
      -    },
      -    "required": [
      -      "mode"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "ad_name": {
      -        "type": "null"
      -      },
      -      "carousel_groups": {
      -        "minItems": 1
      -      },
      -      "mode": {
      -        "const": "carousel"
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^(m|ca)"
      -    },
      -    "required": [
      -      "mode",
      -      "carousel_groups"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "ad_name": {
      -        "type": "null"
      -      },
      -      "carousel_groups": {
      -        "maxItems": 0
      -      },
      -      "creative_names": {
      -        "maxItems": 0
      -      },
      -      "creative_overrides": {
      -        "maxItems": 0
      -      },
      -      "existing_posts": {
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "media_mode": {
      -        "const": "single"
      -      },
      -      "mode": {
      -        "const": "existing_post"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "existing_posts"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "oneOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "creative_names": {
      +                "minItems": 1,
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "creative_names"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "creative"
      +          }
      +        }
      +      },
      +      {
      +        "properties": {
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "template_source"
      +          }
      +        },
      +        "required": [
      +          "mode"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "maxItems": 0
      +          },
      +          "mode": {
      +            "const": "carousel"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "carousel_groups"
      +        ]
      +      },
      +      {
      +        "properties": {
      +          "ad_name": {
      +            "type": "null"
      +          },
      +          "carousel_groups": {
      +            "maxItems": 0
      +          },
      +          "creative_names": {
      +            "maxItems": 0
      +          },
      +          "creative_overrides": {
      +            "maxItems": 0
      +          },
      +          "existing_posts": {
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "media_mode": {
      +            "const": "single"
      +          },
      +          "mode": {
      +            "const": "existing_post"
      +          }
      +        },
      +        "required": [
      +          "mode",
      +          "existing_posts"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "ad_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "carousel_groups": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "properties": {
      +                "creative_names": {
      +                  "minItems": 2,
      +                  "not": {
      +                    "type": "null"
      +                  }
      +                }
      +              },
      +              "required": [
      +                "creative_names"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_names": {
      +              "items": {
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 10,
      +              "type": "array"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_names": {
      +        "items": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "creative_overrides": {
      +        "items": {
      +          "additionalProperties": false,
      +          "oneOf": [
      +            {
      +              "properties": {
      +                "creative_name": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "creative_name"
      +              ]
      +            }
      +          ],
      +          "properties": {
      +            "body": {
      +              "maxLength": 5000,
      +              "type": "string"
      +            },
      +            "creative_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "deeplink": {
      +              "maxLength": 2048,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 500,
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "existing_posts": {
      +        "items": {
      +          "additionalProperties": false,
      +          "allOf": [
      +            {
      +              "required": [
      +                "ad_name"
      +              ]
      +            },
      +            {
      +              "oneOf": [
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "string"
      +                    },
      +                    "page_post_id": {
      +                      "type": "null"
      +                    }
      +                  },
      +                  "required": [
      +                    "instagram_media_id"
      +                  ]
      +                },
      +                {
      +                  "properties": {
      +                    "instagram_media_id": {
      +                      "type": "null"
      +                    },
      +                    "page_post_id": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "page_post_id"
      +                  ]
      +                }
      +              ]
      +            }
      +          ],
      +          "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      +          "properties": {
      +            "ad_name": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "instagram_media_id": {
      +              "pattern": "^[0-9]{1,32}$",
      +              "type": "string"
      +            },
      +            "page_post_id": {
      +              "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ad_name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "media_mode": {
      +        "enum": [
      +          "single",
      +          "multi"
      +        ],
      +        "type": "string"
      +      },
      +      "mode": {
      +        "default": "creative",
      +        "enum": [
      +          "creative",
      +          "template_source",
      +          "carousel",
      +          "existing_post"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "media_mode": {
      +        "const": "single",
      +        "default": "single",
      +        "type": "string"
      +      },
      +      "media_refs": {
      +        "items": {
      +          "maxLength": 2048,
      +          "minLength": 16,
      +          "pattern": "^media_e1\\.[A-Za-z0-9_-]+$",
      +          "type": "string"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "mode": {
      +        "const": "account_media",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "media_refs"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties / request / properties / creative_source / properties
      Removed value: -{
      -  "ad_name": {
      -    "maxLength": 500,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "carousel_groups": {
      -    "items": {
      -      "additionalProperties": false,
      -      "allOf": [
      -        {
      -          "required": [
      -            "ad_name"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "creative_names": {
      -              "minItems": 2,
      -              "not": {
      -                "type": "null"
      -              }
      -            }
      -          },
      -          "required": [
      -            "creative_names"
      -          ]
      -        }
      -      ],
      -      "properties": {
      -        "ad_name": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "body": {
      -          "maxLength": 5000,
      -          "type": "string"
      -        },
      -        "creative_names": {
      -          "items": {
      -            "maxLength": 500,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "maxItems": 10,
      -          "type": "array"
      -        },
      -        "description": {
      -          "maxLength": 500,
      -          "type": "string"
      -        },
      -        "title": {
      -          "maxLength": 500,
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "maxItems": 50,
      -    "type": "array"
      -  },
      -  "creative_names": {
      -    "items": {
      -      "maxLength": 500,
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "maxItems": 50,
      -    "type": "array"
      -  },
      -  "creative_overrides": {
      -    "items": {
      -      "additionalProperties": false,
      -      "oneOf": [
      -        {
      -          "properties": {
      -            "creative_name": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "creative_name"
      -          ]
      -        }
      -      ],
      -      "properties": {
      -        "body": {
      -          "maxLength": 5000,
      -          "type": "string"
      -        },
      -        "creative_name": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "deeplink": {
      -          "maxLength": 2048,
      -          "type": "string"
      -        },
      -        "description": {
      -          "maxLength": 500,
      -          "type": "string"
      -        },
      -        "title": {
      -          "maxLength": 500,
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "maxItems": 50,
      -    "type": "array"
      -  },
      -  "existing_posts": {
      -    "items": {
      -      "additionalProperties": false,
      -      "allOf": [
      -        {
      -          "required": [
      -            "ad_name"
      -          ]
      -        },
      -        {
      -          "oneOf": [
      -            {
      -              "properties": {
      -                "instagram_media_id": {
      -                  "type": "string"
      -                },
      -                "page_post_id": {
      -                  "type": "null"
      -                }
      -              },
      -              "required": [
      -                "instagram_media_id"
      -              ]
      -            },
      -            {
      -              "properties": {
      -                "instagram_media_id": {
      -                  "type": "null"
      -                },
      -                "page_post_id": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "page_post_id"
      -              ]
      -            }
      -          ]
      -        }
      -      ],
      -      "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      -      "properties": {
      -        "ad_name": {
      -          "maxLength": 500,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "instagram_media_id": {
      -          "pattern": "^[0-9]{1,32}$",
      -          "type": "string"
      -        },
      -        "page_post_id": {
      -          "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "ad_name"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 50,
      -    "type": "array"
      -  },
      -  "media_mode": {
      -    "enum": [
      -      "single",
      -      "multi"
      -    ],
      -    "type": "string"
      -  },
      -  "mode": {
      -    "default": "creative",
      -    "enum": [
      -      "creative",
      -      "template_source",
      -      "carousel",
      -      "existing_post"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / request / properties / creative_source / type
      Removed value: -"object"
  18. Changed4 schema fields changed
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "ad_name": {
      -        "type": "null"
      -      },
      -      "creative_names": {
      -        "minItems": 1
      -      },
      -      "mode": {
      -        "const": "creative"
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^(m|cr)"
      -    },
      -    "required": [
      -      "creative_names"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "media_mode": {
      -        "const": "single"
      -      },
      -      "mode": {
      -        "const": "template_source"
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^(m|a)"
      -    },
      -    "required": [
      -      "mode"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "ad_name": {
      -        "type": "null"
      -      },
      -      "carousel_groups": {
      -        "minItems": 1
      -      },
      -      "mode": {
      -        "const": "carousel"
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^(m|ca)"
      -    },
      -    "required": [
      -      "mode",
      -      "carousel_groups"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "ad_name": {
      +        "type": "null"
      +      },
      +      "creative_names": {
      +        "minItems": 1
      +      },
      +      "mode": {
      +        "const": "creative"
      +      }
      +    },
      +    "propertyNames": {
      +      "pattern": "^(m|cr)"
      +    },
      +    "required": [
      +      "creative_names"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "media_mode": {
      +        "const": "single"
      +      },
      +      "mode": {
      +        "const": "template_source"
      +      }
      +    },
      +    "propertyNames": {
      +      "pattern": "^(m|a)"
      +    },
      +    "required": [
      +      "mode"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "ad_name": {
      +        "type": "null"
      +      },
      +      "carousel_groups": {
      +        "minItems": 1
      +      },
      +      "mode": {
      +        "const": "carousel"
      +      }
      +    },
      +    "propertyNames": {
      +      "pattern": "^(m|ca)"
      +    },
      +    "required": [
      +      "mode",
      +      "carousel_groups"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "ad_name": {
      +        "type": "null"
      +      },
      +      "carousel_groups": {
      +        "maxItems": 0
      +      },
      +      "creative_names": {
      +        "maxItems": 0
      +      },
      +      "creative_overrides": {
      +        "maxItems": 0
      +      },
      +      "existing_posts": {
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "media_mode": {
      +        "const": "single"
      +      },
      +      "mode": {
      +        "const": "existing_post"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "existing_posts"
      +    ]
      +  }
      +]
    • addedInput schema / properties / request / properties / creative_source / properties / existing_posts
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "allOf": [
      +      {
      +        "required": [
      +          "ad_name"
      +        ]
      +      },
      +      {
      +        "oneOf": [
      +          {
      +            "properties": {
      +              "instagram_media_id": {
      +                "type": "string"
      +              },
      +              "page_post_id": {
      +                "type": "null"
      +              }
      +            },
      +            "required": [
      +              "instagram_media_id"
      +            ]
      +          },
      +          {
      +            "properties": {
      +              "instagram_media_id": {
      +                "type": "null"
      +              },
      +              "page_post_id": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "page_post_id"
      +            ]
      +          }
      +        ]
      +      }
      +    ],
      +    "description": "One existing post that becomes one profile-visit ad.\n\nSupply the numeric Instagram media id (``GET /{ig-user-id}/media?fields=id,permalink``)\nor the Page post id ``<page_id>_<post_id>``; URLs and shortcodes are not accepted.",
      +    "properties": {
      +      "ad_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "instagram_media_id": {
      +        "pattern": "^[0-9]{1,32}$",
      +        "type": "string"
      +      },
      +      "page_post_id": {
      +        "pattern": "^[0-9]{1,32}_[0-9]{1,32}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ad_name"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • changedInput schema / properties / request / properties / creative_source / properties / mode / enum
      Previous value: -[
      -  "creative",
      -  "template_source",
      -  "carousel"
      -]New value: +[
      +  "creative",
      +  "template_source",
      +  "carousel",
      +  "existing_post"
      +]
    • changedOutput schema / else / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "approval_request": {
      -        "properties": {
      -          "approval_ref": {
      -            "type": "string"
      -          },
      -          "confirm_token": {
      -            "type": "string"
      -          },
      -          "expires_at": {
      -            "type": "string"
      -          },
      -          "mode": {
      -            "type": "string"
      -          },
      -          "plan_digest": {
      -            "type": "string"
      -          },
      -          "schema_version": {
      -            "type": "integer"
      -          },
      -          "status": {
      -            "const": "approval_required"
      -          },
      -          "summary": {
      -            "properties": {
      -              "account_currency": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "action": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_count": {
      -                "type": "integer"
      -              },
      -              "ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_count": {
      -                "type": "integer"
      -              },
      -              "adset_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "bid": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "budget": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "campaign_count": {
      -                "type": "integer"
      -              },
      -              "campaign_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "campaign_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "change_percent": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "copies": {
      -                "type": "integer"
      -              },
      -              "count": {
      -                "type": "integer"
      -              },
      -              "creative_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "creative_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "cross_account": {
      -                "type": "boolean"
      -              },
      -              "current_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "engagement_mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_type": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "groups": {
      -                "items": {
      -                  "properties": {
      -                    "adsets": {
      -                      "items": {
      -                        "properties": {
      -                          "name": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "target_adset_id": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "bid": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "budget": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "campaign_name": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "layout": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "items": {
      -                "items": {
      -                  "properties": {
      -                    "ad_account_id": {
      -                      "type": "string"
      -                    },
      -                    "ad_id": {
      -                      "type": "string"
      -                    },
      -                    "campaign_id": {
      -                      "type": "string"
      -                    },
      -                    "current_configured_status": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "current_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "new_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "target_configured_status": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "new_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "note": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "preflight": {
      -                "properties": {
      -                  "ad_account_id": {
      -                    "type": "string"
      -                  },
      -                  "billing": {
      -                    "properties": {
      -                      "available_funds_major": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "balance_semantics": {
      -                        "type": "string"
      -                      },
      -                      "currency": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "low_remaining_spend_cap": {
      -                        "type": "boolean"
      -                      },
      -                      "note": {
      -                        "type": "string"
      -                      },
      -                      "reported_balance_major": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend_cap_remaining_major": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "checked_at": {
      -                    "type": "string"
      -                  },
      -                  "checks": {
      -                    "items": {
      -                      "properties": {
      -                        "asset_id": {
      -                          "type": "string"
      -                        },
      -                        "asset_type": {
      -                          "type": "string"
      -                        },
      -                        "message": {
      -                          "type": "string"
      -                        },
      -                        "status": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "status": {
      -                    "type": "string"
      -                  },
      -                  "timing": {
      -                    "properties": {
      -                      "account_local_now": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "hours_left_today": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "note": {
      -                        "type": "string"
      -                      },
      -                      "schedule_valid": {
      -                        "type": "boolean"
      -                      },
      -                      "timezone_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "utc_offset_hours": {
      -                        "type": "number"
      -                      },
      -                      "windows": {
      -                        "items": {
      -                          "properties": {
      -                            "end_time": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "hours_remaining": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "hours_until_start": {
      -                              "type": "number"
      -                            },
      -                            "paused": {
      -                              "type": "boolean"
      -                            },
      -                            "potential_delivery_hours_today": {
      -                              "type": "number"
      -                            },
      -                            "start_time": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            }
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "version": {
      -                    "type": "integer"
      -                  },
      -                  "warnings": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "required": [
      -                  "version",
      -                  "checked_at",
      -                  "ad_account_id",
      -                  "status",
      -                  "checks",
      -                  "warnings"
      -                ],
      -                "type": "object"
      -              },
      -              "publish_start_label": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_level": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "statuses": {
      -                "properties": {
      -                  "ad": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "adset": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "campaign": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "structure": {
      -                "properties": {
      -                  "ads": {
      -                    "type": "integer"
      -                  },
      -                  "adsets": {
      -                    "type": "integer"
      -                  },
      -                  "auxiliary_writes": {
      -                    "type": "integer"
      -                  },
      -                  "campaigns": {
      -                    "type": "integer"
      -                  },
      -                  "creative_keys": {
      -                    "type": "integer"
      -                  },
      -                  "layouts": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "target_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "template_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "warnings": {
      -                "$ref": "#/$defs/s2"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "tool_name": {
      -            "type": "string"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "warnings": {
      -            "$ref": "#/$defs/s2"
      -          }
      -        },
      -        "required": [
      -          "status",
      -          "confirm_token",
      -          "expires_at",
      -          "summary"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "approval_request"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "missing_requirements": {
      -        "items": {
      -          "properties": {
      -            "field": {
      -              "type": "string"
      -            },
      -            "message": {
      -              "type": "string"
      -            },
      -            "override_path": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "safe_to_retry_with_user_input": {
      -        "const": true
      -      },
      -      "status": {
      -        "const": "needs_input"
      -      },
      -      "user_instruction": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "user_instruction",
      -      "safe_to_retry_with_user_input"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "account_blocker_code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "account_blocker_label": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ad_account_id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ad_account_name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "automatic_retry_allowed": {
      -        "type": "boolean"
      -      },
      -      "category": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "invalid_fields": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "manual_new_task_allowed": {
      -        "type": "boolean"
      -      },
      -      "narrative": {
      -        "properties": {
      -          "details": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "headline": {
      -            "type": "string"
      -          },
      -          "summary": {
      -            "type": "string"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "what_happens_next": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "operator_review_required": {
      -        "type": "boolean"
      -      },
      -      "status": {
      -        "const": "blocked"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/s2"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "narrative"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "approval_request": {
      +        "properties": {
      +          "approval_ref": {
      +            "type": "string"
      +          },
      +          "confirm_token": {
      +            "type": "string"
      +          },
      +          "expires_at": {
      +            "type": "string"
      +          },
      +          "mode": {
      +            "type": "string"
      +          },
      +          "plan_digest": {
      +            "type": "string"
      +          },
      +          "schema_version": {
      +            "type": "integer"
      +          },
      +          "status": {
      +            "const": "approval_required"
      +          },
      +          "summary": {
      +            "properties": {
      +              "account_currency": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "action": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_count": {
      +                "type": "integer"
      +              },
      +              "ad_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_name_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_name_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "adset_count": {
      +                "type": "integer"
      +              },
      +              "adset_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "adset_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "bid": {
      +                "$ref": "#/$defs/s0"
      +              },
      +              "budget": {
      +                "$ref": "#/$defs/s0"
      +              },
      +              "campaign_count": {
      +                "type": "integer"
      +              },
      +              "campaign_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "campaign_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "change_percent": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "copies": {
      +                "type": "integer"
      +              },
      +              "count": {
      +                "type": "integer"
      +              },
      +              "creative_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "creative_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "cross_account": {
      +                "type": "boolean"
      +              },
      +              "current_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "engagement_mode": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "entity_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "entity_type": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "groups": {
      +                "items": {
      +                  "properties": {
      +                    "adsets": {
      +                      "items": {
      +                        "properties": {
      +                          "name": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "target_adset_id": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "bid": {
      +                      "$ref": "#/$defs/s1"
      +                    },
      +                    "budget": {
      +                      "$ref": "#/$defs/s1"
      +                    },
      +                    "campaign_name": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "layout": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "items": {
      +                "items": {
      +                  "properties": {
      +                    "ad_account_id": {
      +                      "type": "string"
      +                    },
      +                    "ad_id": {
      +                      "type": "string"
      +                    },
      +                    "campaign_id": {
      +                      "type": "string"
      +                    },
      +                    "current_configured_status": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "current_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "new_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "target_configured_status": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "mode": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "new_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "note": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "page_id_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "page_id_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "preflight": {
      +                "properties": {
      +                  "ad_account_id": {
      +                    "type": "string"
      +                  },
      +                  "billing": {
      +                    "properties": {
      +                      "available_funds_major": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "balance_semantics": {
      +                        "type": "string"
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "low_remaining_spend_cap": {
      +                        "type": "boolean"
      +                      },
      +                      "note": {
      +                        "type": "string"
      +                      },
      +                      "reported_balance_major": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_cap_remaining_major": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "checked_at": {
      +                    "type": "string"
      +                  },
      +                  "checks": {
      +                    "items": {
      +                      "properties": {
      +                        "asset_id": {
      +                          "type": "string"
      +                        },
      +                        "asset_type": {
      +                          "type": "string"
      +                        },
      +                        "message": {
      +                          "type": "string"
      +                        },
      +                        "provider_error_code": {
      +                          "type": "integer"
      +                        },
      +                        "provider_error_subcode": {
      +                          "type": "integer"
      +                        },
      +                        "reason_code": {
      +                          "type": "string"
      +                        },
      +                        "status": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "status": {
      +                    "type": "string"
      +                  },
      +                  "timing": {
      +                    "properties": {
      +                      "account_local_now": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "hours_left_today": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "note": {
      +                        "type": "string"
      +                      },
      +                      "schedule_valid": {
      +                        "type": "boolean"
      +                      },
      +                      "timezone_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "utc_offset_hours": {
      +                        "type": "number"
      +                      },
      +                      "windows": {
      +                        "items": {
      +                          "properties": {
      +                            "end_time": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "hours_remaining": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "hours_until_start": {
      +                              "type": "number"
      +                            },
      +                            "paused": {
      +                              "type": "boolean"
      +                            },
      +                            "potential_delivery_hours_today": {
      +                              "type": "number"
      +                            },
      +                            "start_time": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "version": {
      +                    "type": "integer"
      +                  },
      +                  "warnings": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "version",
      +                  "checked_at",
      +                  "ad_account_id",
      +                  "status",
      +                  "checks",
      +                  "warnings"
      +                ],
      +                "type": "object"
      +              },
      +              "publish_start_label": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_ad_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_level": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "statuses": {
      +                "properties": {
      +                  "ad": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "adset": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "campaign": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "structure": {
      +                "properties": {
      +                  "ads": {
      +                    "type": "integer"
      +                  },
      +                  "adsets": {
      +                    "type": "integer"
      +                  },
      +                  "auxiliary_writes": {
      +                    "type": "integer"
      +                  },
      +                  "campaigns": {
      +                    "type": "integer"
      +                  },
      +                  "creative_keys": {
      +                    "type": "integer"
      +                  },
      +                  "layouts": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "target_ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "template_name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "warnings": {
      +                "$ref": "#/$defs/s2"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "tool_name": {
      +            "type": "string"
      +          },
      +          "user_instruction": {
      +            "type": "string"
      +          },
      +          "warnings": {
      +            "$ref": "#/$defs/s2"
      +          }
      +        },
      +        "required": [
      +          "status",
      +          "confirm_token",
      +          "expires_at",
      +          "summary"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "approval_request"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "missing_requirements": {
      +        "items": {
      +          "properties": {
      +            "field": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            },
      +            "override_path": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "safe_to_retry_with_user_input": {
      +        "const": true
      +      },
      +      "status": {
      +        "const": "needs_input"
      +      },
      +      "user_instruction": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "user_instruction",
      +      "safe_to_retry_with_user_input"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "account_blocker_code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "account_blocker_label": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ad_account_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ad_account_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "automatic_retry_allowed": {
      +        "type": "boolean"
      +      },
      +      "category": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "invalid_fields": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "manual_new_task_allowed": {
      +        "type": "boolean"
      +      },
      +      "narrative": {
      +        "properties": {
      +          "details": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "headline": {
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "user_instruction": {
      +            "type": "string"
      +          },
      +          "what_happens_next": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "operator_review_required": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "const": "blocked"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/s2"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "narrative"
      +    ]
      +  }
      +]
  19. Changed1 schema field changed
    • changedOutput schema / else / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "approval_request": {
      -        "properties": {
      -          "approval_ref": {
      -            "type": "string"
      -          },
      -          "confirm_token": {
      -            "type": "string"
      -          },
      -          "expires_at": {
      -            "type": "string"
      -          },
      -          "mode": {
      -            "type": "string"
      -          },
      -          "plan_digest": {
      -            "type": "string"
      -          },
      -          "schema_version": {
      -            "type": "integer"
      -          },
      -          "status": {
      -            "const": "approval_required"
      -          },
      -          "summary": {
      -            "properties": {
      -              "account_currency": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "action": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_count": {
      -                "type": "integer"
      -              },
      -              "ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_count": {
      -                "type": "integer"
      -              },
      -              "adset_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "bid": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "budget": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "campaign_count": {
      -                "type": "integer"
      -              },
      -              "campaign_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "campaign_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "change_percent": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "copies": {
      -                "type": "integer"
      -              },
      -              "count": {
      -                "type": "integer"
      -              },
      -              "creative_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "creative_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "cross_account": {
      -                "type": "boolean"
      -              },
      -              "current_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "engagement_mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_type": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "groups": {
      -                "items": {
      -                  "properties": {
      -                    "adsets": {
      -                      "items": {
      -                        "properties": {
      -                          "name": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "target_adset_id": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "bid": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "budget": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "campaign_name": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "layout": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "items": {
      -                "items": {
      -                  "properties": {
      -                    "ad_account_id": {
      -                      "type": "string"
      -                    },
      -                    "ad_id": {
      -                      "type": "string"
      -                    },
      -                    "campaign_id": {
      -                      "type": "string"
      -                    },
      -                    "current_configured_status": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "current_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "new_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "target_configured_status": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "new_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "note": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "publish_start_label": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_level": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "statuses": {
      -                "properties": {
      -                  "ad": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "adset": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "campaign": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "structure": {
      -                "properties": {
      -                  "ads": {
      -                    "type": "integer"
      -                  },
      -                  "adsets": {
      -                    "type": "integer"
      -                  },
      -                  "auxiliary_writes": {
      -                    "type": "integer"
      -                  },
      -                  "campaigns": {
      -                    "type": "integer"
      -                  },
      -                  "creative_keys": {
      -                    "type": "integer"
      -                  },
      -                  "layouts": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "target_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "template_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "warnings": {
      -                "$ref": "#/$defs/s2"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "tool_name": {
      -            "type": "string"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "warnings": {
      -            "$ref": "#/$defs/s2"
      -          }
      -        },
      -        "required": [
      -          "status",
      -          "confirm_token",
      -          "expires_at",
      -          "summary"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "approval_request"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "missing_requirements": {
      -        "items": {
      -          "properties": {
      -            "field": {
      -              "type": "string"
      -            },
      -            "message": {
      -              "type": "string"
      -            },
      -            "override_path": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "safe_to_retry_with_user_input": {
      -        "const": true
      -      },
      -      "status": {
      -        "const": "needs_input"
      -      },
      -      "user_instruction": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "user_instruction",
      -      "safe_to_retry_with_user_input"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "account_blocker_code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "account_blocker_label": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ad_account_id": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "ad_account_name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "automatic_retry_allowed": {
      -        "type": "boolean"
      -      },
      -      "category": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "invalid_fields": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "manual_new_task_allowed": {
      -        "type": "boolean"
      -      },
      -      "narrative": {
      -        "properties": {
      -          "details": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "headline": {
      -            "type": "string"
      -          },
      -          "summary": {
      -            "type": "string"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "what_happens_next": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "operator_review_required": {
      -        "type": "boolean"
      -      },
      -      "status": {
      -        "const": "blocked"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/s2"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "narrative"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "approval_request": {
      +        "properties": {
      +          "approval_ref": {
      +            "type": "string"
      +          },
      +          "confirm_token": {
      +            "type": "string"
      +          },
      +          "expires_at": {
      +            "type": "string"
      +          },
      +          "mode": {
      +            "type": "string"
      +          },
      +          "plan_digest": {
      +            "type": "string"
      +          },
      +          "schema_version": {
      +            "type": "integer"
      +          },
      +          "status": {
      +            "const": "approval_required"
      +          },
      +          "summary": {
      +            "properties": {
      +              "account_currency": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "action": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_count": {
      +                "type": "integer"
      +              },
      +              "ad_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_name_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_name_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "adset_count": {
      +                "type": "integer"
      +              },
      +              "adset_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "adset_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "bid": {
      +                "$ref": "#/$defs/s0"
      +              },
      +              "budget": {
      +                "$ref": "#/$defs/s0"
      +              },
      +              "campaign_count": {
      +                "type": "integer"
      +              },
      +              "campaign_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "campaign_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "change_percent": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "copies": {
      +                "type": "integer"
      +              },
      +              "count": {
      +                "type": "integer"
      +              },
      +              "creative_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "creative_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "cross_account": {
      +                "type": "boolean"
      +              },
      +              "current_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "engagement_mode": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "entity_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "entity_type": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "groups": {
      +                "items": {
      +                  "properties": {
      +                    "adsets": {
      +                      "items": {
      +                        "properties": {
      +                          "name": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "target_adset_id": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "bid": {
      +                      "$ref": "#/$defs/s1"
      +                    },
      +                    "budget": {
      +                      "$ref": "#/$defs/s1"
      +                    },
      +                    "campaign_name": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "layout": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "items": {
      +                "items": {
      +                  "properties": {
      +                    "ad_account_id": {
      +                      "type": "string"
      +                    },
      +                    "ad_id": {
      +                      "type": "string"
      +                    },
      +                    "campaign_id": {
      +                      "type": "string"
      +                    },
      +                    "current_configured_status": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "current_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "new_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "target_configured_status": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "mode": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "new_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "note": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "page_id_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "page_id_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "preflight": {
      +                "properties": {
      +                  "ad_account_id": {
      +                    "type": "string"
      +                  },
      +                  "billing": {
      +                    "properties": {
      +                      "available_funds_major": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "balance_semantics": {
      +                        "type": "string"
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "low_remaining_spend_cap": {
      +                        "type": "boolean"
      +                      },
      +                      "note": {
      +                        "type": "string"
      +                      },
      +                      "reported_balance_major": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_cap_remaining_major": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "checked_at": {
      +                    "type": "string"
      +                  },
      +                  "checks": {
      +                    "items": {
      +                      "properties": {
      +                        "asset_id": {
      +                          "type": "string"
      +                        },
      +                        "asset_type": {
      +                          "type": "string"
      +                        },
      +                        "message": {
      +                          "type": "string"
      +                        },
      +                        "status": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "status": {
      +                    "type": "string"
      +                  },
      +                  "timing": {
      +                    "properties": {
      +                      "account_local_now": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "hours_left_today": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "note": {
      +                        "type": "string"
      +                      },
      +                      "schedule_valid": {
      +                        "type": "boolean"
      +                      },
      +                      "timezone_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "utc_offset_hours": {
      +                        "type": "number"
      +                      },
      +                      "windows": {
      +                        "items": {
      +                          "properties": {
      +                            "end_time": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "hours_remaining": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "hours_until_start": {
      +                              "type": "number"
      +                            },
      +                            "paused": {
      +                              "type": "boolean"
      +                            },
      +                            "potential_delivery_hours_today": {
      +                              "type": "number"
      +                            },
      +                            "start_time": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "version": {
      +                    "type": "integer"
      +                  },
      +                  "warnings": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "version",
      +                  "checked_at",
      +                  "ad_account_id",
      +                  "status",
      +                  "checks",
      +                  "warnings"
      +                ],
      +                "type": "object"
      +              },
      +              "publish_start_label": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_ad_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_level": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "statuses": {
      +                "properties": {
      +                  "ad": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "adset": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "campaign": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "structure": {
      +                "properties": {
      +                  "ads": {
      +                    "type": "integer"
      +                  },
      +                  "adsets": {
      +                    "type": "integer"
      +                  },
      +                  "auxiliary_writes": {
      +                    "type": "integer"
      +                  },
      +                  "campaigns": {
      +                    "type": "integer"
      +                  },
      +                  "creative_keys": {
      +                    "type": "integer"
      +                  },
      +                  "layouts": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "target_ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "template_name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "warnings": {
      +                "$ref": "#/$defs/s2"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "tool_name": {
      +            "type": "string"
      +          },
      +          "user_instruction": {
      +            "type": "string"
      +          },
      +          "warnings": {
      +            "$ref": "#/$defs/s2"
      +          }
      +        },
      +        "required": [
      +          "status",
      +          "confirm_token",
      +          "expires_at",
      +          "summary"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "approval_request"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "missing_requirements": {
      +        "items": {
      +          "properties": {
      +            "field": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            },
      +            "override_path": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "safe_to_retry_with_user_input": {
      +        "const": true
      +      },
      +      "status": {
      +        "const": "needs_input"
      +      },
      +      "user_instruction": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "user_instruction",
      +      "safe_to_retry_with_user_input"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "account_blocker_code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "account_blocker_label": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ad_account_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ad_account_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "automatic_retry_allowed": {
      +        "type": "boolean"
      +      },
      +      "category": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "invalid_fields": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "manual_new_task_allowed": {
      +        "type": "boolean"
      +      },
      +      "narrative": {
      +        "properties": {
      +          "details": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "headline": {
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "user_instruction": {
      +            "type": "string"
      +          },
      +          "what_happens_next": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "operator_review_required": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "const": "blocked"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/s2"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "narrative"
      +    ]
      +  }
      +]
  20. Changed2 schema fields changed
    • addedOutput schema / $defs / s2
      Added value: +{
      +  "items": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code"
      +            ]
      +          },
      +          {
      +            "required": [
      +              "message"
      +            ]
      +          }
      +        ],
      +        "properties": {
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / else / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "approval_request": {
      -        "properties": {
      -          "approval_ref": {
      -            "type": "string"
      -          },
      -          "confirm_token": {
      -            "type": "string"
      -          },
      -          "expires_at": {
      -            "type": "string"
      -          },
      -          "mode": {
      -            "type": "string"
      -          },
      -          "plan_digest": {
      -            "type": "string"
      -          },
      -          "schema_version": {
      -            "type": "integer"
      -          },
      -          "status": {
      -            "const": "approval_required"
      -          },
      -          "summary": {
      -            "properties": {
      -              "account_currency": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "action": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_count": {
      -                "type": "integer"
      -              },
      -              "ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_name_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "ad_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_count": {
      -                "type": "integer"
      -              },
      -              "adset_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "adset_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "bid": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "budget": {
      -                "$ref": "#/$defs/s0"
      -              },
      -              "campaign_count": {
      -                "type": "integer"
      -              },
      -              "campaign_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "campaign_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "change_percent": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "copies": {
      -                "type": "integer"
      -              },
      -              "count": {
      -                "type": "integer"
      -              },
      -              "creative_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "creative_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "cross_account": {
      -                "type": "boolean"
      -              },
      -              "current_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "engagement_mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "entity_type": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "groups": {
      -                "items": {
      -                  "properties": {
      -                    "adsets": {
      -                      "items": {
      -                        "properties": {
      -                          "name": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "target_adset_id": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "bid": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "budget": {
      -                      "$ref": "#/$defs/s1"
      -                    },
      -                    "campaign_name": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "layout": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "items": {
      -                "items": {
      -                  "properties": {
      -                    "ad_account_id": {
      -                      "type": "string"
      -                    },
      -                    "ad_id": {
      -                      "type": "string"
      -                    },
      -                    "campaign_id": {
      -                      "type": "string"
      -                    },
      -                    "current_configured_status": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "current_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "new_daily_budget": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "target_configured_status": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "mode": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "new_daily_budget": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "note": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_after": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page_id_before": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "publish_start_label": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_ad_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_level": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "statuses": {
      -                "properties": {
      -                  "ad": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "adset": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "campaign": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "structure": {
      -                "properties": {
      -                  "ads": {
      -                    "type": "integer"
      -                  },
      -                  "adsets": {
      -                    "type": "integer"
      -                  },
      -                  "auxiliary_writes": {
      -                    "type": "integer"
      -                  },
      -                  "campaigns": {
      -                    "type": "integer"
      -                  },
      -                  "creative_keys": {
      -                    "type": "integer"
      -                  },
      -                  "layouts": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "target_ad_account_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "template_name": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "warnings": {
      -                "items": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "anyOf": [
      -                        {
      -                          "properties": {
      -                            "code": {
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "code"
      -                          ]
      -                        },
      -                        {
      -                          "required": [
      -                            "message"
      -                          ]
      -                        }
      -                      ],
      -                      "properties": {
      -                        "message": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    }
      -                  ]
      -                },
      -                "type": "array"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "tool_name": {
      -            "type": "string"
      -          },
      -          "user_instruction": {
      -            "type": "string"
      -          },
      -          "warnings": {
      -            "items": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "anyOf": [
      -                    {
      -                      "properties": {
      -                        "code": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "code"
      -                      ]
      -                    },
      -                    {
      -                      "required": [
      -                        "message"
      -                      ]
      -                    }
      -                  ],
      -                  "properties": {
      -                    "message": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              ]
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "status",
      -          "confirm_token",
      -          "expires_at",
      -          "summary"
      -        ],
      -        "type": "object"
      -      },
      -      "status": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "approval_request"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "missing_requirements": {
      -        "items": {
      -          "properties": {
      -            "field": {
      -              "type": "string"
      -            },
      -            "message": {
      -              "type": "string"
      -            },
      -            "override_path": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "safe_to_retry_with_user_input": {
      -        "const": true
      -      },
      -      "status": {
      -        "const": "needs_input"
      -      },
      -      "user_instruction": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "user_instruction",
      -      "safe_to_retry_with_user_input"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "approval_request": {
      +        "properties": {
      +          "approval_ref": {
      +            "type": "string"
      +          },
      +          "confirm_token": {
      +            "type": "string"
      +          },
      +          "expires_at": {
      +            "type": "string"
      +          },
      +          "mode": {
      +            "type": "string"
      +          },
      +          "plan_digest": {
      +            "type": "string"
      +          },
      +          "schema_version": {
      +            "type": "integer"
      +          },
      +          "status": {
      +            "const": "approval_required"
      +          },
      +          "summary": {
      +            "properties": {
      +              "account_currency": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "action": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_count": {
      +                "type": "integer"
      +              },
      +              "ad_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_name_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_name_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "ad_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "adset_count": {
      +                "type": "integer"
      +              },
      +              "adset_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "adset_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "bid": {
      +                "$ref": "#/$defs/s0"
      +              },
      +              "budget": {
      +                "$ref": "#/$defs/s0"
      +              },
      +              "campaign_count": {
      +                "type": "integer"
      +              },
      +              "campaign_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "campaign_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "change_percent": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "copies": {
      +                "type": "integer"
      +              },
      +              "count": {
      +                "type": "integer"
      +              },
      +              "creative_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "creative_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "cross_account": {
      +                "type": "boolean"
      +              },
      +              "current_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "engagement_mode": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "entity_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "entity_type": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "groups": {
      +                "items": {
      +                  "properties": {
      +                    "adsets": {
      +                      "items": {
      +                        "properties": {
      +                          "name": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "target_adset_id": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "bid": {
      +                      "$ref": "#/$defs/s1"
      +                    },
      +                    "budget": {
      +                      "$ref": "#/$defs/s1"
      +                    },
      +                    "campaign_name": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "layout": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "items": {
      +                "items": {
      +                  "properties": {
      +                    "ad_account_id": {
      +                      "type": "string"
      +                    },
      +                    "ad_id": {
      +                      "type": "string"
      +                    },
      +                    "campaign_id": {
      +                      "type": "string"
      +                    },
      +                    "current_configured_status": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "current_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "new_daily_budget": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "target_configured_status": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "mode": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "new_daily_budget": {
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "note": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "page_id_after": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "page_id_before": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "publish_start_label": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_ad_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_level": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "source_name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "statuses": {
      +                "properties": {
      +                  "ad": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "adset": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "campaign": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "structure": {
      +                "properties": {
      +                  "ads": {
      +                    "type": "integer"
      +                  },
      +                  "adsets": {
      +                    "type": "integer"
      +                  },
      +                  "auxiliary_writes": {
      +                    "type": "integer"
      +                  },
      +                  "campaigns": {
      +                    "type": "integer"
      +                  },
      +                  "creative_keys": {
      +                    "type": "integer"
      +                  },
      +                  "layouts": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "target_ad_account_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "template_name": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "warnings": {
      +                "$ref": "#/$defs/s2"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "tool_name": {
      +            "type": "string"
      +          },
      +          "user_instruction": {
      +            "type": "string"
      +          },
      +          "warnings": {
      +            "$ref": "#/$defs/s2"
      +          }
      +        },
      +        "required": [
      +          "status",
      +          "confirm_token",
      +          "expires_at",
      +          "summary"
      +        ],
      +        "type": "object"
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "approval_request"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "missing_requirements": {
      +        "items": {
      +          "properties": {
      +            "field": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            },
      +            "override_path": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "safe_to_retry_with_user_input": {
      +        "const": true
      +      },
      +      "status": {
      +        "const": "needs_input"
      +      },
      +      "user_instruction": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "user_instruction",
      +      "safe_to_retry_with_user_input"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "account_blocker_code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "account_blocker_label": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ad_account_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "ad_account_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "automatic_retry_allowed": {
      +        "type": "boolean"
      +      },
      +      "category": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "invalid_fields": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "manual_new_task_allowed": {
      +        "type": "boolean"
      +      },
      +      "narrative": {
      +        "properties": {
      +          "details": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "headline": {
      +            "type": "string"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "user_instruction": {
      +            "type": "string"
      +          },
      +          "what_happens_next": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "operator_review_required": {
      +        "type": "boolean"
      +      },
      +      "status": {
      +        "const": "blocked"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/s2"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "narrative"
      +    ]
      +  }
      +]
  21. Changed3 schema fields changed
    • addedInput schema / properties / request / properties / creative_source / properties / carousel_groups / items / properties / title
      Added value: +{
      +  "maxLength": 500,
      +  "type": "string"
      +}
    • addedInput schema / properties / request / properties / creative_source / properties / creative_overrides
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "oneOf": [
      +      {
      +        "properties": {
      +          "creative_name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "creative_name"
      +        ]
      +      }
      +    ],
      +    "properties": {
      +      "body": {
      +        "maxLength": 5000,
      +        "type": "string"
      +      },
      +      "creative_name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "deeplink": {
      +        "maxLength": 2048,
      +        "type": "string"
      +      },
      +      "description": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 500,
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • addedInput schema / properties / request / properties / overrides / properties / title
      Added value: +{
      +  "maxLength": 500,
      +  "type": "string"
      +}
  22. Changed3 schema fields changed
    • addedInput schema / properties / request / properties / creative_source / properties / carousel_groups / items / properties / body
      Added value: +{
      +  "maxLength": 5000,
      +  "type": "string"
      +}
    • addedInput schema / properties / request / properties / creative_source / properties / carousel_groups / items / properties / description
      Added value: +{
      +  "maxLength": 500,
      +  "type": "string"
      +}
    • addedInput schema / properties / request / properties / overrides / properties / description
      Added value: +{
      +  "maxLength": 500,
      +  "type": "string"
      +}
  23. Changed1 schema field changed
    • addedInput schema / properties / request / properties / overrides / properties / instagram_user_id
      Added value: +{
      +  "description": "IG ID from accounts_list_instagram_accounts; omit to inherit, empty string uses Page identity.",
      +  "pattern": "^[0-9]{0,32}$",
      +  "type": "string"
      +}
  24. Changed1 schema field changed
    • changedInput schema / properties / request / properties / creative_source / properties / mode / enum
      Previous value: -[
      -  "creative",
      -  "partnership",
      -  "template_source",
      -  "carousel"
      -]New value: +[
      +  "creative",
      +  "template_source",
      +  "carousel"
      +]
  25. Changed2 schema fields changed
    • changedInput schema / properties / request / properties / creative_source / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "ad_name": {
      -        "type": "null"
      -      },
      -      "creative_names": {
      -        "minItems": 1
      -      },
      -      "mode": {
      -        "const": "creative"
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^(m|cr)"
      -    },
      -    "required": [
      -      "creative_names"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "ad_name": {
      -        "type": "null"
      -      },
      -      "mode": {
      -        "const": "partnership"
      -      },
      -      "partnership_rows": {
      -        "minItems": 1
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^[mp]"
      -    },
      -    "required": [
      -      "mode",
      -      "partnership_rows"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "media_mode": {
      -        "const": "single"
      -      },
      -      "mode": {
      -        "const": "template_source"
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^(m|a)"
      -    },
      -    "required": [
      -      "mode"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "ad_name": {
      -        "type": "null"
      -      },
      -      "carousel_groups": {
      -        "minItems": 1
      -      },
      -      "mode": {
      -        "const": "carousel"
      -      }
      -    },
      -    "propertyNames": {
      -      "pattern": "^(m|ca)"
      -    },
      -    "required": [
      -      "mode",
      -      "carousel_groups"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "ad_name": {
      +        "type": "null"
      +      },
      +      "creative_names": {
      +        "minItems": 1
      +      },
      +      "mode": {
      +        "const": "creative"
      +      }
      +    },
      +    "propertyNames": {
      +      "pattern": "^(m|cr)"
      +    },
      +    "required": [
      +      "creative_names"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "media_mode": {
      +        "const": "single"
      +      },
      +      "mode": {
      +        "const": "template_source"
      +      }
      +    },
      +    "propertyNames": {
      +      "pattern": "^(m|a)"
      +    },
      +    "required": [
      +      "mode"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "ad_name": {
      +        "type": "null"
      +      },
      +      "carousel_groups": {
      +        "minItems": 1
      +      },
      +      "mode": {
      +        "const": "carousel"
      +      }
      +    },
      +    "propertyNames": {
      +      "pattern": "^(m|ca)"
      +    },
      +    "required": [
      +      "mode",
      +      "carousel_groups"
      +    ]
      +  }
      +]
    • removedInput schema / properties / request / properties / creative_source / properties / partnership_rows
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "ad_code": {
      -        "maxLength": 4096,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "ad_name": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "deeplink": {
      -        "maxLength": 2048,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ad_code",
      -      "ad_name"
      -    ],
      -    "type": "object"
      -  },
      -  "maxItems": 50,
      -  "type": "array"
      -}
  26. First observed

TDQS

C2.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish that this is not read-only, not destructive, and not open-world. The description adds meaningful behavioral context beyond that, including the approval workflow, the requirement to ask the user about CBO/lifetime choices, the page_backed shadow Instagram warning, and the instruction to confirm changes. It still does not explain creation result semantics, but the output schema covers return values.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a dense run-on of sentence fragments with no headings, grouping, or front-loaded summary. Some fragments carry useful rules, but the lack of structure makes it hard to scan and map to the schema, and several phrases such as 'Append: append_mode + target' are ambiguous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex creation tool with a large nested schema and an output schema, so the description needs to orient the agent and clarify critical branching logic. It does cover many workflow and edge-case rules, but the missing high-level purpose, ambiguous references like 'target', and incomplete parameter coverage leave significant gaps for an agent invoking it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is reported as 0%, so the description carries a heavy burden for this deeply nested request object. It partially compensates with concrete examples for groups, creative_source, append_mode, creative_distribution, activation, dynamic overrides, clear_fields, and destination, but many parameters remain unexplained and 'template_id' is mentioned even though the schema exposes 'template_name'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never explicitly says this tool creates a campaign. It opens with input requirements ('Use ad_account_id, template_id or template_name...') and only indirectly implies creation through the mention of operations_confirm_campaign_create. The result is that an agent must infer the core purpose from the tool name rather than the description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does name several alternatives and conditions: copy goes to copy_ad_quick_copy, truncated approvals go to operations_get_approval, and confirmation goes to operations_confirm_campaign_create. However, it lacks a clear upfront 'use this when' statement and leaves key routing distinctions, such as when to use campaigns_quick_create versus revise or recreate, implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources