JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "ContentInstreamPositionAssignedTargetingOptionDetails.php"

Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/DisplayVideo/ContentInstreamPositionAssignedTargetingOptionDetails.php
File size: 4.6 KB
MIME-type: text/x-php
Charset: utf-8

<?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\DisplayVideo;

class ContentInstreamPositionAssignedTargetingOptionDetails extends \Google\Model
{
  /**
   * Ad type is not specified or is unknown in this version.
   */
  public const AD_TYPE_AD_TYPE_UNSPECIFIED = 'AD_TYPE_UNSPECIFIED';
  /**
   * Display creatives, e.g. image and HTML5.
   */
  public const AD_TYPE_AD_TYPE_DISPLAY = 'AD_TYPE_DISPLAY';
  /**
   * Video creatives, e.g. video ads that play during streaming content in video
   * players.
   */
  public const AD_TYPE_AD_TYPE_VIDEO = 'AD_TYPE_VIDEO';
  /**
   * Audio creatives, e.g. audio ads that play during audio content.
   */
  public const AD_TYPE_AD_TYPE_AUDIO = 'AD_TYPE_AUDIO';
  /**
   * Content instream position is not specified in this version. This enum is a
   * place holder for a default value and does not represent a real in stream ad
   * position.
   */
  public const CONTENT_INSTREAM_POSITION_CONTENT_INSTREAM_POSITION_UNSPECIFIED = 'CONTENT_INSTREAM_POSITION_UNSPECIFIED';
  /**
   * Ads that play before streaming content.
   */
  public const CONTENT_INSTREAM_POSITION_CONTENT_INSTREAM_POSITION_PRE_ROLL = 'CONTENT_INSTREAM_POSITION_PRE_ROLL';
  /**
   * Ads that play between the beginning and end of streaming content.
   */
  public const CONTENT_INSTREAM_POSITION_CONTENT_INSTREAM_POSITION_MID_ROLL = 'CONTENT_INSTREAM_POSITION_MID_ROLL';
  /**
   * Ads that play at the end of streaming content.
   */
  public const CONTENT_INSTREAM_POSITION_CONTENT_INSTREAM_POSITION_POST_ROLL = 'CONTENT_INSTREAM_POSITION_POST_ROLL';
  /**
   * Ads instream position is unknown.
   */
  public const CONTENT_INSTREAM_POSITION_CONTENT_INSTREAM_POSITION_UNKNOWN = 'CONTENT_INSTREAM_POSITION_UNKNOWN';
  /**
   * Output only. The ad type to target. Only applicable to insertion order
   * targeting and new line items supporting the specified ad type will inherit
   * this targeting option by default. Possible values are: * `AD_TYPE_VIDEO`,
   * the setting will be inherited by new line item when line_item_type is
   * `LINE_ITEM_TYPE_VIDEO_DEFAULT`. * `AD_TYPE_AUDIO`, the setting will be
   * inherited by new line item when line_item_type is
   * `LINE_ITEM_TYPE_AUDIO_DEFAULT`.
   *
   * @var string
   */
  public $adType;
  /**
   * Required. The content instream position for video or audio ads.
   *
   * @var string
   */
  public $contentInstreamPosition;

  /**
   * Output only. The ad type to target. Only applicable to insertion order
   * targeting and new line items supporting the specified ad type will inherit
   * this targeting option by default. Possible values are: * `AD_TYPE_VIDEO`,
   * the setting will be inherited by new line item when line_item_type is
   * `LINE_ITEM_TYPE_VIDEO_DEFAULT`. * `AD_TYPE_AUDIO`, the setting will be
   * inherited by new line item when line_item_type is
   * `LINE_ITEM_TYPE_AUDIO_DEFAULT`.
   *
   * Accepted values: AD_TYPE_UNSPECIFIED, AD_TYPE_DISPLAY, AD_TYPE_VIDEO,
   * AD_TYPE_AUDIO
   *
   * @param self::AD_TYPE_* $adType
   */
  public function setAdType($adType)
  {
    $this->adType = $adType;
  }
  /**
   * @return self::AD_TYPE_*
   */
  public function getAdType()
  {
    return $this->adType;
  }
  /**
   * Required. The content instream position for video or audio ads.
   *
   * Accepted values: CONTENT_INSTREAM_POSITION_UNSPECIFIED,
   * CONTENT_INSTREAM_POSITION_PRE_ROLL, CONTENT_INSTREAM_POSITION_MID_ROLL,
   * CONTENT_INSTREAM_POSITION_POST_ROLL, CONTENT_INSTREAM_POSITION_UNKNOWN
   *
   * @param self::CONTENT_INSTREAM_POSITION_* $contentInstreamPosition
   */
  public function setContentInstreamPosition($contentInstreamPosition)
  {
    $this->contentInstreamPosition = $contentInstreamPosition;
  }
  /**
   * @return self::CONTENT_INSTREAM_POSITION_*
   */
  public function getContentInstreamPosition()
  {
    return $this->contentInstreamPosition;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContentInstreamPositionAssignedTargetingOptionDetails::class, 'Google_Service_DisplayVideo_ContentInstreamPositionAssignedTargetingOptionDetails');