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 |
Faults
enqueueAssetForEncodingForVastBannerSettingstop
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 |
Faults
getAssetEncodingProgressForSimplifiedVastBannerSettingstop
Description
Currently only video assets can be encoded.
AssetEncodingProgress getAssetEncodingProgressForSimplifiedVastBannerSettings(SimplifiedVastSettings $vast_banner_settings)
Parameters
SimplifiedVastSettings | $vast_banner_settings |
Return Values
AssetEncodingProgress |
Faults
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
Description
Currently only video assets can be encoded.
AssetEncodingProgress getAssetEncodingProgressForVastBannerSettings(CustomVastSettings $custom_vast_banner_settings)
Parameters
CustomVastSettings | $custom_vast_banner_settings |
Return Values
AssetEncodingProgress |
Faults
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()
Return Values
SoaCollectionValidFilterList |
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 |
Faults
Adverificationtop
Definition
- - 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
- - int $id
-
optional
- - string $originalFileName
-
required
- - int $byteSize
-
required
- - string $createdAt
-
required
AssetEncodingProgresstop
Definition
- - string $status
-
required
Possible values:
- missing
- waiting
- processing
- finished
- error - - int $percentage
-
required
AssetListtop
Definition
- - Array <Asset> $assets
-
optional
- - Array <NamedStringValue> $lastKeySet
-
optional
AssetTemplateBannerPlaceholdertop
Definition
- - int $value
-
required
Asset id
AudioSimplifiedVastSettingstop
Definition
- - Array <AudioVastEncoding> $encodings
-
optional
AudioVastBannerSettingstop
Definition
- - 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
- - int $id
-
optional
- - int $bitRate
-
required
- - int $sortOrder
-
required
- - string $mimeType
-
required
BooleanTemplateBannerPlaceholdertop
Definition
- - boolean $value
-
required
CustomVastSettingstop
Definition
Inheriting types:
- VideoVastBannerSettings
- AudioVastBannerSettings
- DoohVastBannerSettings
- - string $adParameter
-
optional
- - Array <Adverification> $adverifications
-
optional
- - Viewability $viewability
-
optional
DoohSimplifiedVastSettingstop
Definition
- - Array <DoohVastEncoding> $encodings
-
optional
DoohVastBannerSettingstop
Definition
- - 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
- - int $id
-
optional
- - int $bitRate
-
required
- - int $height
-
required
- - int $width
-
required
- - int $sortOrder
-
required
- - string $mimeType
-
required
FileBinaryTemplateBannerPlaceholdertop
Definition
- - string $value
-
required
The file as base64 encoded content
- - string $fileName
-
required
FileHashTemplateBannerPlaceholdertop
Definition
- - string $value
-
required
The cryptographic hash based on sha1
- - string $fileName
-
required
ImageAssettop
Definition
IntegerTemplateBannerPlaceholdertop
Definition
KeySetPagedSoaCollectionConfigurationtop
Definition
- - 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
- - boolean $inAppClickUrlEnabled
-
optional
- - string $placementType
-
required
Supported values: 'interstitial', 'inline'
NamedStringValuetop
Definition
- - string $name
-
required
- - string $value
-
required
SimplifiedVastSettingstop
Definition
Inheriting types:
- DoohSimplifiedVastSettings
- VideoSimplifiedVastSettings
- AudioSimplifiedVastSettings
- - int $assetId
-
required
SoaCollectionFiltertop
Definition
See SoaCollection::addQualifiedFilter().
- - string $target
-
required
- - string $value
-
required
- - int $qualifier
-
required
SoaCollectionFilterQualifiertop
Definition
Describes the possible qualifiers for a filter target
- - string $name
-
required
- - int $value
-
required
SoaCollectionValidFiltertop
Definition
Describes the possible qualifiers for a filter target
- - string $target
-
required
- - Array <SoaCollectionFilterQualifier> $qualifiers
-
optional
SoaCollectionValidFilterListtop
Definition
A list of valid filters and their qualifiers
StringTemplateBannerPlaceholdertop
Definition
- - 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
- - string $name
-
required
TemplateBannerSettingstop
Definition
- - 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
- - string $value
-
required
Up to 4096 bytes.
TypeSpecificBannerSettingstop
Definition
Inheriting types:
- TemplateBannerSettings
- VastBannerSettings
- VastWrapperBannerSettings
UniversalAdIdtop
Definition
- - int $id
-
optional
- - string $idRegistry
-
required
- - string $value
-
required
ValidationErrorMessagetop
Definition
- - string $identifier
-
required
- - Array <string> $messages
-
required
ValidationErrorMessageListtop
Definition
VastBannerSettingstop
Definition
Inheriting types:
- VideoVastBannerSettings
- AudioVastBannerSettings
- DoohVastBannerSettings
- - int $publisherTemplateId
-
optional
No longer used.
- - int $assetId
-
required
- - Array <VastEventTracking> $vastEventTrackings
-
optional
- - UniversalAdId $universalAdId
-
optional
VastEventTrackingtop
Definition
- - 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
- - int $id
-
optional
- - string $name
-
required
Must be vast2, vast4 or vast4.1
VastWrapperBannerSettingstop
Definition
- - 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
- - int $pixelWidth
-
required
- - int $pixelHeight
-
required
- - int $durationInSeconds
-
required
VideoSimplifiedVastSettingstop
Definition
- - Array <VideoVastEncoding> $encodings
-
optional
VideoVastBannerSettingstop
Definition
- - 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
- - int $id
-
optional
- - int $bitRate
-
required
- - int $height
-
required
- - int $width
-
required
- - int $sortOrder
-
required
- - string $mimeType
-
required
Viewabilitytop
Definition
- - int $id
-
optional
- - string $viewableUrl
-
optional
- - string $notViewableUrl
-
optional
- - string $viewUndeterminedUrl
-
optional