Package com.yandex.mobile.ads.nativeads
Class NativeAdRequestConfiguration
-
- All Implemented Interfaces:
public final class NativeAdRequestConfigurationAn AdRequest contains targeting information used to fetch an ad. Ad requests are created using Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNativeAdRequestConfiguration.BuilderBuilds an NativeAdRequestConfiguration.
-
Field Summary
Fields Modifier and Type Field Description private final StringadUnitIdprivate final Stringageprivate final Stringgenderprivate final StringcontextQueryprivate final List<String>contextTagsprivate final Locationlocationprivate final Map<String, String>parametersprivate final StringbiddingDataprivate final <Error class: unknown class>preferredThemeprivate final BooleanshouldLoadImagesAutomatically
-
Method Summary
Modifier and Type Method Description final StringgetAdUnitId()Unique ad placement ID created at partner interface final StringgetAge()User's age final StringgetGender()User's gender final StringgetContextQuery()User's query entered inside the app final List<String>getContextTags()Tags describing current user context inside the app final LocationgetLocation()User's location for targeting process final Map<String, String>getParameters()Custom request parameters final StringgetBiddingData()Open Bidding bid ID final <Error class: unknown class>getPreferredTheme()User's preferred app theme final BooleangetShouldLoadImagesAutomatically()Determines if ad images should be loaded as a part of ad loading process. -
-
Method Detail
-
getAdUnitId
final String getAdUnitId()
Unique ad placement ID created at partner interface
-
getContextQuery
final String getContextQuery()
User's query entered inside the app
-
getContextTags
final List<String> getContextTags()
Tags describing current user context inside the app
-
getLocation
final Location getLocation()
User's location for targeting process
-
getParameters
final Map<String, String> getParameters()
Custom request parameters
-
getBiddingData
final String getBiddingData()
Open Bidding bid ID
-
getPreferredTheme
final <Error class: unknown class> getPreferredTheme()
User's preferred app theme
-
getShouldLoadImagesAutomatically
final Boolean getShouldLoadImagesAutomatically()
Determines if ad images should be loaded as a part of ad loading process. All images will be loaded and ready to be used if set to
true. Otherwise, images should be loaded manually with loadImages method NativeAd.loadImages
-
-
-
-