ReportImpressionRequest

public class ReportImpressionRequest
extends Object

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


reportImpression API의 입력 매개변수를 나타냅니다.

요약

공개 생성자

ReportImpressionRequest(long adSelectionId, AdSelectionConfig adSelectionConfig)

기기 내 광고 선택 보고 요청의 생성자입니다.

ReportImpressionRequest(long adSelectionId)

입찰 서버 광고 선택 보고 요청의 생성자입니다.

공개 메서드

AdSelectionConfig getAdSelectionConfig()

ReportImpressionRequest의 입력 중 하나인 adSelectionConfig를 반환합니다.

long getAdSelectionId()

ReportImpressionRequest의 입력 중 하나인 adSelectionId를 반환합니다.

상속된 메서드

Object clone()

이 개체의 사본을 만들어 반환합니다.

boolean equals(Object obj)

일부 다른 개체가 이 개체와 '같은'지 여부를 나타냅니다.

void finalize()

가비지 컬렉션이 더 이상 객체에 관한 참조가 없다고 판단하는 경우 객체의 가비지 컬렉터에서 호출합니다.

final Class<?> getClass()

Object의 런타임 클래스를 반환합니다.

int hashCode()

객체의 해시 코드 값을 반환합니다.

final void notify()

이 객체의 모니터에서 대기 중인 단일 스레드의 대기 모드를 해제합니다.

final void notifyAll()

이 개체의 모니터에서 대기 중인 모든 스레드의 대기 모드를 해제합니다.

String toString()

객체의 문자열 표현을 반환합니다.

final void wait(long timeoutMillis, int nanos)

일반적으로 알림을 받거나 중단되어 절전 모드에서 해제될 때까지 또는 일정 시간이 경과할 때까지 현재 스레드가 대기하도록 합니다.

final void wait(long timeoutMillis)

일반적으로 알림을 받거나 중단되어 절전 모드에서 해제될 때까지 또는 일정 시간이 경과할 때까지 현재 스레드가 대기하도록 합니다.

final void wait()

일반적으로 알림을 받거나 중단되어 절전 모드에서 해제될 때까지 현재 스레드가 대기하도록 합니다.

공개 생성자

ReportImpressionRequest

public ReportImpressionRequest (long adSelectionId, 
                AdSelectionConfig adSelectionConfig)

기기 내 광고 선택 보고 요청의 생성자입니다.

adSelectionIdAdSelectionManager.selectAds(android.adservices.adselection.AdSelectionConfig, java.util.concurrent.Executor, android.os.OutcomeReceiver)를 사용하는 기기 내 입찰 실행인 경우 노출 보고 요청에 AdSelectionConfig가 포함되어야 합니다.

매개변수
adSelectionId long: AdSelectionManager#selectAds(AdSelectionConfig, Executor, OutcomeReceiver)님이 입금함

adSelectionConfig AdSelectionConfig: AdSelectionManager.selectAds(android.adservices.adselection.AdSelectionConfig, java.util.concurrent.Executor, android.os.OutcomeReceiver)를 트리거하는 데 사용된 것과 동일한 AdSelectionConfig입니다. 이 값은 null일 수 없습니다.

ReportImpressionRequest

public ReportImpressionRequest (long adSelectionId)

입찰 서버 광고 선택 보고 요청의 생성자입니다.

adSelectionIdAdSelectionManager#getAdSelectionData로 수집된 기기 정보가 사용되는 서버 입찰 실행을 위한 경우 노출 보고 요청에 광고 선택 ID만 포함해야 합니다.

노출 보고 요청을 하기 전에 서버의 암호화된 결과 블록으로 AdSelectionManager#persistAdSelectionResult를 호출해야 합니다.

매개변수
adSelectionId long: AdSelectionManager#getAdSelectionData님이 입금함

공개 메서드

getAdSelectionConfig

public AdSelectionConfig getAdSelectionConfig ()

ReportImpressionRequest의 입력 중 하나인 adSelectionConfig를 반환합니다.

반환 값
AdSelectionConfig 이 값은 null일 수 없습니다.

getAdSelectionId

public long getAdSelectionId ()

ReportImpressionRequest의 입력 중 하나인 adSelectionId를 반환합니다.

반환 값
long