เพิ่มใน API ระดับ 34

android.adservices.adselection

ชั้นเรียน

AddAdSelectionFromOutcomesOverrideRequest POJO นี้แสดงคําขอ TestAdSelectionManager.overrideAdSelectionFromOutcomesConfigRemoteInfo(AddAdSelectionFromOutcomesOverrideRequest, Executor, OutcomeReceiver) ( AddAdSelectionOverrideRequest, Executor, OutcomeReceiver)}

ซึ่งประกอบด้วย AdSelectionFromOutcomesConfig ซึ่งจะทำหน้าที่เป็นตัวระบุสำหรับการลบล้างที่เฉพาะเจาะจง String ช่อง selectionLogicJs และ String selectionSignals ที่แสดงค่าการลบล้าง 

AddAdSelectionOverrideRequest POJO นี้แสดงคําขอ TestAdSelectionManager.overrideAdSelectionConfigRemoteInfo(android.adservices.adselection.AddAdSelectionOverrideRequest, java.util.concurrent.Executor, android.os.OutcomeReceiver)

ซึ่งประกอบด้วย AdSelectionConfig ที่จะเป็นตัวระบุการลบล้างที่เฉพาะเจาะจง String decisionLogicJs และช่อง String trustedScoringSignals ที่แสดงค่าการลบล้าง 

AdSelectionConfig มีการกำหนดค่ากระบวนการเลือกโฆษณา 
AdSelectionConfig.Builder ตัวสร้างสำหรับออบเจ็กต์ AdSelectionConfig 
AdSelectionFromOutcomesConfig มีการกำหนดค่ากระบวนการเลือกโฆษณาซึ่งเลือกผู้ชนะจากรายการรหัสการเลือกโฆษณาที่ระบุ 
AdSelectionFromOutcomesConfig.Builder ตัวสร้างสำหรับออบเจ็กต์ AdSelectionFromOutcomesConfig 
AdSelectionManager AdSelection Manager มี API สําหรับแอปและ SDK โฆษณาเพื่อเรียกใช้กระบวนการเลือกโฆษณา รวมถึงรายงานการแสดงผล 
AdSelectionOutcome คลาสนี้แสดงฟิลด์ใน OutcomeReceiver ซึ่งเป็นอินพุตของ AdSelectionManager.selectAds(AdSelectionConfig, Executor, OutcomeReceiver) ใน AdSelectionManager 
AdSelectionOutcome.Builder ตัวสร้างสำหรับออบเจ็กต์ AdSelectionOutcome 
GetAdSelectionDataOutcome แสดงข้อมูลการเลือกโฆษณาที่รวบรวมจากอุปกรณ์สําหรับการเลือกโฆษณา 
GetAdSelectionDataRequest แสดงคําขอที่มีข้อมูลสําหรับรับข้อมูลการเลือกโฆษณา 
GetAdSelectionDataRequest.Builder ตัวสร้างสำหรับออบเจ็กต์ GetAdSelectionDataRequest 
PersistAdSelectionResultRequest แสดงคําขอที่มีผู้ขาย รหัสการเลือกโฆษณา และข้อมูล 
PersistAdSelectionResultRequest.Builder ตัวสร้างสำหรับออบเจ็กต์ PersistAdSelectionResultRequest 
RemoveAdSelectionFromOutcomesOverrideRequest POJO นี้แสดงคําขอ RemoveAdSelectionFromOutcomesOverrideRequest, Executor, OutcomeReceiver)

ไฟล์นี้มี 1 ฟิลด์ ซึ่งเป็น AdSelectionFromOutcomesConfig ที่ทำหน้าที่เป็นตัวระบุการลบการลบล้าง 

RemoveAdSelectionOverrideRequest POJO นี้แสดงคําขอ TestAdSelectionManager#removeAdSelectionConfigRemoteInfoOverride( RemoveAdSelectionOverrideRequest, Executor, OutcomeReceiver)

ไฟล์นี้มี 1 ฟิลด์ ซึ่งเป็น AdSelectionConfig ที่ทำหน้าที่เป็นตัวระบุการลบล้างที่จะนําออก 

ReportEventRequest ออบเจ็กต์คําขอที่รวมอาร์กิวเมนต์ที่จําเป็นในการรายงานเหตุการณ์โฆษณา 
ReportEventRequest.Builder ตัวสร้างสำหรับออบเจ็กต์ ReportEventRequest 
ReportImpressionRequest แสดงพารามิเตอร์อินพุตไปยัง reportImpression API 
TestAdSelectionManager TestAdSelectionManager มี API สําหรับแอปและ SDK โฆษณาเพื่อทดสอบกระบวนการเลือกโฆษณา 
UpdateAdCounterHistogramRequest ออบเจ็กต์คําขอที่รวมอาร์กิวเมนต์ที่จําเป็นในการอัปเดตฮิสโตแกรมตัวนับโฆษณา 
UpdateAdCounterHistogramRequest.Builder ตัวสร้างสำหรับออบเจ็กต์ UpdateAdCounterHistogramRequest