AssetService Types

AssetService WSDL


This service is stateless.

enqueueAssetEncodingForTemplateVersionAndAssetPlaceholdertop

Description

Encoding progress can be polled via getAssetEncodingProgressForTemplateVersionAndAssetPlaceholder()

boolean enqueueAssetEncodingForTemplateVersionAndAssetPlaceholder(int $template_version_id, AssetTemplateBannerPlaceholder $placeholder)

Parameters

int $template_version_id
AssetTemplateBannerPlaceholder $placeholder

Return Values

boolean True on success, otherwise false

enqueueAssetForEncodingForSimplifiedVastBannerSettingstop

Description

Encoding progress can be polled via getAssetEncodingProgressForVastBannerSettings()

boolean enqueueAssetForEncodingForSimplifiedVastBannerSettings(SimplifiedVastSettings $vast_banner_settings)

Parameters

SimplifiedVastSettings $vast_banner_settings

Return Values

boolean True on success, otherwise false

enqueueAssetForEncodingForVastBannerSettingstop

Deprecated 2021-11-30

This method will be removed in upcoming releases.

()

Description

Encoding progress can be polled via getAssetEncodingProgressForVastBannerSettings()

boolean enqueueAssetForEncodingForVastBannerSettings(CustomVastSettings $custom_vast_banner_settings)

Parameters

CustomVastSettings $custom_vast_banner_settings

Return Values

boolean True on success, otherwise false

getAssettop

Description



Asset getAsset(int $asset_id)

Parameters

int $asset_id

Return Values

Asset

getAssetEncodingProgressForSimplifiedVastBannerSettingstop

Description

Currently only video assets can be encoded.

AssetEncodingProgress getAssetEncodingProgressForSimplifiedVastBannerSettings(SimplifiedVastSettings $vast_banner_settings)

Parameters

SimplifiedVastSettings $vast_banner_settings

Return Values

AssetEncodingProgress

getAssetEncodingProgressForTemplateVersionAndAssetPlaceholdertop

Description

Encoding progress for template version and asset placeholder

AssetEncodingProgress getAssetEncodingProgressForTemplateVersionAndAssetPlaceholder(int $template_version_id, AssetTemplateBannerPlaceholder $placeholder)

Parameters

int $template_version_id
AssetTemplateBannerPlaceholder $placeholder

Return Values

AssetEncodingProgress

getAssetEncodingProgressForVastBannerSettingstop

Deprecated 2021-11-30

This method will be removed in upcoming releases.

()

Description

Currently only video assets can be encoded.

AssetEncodingProgress getAssetEncodingProgressForVastBannerSettings(CustomVastSettings $custom_vast_banner_settings)

Parameters

CustomVastSettings $custom_vast_banner_settings

Return Values

AssetEncodingProgress

getCounttop

Description



int getCount()

Return Values

int

getSimplifiedVastSettingsForTemplatetop

Description



SimplifiedVastSettings getSimplifiedVastSettingsForTemplate(int $template_id, int $asset_id)

Parameters

int $template_id
int $asset_id

Return Values

SimplifiedVastSettings

getSoaCollectionPagetop

Description

Gets a single SoaCollection page.
Requires administrator permissions.

For valid filters and qualifiers see getValidSoaCollectionFilters().

AssetList getSoaCollectionPage(KeySetPagedSoaCollectionConfiguration $configuration)

Parameters

KeySetPagedSoaCollectionConfiguration $configuration

Return Values

AssetList

getValidSoaCollectionFilterstop

Description

Gets valid soa collection search filters and their qualifier name / values

SoaCollectionValidFilterList getValidSoaCollectionFilters()

logintop

Description

Initializes a new session with given information

boolean login(string $user, string $pass, int $network)

Parameters

string $user Username
string $pass Password
int $network $network Network ID

Return Values

boolean true on success, false on fail

logouttop

Description

Destroys the active session, logging out the user.

boolean logout()

Return Values

boolean true on success, false on fail

