original_string: 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;
    }
code: 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;
    }
code_tokens: 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 ; }
docstring: Setting for bannerType.
  
  @param string $bannerType
  The banner type that should be shown. One of 'any', 'standard',
  'double_height', and 'large'.
  
  @return $this
docstring_tokens: Setting for bannerType .