changedInput schema / properties / body / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "ad_group_name": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "app_id": {
- "minLength": 1,
- "type": "string"
- },
- "app_store": {
- "enum": [
- "GOOGLE_APP_STORE",
- "APPLE_APP_STORE"
- ]
- },
- "budget_micros": {
- "maximum": 9223372036854776000,
- "minimum": 1,
- "type": "integer"
- },
- "campaign_name": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "channel_type": {
- "const": "MULTI_CHANNEL"
- },
- "contains_eu_political_advertising": {
- "enum": [
- "CONTAINS_EU_POLITICAL_ADVERTISING",
- "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
- ]
- },
- "conversion_actions": {
- "items": {
- "pattern": "^customers/[0-9]+/conversionActions/[1-9][0-9]*$",
- "type": "string"
- },
- "maxItems": 20,
- "type": "array",
- "uniqueItems": true
- },
- "currency_code": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- "deep_link": {
- "pattern": "^https://",
- "type": "string"
- },
- "descriptions": {
- "items": {
- "maxLength": 90,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 1,
- "type": "array"
- },
- "goal": {
- "enum": [
- "install_tcpi",
- "install_volume",
- "install_action_tcpi",
- "action_tcpa",
- "action_volume",
- "value_roas",
- "value_volume",
- "engagement",
- "pre_registration"
- ]
- },
- "headlines": {
- "items": {
- "maxLength": 30,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 5,
- "minItems": 1,
- "type": "array"
- },
- "image_assets": {
- "items": {
- "pattern": "^customers/[0-9]+/assets/[1-9][0-9]*$",
- "type": "string"
- },
- "maxItems": 20,
- "type": "array",
- "uniqueItems": true
- },
- "language_ids": {
- "items": {
- "pattern": "^[1-9][0-9]*$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "location_ids": {
- "items": {
- "pattern": "^[1-9][0-9]*$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "target_cpa_micros": {
- "maximum": 9223372036854776000,
- "minimum": 1,
- "type": "integer"
- },
- "target_roas": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "user_list": {
- "pattern": "^customers/[0-9]+/userLists/[1-9][0-9]*$",
- "type": "string"
- },
- "video_assets": {
- "items": {
- "pattern": "^customers/[0-9]+/assets/[1-9][0-9]*$",
- "type": "string"
- },
- "maxItems": 20,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "channel_type",
- "campaign_name",
- "ad_group_name",
- "budget_micros",
- "app_id",
- "app_store",
- "currency_code",
- "headlines",
- "descriptions",
- "contains_eu_political_advertising"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "ad_group_name": {
- "minLength": 1,
- "type": "string"
- },
- "budget_micros": {
- "minimum": 1,
- "type": "integer"
- },
- "business_name": {
- "minLength": 1,
- "type": "string"
- },
- "campaign_name": {
- "minLength": 1,
- "type": "string"
- },
- "channel_type": {
- "const": "DISPLAY"
- },
- "contains_eu_political_advertising": {
- "enum": [
- "CONTAINS_EU_POLITICAL_ADVERTISING",
- "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
- ]
- },
- "currency_code": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- "customer_id": {
- "minLength": 1,
- "type": "string"
- },
- "descriptions": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "final_urls": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "headlines": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "language_ids": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "location_ids": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "logo_assets": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "long_headline": {
- "minLength": 1,
- "type": "string"
- },
- "marketing_image_assets": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "square_marketing_image_assets": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "channel_type",
- "campaign_name",
- "ad_group_name",
- "budget_micros",
- "currency_code",
- "contains_eu_political_advertising",
- "business_name",
- "headlines",
- "descriptions",
- "final_urls",
- "marketing_image_assets",
- "square_marketing_image_assets",
- "logo_assets",
- "long_headline"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "ad_group_name": {
- "minLength": 1,
- "type": "string"
- },
- "all_products": {
- "const": true
- },
- "budget_micros": {
- "minimum": 1,
- "type": "integer"
- },
- "campaign_name": {
- "minLength": 1,
- "type": "string"
- },
- "channel_type": {
- "const": "SHOPPING"
- },
- "contains_eu_political_advertising": {
- "enum": [
- "CONTAINS_EU_POLITICAL_ADVERTISING",
- "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
- ]
- },
- "cpc_bid_micros": {
- "minimum": 1,
- "type": "integer"
- },
- "currency_code": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- "customer_id": {
- "minLength": 1,
- "type": "string"
- },
- "feed_label": {
- "minLength": 1,
- "type": "string"
- },
- "language_ids": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "location_ids": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "merchant_id": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "channel_type",
- "campaign_name",
- "ad_group_name",
- "budget_micros",
- "currency_code",
- "contains_eu_political_advertising",
- "all_products",
- "cpc_bid_micros",
- "feed_label",
- "merchant_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "ad_group_name": {
- "minLength": 1,
- "type": "string"
- },
- "audience": {
- "minLength": 1,
- "type": "string"
- },
- "budget_micros": {
- "minimum": 1,
- "type": "integer"
- },
- "business_name": {
- "minLength": 1,
- "type": "string"
- },
- "campaign_name": {
- "minLength": 1,
- "type": "string"
- },
- "channel_type": {
- "const": "DEMAND_GEN"
- },
- "channels": {
- "items": {
- "enum": [
- "gmail",
- "discover",
- "display",
- "youtubeInFeed"
- ]
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "contains_eu_political_advertising": {
- "enum": [
- "CONTAINS_EU_POLITICAL_ADVERTISING",
- "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
- ]
- },
- "currency_code": {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- "customer_id": {
- "minLength": 1,
- "type": "string"
- },
- "descriptions": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "final_urls": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "headlines": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "language_ids": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "location_ids": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "logo_assets": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "marketing_image_assets": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "square_marketing_image_assets": {
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "channel_type",
- "campaign_name",
- "ad_group_name",
- "budget_micros",
- "currency_code",
- "contains_eu_political_advertising",
- "business_name",
- "headlines",
- "descriptions",
- "final_urls",
- "marketing_image_assets",
- "square_marketing_image_assets",
- "logo_assets",
- "channels",
- "audience"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "anyOf": [
- {
- "required": [
- "campaign_name"
- ]
- },
- {
- "required": [
- "name"
- ]
- }
- ],
- "properties": {
- "ad_group_cpc_bid_micros": {
- "minimum": 1,
- "type": "integer"
- },
- "ad_group_name": {
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "ad_group_type": {
- "type": "string"
- },
- "amount_micros": {
- "minimum": 1,
- "type": "integer"
- },
- "budget_micros": {
- "minimum": 1,
- "type": "integer"
- },
- "campaign_name": {
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "channel_type": {
- "enum": [
- "SEARCH"
- ]
- },
- "contains_eu_political_advertising": {
- "enum": [
- "CONTAINS_EU_POLITICAL_ADVERTISING",
- "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
- ]
- },
- "customer_id": {
- "pattern": "^[0-9]+$",
- "type": "string"
- },
- "descriptions": {
- "items": {
- "maxLength": 90,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 4,
- "minItems": 2,
- "type": "array"
- },
- "final_urls": {
- "items": {
- "maxLength": 2048,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- },
- "headlines": {
- "items": {
- "maxLength": 30,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 15,
- "minItems": 3,
- "type": "array"
- },
- "keywords": {
- "items": {
- "oneOf": [
- {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "match_type": {
- "enum": [
- "BROAD",
- "PHRASE",
- "EXACT"
- ]
- },
- "negative": {
- "type": "boolean"
- },
- "text": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "text"
- ],
- "type": "object"
- }
- ]
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "name": {
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "roas": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "strategy": {
- "type": "string"
- }
- },
- "required": [
- "ad_group_name",
- "budget_micros",
- "keywords",
- "headlines",
- "descriptions",
- "final_urls",
- "contains_eu_political_advertising"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ad_group_name": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "app_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "app_store": {
+ "enum": [
+ "GOOGLE_APP_STORE",
+ "APPLE_APP_STORE"
+ ]
+ },
+ "budget_micros": {
+ "maximum": 9223372036854776000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "campaign_name": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "channel_type": {
+ "const": "MULTI_CHANNEL"
+ },
+ "contains_eu_political_advertising": {
+ "enum": [
+ "CONTAINS_EU_POLITICAL_ADVERTISING",
+ "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
+ ]
+ },
+ "conversion_actions": {
+ "items": {
+ "pattern": "^customers/[0-9]+/conversionActions/[1-9][0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "currency_code": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "deep_link": {
+ "pattern": "^https://",
+ "type": "string"
+ },
+ "descriptions": {
+ "items": {
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "goal": {
+ "enum": [
+ "install_tcpi",
+ "install_volume",
+ "install_action_tcpi",
+ "action_tcpa",
+ "action_volume",
+ "value_roas",
+ "value_volume",
+ "engagement",
+ "pre_registration"
+ ]
+ },
+ "headlines": {
+ "items": {
+ "maxLength": 30,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 5,
+ "minItems": 1,
+ "type": "array"
+ },
+ "image_assets": {
+ "items": {
+ "pattern": "^customers/[0-9]+/assets/[1-9][0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "language_ids": {
+ "items": {
+ "pattern": "^[1-9][0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "location_ids": {
+ "items": {
+ "pattern": "^[1-9][0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "target_cpa_micros": {
+ "maximum": 9223372036854776000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "target_roas": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "user_list": {
+ "pattern": "^customers/[0-9]+/userLists/[1-9][0-9]*$",
+ "type": "string"
+ },
+ "video_assets": {
+ "items": {
+ "pattern": "^customers/[0-9]+/assets/[1-9][0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "channel_type",
+ "campaign_name",
+ "ad_group_name",
+ "budget_micros",
+ "app_id",
+ "app_store",
+ "currency_code",
+ "headlines",
+ "descriptions",
+ "contains_eu_political_advertising"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ad_group_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "budget_micros": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "business_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "campaign_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "channel_type": {
+ "const": "DISPLAY"
+ },
+ "contains_eu_political_advertising": {
+ "enum": [
+ "CONTAINS_EU_POLITICAL_ADVERTISING",
+ "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
+ ]
+ },
+ "currency_code": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "customer_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "descriptions": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "final_urls": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "headlines": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "language_ids": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "location_ids": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "logo_assets": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "long_headline": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "marketing_image_assets": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "square_marketing_image_assets": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "channel_type",
+ "campaign_name",
+ "ad_group_name",
+ "budget_micros",
+ "currency_code",
+ "contains_eu_political_advertising",
+ "business_name",
+ "headlines",
+ "descriptions",
+ "final_urls",
+ "marketing_image_assets",
+ "square_marketing_image_assets",
+ "logo_assets",
+ "long_headline"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ad_group_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "all_products": {
+ "const": true
+ },
+ "budget_micros": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "campaign_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "channel_type": {
+ "const": "SHOPPING"
+ },
+ "contains_eu_political_advertising": {
+ "enum": [
+ "CONTAINS_EU_POLITICAL_ADVERTISING",
+ "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
+ ]
+ },
+ "cpc_bid_micros": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "currency_code": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "customer_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "feed_label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "language_ids": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "location_ids": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "merchant_id": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "channel_type",
+ "campaign_name",
+ "ad_group_name",
+ "budget_micros",
+ "currency_code",
+ "contains_eu_political_advertising",
+ "all_products",
+ "cpc_bid_micros",
+ "feed_label",
+ "merchant_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ad_group_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "audience": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "budget_micros": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "business_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "campaign_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "channel_type": {
+ "const": "DEMAND_GEN"
+ },
+ "channels": {
+ "items": {
+ "enum": [
+ "gmail",
+ "discover",
+ "display",
+ "youtubeInFeed"
+ ]
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "contains_eu_political_advertising": {
+ "enum": [
+ "CONTAINS_EU_POLITICAL_ADVERTISING",
+ "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
+ ]
+ },
+ "currency_code": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "customer_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "descriptions": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "final_urls": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "headlines": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "language_ids": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "location_ids": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "logo_assets": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "marketing_image_assets": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "square_marketing_image_assets": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "channel_type",
+ "campaign_name",
+ "ad_group_name",
+ "budget_micros",
+ "currency_code",
+ "contains_eu_political_advertising",
+ "business_name",
+ "headlines",
+ "descriptions",
+ "final_urls",
+ "marketing_image_assets",
+ "square_marketing_image_assets",
+ "logo_assets",
+ "channels",
+ "audience"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "anyOf": [
+ {
+ "required": [
+ "campaign_name"
+ ]
+ },
+ {
+ "required": [
+ "name"
+ ]
+ }
+ ],
+ "properties": {
+ "ad_group_cpc_bid_micros": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "ad_group_name": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "ad_group_type": {
+ "type": "string"
+ },
+ "amount_micros": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "budget_micros": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "campaign_name": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "channel_type": {
+ "enum": [
+ "SEARCH"
+ ]
+ },
+ "contains_eu_political_advertising": {
+ "enum": [
+ "CONTAINS_EU_POLITICAL_ADVERTISING",
+ "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"
+ ]
+ },
+ "customer_id": {
+ "pattern": "^[0-9]+$",
+ "type": "string"
+ },
+ "descriptions": {
+ "items": {
+ "maxLength": 90,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "excluded_location_ids": {
+ "description": "geo_target_constant ids to exclude.",
+ "items": {
+ "pattern": "^[1-9][0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "final_urls": {
+ "items": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ },
+ "geo_target_type": {
+ "description": "Defaults to PRESENCE (only people in the location).",
+ "enum": [
+ "PRESENCE",
+ "PRESENCE_OR_INTEREST"
+ ]
+ },
+ "headlines": {
+ "items": {
+ "maxLength": 30,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 15,
+ "minItems": 3,
+ "type": "array"
+ },
+ "keywords": {
+ "items": {
+ "oneOf": [
+ {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "match_type": {
+ "enum": [
+ "BROAD",
+ "PHRASE",
+ "EXACT"
+ ]
+ },
+ "negative": {
+ "type": "boolean"
+ },
+ "text": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "language_ids": {
+ "description": "language_constant ids. Required; there is no implicit all-languages default.",
+ "items": {
+ "pattern": "^[1-9][0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "location_ids": {
+ "description": "geo_target_constant ids (country, region or city) to target. Required; resolve names with google_ads_geo_targets_suggest.",
+ "items": {
+ "pattern": "^[1-9][0-9]*$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "name": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "roas": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "strategy": {
+ "type": "string"
+ },
+ "targeting_source": {
+ "description": "Where the targeting came from; shown in the approval summary. Defaults to user.",
+ "enum": [
+ "user",
+ "template",
+ "source_campaign"
+ ]
+ }
+ },
+ "required": [
+ "ad_group_name",
+ "budget_micros",
+ "keywords",
+ "headlines",
+ "descriptions",
+ "final_urls",
+ "contains_eu_political_advertising"
+ ],
+ "type": "object"
+ }
+]