Interface FrequencyCapKeyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FrequencyCapKey, FrequencyCapKey.Builder

public interface FrequencyCapKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The type of event that the cap applies to (for example, impression).
    int
    The type of event that the cap applies to (for example, impression).
    The level on which the cap is to be applied (for example, ad group ad, ad group).
    int
    The level on which the cap is to be applied (for example, ad group ad, ad group).
    int
    Number of time units the cap lasts.
    Unit of time the cap is defined at (for example, day, week).
    int
    Unit of time the cap is defined at (for example, day, week).
    boolean
    Number of time units the cap lasts.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getLevelValue

      int getLevelValue()
       The level on which the cap is to be applied (for example, ad group ad, ad
       group). The cap is applied to all the entities of this level.
       
      .google.ads.googleads.v18.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1;
      Returns:
      The enum numeric value on the wire for level.
    • getLevel

       The level on which the cap is to be applied (for example, ad group ad, ad
       group). The cap is applied to all the entities of this level.
       
      .google.ads.googleads.v18.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1;
      Returns:
      The level.
    • getEventTypeValue

      int getEventTypeValue()
       The type of event that the cap applies to (for example, impression).
       
      .google.ads.googleads.v18.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType event_type = 3;
      Returns:
      The enum numeric value on the wire for eventType.
    • getEventType

       The type of event that the cap applies to (for example, impression).
       
      .google.ads.googleads.v18.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType event_type = 3;
      Returns:
      The eventType.
    • getTimeUnitValue

      int getTimeUnitValue()
       Unit of time the cap is defined at (for example, day, week).
       
      .google.ads.googleads.v18.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2;
      Returns:
      The enum numeric value on the wire for timeUnit.
    • getTimeUnit

       Unit of time the cap is defined at (for example, day, week).
       
      .google.ads.googleads.v18.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2;
      Returns:
      The timeUnit.
    • hasTimeLength

      boolean hasTimeLength()
       Number of time units the cap lasts.
       
      optional int32 time_length = 5;
      Returns:
      Whether the timeLength field is set.
    • getTimeLength

      int getTimeLength()
       Number of time units the cap lasts.
       
      optional int32 time_length = 5;
      Returns:
      The timeLength.