Package com.yandex.mobile.ads.instream
Class InstreamAdRequestConfiguration.Builder
-
- All Implemented Interfaces:
public final class InstreamAdRequestConfiguration.Builder
Class for creating new InstreamAdRequestConfiguration object.
-
-
Constructor Summary
Constructors Constructor Description InstreamAdRequestConfiguration.Builder(String pageId)
-
Method Summary
Modifier and Type Method Description final InstreamAdRequestConfiguration
build()
Constructs a InstreamAdRequestConfiguration with specified configurations. final InstreamAdRequestConfiguration.Builder
setCategoryId(String categoryId)
Sets category id. final InstreamAdRequestConfiguration.Builder
setParameters(Map<String, String> parameters)
Sets custom request parameters. -
-
Constructor Detail
-
InstreamAdRequestConfiguration.Builder
InstreamAdRequestConfiguration.Builder(String pageId)
-
-
Method Detail
-
build
final InstreamAdRequestConfiguration build()
Constructs a InstreamAdRequestConfiguration with specified configurations.
-
setCategoryId
final InstreamAdRequestConfiguration.Builder setCategoryId(String categoryId)
Sets category id.
- Parameters:
categoryId
- Category identifier.
-
setParameters
final InstreamAdRequestConfiguration.Builder setParameters(Map<String, String> parameters)
Sets custom request parameters.
- Parameters:
parameters
- custom parameters.
-
-
-
-