Package com.google.doubleclick
Interface AdxExt.BidExt.FrequencyCapOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdxExt.BidExt.FrequencyCap,AdxExt.BidExt.FrequencyCap.Builder
- Enclosing class:
- AdxExt.BidExt
public static interface AdxExt.BidExt.FrequencyCapOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFcapId()An ID that can represent a bidder's use-case for frequency capping; for example, it could represent their campaign, ad, line item, etc.com.google.protobuf.ByteStringgetFcapIdBytes()An ID that can represent a bidder's use-case for frequency capping; for example, it could represent their campaign, ad, line item, etc.intgetMaxImp()The maximum number of impressions allowed to be shown to a user for the provided frequency_cap_id within the time window described by time_unit and time_range.intgetTimeRange()The length of the time window, in units specified by time_unit, for which the frequency cap applies.AdxExt.BidExt.FrequencyCap.TimeUnitgetTimeUnit()The unit of time used to specify the time window for which a frequency cap applies.booleanhasFcapId()An ID that can represent a bidder's use-case for frequency capping; for example, it could represent their campaign, ad, line item, etc.booleanhasMaxImp()The maximum number of impressions allowed to be shown to a user for the provided frequency_cap_id within the time window described by time_unit and time_range.booleanhasTimeRange()The length of the time window, in units specified by time_unit, for which the frequency cap applies.booleanhasTimeUnit()The unit of time used to specify the time window for which a frequency cap applies.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFcapId
boolean hasFcapId()
An ID that can represent a bidder's use-case for frequency capping; for example, it could represent their campaign, ad, line item, etc. It should not contain any user-specific information or identifiers and should not be longer than 64 characters.
optional string fcap_id = 1;- Returns:
- Whether the fcapId field is set.
-
getFcapId
String getFcapId()
An ID that can represent a bidder's use-case for frequency capping; for example, it could represent their campaign, ad, line item, etc. It should not contain any user-specific information or identifiers and should not be longer than 64 characters.
optional string fcap_id = 1;- Returns:
- The fcapId.
-
getFcapIdBytes
com.google.protobuf.ByteString getFcapIdBytes()
An ID that can represent a bidder's use-case for frequency capping; for example, it could represent their campaign, ad, line item, etc. It should not contain any user-specific information or identifiers and should not be longer than 64 characters.
optional string fcap_id = 1;- Returns:
- The bytes for fcapId.
-
hasTimeUnit
boolean hasTimeUnit()
The unit of time used to specify the time window for which a frequency cap applies.
optional .com.google.doubleclick.BidExt.FrequencyCap.TimeUnit time_unit = 2;- Returns:
- Whether the timeUnit field is set.
-
getTimeUnit
AdxExt.BidExt.FrequencyCap.TimeUnit getTimeUnit()
The unit of time used to specify the time window for which a frequency cap applies.
optional .com.google.doubleclick.BidExt.FrequencyCap.TimeUnit time_unit = 2;- Returns:
- The timeUnit.
-
hasTimeRange
boolean hasTimeRange()
The length of the time window, in units specified by time_unit, for which the frequency cap applies. For instance, if time_unit=WEEK and time_range=3, then capping is applied for a three week period. If the time_unit=INDEFINITE, this will be ignored.
optional int32 time_range = 3 [default = 1];- Returns:
- Whether the timeRange field is set.
-
getTimeRange
int getTimeRange()
The length of the time window, in units specified by time_unit, for which the frequency cap applies. For instance, if time_unit=WEEK and time_range=3, then capping is applied for a three week period. If the time_unit=INDEFINITE, this will be ignored.
optional int32 time_range = 3 [default = 1];- Returns:
- The timeRange.
-
hasMaxImp
boolean hasMaxImp()
The maximum number of impressions allowed to be shown to a user for the provided frequency_cap_id within the time window described by time_unit and time_range.
optional int32 max_imp = 4;- Returns:
- Whether the maxImp field is set.
-
getMaxImp
int getMaxImp()
The maximum number of impressions allowed to be shown to a user for the provided frequency_cap_id within the time window described by time_unit and time_range.
optional int32 max_imp = 4;- Returns:
- The maxImp.
-
-