uploadNewAssettop

Description



int uploadNewAsset(string $original_file_name, string $base64_encoded_file_content)

Parameters

string $original_file_name
string $base64_encoded_file_content

Return Values

int asset ID

Adverificationtop

Definition

object Adverification {
- int $id

optional

- string $vendor

required

- boolean $browserOptional

optional

- string $javascriptUrl

required

- string $javascriptApiFramework

optional

- string $verificationNotExecutedUrl

optional

- string $verificationParams

optional

}

Assettop

Definition

Inheriting types:
- ImageAsset
- VideoAsset
- AudioAsset

object abstractAsset {
- int $id

optional

- string $originalFileName

required

- int $byteSize

required

- string $createdAt

required

}

AssetEncodingProgresstop

Definition

object AssetEncodingProgress {
- string $status

required

Possible values:
- missing
- waiting
- processing
- finished
- error

- int $percentage

required

}

AssetListtop

Definition

object AssetList {
- Array <Asset> $assets

optional

- Array <NamedStringValue> $lastKeySet

optional

}

AssetTemplateBannerPlaceholdertop

Definition

object AssetTemplateBannerPlaceholder extends TemplateBannerPlaceholder {
- int $value

required

Asset id

}

AudioAssettop

Definition

object AudioAsset extends Asset {
- int $durationInSeconds

required

}

AudioSimplifiedVastSettingstop

Definition

object AudioSimplifiedVastSettings extends SimplifiedVastSettings {
- Array <AudioVastEncoding> $encodings

optional

}

AudioVastBannerSettingstop

Definition

object AudioVastBannerSettings extends CustomVastSettings {
- int $bannerId

optional

Deprecated since 2021-11-31

- string $vastType

optional

Deprecated since 2019-12-16

- VastVersion $vastVersion

required

- Array <AudioVastEncoding> $encodings

optional

- string $vastExtension

optional

- boolean $hasMezzanine

optional

A boolean flag to indicate if this setting refers to a vast banner that has a Mezzanine audio asset. True value is only supported for vast version 4 and above.

}

AudioVastEncodingtop

Definition

object AudioVastEncoding {
- int $id

optional

- int $bitRate

required

- int $sortOrder

required

- string $mimeType

required

}

BooleanTemplateBannerPlaceholdertop

Definition

object BooleanTemplateBannerPlaceholder extends TemplateBannerPlaceholder {
- boolean $value

required

}

CustomVastSettingstop

Definition

Inheriting types:
- VideoVastBannerSettings
- AudioVastBannerSettings
- DoohVastBannerSettings

object abstractCustomVastSettings extends VastBannerSettings {
- string $adParameter

optional

- Array <Adverification> $adverifications

optional

- Viewability $viewability

optional

}

DoohSimplifiedVastSettingstop

Definition

object DoohSimplifiedVastSettings extends SimplifiedVastSettings {
- Array <DoohVastEncoding> $encodings

optional

}

DoohVastBannerSettingstop

Definition

object DoohVastBannerSettings extends CustomVastSettings {
- int $bannerId

optional

Deprecated since 2021-11-31

- boolean $scalable

optional

- boolean $aspectRatioMaintained

optional

- string $vastType

optional

Deprecated since 2019-12-16

- VastVersion $vastVersion

required

- Array <DoohVastEncoding> $encodings

optional

- boolean $skippable

optional

DOOH vast banners are always not-skippable. Any value provided in this field will be ignored. (Read-only)

- string $vastExtension

optional

}

DoohVastEncodingtop

Definition

object DoohVastEncoding {
- int $id

optional

- int $bitRate

required

- int $height

required

- int $width

required

- int $sortOrder

required

- string $mimeType

required

}

FileBinaryTemplateBannerPlaceholdertop

Definition

object FileBinaryTemplateBannerPlaceholder extends TemplateBannerPlaceholder {
- string $value

required

The file as base64 encoded content

- string $fileName

required

}

