Prebid Mobile SDK in Apps: Difference between revisions
No edit summary |
No edit summary |
||
| Line 84: | Line 84: | ||
The Headerbidding partners should be informed which DisplayManager and which version is being used. | The Headerbidding partners should be informed which DisplayManager and which version is being used. | ||
===Example Android:==== | |||
<pre> | <pre> | ||
adUnit?.impOrtbConfig = """ | |||
{ | |||
"displaymanager": "Google", | |||
"displaymanagerver": "${MobileAds.getVersion()}" | |||
} | |||
""".trimIndent() | |||
) | |||
</pre> | |||
====Example iOS:==== | |||
<pre> | |||
adUnit.setImpORTBConfig(""" | |||
{ | |||
"displaymanager": "Google", | |||
"displaymanagerver": "\(string(for: MobileAds.shared.versionNumber))" | |||
} | |||
""") | |||
) | ) | ||
</pre> | </pre> | ||
| Line 124: | Line 128: | ||
} | } | ||
""".trimIndent() | """.trimIndent() | ||
</pre> | |||
===Store-URL=== | |||
The app should include the URL of the website page associated with the app so that bidders can understand the page and bid accordingly. This typically increases bids and is therefore relevant to revenue. | |||
====Example Android:==== | |||
<pre> | |||
TargetingParams.setStoreUrl("https://faz.net/aktuell"); | |||
</pre> | </pre> | ||