Raw schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"budget_cpm": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000
},
"daily_budget_usd": {
"type": "number",
"minimum": 0,
"maximum": 100000
},
"total_budget_usd": {
"type": "number",
"minimum": 0,
"maximum": 10000000
},
"screen_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 50
},
"maxItems": 500
},
"venue_types": {
"type": "array",
"items": {
"type": "string",
"maxLength": 50
},
"maxItems": 20
},
"targeting": {
"type": "object",
"properties": {
"geo": {
"type": "object",
"properties": {
"city": {
"type": "string",
"maxLength": 100
},
"state": {
"type": "string",
"maxLength": 100
},
"country": {
"type": "string",
"maxLength": 100
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"radius_km": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 500
}
},
"additionalProperties": false
},
"audience_profile": {
"type": "object",
"properties": {
"income": {
"type": "string"
},
"lifestyle": {
"type": "string"
},
"min_attention": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"additionalProperties": false
},
"schedule": {
"type": "object",
"properties": {
"days": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 6
}
},
"hours": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 23
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"creative_url": {
"type": "string",
"format": "uri"
},
"creative_type": {
"type": "string",
"enum": [
"video",
"image",
"vast"
]
},
"creative_duration": {
"type": "integer",
"minimum": 1,
"maximum": 120
},
"start_date": {
"type": "string"
},
"end_date": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}