Class NativeAdAssets


  • public abstract class NativeAdAssets
    extends java.lang.Object
    Class contains value of native ad assets.
    • Method Detail

      • getAge

        @Nullable
        public java.lang.String getAge()
        Returns age restrictions. Available in content and app install ads.
        Returns:
        Age restrictions.
      • getBody

        @Nullable
        public java.lang.String getBody()
        Returns ad body text. Available in content and app install ads.
        Returns:
        Ad body text.
      • getCallToAction

        @Nullable
        public java.lang.String getCallToAction()
        Returns call to action. Available in content and app install ads.
        Returns:
        Call to action.
      • getDomain

        @Nullable
        public java.lang.String getDomain()
        Returns advertiser's domain. Available in content and app install ads.
        Returns:
        Advertiser's domain.
      • getFavicon

        @Nullable
        public NativeAdImage getFavicon()
        Returns website favicon. Available in content ads.
        Returns:
        Website favicon.
      • isFeedbackAvailable

        public boolean isFeedbackAvailable()
        Returns boolean value that indicates feedback availability.
        Returns:
        feedback availability.
      • getIcon

        @Nullable
        public NativeAdImage getIcon()
        Returns app icon. Available in app install ads.
        Returns:
        App icon.
      • getImage

        @Nullable
        public NativeAdImage getImage()
        Returns main ad image. Available in content, app install and image ads.
        Returns:
        Main ad image.
      • getMedia

        @Nullable
        public NativeAdMedia getMedia()
        Returns media content information. Available in content, app install and image ads.
        Returns:
        Ad media.
      • getPrice

        @Nullable
        public java.lang.String getPrice()
        Returns price. Available in app install ads.
        Returns:
        Price.
      • getRating

        @Nullable
        public java.lang.Float getRating()
        Returns app rating. Available in app install ads.
        Returns:
        App rating.
      • getReviewCount

        @Nullable
        public java.lang.String getReviewCount()
        Returns app reviews number. Available in app install ads.
        Returns:
        App reviews number.
      • getSponsored

        @Nullable
        public java.lang.String getSponsored()
        Returns sponsored text. Available in content and app install ads.
        Returns:
        Sponsored text.
      • getTitle

        @Nullable
        public java.lang.String getTitle()
        Returns ad title. Available in content and app install ads.
        Returns:
        Ad title.
      • getWarning

        @Nullable
        public java.lang.String getWarning()
        Returns warning text. Available in content and app install ads.
        Returns:
        Warning text.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object