Class BaseAd

  • All Implemented Interfaces:

    
    public abstract class BaseAd
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getCustomParams

        @NonNull() CustomParams getCustomParams()

        Each Ad object contains custom params. Information from CustomParams will be added to the Ad request

        Returns:

        customParams object

      • getTag

        @Nullable() String getTag()

        Returns current tag value.

        Returns:

        Tag value or null

      • setAdNetworkConfig

         void setAdNetworkConfig(@NonNull() String networkName, @NonNull() AdNetworkConfig adNetworkConfig)

        Additional parameters for mediation

        Parameters:
        networkName - a name of ad network
        adNetworkConfig - an instance of AdNetworkConfig
      • setTag

         void setTag(@Nullable() String tag)

        Sets tag of the ad.

        Parameters:
        tag - String value (up to 255 chars) or null