Class NativeBanner

java.lang.Object
com.my.target.nativeads.banners.NativeBanner
Direct Known Subclasses:
NativePromoBanner

public class NativeBanner extends Object
A data class for Native Banner Ad.
  • Method Details

    • getIcon

      public ImageData getIcon()
      Returns:
      icon image
      See Also:
    • getTitle

      public String getTitle()
      Returns:
      ad title text
    • getCtaText

      public String getCtaText()
      Returns:
      ad call-to-action text
    • getDescription

      public String getDescription()
      Returns:
      ad description text
    • getDisclaimer

      @Deprecated public String getDisclaimer()
      Deprecated.
      Returns:
      ad disclaimer text
    • getDisclaimerInfo

      public Disclaimer getDisclaimerInfo()
      Returns:
      ad disclaimer object
    • getAgeRestrictions

      public String getAgeRestrictions()
      Returns:
      ad age restrictions text
    • getRating

      public float getRating()
      Application rating used for ad with store navigation type
      NativeBanner#navigationType
      Returns:
      ad rating. Can be [0, 5] inclusively
      See Also:
    • getVotes

      public int getVotes()
      Application store votes used for ad with store navigation type
      NativeBanner#navigationType
      Returns:
      votes count
      See Also:
    • getDomain

      public String getDomain()
      A web site address of advertiser. Can be used for ad with web navigation type
      NativeBanner#navigationType
      Returns:
      domain text
      See Also:
    • getNavigationType

      public String getNavigationType()
      Navigation type of ads. Possible values in NavigationType class. Represents base type of ad, according this type there can be different click logic and fields displaying
      Returns:
      banner navigation type
    • getStoreType

      public String getStoreType()
      Returns store type.
      Returns:
      store type or null Value is StoreType.APP_GALLERY, StoreType.APP_STORE, StoreType.GOOGLE_PLAY, or StoreType.RU_STORE
    • getAdvertisingLabel

      public String getAdvertisingLabel()
      Advertising label is
      Returns:
      ad advertising label
    • getAdChoicesIcon

      public ImageData getAdChoicesIcon()
      Returns:
      adChoices icon image
      See Also:
    • getBundleId

      public String getBundleId()
      Returns:
      bundleId
    • hasAdChoices

      public boolean hasAdChoices()
      Returns:
      isHasAdChoices
    • toString

      public String toString()
      Overrides:
      toString in class Object