📄 Source: SiteVideoSettings.php
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Dfareporting;
class SiteVideoSettings extends \Google\Model
{
public const ORIENTATION_ANY = 'ANY';
public const ORIENTATION_LANDSCAPE = 'LANDSCAPE';
public const ORIENTATION_PORTRAIT = 'PORTRAIT';
protected $companionSettingsType = SiteCompanionSetting::class;
protected $companionSettingsDataType = '';
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#siteVideoSettings".
*
* @var string
*/
public $kind;
/**
* Whether OBA icons are enabled for this placement.
*
* @var bool
*/
public $obaEnabled;
protected $obaSettingsType = ObaIcon::class;
protected $obaSettingsDataType = '';
/**
* Orientation of a site template used for video. This will act as default for
* new placements created under this site.
*
* @var string
*/
public $orientation;
/**
* Publisher specification ID used to identify site-associated publisher
* requirements and automatically populate transcode settings. If publisher
* specification ID is specified, it will take precedence over transcode
* settings. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS
* Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox *
* `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner
* Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch
* Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com
* Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset *
* `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS *
* `29`, Spotify * `30`, Paramount * `31`, Max
*
* @var string
*/
public $publisherSpecificationId;
protected $skippableSettingsType = SiteSkippableSetting::class;
protected $skippableSettingsDataType = '';
protected $transcodeSettingsType = SiteTranscodeSetting::class;
protected $transcodeSettingsDataType = '';
/**
* Settings for the companion creatives of video creatives served to this
* site.
*
* @param SiteCompanionSetting $companionSettings
*/
public function setCompanionSettings(SiteCompanionSetting $companionSettings)
{
$this->companionSettings = $companionSettings;
}
/**
* @return SiteCompanionSetting
*/
public function getCompanionSettings()
{
return $this->companionSettings;
}
/**
* Identifies what kind of resource this is. Value: the fixed string
* "dfareporting#siteVideoSettings".
*
* @param string $kind
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* Whether OBA icons are enabled for this placement.
*
* @param bool $obaEnabled
*/
public function setObaEnabled($obaEnabled)
{
$this->obaEnabled = $obaEnabled;
}
/**
* @return bool
*/
public function getObaEnabled()
{
return $this->obaEnabled;
}
/**
* Settings for the OBA icon of video creatives served to this site. This will
* act as default for new placements created under this site.
*
* @param ObaIcon $obaSettings
*/
public function setObaSettings(ObaIcon $obaSettings)
{
$this->obaSettings = $obaSettings;
}
/**
* @return ObaIcon
*/
public function getObaSettings()
{
return $this->obaSettings;
}
/**
* Orientation of a site template used for video. This will act as default for
* new placements created under this site.
*
* Accepted values: ANY, LANDSCAPE, PORTRAIT
*
* @param self::ORIENTATION_* $orientation
*/
public function setOrientation($orientation)
{
$this->orientation = $orientation;
}
/**
* @return self::ORIENTATION_*
*/
public function getOrientation()
{
return $this->orientation;
}
/**
* Publisher specification ID used to identify site-associated publisher
* requirements and automatically populate transcode settings. If publisher
* specification ID is specified, it will take precedence over transcode
* settings. Possible values are: * `1`, Hulu * `2`, NBC * `3`, CBS * `4`, CBS
* Desktop * `5`, Discovery * `6`, VEVO HD * `7`, VEVO Vertical * `8`, Fox *
* `9`, CW Network * `10`, Disney * `11`, IGN * `12`, NFL.com * `13`, Turner
* Broadcasting * `14`, Tubi on Fox * `15`, Hearst Corporation * `16`, Twitch
* Desktop * `17`, ABC * `18`, Univision * `19`, MLB.com * `20`, MLB.com
* Mobile * `21`, MLB.com OTT * `22`, Polsat * `23`, TVN * `24`, Mediaset *
* `25`, Antena 3 * `26`, Mediamond * `27`, Sky Italia * `28`, Tubi on CBS *
* `29`, Spotify * `30`, Paramount * `31`, Max
*
* @param string $publisherSpecificationId
*/
public function setPublisherSpecificationId($publisherSpecificationId)
{
$this->publisherSpecificationId = $publisherSpecificationId;
}
/**
* @return string
*/
public function getPublisherSpecificationId()
{
return $this->publisherSpecificationId;
}
/**
* Settings for the skippability of video creatives served to this site. This
* will act as default for new placements created under this site.
*
* @param SiteSkippableSetting $skippableSettings
*/
public function setSkippableSettings(SiteSkippableSetting $skippableSettings)
{
$this->skippableSettings = $skippableSettings;
}
/**
* @return SiteSkippableSetting
*/
public function getSkippableSettings()
{
return $this->skippableSettings;
}
/**
* Settings for the transcodes of video creatives served to this site. This
* will act as default for new placements created under this site.
*
* @param SiteTranscodeSetting $transcodeSettings
*/
public function setTranscodeSettings(SiteTranscodeSetting $transcodeSettings)
{
$this->transcodeSettings = $transcodeSettings;
}
/**
* @return SiteTranscodeSetting
*/
public function getTranscodeSettings()
{
return $this->transcodeSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SiteVideoSettings::class, 'Google_Service_Dfareporting_SiteVideoSettings');
← Back