Package com.yandex.mobile.ads.common
Class AdRequestConfiguration
-
- All Implemented Interfaces:
public final class AdRequestConfiguration
An AdRequestConfiguration contains targeting information used to fetch an ad. Ad request configurations are created using Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
AdRequestConfiguration.Builder
Builds an AdRequestConfiguration.
-
Field Summary
Fields Modifier and Type Field Description private final String
adUnitId
private final String
age
private final String
gender
private final String
contextQuery
private final List<String>
contextTags
private final Location
location
private final Map<String, String>
parameters
private final String
biddingData
private final AdTheme
preferredTheme
-
Method Summary
Modifier and Type Method Description final String
getAdUnitId()
Unique ad placement ID created at partner interface final String
getAge()
User's age final String
getGender()
User's gender final String
getContextQuery()
User's query entered inside the app final List<String>
getContextTags()
Tags describing current user context inside the app final Location
getLocation()
User's location for targeting process final Map<String, String>
getParameters()
Custom request parameters final String
getBiddingData()
Open Bidding bid ID final AdTheme
getPreferredTheme()
User's preferred app theme Boolean
equals(Object other)
Integer
hashCode()
-
-
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 AdTheme getPreferredTheme()
User's preferred app theme
-
-
-
-