GetAdSelectionDataRequest


class GetAdSelectionDataRequest
kotlin.Any
   ↳ 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 android.adservices.adselection.AdSelectionManager#getAdSelectionData methods in AdSelectionManager.

Summary

Nested classes

Builder for GetAdSelectionDataRequest objects.

Public methods
Uri?

AdTechIdentifier?

SellerConfiguration?

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

Public methods

getCoordinatorOriginUri

fun getCoordinatorOriginUri(): Uri?
Return
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

fun getSeller(): AdTechIdentifier?
Return
AdTechIdentifier? a AdTechIdentifier of the seller, for example "www.example-ssp.com" This value may be null.

getSellerConfiguration

fun getSellerConfiguration(): SellerConfiguration?

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.