Stay organized with collections
Save and categorize content based on your preferences.
Extra parameters for mediation custom events.
Summary
These parameters will be passed by the Google Mobile Ads SDK to mediation.
Properties
Public functions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eMediationExtras class provides a way to pass extra parameters to mediation custom events within the Google Mobile Ads SDK.\u003c/p\u003e\n"],["\u003cp\u003eThese extra parameters are stored as key-value pairs in a Dictionary and are accessible through the \u003ccode\u003eExtras\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eMediationExtras includes platform-specific builder class names for Android and iOS, which can be used for further customization by mediation adapters.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Mobile Ads SDK automatically handles the passing of these extra parameters to the chosen mediation networks during ad requests.\u003c/p\u003e\n"]]],["MediationExtras allows for the passing of extra parameters to mediation custom events via the Google Mobile Ads SDK. It contains three key properties: `AndroidMediationExtraBuilderClassName`, `IOSMediationExtraBuilderClassName` (both strings), and `Extras` (a dictionary of string key-value pairs). `Extras` holds the specific parameters intended for the mediation adapter. The `MediationExtras()` function initializes these settings.\n"],null,["# GoogleMobileAds.Api.Mediation.MediationExtras Class Reference\n\nGoogleMobileAds.Api.Mediation.MediationExtras\n=============================================\n\nExtra parameters for mediation custom events.\n\nSummary\n-------\n\nThese parameters will be passed by the Google Mobile Ads SDK to mediation.\n\n| ### Constructors and Destructors ||\n|---|---|\n| [MediationExtras](#class_google_mobile_ads_1_1_api_1_1_mediation_1_1_mediation_extras_1ac6e9bda44492db74a116d03d71e1d79b)`()` ||\n\n| ### Properties ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| [AndroidMediationExtraBuilderClassName](#class_google_mobile_ads_1_1_api_1_1_mediation_1_1_mediation_extras_1acfcbb148947cdcf05dfe4096704201cb) | `abstract string` |\n| [Extras](#class_google_mobile_ads_1_1_api_1_1_mediation_1_1_mediation_extras_1a001dea770eb88496121ba099ef79a1de) | `Dictionary\u003c string, string \u003e` The extra parameters passed to the mediation adapter. |\n| [IOSMediationExtraBuilderClassName](#class_google_mobile_ads_1_1_api_1_1_mediation_1_1_mediation_extras_1a3cf2f2176779be0914355b7c3589ca95) | `abstract string` |\n\nProperties\n----------\n\n### AndroidMediationExtraBuilderClassName\n\n```c#\nabstract string AndroidMediationExtraBuilderClassName\n``` \n\n### Extras\n\n```c#\nDictionary\u003c string, string \u003e Extras\n``` \nThe extra parameters passed to the mediation adapter. \n\n### IOSMediationExtraBuilderClassName\n\n```c#\nabstract string IOSMediationExtraBuilderClassName\n``` \n\nPublic functions\n----------------\n\n### MediationExtras\n\n```c#\n MediationExtras()\n```"]]