Package com.yandex.mobile.ads.feed
Class FeedAdRequestConfiguration.Builder
-
- All Implemented Interfaces:
public final class FeedAdRequestConfiguration.Builder
Builds an FeedAdRequestConfiguration.
-
-
Constructor Summary
Constructors Constructor Description FeedAdRequestConfiguration.Builder(String adUnitId)
-
Method Summary
Modifier and Type Method Description final FeedAdRequestConfiguration
build()
Constructs an FeedAdRequestConfiguration with the specified attributes. final FeedAdRequestConfiguration.Builder
setAge(String age)
Sets current user age entered inside the app. final FeedAdRequestConfiguration.Builder
setContextQuery(String contextQuery)
Sets current user query entered inside the app. final FeedAdRequestConfiguration.Builder
setContextTags(List<String> contextTags)
Sets tags describing current user context inside the app. final FeedAdRequestConfiguration.Builder
setGender(String gender)
Sets user gender entered inside the app. final FeedAdRequestConfiguration.Builder
setLocation(Location location)
Sets the user's location for targeting process. final FeedAdRequestConfiguration.Builder
setParameters(Map<String, String> parameters)
Sets custom parameters. -
-
Constructor Detail
-
FeedAdRequestConfiguration.Builder
FeedAdRequestConfiguration.Builder(String adUnitId)
-
-
Method Detail
-
build
final FeedAdRequestConfiguration build()
Constructs an FeedAdRequestConfiguration with the specified attributes.
-
setAge
final FeedAdRequestConfiguration.Builder setAge(String age)
Sets current user age entered inside the app. Used for targeting.
- Parameters:
age
- for targeting process.
-
setContextQuery
final FeedAdRequestConfiguration.Builder setContextQuery(String contextQuery)
Sets current user query entered inside the app. Used for targeting.
- Parameters:
contextQuery
- for targeting process.
-
setContextTags
final FeedAdRequestConfiguration.Builder setContextTags(List<String> contextTags)
Sets tags describing current user context inside the app. Used for targeting.
- Parameters:
contextTags
- for targeting process.
-
setGender
final FeedAdRequestConfiguration.Builder setGender(String gender)
Sets user gender entered inside the app. Used for targeting.
- Parameters:
gender
- for targeting process.
-
setLocation
final FeedAdRequestConfiguration.Builder setLocation(Location location)
Sets the user's location for targeting process.
- Parameters:
location
- for targeting process.
-
setParameters
final FeedAdRequestConfiguration.Builder setParameters(Map<String, String> parameters)
Sets custom parameters.
- Parameters:
parameters
- custom parameters.
-
-
-
-