AdSelectionConfig.Builder.SetDecisionLogicUri(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 URI used to fetch decision logic for use in the ad selection process.
[Android.Runtime.Register("setDecisionLogicUri", "(Landroid/net/Uri;)Landroid/adservices/adselection/AdSelectionConfig$Builder;", "", ApiSince=34)]
public Android.AdServices.AdSelection.AdSelectionConfig.Builder SetDecisionLogicUri(Android.Net.Uri decisionLogicUri);
[<Android.Runtime.Register("setDecisionLogicUri", "(Landroid/net/Uri;)Landroid/adservices/adselection/AdSelectionConfig$Builder;", "", ApiSince=34)>]
member this.SetDecisionLogicUri : Android.Net.Uri -> Android.AdServices.AdSelection.AdSelectionConfig.Builder
Parameters
- decisionLogicUri
- Uri
Returns
- Attributes
Remarks
Sets the URI used to fetch decision logic for use in the ad selection process. Decision 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/<name>?<script-generation-parameters> format. FLEDGE generates the appropriate JS script without the need for a network call. Available prebuilt scripts:; highest-bid-wins for scoreAds and reportResult: This JS picks the ad with the highest bid for scoring. For reporting, the given URI is parameterized with render_uri and bid. Below parameter(s) are required to use this prebuilt:; reportingUrl: Base reporting uri that will be parameterized later with render_uri and bid
Ex. If your base reporting URL is "https://www.ssp.com" then, ad-selection-prebuilt://ad-selection/highest-bid-wins/?reportingUrl=https://www.ssp.com
See AdSelectionConfig.getDecisionLogicUri() for more details.
Android reference for android.adservices.adselection.AdSelectionConfig.Builder.setDecisionLogicUri.
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.