public function setBannerType($bannerType) {
    if (!in_array($bannerType, [
        self::BANNER_TYPE_ANY,
        self::BANNER_TYPE_DOUBLE,
        self::BANNER_TYPE_LARGE,
        self::BANNER_TYPE_STANDARD,
      ])) {
      $this->triggerError('Invalid value for bannerType advertisingSettings.');
    }
    else {
      $this->bannerType = $bannerType;
    }
    return $this;
  }
public function setBannerType($bannerType) {
    if (!in_array($bannerType, [
        self::BANNER_TYPE_ANY,
        self::BANNER_TYPE_DOUBLE,
        self::BANNER_TYPE_LARGE,
        self::BANNER_TYPE_STANDARD,
      ])) {
      $this->triggerError('Invalid value for bannerType advertisingSettings.');
    }
    else {
      $this->bannerType = $bannerType;
    }
    return $this;
  }
public function setBannerType ( $ bannerType ) { if ( ! in_array ( $ bannerType , [ self :: BANNER_TYPE_ANY , self :: BANNER_TYPE_DOUBLE , self :: BANNER_TYPE_LARGE , self :: BANNER_TYPE_STANDARD , ] ) ) { $ this -> triggerError ( 'Invalid value for bannerType advertisingSettings.' ) ; } else { $ this -> bannerType = $ bannerType ; } return $ this ; }
Setting for bannerType.

@param string $bannerType
The banner type that should be shown. One of 'any', 'standard',
'double_height', and 'large'.

@return $this
Setting for bannerType .