Class AdSet

  • All Implemented Interfaces:

    
    public final class AdSet
    
                        

    Container for a group of related ads with shared configuration.

    An ad set represents a collection of ads that share common properties like expiry, pod configuration, and reward settings. Ad sets help organize ads for waterfall or pod-based ad serving scenarios.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      AdSet()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getAdSetId() The unique identifier for this ad set, set internally.
      final LinkedList<Ad> getAds() LinkedList of Ad objects in this ad set.
      final Boolean isPod() Flag indicating if this ad set is configured for pod-based ad serving.
      final Integer getPodSuccessCount()
      final Boolean isRewarded() Flag indicating if ads in this set are rewarded ads, set internally.
      final Boolean getLogEnabled() Flag indicating if logging is enabled for this ad set.
      final String getTransactionId() Optional transaction identifier for this ad set, nullable.
      final Long getExpiry() The default expiry duration in seconds for all the ads in this ad set, set internally.
      final Unit setExpiry(Long expiry) The default expiry duration in seconds for all the ads in this ad set, set internally.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AdSet

        AdSet()
    • Method Detail

      • getAdSetId

         final String getAdSetId()

        The unique identifier for this ad set, set internally.

      • isPod

         final Boolean isPod()

        Flag indicating if this ad set is configured for pod-based ad serving.

      • isRewarded

         final Boolean isRewarded()

        Flag indicating if ads in this set are rewarded ads, set internally.

      • getLogEnabled

         final Boolean getLogEnabled()

        Flag indicating if logging is enabled for this ad set.

      • getExpiry

         final Long getExpiry()

        The default expiry duration in seconds for all the ads in this ad set, set internally.

      • setExpiry

         final Unit setExpiry(Long expiry)

        The default expiry duration in seconds for all the ads in this ad set, set internally.