content_mgr_add

Back to SOAP Architecture Method Reference

Description

The content_mgr_add method adds a piece of content (an ad copy) to your domain.

Parameters

Parameter Description Type Required (R) or Optional (O)
domain_id The unique ID# of your domain. bstypes:ResourceId R
name The name of the content. string R
originalfilename The name of the original file. string R
size The size of the file. long R
attributes

Information on the file, which will vary according to mime type. See List of Possible Attributes (by Mime Type).

string R
bmb_host_id The unique ID# of the player resource used to fetch Broadsign Creator (or Broadsign Publish) ad copy, if applicable. bstypes:ResourceId O
container_id The unique ID# of the folder in which the content is stored. bstypes:ResourceId O
feeds The source of any external feeds, for example, Twitter. string O
mime The mime type of your content. Corresponds to the ad copy type in Broadsign Control Administrator:
  • Standard ad copy: jpg; png; mp4; etc.
  • Creator ad copy: x-creator
  • External source ad copy: (mime type will be blank; size will read "-1")
  • Ticker ad copy: x-ticker
  • Web redirect ad copy: html
  • HTML package: x-html-package
  • Application ad copy: zip
string O
parent_id The unique ID# of the target Customer. bstypes:ResourceId O

Return Values

Value Description Type Required (R) or Optional (O)
id The unique ID# of the new content. bstypes:ResourceId R

List of Possible Attributes (by Mime Type)

Mime Type Possible Attributes
avi

duration

audio_codec

video_codec

height

width

keep_aspect_ratio

bmp

duration

keep_aspect_ratio

divx

duration

audio_codec

video_codec

height

width

keep_aspect_ratio

exe duration
f4v

duration

keep_aspect_ratio

fla duration
flv

duration

audio_codec

video_codec

height

width

volume_modifier

keep_aspect_ratio

gif

duration

height

width

htm duration
html

direct_url

show_scrollbars

jpeg

height

width

jpg

height

width

m2t

duration

height

width

audio_codec

video_codec

m2v

duration

height

width

video_codec

m4a

duration

audio_codec

volume_modifier

m4v

duration

keep_aspect_ratio

mht duration
mkv

duration

keep_aspect_ratio

video_codec

mov

duration

height

width

audio_codec

video_codec

keep_aspect_ratio

mp3

duration

audio_codec

mp4

duration

height

width

audio_codec

video_codec

keep_aspect_ratio

mpeg

duration

height

width

audio_codec

video_codec

mpg

duration

height

width

audio_codec

video_codec

keep_aspect_ratio

pls

duration

volume_modifier

png

duration

height

width

keep_aspect_ratio

tif

duration

keep_aspect_ratio

vob

duration

height

width

audio_codec

video_codec

keep_aspect_ratio

webm

duration

height

width

audio_codec

video_codec

keep_aspect_ratio

wma

duration

audio_codec

wmv

duration

width

height

audio_codec

video_codec

xap

duration

volume_modifier

x-creator

duration

volume_modifier

x-digital-tv duration
x-html-package

duration

main_html_file_path

xml duration
x-ticker duration
zip

duration

command_line_parameters

environment_variables

executable_path

run_as_admin

run_only_once