Edit video

Edit single video

Edit existing video

Edit an existing video using the following API call:

POST https://{user.brid_api_url}/apiv3/video/edit/{{VIDEO_ID}}.json

Parameters

Parameter name

Description

Required

name (string)

Video name

optional

tags (string)

Comma separated tags

optional

clickthroughURL (string)

Clickthrough for the video

optional

channel_id (integer)

Id of the channel to which the video should belong. Get list of all available channels in Targetvideo

optional

age_gate_id (integer)

Age gate for the video
1 => Everyone
2 => 17+ (ESRB - Mature rated)
3 => 18+ (ESRB - Adults only)

optional

publish (string)

Valid date in d-m-Y format, when the video will be published

optional

kill_date (string)

Valid date in d-m-Y format, when the video will be unpublished

optional

rejected (integer)

Set this to 1 if you want to exclude the video from playlsits

optional

image (string)

A valid URL to an image which will be used for video snapshot

optional

monetize (integer)

Set this to 0 if you want to exclude this video from monetization. Default value is 1.

optional

geo_on (integer)

Set this to true if you want to enable GEO targeting for video. Default value is false

optional

geo (string)

Comma separated value of valid country codes from https://www.pastiebin.com/5d662fd3ef474

optional

If you would like to add comScore tracking for the video make sure to include following data in the request:

Parameters

Parameter nameDescriptionRequired
ns_st_sn (string)comScore Content Season Numberoptional
ns_st_en (string)comScore Content Episode Numberoptional
ns_st_ge (string)comScore Content Genreoptional
ns_st_ddt (string)comScore Content Digital Air Dateoptional
ns_st_tdt (string)comScore Content TV Airdateoptional
ns_st_st (string)comScore Station Titleoptional
ns_st_pu (string)comScore Publisher Brand Nameoptional
ns_st_ce (string)comScore Content Complete Episode Flagoptional
ns_user_gen (string)comScore User Generated Contentoptional

If you would like to enable custom targeting fom DFP/GAM make sure to include the following params in the request:

Parameters

Parameter nameDescriptionRequired
CustomParam[key][] (string)Name of the parameteroptional
CustomParam[value][] (string)value of the parameteryes if key is provided

If you would like to have chapters for the video include the following data in the request:

Parameters

Parameter nameDescriptionRequired
Chapter[timestamp] [] (string)Timestamp when the chapter should beginoptional
Chapter[title] [] (string)Title of the chapter. This will be shown in the playeroptional

