code: public void setVideoMidrollFrequencyType(com.google.api.ads.admanager.axis.v201805.MidrollFrequencyType videoMidrollFrequencyType) {
          this.videoMidrollFrequencyType = videoMidrollFrequencyType;
      }
docs: Sets the videoMidrollFrequencyType value for this BaseAdRuleSlot.
  
  @param videoMidrollFrequencyType   * The frequency type for video ads in this ad rule slot. This
  attribute
  is required for mid-rolls, but if this is not a mid-roll,
  the value is set to
  {@link MidrollFrequencyType#NONE}.