iOS SDK - Custom parameters
All ad units support a customParameters property for passing key-value pairs to demand partners. Set it before load(on:). It applies to all later loads until you change it.
Parameters are grouped by namespace. Unknown namespaces are ignored. Network parameters are passed through unchanged, so keys and values must follow that network SDK's documentation.
| Namespace | Forwarded to |
|---|---|
"google_ad_manager" |
Google Ad Manager as custom targeting. Values must be String: a single non-String value drops all targeting for the request. |
"applovin" |
AppLovin MAX as local extra parameters |
"aurion11" |
MDN11 SDK. See Floor price. |
let banner = A11.shared.getBannerAd(adUnitID: "adUnitID")
banner.customParameters = [
"google_ad_manager": ["hb_pb": "1.50"],
"applovin": ["uid2_token": "test-token-123"],
"aurion11": ["floor_price": Decimal(2.50)],
]
banner.load(on: self)
Floor price
Pass "floor_price" (Decimal) inside the "aurion11" namespace before load(on:) to set a minimum floor price for the ad request. It applies to all later loads until you change it.
Caution
Floor prices only work with dynamic ad units. Don't release your app using floor_price for a fixed ad unit.
Publisher-provided user ID
You can optionally supply the SDK with a publisher-defined user identifier. When set, it is passed alongside ad requests and can be used for use cases such as user-level reporting or targeting.
Info
Set the user ID before initializing MDN11 SDK, so it's included in the entire event lifecycle.