content_mgr_import_from_url

Back to SOAP Architecture Method Reference

Description

The content_mgr_import_from_url method imports content (an ad copy) to your domain from a URL. For a use case with code samples, see Import Content from a URL (SOAP).

Parameters

Parameter Description Type Required (R) or Optional (O)
domain_id The unique ID# of your domain. bstypes:ResourceId R
name The name of your content (or ad copy). string R
url The URL from which you will import your content. string R
attributes

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

string O
container_id The unique ID# of the folder in which your content is stored. bstypes:ResourceId 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 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