Example requests

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://{user.brid_api_url}/apiv3/videos/edit.json",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => array('data[Video][id]' => 'VIDEO_ID','data[Video][name]' => '3 Sec Video - edit','data[Video][tags]' => 'aaa,bbb,ccc','data[Video][clickthroughUrl]' => ' ','data[Video][channel_id]' => '18','data[Video][age_gate_id]' => '1','data[Video][publish]' => '30-07-2020','data[Video][kill_date]' => '00-00-0000','data[Video][rejected]' => '0','data[Video][image]' => '//cdn.brid.tv/uid/partners/12579/snapshot/540556.png','data[Video][monetize]' => '0','data[Video][pixels][impression]' => '','data[Video][pixels][viewable]' => '','data[Video][pixels][firstQuartile]' => '','data[Video][pixels][midpoint]' => '','data[Video][pixels][thirdQuartile]' => '','data[Video][pixels][complete]' => '','data[Video][pixels][clickthrough_url]' => '','data[Video][pixels][clickthrough]' => '','data[Video][geo_on]' => '1','data[Video][geo]' => 'AF,AX,DZ','data[Video][ns_st_sn]' => '','data[Video][ns_st_en]' => '','data[Video][ns_st_ge]' => '','data[Video][ns_st_ddt]' => '','data[Video][ns_st_tdt]' => '','data[Video][ns_st_st]' => '','data[Video][ns_st_pu]' => '','data[Video][ns_st_ce]' => '0','data[Video][ns_user_gen]' => '0','data[CustomParam][key][]' => 'slot','data[CustomParam][value][]' => 'pre-role','data[CustomParam][key][]' => 'prod','data[CustomParam][value][]' => 'opel','data[Video][partner_id]' => 'PARTNER_ID'),
  CURLOPT_HTTPHEADER => array(
    "User-Agent: Api | BridVideo"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = new MultipartBody.Builder().setType(MultipartBody.FORM)
  .addFormDataPart("data[Video][id]", "VIDEO_ID")
  .addFormDataPart("data[Video][name]", "3 Sec Video - edit")
  .addFormDataPart("data[Video][tags]", "aaa,bbb,ccc")
  .addFormDataPart("data[Video][clickthroughUrl]", " ")
  .addFormDataPart("data[Video][channel_id]", "18")
  .addFormDataPart("data[Video][age_gate_id]", "1")
  .addFormDataPart("data[Video][publish]", "30-07-2020")
  .addFormDataPart("data[Video][kill_date]", "00-00-0000")
  .addFormDataPart("data[Video][rejected]", "0")
  .addFormDataPart("data[Video][image]", "//cdn.brid.tv/uid/partners/12579/snapshot/540556.png")
  .addFormDataPart("data[Video][monetize]", "0")
  .addFormDataPart("data[Video][pixels][impression]", "")
  .addFormDataPart("data[Video][pixels][viewable]", "")
  .addFormDataPart("data[Video][pixels][firstQuartile]", "")
  .addFormDataPart("data[Video][pixels][midpoint]", "")
  .addFormDataPart("data[Video][pixels][thirdQuartile]", "")
  .addFormDataPart("data[Video][pixels][complete]", "")
  .addFormDataPart("data[Video][pixels][clickthrough_url]", "")
  .addFormDataPart("data[Video][pixels][clickthrough]", "")
  .addFormDataPart("data[Video][geo_on]", "1")
  .addFormDataPart("data[Video][geo]", "AF,AX,DZ")
  .addFormDataPart("data[Video][ns_st_sn]", "")
  .addFormDataPart("data[Video][ns_st_en]", "")
  .addFormDataPart("data[Video][ns_st_ge]", "")
  .addFormDataPart("data[Video][ns_st_ddt]", "")
  .addFormDataPart("data[Video][ns_st_tdt]", "")
  .addFormDataPart("data[Video][ns_st_st]", "")
  .addFormDataPart("data[Video][ns_st_pu]", "")
  .addFormDataPart("data[Video][ns_st_ce]", "0")
  .addFormDataPart("data[Video][ns_user_gen]", "0")
  .addFormDataPart("data[CustomParam][key][]", "slot")
  .addFormDataPart("data[CustomParam][value][]", "pre-role")
  .addFormDataPart("data[CustomParam][key][]", "prod")
  .addFormDataPart("data[CustomParam][value][]", "opel")
  .addFormDataPart("data[Video][partner_id]", "PARTNER_ID")
  .build();
Request request = new Request.Builder()
  .url("https://<<brid_api_url>>//apiv2/videos/edit.json")
  .method("POST", body)
  .addHeader("User-Agent", "Api | BridVideo")
  .build();
Response response = client.newCall(request).execute();
var https = require('follow-redirects').https;
var fs = require('fs');

var options = {
  'method': 'POST',
  'hostname': '<<brid_api_url>>',
  'path': '//apiv2/videos/edit.json',
  'headers': {
    'User-Agent': 'Api | BridVideo'
  },
  'maxRedirects': 20
};

var req = https.request(options, function (res) {
  var chunks = [];

  res.on("data", function (chunk) {
    chunks.push(chunk);
  });

  res.on("end", function (chunk) {
    var body = Buffer.concat(chunks);
    console.log(body.toString());
  });

  res.on("error", function (error) {
    console.error(error);
  });
});

var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][id]\"\r\n\r\nVIDEO_ID\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][name]\"\r\n\r\n3 Sec Video - edit\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][tags]\"\r\n\r\naaa,bbb,ccc\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][clickthroughUrl]\"\r\n\r\n \r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][channel_id]\"\r\n\r\n18\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][age_gate_id]\"\r\n\r\n1\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][publish]\"\r\n\r\n30-07-2020\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][kill_date]\"\r\n\r\n00-00-0000\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][rejected]\"\r\n\r\n0\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][image]\"\r\n\r\n//cdn.brid.tv/uid/partners/12579/snapshot/540556.png\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][monetize]\"\r\n\r\n0\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][pixels][impression]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][pixels][viewable]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][pixels][firstQuartile]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][pixels][midpoint]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][pixels][thirdQuartile]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][pixels][complete]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][pixels][clickthrough_url]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][pixels][clickthrough]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][geo_on]\"\r\n\r\n1\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][geo]\"\r\n\r\nAF,AX,DZ\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][ns_st_sn]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][ns_st_en]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][ns_st_ge]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][ns_st_ddt]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][ns_st_tdt]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][ns_st_st]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][ns_st_pu]\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][ns_st_ce]\"\r\n\r\n0\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][ns_user_gen]\"\r\n\r\n0\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[CustomParam][key][]\"\r\n\r\nslot\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[CustomParam][value][]\"\r\n\r\npre-role\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[CustomParam][key][]\"\r\n\r\nprod\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[CustomParam][value][]\"\r\n\r\nopel\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"data[Video][partner_id]\"\r\n\r\nPARTNER_ID\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--";

