addedInput schema / properties / request / properties / grouped_plan / properties
Added value: +{
+ "ad_status": {
+ "enum": [
+ "ACTIVE",
+ "PAUSED"
+ ],
+ "type": "string"
+ },
+ "adset_status": {
+ "enum": [
+ "ACTIVE",
+ "PAUSED"
+ ],
+ "type": "string"
+ },
+ "campaign_status": {
+ "enum": [
+ "ACTIVE",
+ "PAUSED"
+ ],
+ "type": "string"
+ },
+ "campaigns": {
+ "items": {
+ "properties": {
+ "adsets": {
+ "items": {
+ "properties": {
+ "ads": {
+ "items": {
+ "properties": {
+ "ad_name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "ad_num": {
+ "maximum": 50,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "source_ad_id": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "adset_name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "budget_mode": {
+ "enum": [
+ "inherit",
+ "custom"
+ ],
+ "type": "string"
+ },
+ "compliance_beneficiary": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "compliance_payor": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "countries_override": {
+ "items": {
+ "maxLength": 8,
+ "minLength": 2,
+ "type": "string"
+ },
+ "maxItems": 250,
+ "type": "array"
+ },
+ "custom_budget": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "excluded_countries_override": {
+ "items": {
+ "maxLength": 8,
+ "minLength": 2,
+ "type": "string"
+ },
+ "maxItems": 250,
+ "type": "array"
+ },
+ "start_time": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "target_adset_id": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "worldwide_override": {
+ "type": [
+ "boolean",
+ "string",
+ "integer"
+ ]
+ }
+ },
+ "required": [
+ "ads"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "bid_mode": {
+ "enum": [
+ "auto",
+ "custom"
+ ],
+ "type": "string"
+ },
+ "budget_mode": {
+ "enum": [
+ "inherit",
+ "custom"
+ ],
+ "type": "string"
+ },
+ "campaign_name": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "custom_bid": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "custom_budget": {
+ "minimum": 0,
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "is_adset_budget_sharing_enabled": {
+ "type": [
+ "boolean",
+ "string",
+ "integer"
+ ]
+ }
+ },
+ "required": [
+ "adsets"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "creation_contract_version": {
+ "enum": [
+ 2,
+ 3
+ ],
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "engagement_mode": {
+ "enum": [
+ "preserve_post",
+ "new_creatives"
+ ],
+ "type": "string"
+ },
+ "grouped_plan_mode": {
+ "enum": [
+ "new_tree",
+ "append_new_ads"
+ ],
+ "type": "string"
+ },
+ "mode": {
+ "const": "new_ads",
+ "type": "string"
+ },
+ "page_id": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "request_mode": {
+ "const": "grouped",
+ "type": "string"
+ },
+ "source_ad_account_id": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "target_ad_account_id": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ }
+}