新增 AdSelectionFromOutcomesOverrideRequest
  public
  
  
  
  class
  AddAdSelectionFromOutcomesOverrideRequest
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.adservices.adselection.AddAdSelectionFromOutcomesOverrideRequest | 
這個 POJO 代表 TestAdSelectionManager.overrideAdSelectionFromOutcomesConfigRemoteInfo(AddAdSelectionFromOutcomesOverrideRequest, Executor, OutcomeReceiver) (
 AddAdSelectionOverrideRequest, Executor, OutcomeReceiver)} 要求
 
其中含有 AdSelectionFromOutcomesConfig 做為
 特定覆寫值,String selectionLogicJs 和 String selectionSignals
 代表覆寫值的欄位
摘要
公用建構函式 | |
|---|---|
      
      AddAdSelectionFromOutcomesOverrideRequest(AdSelectionFromOutcomesConfig adSelectionFromOutcomesConfig, String outcomeSelectionLogicJs, AdSelectionSignals outcomeSelectionTrustedSignals)
      
      
        
      
     | 
  |
公用方法 | |
|---|---|
        
        
        
        
        
        AdSelectionFromOutcomesConfig
     | 
  
    
      
      getAdSelectionFromOutcomesConfig()
      
      
     | 
  
        
        
        
        
        
        String
     | 
  
    
      
      getOutcomeSelectionLogicJs()
      
      
     | 
  
        
        
        
        
        
        AdSelectionSignals
     | 
  
    
      
      getOutcomeSelectionTrustedSignals()
      
      
     | 
  
繼承方法 | |
|---|---|
公用建構函式
新增 AdSelectionFromOutcomesOverrideRequest
public AddAdSelectionFromOutcomesOverrideRequest (AdSelectionFromOutcomesConfig adSelectionFromOutcomesConfig, String outcomeSelectionLogicJs, AdSelectionSignals outcomeSelectionTrustedSignals)
建構 AddAdSelectionFromOutcomesOverrideRequest 例項。
| 參數 | |
|---|---|
adSelectionFromOutcomesConfig | 
        
          AdSelectionFromOutcomesConfig:此值不能為 null。 | 
      
outcomeSelectionLogicJs | 
        
          String:此值不能為 null。 | 
      
outcomeSelectionTrustedSignals | 
        
          AdSelectionSignals:此值不能為 null。 | 
      
公用方法
getAdSelectionFromOutcomesConfig
public AdSelectionFromOutcomesConfig getAdSelectionFromOutcomesConfig ()
| 傳回 | |
|---|---|
AdSelectionFromOutcomesConfig | 
        AdSelectionFromOutcomesConfig 的例項,廣告的設定
     選取過程這項設定會提供執行廣告選擇程序所需的資料
     產生出價和分數的流程,找出勝出的勝出廣告
 
 此值不能為 null。 | 
      
getOutcomeSelectionLogicJs
public String getOutcomeSelectionLogicJs ()
| 傳回 | |
|---|---|
String | 
        覆寫 JavaScript 結果應為包含有效 JS 程式碼的字串。
     程式碼應包含廣告結果期間將執行的結果選取邏輯
     。
 
 此值不能為 null。 | 
      
getOutcomeSelectionTrustedSignals
public AdSelectionSignals getOutcomeSelectionTrustedSignals ()
| 傳回 | |
|---|---|
AdSelectionSignals | 
        覆寫信任評分信號,應為有效的 JSON 字串。值得信任的
     選擇廣告結果時,系統會將信號傳入結果選取邏輯。
 
 此值不能為 null。 |