req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW');

req.write(postData);

req.end();
import http.client
import mimetypes
conn = http.client.HTTPSConnection("<<brid_api_url>>")
dataList = []
boundary = 'wL36Yn8afVp8Ag7AmP8qZ0SA4n1v9T'
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][id];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("VIDEO_ID")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][name];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("3 Sec Video - edit")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][tags];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("aaa,bbb,ccc")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][clickthroughUrl];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][channel_id];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("18")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][age_gate_id];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("1")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][publish];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("30-07-2020")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][kill_date];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("00-00-0000")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][rejected];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("0")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][image];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("//cdn.brid.tv/uid/partners/12579/snapshot/540556.png")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][monetize];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("0")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][pixels][impression];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][pixels][viewable];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][pixels][firstQuartile];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][pixels][midpoint];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][pixels][thirdQuartile];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][pixels][complete];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][pixels][clickthrough_url];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][pixels][clickthrough];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][geo_on];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("1")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][geo];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("AF,AX,DZ")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][ns_st_sn];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][ns_st_en];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][ns_st_ge];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][ns_st_ddt];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][ns_st_tdt];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][ns_st_st];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][ns_st_pu];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][ns_st_ce];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("0")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][ns_user_gen];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("0")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[CustomParam][key][];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("slot")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[CustomParam][value][];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("pre-role")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[CustomParam][key][];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("prod")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[CustomParam][value][];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("opel")
dataList.append('--' + boundary)
dataList.append('Content-Disposition: form-data; name=data[Video][partner_id];')

dataList.append('Content-Type: {}'.format('multipart/form-data'))
dataList.append('')

dataList.append("PARTNER_ID")
dataList.append('--'+boundary+'--')
dataList.append('')
body = '\r\n'.join(dataList)
payload = body
headers = {
  'User-Agent': 'Api | BridVideo',
  'Content-type': 'multipart/form-data; boundary={}'.format(boundary)
}
conn.request("POST", "//apiv2/videos/edit.json", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
require "uri"
require "net/http"

url = URI("https://<<brid_api_url>>/apiv2/videos/edit.json")

https = Net::HTTP.new(url.host, url.port);
https.use_ssl = true

request = Net::HTTP::Post.new(url)
request["User-Agent"] = "Api | BridVideo"
form_data = [['data[Video][id]', 'VIDEO_ID'],['data[Video][name]', '3 Sec Video - edit'],['data[Video][tags]', 'aaa,bbb,ccc'],['data[Video][clickthroughUrl]', ' '],['data[Video][channel_id]', '18'],['data[Video][age_gate_id]', '1'],['data[Video][publish]', '30-07-2020'],['data[Video][kill_date]', '00-00-0000'],['data[Video][rejected]', '0'],['data[Video][image]', '//cdn.brid.tv/uid/partners/12579/snapshot/540556.png'],['data[Video][monetize]', '0'],['data[Video][pixels][impression]', ''],['data[Video][pixels][viewable]', ''],['data[Video][pixels][firstQuartile]', ''],['data[Video][pixels][midpoint]', ''],['data[Video][pixels][thirdQuartile]', ''],['data[Video][pixels][complete]', ''],['data[Video][pixels][clickthrough_url]', ''],['data[Video][pixels][clickthrough]', ''],['data[Video][geo_on]', '1'],['data[Video][geo]', 'AF,AX,DZ'],['data[Video][ns_st_sn]', ''],['data[Video][ns_st_en]', ''],['data[Video][ns_st_ge]', ''],['data[Video][ns_st_ddt]', ''],['data[Video][ns_st_tdt]', ''],['data[Video][ns_st_st]', ''],['data[Video][ns_st_pu]', ''],['data[Video][ns_st_ce]', '0'],['data[Video][ns_user_gen]', '0'],['data[CustomParam][key][]', 'slot'],['data[CustomParam][value][]', 'pre-role'],['data[CustomParam][key][]', 'prod'],['data[CustomParam][value][]', 'opel'],['data[Video][partner_id]', 'PARTNER_ID']]
request.set_form form_data, 'multipart/form-data'
response = https.request(request)
puts response.read_body