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;
  }