Package com.my.target.nativeads.banners
Class NativeBanner
java.lang.Object
com.my.target.nativeads.banners.NativeBanner
- Direct Known Subclasses:
NativePromoBanner
A data class for Native Banner Ad.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for model is used for mediation -
Method Summary
Modifier and TypeMethodDescriptionAdvertising label isA web site address of advertiser.getIcon()Navigation type of ads.floatApplication rating used for ad with store navigation type
navigationTypegetTitle()intgetVotes()Application store votes used for ad with store navigation type
navigationTypebooleanstatic NativeBannernewBanner(NativeAdBanner nativeAdBanner) toString()
-
Method Details
-
newBanner
-
getIcon
- Returns:
- icon image
- See Also:
-
getTitle
- Returns:
- ad title text
-
getCtaText
- Returns:
- ad call-to-action text
-
getDescription
- Returns:
- ad description text
-
getDisclaimer
- Returns:
- ad disclaimer text
-
getAgeRestrictions
- Returns:
- ad age restrictions text
-
getRating
public float getRating()Application rating used for ad with store navigation type
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
navigationType- Returns:
- votes count
- See Also:
-
getDomain
A web site address of advertiser. Can be used for ad with web navigation type
navigationType- Returns:
- domain text
- See Also:
-
getAdvertisingLabel
Advertising label is- Returns:
- ad advertising label
-
getAdChoicesIcon
- Returns:
- adChoices icon image
- See Also:
-
getBundleId
- Returns:
- bundleId
-
hasAdChoices
public boolean hasAdChoices()- Returns:
- isHasAdChoices
-
toString
-