BannerService Types

BannerService WSDL


This service is stateless.

Examples +

  • upload file
.

createSettingsFromVastTemplatetop

Description



CustomVastSettings createSettingsFromVastTemplate(int $template_id, int $asset_id, string $vast_version)

Parameters

int $template_id
int $asset_id
string $vast_version

Return Values

CustomVastSettings

createSettingsFromWrapperTemplatetop

Description



VastWrapperBannerSettings createSettingsFromWrapperTemplate(int $template_id, string $vast_version)

Parameters

int $template_id
string $vast_version

getBannertop

Description

Requires administrator permissions.

Banner getBanner(int $id)

Parameters

int $id

Return Values

Banner

getCounttop

Description

Requires administrator permissions.

int getCount()

Return Values

int

getRtbBannersByBannerIdstop

Description



IntegerList getRtbBannersByBannerIds(IntegerList $list)

Parameters

IntegerList $list

Return Values

IntegerList

getSoaCollectionPagetop

Description

Gets a single SoaCollection page.
Requires administrator permissions.

For valid filters and qualifiers see getValidSoaCollectionFilters().

BannerList getSoaCollectionPage(KeySetPagedSoaCollectionConfiguration $configuration)

Parameters

KeySetPagedSoaCollectionConfiguration $configuration

Return Values

BannerList

getValidSoaCollectionFilterstop

Description

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

SoaCollectionValidFilterList getValidSoaCollectionFilters()

getVendorListForBannertop

Description

Gets the vendor list associated with a banner.

BannerVendorList getVendorListForBanner(int $id)

Parameters

int $id Banner ID

Return Values

BannerVendorList

getVendorListForCodetop

Description

Returns an array of vendor ids detected in the supplied string

BannerVendorList getVendorListForCode(string $code)

Parameters

string $code

Return Values

BannerVendorList

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

removeBannertop

Description

Requires administrator permissions.

boolean removeBanner(int $id)

Parameters

int $id Banner ID

Return Values

boolean True on success, otherwise false

saveBannertop

Description

Supports currently only banners of type "template" and "vast" banner

If you are using banner template with asset placeholder, certify that all assets are enqueued and encoded first with the methods:
AssetService::enqueueAssetEncodingForTemplateVersionAndAssetPlaceholder() and
AssetService::getAssetEncodingProgressForTemplateVersionAndAssetPlaceholder()

Requires administrator permissions.

int saveBanner(Banner $banner)

Parameters

Banner $banner

Return Values

int banner 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

}

AssetTemplateBannerPlaceholdertop

Definition

object AssetTemplateBannerPlaceholder extends TemplateBannerPlaceholder {
- int $value

required

Asset id

}

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

}

BannerListtop

Definition

object BannerList {
- Array <Banner> $banners

optional

- Array <NamedStringValue> $lastKeySet

optional

}

BannerVendortop

Definition

object BannerVendor {
- string $foundIn

required

- int $id

required

- string $name

required

}

BannerVendorListtop

Definition

object BannerVendorList {
- Array <BannerVendor> $vendors

optional

}

BooleanTemplateBannerPlaceholdertop

Definition

object BooleanTemplateBannerPlaceholder extends TemplateBannerPlaceholder {
- boolean $value

required

}

CampaignBannertop

Definition

object CampaignBanner extends Banner {
- int $campaignId

required

- int $weight

required

- int $priority

optional

Determines the evaluation order of campaign banners.
If two banners have the same priority, they will deliver according to weight.
Default: 1

Required network feature activation: campaign banner priority

- boolean $unlimited

optional

- boolean $behaviourTargetingRelevant

optional

- TypeSpecificBannerSettings $typeSpecificSettings

optional

- boolean $sslEnabled

optional

- RealTimeBiddingSettings $realTimeBiddingSettings

optional

}

ContentunitBannertop

Definition

Contentunit-wide default banner.

object ContentunitBanner extends Banner {
- int $contentunitId

required

- boolean $unlimited

optional

- boolean $behaviourTargetingRelevant

optional

- TypeSpecificBannerSettings $typeSpecificSettings

optional

- boolean $sslEnabled

optional

}

CustomVastSettingstop

Definition

Inheriting types:
- VideoVastBannerSettings
- AudioVastBannerSettings
- DoohVastBannerSettings

object abstractCustomVastSettings extends VastBannerSettings {
- string $adParameter

optional

- Array <Adverification> $adverifications

optional

- Viewability $viewability

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

}

IntegerListtop

Definition

IntegerList for SoapServices.
You may want to use this to pass a list of integers (e.g. ids) as
parameter in you soap service.

object IntegerList {
- Array <int> $integers

optional

The integers

}

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

}

NetworkBannertop

Definition

Network-wide default (system) banner.

object NetworkBanner extends Banner {
- boolean $unlimited

optional

- boolean $behaviourTargetingRelevant

optional

- TypeSpecificBannerSettings $typeSpecificSettings

optional

- boolean $sslEnabled

optional

}

PoolBannertop

Definition

Banner inside a banner pool.

object PoolBanner extends Banner {
- int $poolId

required

- boolean $unlimited

optional

- boolean $behaviourTargetingRelevant

optional

- TypeSpecificBannerSettings $typeSpecificSettings

optional

- boolean $sslEnabled

optional

- RealTimeBiddingSettings $realTimeBiddingSettings

optional

}

RealTimeBiddingSettingstop

Definition

object RealTimeBiddingSettings {
- string $landingPageUrl

optional

}

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.

}

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