GetAdSelectionDataRequest


public final class GetAdSelectionDataRequest
extends Object

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


Represents a request containing the information to get ad selection data.

Instances of this class are created by SDKs to be provided as arguments to the AdSelectionManager.getAdSelectionData(GetAdSelectionDataRequest, Executor, OutcomeReceiver) methods in AdSelectionManager.

Summary

Nested classes

class GetAdSelectionDataRequest.Builder

Builder for GetAdSelectionDataRequest objects. 

Public methods

Uri getCoordinatorOriginUri()
AdTechIdentifier getSeller()
SellerConfiguration getSellerConfiguration()

Returns the seller ad tech's requested payload configuration, set by the calling SDK, to optimize the payload.

Inherited methods

Public methods

getCoordinatorOriginUri

public Uri getCoordinatorOriginUri ()

Returns
Uri the coordinator origin Uri where the public keys for encryption are fetched from

See Builder.setCoordinatorOriginUri(Uri) for more details on the coordinator origin This value may be null.

getSeller

public AdTechIdentifier getSeller ()

Returns
AdTechIdentifier a AdTechIdentifier of the seller, for example "www.example-ssp.com" This value may be null.

getSellerConfiguration

public SellerConfiguration getSellerConfiguration ()

Returns the seller ad tech's requested payload configuration, set by the calling SDK, to optimize the payload.

If this is null, the service will send all data available.

Returns
SellerConfiguration