Skip to main content
All CollectionsAdvertisersAPI
Video campaign creation example
Video campaign creation example
Xenia avatar
Written by Xenia
Updated over a month ago
{    "name": "test video",    "direction": "video",    "targetUrl": "http://www.test.com/in.php?sourceid={zoneid}",    "targeting": {        "os": {            "list": [                "android"            ],            "isExcluded": false        },        "browser": {            "list": [                "android_webview"            ],            "isExcluded": false        },        "country": {            "list": [                "fr"            ],            "isExcluded": false        },        "osType": {            "list": [                "mobile"            ],            "isExcluded": false        },        "connection": "all",        "osVersion": {            "list": [                "android11",                "android10"            ],            "isExcluded": false        },        "timeTable": {            "list": [                "Mon00",                "Mon01",                "Mon02",                "Mon03",                "Mon04",                "Mon05",                "Mon06",                "Mon07",                "Mon08",                "Mon09",                "Mon10",                "Mon11",                "Mon12",                "Mon13",                "Mon14",                "Mon15",                "Mon16",                "Mon17",                "Mon18",                "Mon19",                "Mon20",                "Mon21",                "Mon22",                "Mon23",                "Tue00",                "Tue01",                "Tue02",                "Tue03",                "Tue04",                "Tue05",                "Tue06",                "Tue07",                "Tue08",                "Tue09",                "Tue10",                "Tue11",                "Tue12",                "Tue13",                "Tue14",                "Tue15",                "Tue16",                "Tue17",                "Tue18",                "Tue19",                "Tue20",                "Tue21",                "Tue22",                "Tue23",                "Wed00",                "Wed01",                "Wed02",                "Wed03",                "Wed04",                "Wed05",                "Wed06",                "Wed07",                "Wed08",                "Wed09",                "Wed10",                "Wed11",                "Wed12",                "Wed13",                "Wed14",                "Wed15",                "Wed16",                "Wed17",                "Wed18",                "Wed19",                "Wed20",                "Wed21",                "Wed22",                "Wed23",                "Thu00",                "Thu01",                "Thu02",                "Thu03",                "Thu04",                "Thu05",                "Thu06",                "Thu07",                "Thu08",                "Thu09",                "Thu10",                "Thu11",                "Thu12",                "Thu13",                "Thu14",                "Thu15",                "Thu16",                "Thu17",                "Thu18",                "Thu19",                "Thu20",                "Thu21",                "Thu22",                "Thu23",                "Fri00",                "Fri01",                "Fri02",                "Fri03",                "Fri04",                "Fri05",                "Fri06",                "Fri07",                "Fri08",                "Fri09",                "Fri10",                "Fri11",                "Fri12",                "Fri13",                "Fri14",                "Fri15",                "Fri16",                "Fri17",                "Fri18",                "Fri19",                "Fri20",                "Fri21",                "Fri22",                "Fri23",                "Sat00",                "Sat01",                "Sat02",                "Sat03",                "Sat04",                "Sat05",                "Sat06",                "Sat07",                "Sat08",                "Sat09",                "Sat10",                "Sat11",                "Sat12",                "Sat13",                "Sat14",                "Sat15",                "Sat16",                "Sat17",                "Sat18",                "Sat19",                "Sat20",                "Sat21",                "Sat22",                "Sat23",                "Sun00",                "Sun01",                "Sun02",                "Sun03",                "Sun04",                "Sun05",                "Sun06",                "Sun07",                "Sun08",                "Sun09",                "Sun10",                "Sun11",                "Sun12",                "Sun13",                "Sun14",                "Sun15",                "Sun16",                "Sun17",                "Sun18",                "Sun19",                "Sun20",                "Sun21",                "Sun22",                "Sun23"            ],            "isExcluded": false        },        "deviceType": {            "list": [                "phone"            ],            "isExcluded": false        },        "proxy": 0    },"video": data:video/mp4;base64, HAJDGWJJE...    "rateModel": "scpc",    "dailyAmount": 10,    "totalAmount": 11,    "id": 1814414,    "capping": 86400,    "frequency": 3,    "impCapping": 86400,    "impFrequency": 3,    "evenlyLimitsUsage": 0,    "status": 1,    "isArchived": 0,    "isAdblockBuy": 1,    "rates": [        {            "amount": 0.02,            "countries": [                "fr"            ]        }    ],    "zoneRates": [],    "budgetLimit": 11,    "impressionsLimit": null,    "skipOffset": 5,    "feed": "main",    "isDSP": false,    "trafficVertical": "content",    "freqCapType": "device",    "impressionsLimitEnabled": false}
Did this answer your question?