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:====
===Example Android:====
<pre>
<pre>
TargetingParams.setGlobalOrtbConfig( 
adUnit?.impOrtbConfig = """
    """
    {
        {
        "displaymanager": "Google",
            "displaymanager": "Google",
        "displaymanagerver": "${MobileAds.getVersion()}"
            "displaymanagerver": "${MobileAds.getVersion()}"
    }
            "ext": {
""".trimIndent()
                "myext":
)
                    "test":
</pre>
                } 
====Example iOS:====
            } 
<pre>
        }
adUnit.setImpORTBConfig("""
    """.trimIndent()
    {
        "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>