PersistAdSelectionResultRequest
classPersistAdSelectionResultRequest
| kotlin.Any | |
| ↳ | android.adservices.adselection.PersistAdSelectionResultRequest |
Represents a request containing the seller, the ad selection data id and data.
Instances of this class are created by SDKs to be provided as arguments to the AdSelectionManager.persistAdSelectionResult methods in AdSelectionManager.
Summary
| Nested classes | |
|---|---|
|
Builder for |
|
| Public methods | |
|---|---|
| Long |
Returns the id that identifies the |
| Long | |
| ByteArray? | |
| AdTechIdentifier? | |
Public methods
getAdSelectionDataId
fungetAdSelectionDataId(): Long
Deprecated: Deprecated in Java.
Returns the id that identifies the AdSelectionManager.getAdSelectionData(GetAdSelectionDataRequest,Executor,OutcomeReceiver) payload that generated this result.
getAdSelectionId
fungetAdSelectionId(): Long
Deprecated: Use the getAdSelectionDataId() instead, the underlying value is enforced to be the same.
| Return | |
|---|---|
Long |
an ad selection id. |
getAdSelectionResult
fungetAdSelectionResult(): ByteArray?
Deprecated: Deprecated in Java.
| Return | |
|---|---|
ByteArray? |
an ad selection result. This value may be null. |
getSeller
fungetSeller(): AdTechIdentifier?
Deprecated: Deprecated in Java.
| Return | |
|---|---|
AdTechIdentifier? |
a seller. This value may be null. |