FileHashTemplateBannerPlaceholdertop

Definition

object FileHashTemplateBannerPlaceholder extends TemplateBannerPlaceholder {
- string $value

required

The cryptographic hash based on sha1

- string $fileName

required

}

ImageAssettop

Definition

object ImageAsset extends Asset {
- int $pixelWidth

required

- int $pixelHeight

required

}

IntegerTemplateBannerPlaceholdertop

Definition

object IntegerTemplateBannerPlaceholder extends TemplateBannerPlaceholder {
- int $value

required

}

KeySetPagedSoaCollectionConfigurationtop

Definition

object KeySetPagedSoaCollectionConfiguration {
- Array <SoaCollectionFilter> $filters

optional

See SoaCollection::addQualifiedFilter()

- int $pageSize

required

- Array <NamedStringValue> $lastKeySet

optional

Read-only specification of the last collection element for key-set based paging.
The value is an implementation detail and must only be used for passing it directly
to getSoaCollectionPage() in order to navigate to the next collection page.
The value must be retrieved from the "lastKeySet" property of the previous getSoaCollectionPage() call.
To be left empty for the very first getSoaCollectionPage() call (default).

- boolean $useReplication

optional

Enables usage of replicated data increasing the performance and stability of search operations.

Regardless of this setting live data will be used instead in case of replication having
a lag of more than a couple of seconds.

}

MobileSdkSettingstop

Definition

object MobileSdkSettings {
- boolean $inAppClickUrlEnabled

optional

- string $placementType

required

Supported values: 'interstitial', 'inline'

}

NamedStringValuetop

Definition

object NamedStringValue {
- string $name

required

- string $value

required

}

SimplifiedVastSettingstop

Definition

Inheriting types:
- DoohSimplifiedVastSettings
- VideoSimplifiedVastSettings
- AudioSimplifiedVastSettings

object abstractSimplifiedVastSettings {
- int $assetId

required

}

SoaCollectionFiltertop

Definition

See SoaCollection::addQualifiedFilter().

object SoaCollectionFilter {
- string $target

required

- string $value

required

- int $qualifier

required

}

SoaCollectionFilterQualifiertop

Definition

Describes the possible qualifiers for a filter target

object SoaCollectionFilterQualifier {
- string $name

required

- int $value

required

}

SoaCollectionValidFiltertop

Definition

Describes the possible qualifiers for a filter target

object SoaCollectionValidFilter {
- string $target

required

- Array <SoaCollectionFilterQualifier> $qualifiers

optional

}

SoaCollectionValidFilterListtop

Definition

A list of valid filters and their qualifiers

object SoaCollectionValidFilterList {
- Array <SoaCollectionValidFilter> $validFilters

optional

}

StringTemplateBannerPlaceholdertop

Definition

object StringTemplateBannerPlaceholder extends TemplateBannerPlaceholder {
- string $value

required

Up to 255 bytes.

}

TemplateBannerPlaceholdertop

Definition

See Placeholder in BannerTemplateService for the placeholder name and restrictions on its value.



Inheriting types:
- BooleanTemplateBannerPlaceholder
- IntegerTemplateBannerPlaceholder
- StringTemplateBannerPlaceholder
- TextTemplateBannerPlaceholder
- FileBinaryTemplateBannerPlaceholder
- FileHashTemplateBannerPlaceholder
- AssetTemplateBannerPlaceholder

object abstractTemplateBannerPlaceholder {
- string $name

required

}

TemplateBannerSettingstop

Definition

object TemplateBannerSettings extends TypeSpecificBannerSettings {
- int $templateVersionId

required

See BannerTemplateService::getShortBannerTemplateInfoList() for a list of available templates.

Use the ID of ShortBannerTemplateInfo with BannerTemplateService::getBannerTemplateWithNewestVersion() to get the newest template version and its ID for creating a new or synchronizing an existing banner.

Use BannerTemplateService::getBannerTemplateByVersionId() for information on a possibly older template version when editing an existing banner.

- Array <TemplateBannerPlaceholder> $placeholders

optional

See BannerTemplateVersion in BannerTemplateService for a list of available placeholders.

- MobileSdkSettings $mobileSdkSettings

optional

Only relevant in case of a template with a "mobilesdk" display type.

}

