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 |
Return Values
VastWrapperBannerSettings |
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()
Return Values
SoaCollectionValidFilterList |
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 |
Faults
Adverificationtop
Definition
- - int $id
-
optional
- - string $vendor
-
required
- - boolean $browserOptional
-
optional
- - string $javascriptUrl
-
required
- - string $javascriptApiFramework
-
optional
- - string $verificationNotExecutedUrl
-
optional
- - string $verificationParams
-
optional
AssetTemplateBannerPlaceholdertop
Definition
- - int $value
-
required
Asset id
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
Bannertop
Definition
Inheriting types:
- CampaignBanner
- ContentunitBanner
- NetworkBanner
- PoolBanner
- - int $id
-
optional
- - string $name
-
required
- - string $externalId
-
optional
- - string $type
-
required
- - string $bannerType
-
required
- - string $clickUrl
-
required
- - boolean $active
-
required
- - string $startTime
-
required
Y-m-d H:i:s
- - string $endTime
-
required
Y-m-d H:i:s
- - boolean $trueCount
-
optional
- - int $width
-
required
- - int $height
-
required
- - int $creatorId
-
optional
- - string $createdAt
-
optional
- - string $updatedAt
-
optional
- - boolean $tcfCompliant
-
required
- - string $adGapId
-
optional
BannerListtop
Definition
- - Array <Banner> $banners
-
optional
- - Array <NamedStringValue> $lastKeySet
-
optional
BannerVendortop
Definition
- - string $foundIn
-
required
- - int $id
-
required
- - string $name
-
required
BannerVendorListtop
Definition
BooleanTemplateBannerPlaceholdertop
Definition
- - boolean $value
-
required
CampaignBannertop
Definition
- - 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.
- - int $contentunitId
-
required
- - boolean $unlimited
-
optional
- - boolean $behaviourTargetingRelevant
-
optional
- - TypeSpecificBannerSettings $typeSpecificSettings
-
optional
- - boolean $sslEnabled
-
optional
CustomVastSettingstop
Definition
Inheriting types:
- VideoVastBannerSettings
- AudioVastBannerSettings
- DoohVastBannerSettings
- - string $adParameter
-
optional
- - Array <Adverification> $adverifications
-
optional
- - Viewability $viewability
-
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
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.
- - Array <int> $integers
-
optional
The integers
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
NetworkBannertop
Definition
Network-wide default (system) banner.
- - boolean $unlimited
-
optional
- - boolean $behaviourTargetingRelevant
-
optional
- - TypeSpecificBannerSettings $typeSpecificSettings
-
optional
- - boolean $sslEnabled
-
optional
PoolBannertop
Definition
Banner inside a banner pool.
- - int $poolId
-
required
- - boolean $unlimited
-
optional
- - boolean $behaviourTargetingRelevant
-
optional
- - TypeSpecificBannerSettings $typeSpecificSettings
-
optional
- - boolean $sslEnabled
-
optional
- - RealTimeBiddingSettings $realTimeBiddingSettings
-
optional
RealTimeBiddingSettingstop
Definition
- - string $landingPageUrl
-
optional
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.
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