AddAdSelectionOverrideRequest

public class AddAdSelectionOverrideRequest
extends Object

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


This data object represents the AdSelectionManager.overrideAdSelectionConfigRemoteInfo(android.adservices.adselection.AddAdSelectionOverrideRequest, java.util.concurrent.Executor, android.os.OutcomeReceiver) request

It contains two fields, a AdSelectionConfig which will serve as the identifier for the specific override, and a String decisionLogicJs field representing the override value

Summary

Nested classes

class AddAdSelectionOverrideRequest.Builder

Builder for AddAdSelectionOverrideRequest objects. 

Public methods

AdSelectionConfig getAdSelectionConfig()
String getDecisionLogicJs()

Inherited methods

Public methods

getAdSelectionConfig

public AdSelectionConfig getAdSelectionConfig ()

Returns
AdSelectionConfig AdSelectionConfig, the configuration of the ad selection process. This value cannot be null.

getDecisionLogicJs

public String getDecisionLogicJs ()

Returns
String The override javascript result This value cannot be null.