AddAdSelectionOverrideRequest.Builder

public static final class AddAdSelectionOverrideRequest.Builder
extends Object

java.lang.Object
   ↳ android.adservices.adselection.AddAdSelectionOverrideRequest.Builder


Builder for AddAdSelectionOverrideRequest objects.

Summary

Public constructors

Builder()

Public methods

AddAdSelectionOverrideRequest build()

Builds a AddAdSelectionOverrideRequest instance.

AddAdSelectionOverrideRequest.Builder setAdSelectionConfig(AdSelectionConfig adSelectionConfig)

Set the AdSelectionConfig.

AddAdSelectionOverrideRequest.Builder setDecisionLogicJs(String decisionLogicJs)

Set the override decision logic javascript.

Inherited methods

Public constructors

Builder

public Builder ()

Public methods

setAdSelectionConfig

public AddAdSelectionOverrideRequest.Builder setAdSelectionConfig (AdSelectionConfig adSelectionConfig)

Set the AdSelectionConfig.

Parameters
adSelectionConfig AdSelectionConfig: This value cannot be null.

Returns
AddAdSelectionOverrideRequest.Builder This value cannot be null.

setDecisionLogicJs

public AddAdSelectionOverrideRequest.Builder setDecisionLogicJs (String decisionLogicJs)

Set the override decision logic javascript.

Parameters
decisionLogicJs String: This value cannot be null.

Returns
AddAdSelectionOverrideRequest.Builder This value cannot be null.