ReportImpressionRequest
  public
  
  
  
  class
  ReportImpressionRequest
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.adservices.adselection.ReportImpressionRequest | 
Merepresentasikan parameter input ke reportImpression API.
Ringkasan
| Konstruktor publik | |
|---|---|
| 
      ReportImpressionRequest(long adSelectionId, AdSelectionConfig adSelectionConfig)
      Ctor untuk permintaan pelaporan pemilihan iklan di perangkat. | |
| 
      ReportImpressionRequest(long adSelectionId)
      Ctor untuk permintaan pelaporan pemilihan iklan server lelang. | |
| Metode publik | |
|---|---|
| 
        
        
        
        
        
        AdSelectionConfig | 
      getAdSelectionConfig()
      Menampilkan adSelectionConfig, salah satu input ke  | 
| 
        
        
        
        
        
        long | 
      getAdSelectionId()
      Menampilkan adSelectionId, salah satu input ke  | 
| Metode turunan | |
|---|---|
Konstruktor publik
ReportImpressionRequest
public ReportImpressionRequest (long adSelectionId, 
                AdSelectionConfig adSelectionConfig)Ctor untuk permintaan pelaporan pemilihan iklan di perangkat.
Jika adSelectionId Anda ditujukan untuk lelang di perangkat yang dijalankan menggunakan AdSelectionManager.selectAds(android.adservices.adselection.AdSelectionConfig, java.util.concurrent.Executor, android.os.OutcomeReceiver),
 permintaan pelaporan tayangan harus menyertakan AdSelectionConfig Anda.
| Parameter | |
|---|---|
| adSelectionId | long: diterima dariAdSelectionManager#selectAds(AdSelectionConfig,
     Executor, OutcomeReceiver) | 
| adSelectionConfig | AdSelectionConfig:AdSelectionConfigyang sama digunakan untuk memicuAdSelectionManager.selectAds(android.adservices.adselection.AdSelectionConfig, java.util.concurrent.Executor, android.os.OutcomeReceiver)Nilai ini tidak bolehnull. | 
ReportImpressionRequest
public ReportImpressionRequest (long adSelectionId)
Ctor untuk permintaan pelaporan pemilihan iklan server lelang.
Jika adSelectionId Anda ditujukan untuk lelang server yang dijalankan tempat info perangkat dikumpulkan oleh
 AdSelectionManager#getAdSelectionData, permintaan pelaporan tayangan Anda harus
 hanya menyertakan ID pemilihan iklan.
 
AdSelectionManager#persistAdSelectionResult harus dipanggil dengan karakter
 blob hasil dari server sebelum membuat permintaan pelaporan tayangan.
| Parameter | |
|---|---|
| adSelectionId | long: diterima dariAdSelectionManager#getAdSelectionData | 
Metode publik
getAdSelectionConfig
public AdSelectionConfig getAdSelectionConfig ()
Menampilkan adSelectionConfig, salah satu input ke ReportImpressionRequest
| Hasil | |
|---|---|
| AdSelectionConfig | Nilai ini tidak boleh null. | 
getAdSelectionId
public long getAdSelectionId ()
Menampilkan adSelectionId, salah satu input ke ReportImpressionRequest
| Hasil | |
|---|---|
| long | |
