public static final class AdRequestOptions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AdRequestOptions |
create()
Creates an immutable instance of
RequestOptions with the options of the previously called setters. |
AdRequestOptions.Builder |
setContentUrl(java.lang.String contentUrl)
Sets the URL or deeplink under which the content of the activity that shows the ad can be accessed from an external origin.
|
AdRequestOptions.Builder |
setPlacementContext(PlacementContext placementContext)
Sets the context in which the ad is shown relative to the app's content.
|
public AdRequestOptions.Builder setPlacementContext(@NonNull PlacementContext placementContext)
placementContext - the placement contextpublic AdRequestOptions.Builder setContentUrl(@NonNull java.lang.String contentUrl)
contentUrl - a deeplink or URL@NonNull public AdRequestOptions create()
RequestOptions with the options of the previously called setters.