AdSelectionFromOutcomesConfig.Builder.SetSelectionLogicUri(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the SelectionLogicUri.
[Android.Runtime.Register("setSelectionLogicUri", "(Landroid/net/Uri;)Landroid/adservices/adselection/AdSelectionFromOutcomesConfig$Builder;", "", ApiSince=35)]
public Android.AdServices.AdSelection.AdSelectionFromOutcomesConfig.Builder SetSelectionLogicUri(Android.Net.Uri selectionLogicUri);
[<Android.Runtime.Register("setSelectionLogicUri", "(Landroid/net/Uri;)Landroid/adservices/adselection/AdSelectionFromOutcomesConfig$Builder;", "", ApiSince=35)>]
member this.SetSelectionLogicUri : Android.Net.Uri -> Android.AdServices.AdSelection.AdSelectionFromOutcomesConfig.Builder
Parameters
- selectionLogicUri
- Uri
Returns
- Attributes
Remarks
Sets the SelectionLogicUri. Selection URI could be either of the two schemas: HTTPS: HTTPS URIs have to be absolute URIs where the host matches the seller; Ad Selection Prebuilt: Ad Selection Service URIs follow ad-selection-prebuilt://ad-selection-from-outcomes/<name>?<script-generation-parameters> format. FLEDGE generates the appropriate JS script without the need for a network call. Available prebuilt scripts:; waterfall-mediation-truncation for selectOutcome: This JS implements Waterfall mediation truncation logic. Mediation SDK's ad is returned if its bid greater than or equal to the bid floor. Below parameter(s) are required to use this prebuilt:; bidFloor: Key of the bid floor value passed in the AdSelectionFromOutcomesConfig.getSelectionSignals() that will be compared against mediation SDK's winner ad.
Ex. If your selection signals look like {"bid_floor": 10} then, ad-selection-prebuilt://ad-selection-from-outcomes/waterfall-mediation-truncation/?bidFloor=bid_floor AdSelectionIds and SelectionSignals.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.