TextTemplateBannerPlaceholdertop

Definition

object TextTemplateBannerPlaceholder extends TemplateBannerPlaceholder {
- string $value

required

Up to 4096 bytes.

}

TypeSpecificBannerSettingstop

Definition

Inheriting types:
- TemplateBannerSettings
- VastBannerSettings
- VastWrapperBannerSettings

object abstractTypeSpecificBannerSettings {
}

UniversalAdIdtop

Definition

object UniversalAdId {
- int $id

optional

- string $idRegistry

required

- string $value

required

}

ValidationErrorMessagetop

Definition

object ValidationErrorMessage {
- string $identifier

required

- Array <string> $messages

required

}

ValidationErrorMessageListtop

Definition

object ValidationErrorMessageList {
- Array <ValidationErrorMessage> $messages

optional

}

VastBannerSettingstop

Definition

Inheriting types:
- VideoVastBannerSettings
- AudioVastBannerSettings
- DoohVastBannerSettings

object VastBannerSettings extends TypeSpecificBannerSettings {
- int $publisherTemplateId

optional

No longer used.

- int $assetId

required

- Array <VastEventTracking> $vastEventTrackings

optional

- UniversalAdId $universalAdId

optional

}

VastEventTrackingtop

Definition

object VastEventTracking {
- string $vastEventName

required

- string $bannerEventName

optional

Banner event key as configured on network level.
If null, a system banner event matching the vast event will be used automatically.
See BannerEventService::getValidSoaCollectionPage() for a list of available banner events.

- Array <string> $customTrackingUrls

optional

}

VastVersiontop

Definition

object VastVersion {
- int $id

optional

- string $name

required

Must be vast2, vast4 or vast4.1

}

VastWrapperBannerSettingstop

Definition

object VastWrapperBannerSettings extends TypeSpecificBannerSettings {
- Array <VastEventTracking> $vastEventTrackings

optional

- boolean $followAdditionalWrappers

optional

- boolean $allowMultipleAds

optional

- boolean $fallbackOnNoAd

optional

- string $vastExtension

optional

- VastVersion $vastVersion

required

- Array <Adverification> $adverifications

optional

- Viewability $viewability

optional

- int $duration

optional

Used to specify the duration (in seconds) of the VAST wrapper banner.

}

VideoAssettop

Definition

object VideoAsset extends Asset {
- int $pixelWidth

required

- int $pixelHeight

required

- int $durationInSeconds

required

}

VideoSimplifiedVastSettingstop

Definition

object VideoSimplifiedVastSettings extends SimplifiedVastSettings {
- Array <VideoVastEncoding> $encodings

optional

}

VideoVastBannerSettingstop

Definition

object VideoVastBannerSettings extends CustomVastSettings {
- int $bannerId

optional

Deprecated since 2021-11-31

- string $vastType

optional

Deprecated since 2019-12-16

- boolean $scalable

optional

- boolean $aspectRatioMaintained

optional

- boolean $skippable

optional

- string $vastExtension

optional

- VastVersion $vastVersion

required

- Array <VideoVastEncoding> $encodings

optional

- boolean $hasMezzanine

optional

A boolean flag to indicate if this setting refers to a vast banner that has a Mezzanine video asset. True value is only supported for vast version 4 and above.

}

VideoVastEncodingtop

Definition

object VideoVastEncoding {
- int $id

optional

- int $bitRate

required

- int $height

required

- int $width

required

- int $sortOrder

required

- string $mimeType

required

}

Viewabilitytop

Definition

object Viewability {
- int $id

optional

- string $viewableUrl

optional

- string $notViewableUrl

optional

- string $viewUndeterminedUrl

optional

}

Console