Prebid Mobile SDK in Apps: Difference between revisions

No edit summary
 
Line 107: Line 107:
The GPID is there to tell certain Headerbidding partners which placement they are bidding on and is therefore very important. The absence of this information leads to worse bids!
The GPID is there to tell certain Headerbidding partners which placement they are bidding on and is therefore very important. The absence of this information leads to worse bids!


*'''gpid''' corresponds to the AdUnit used for the iqadtile, e.g. /183/FAZ_app_android_phone/homepage
*'''gpid''' corresponds to the AdUnit plus the iqadtile identifier used for the iqadtile, which is appended with a hyphen "-", e.g. /183/FAZ_app_android_phone/homepage-iqadtile3
*'''pbadslot''' is a combination of AdUnit, the character '#' and the iqadtile, example /183/FAZ_app_android_phone/homepage#iqadtile3
*'''pbadslot''' is the same value as '''gpid''', example /183/FAZ_app_android_phone/homepage-iqadtile3
*'''relevant_slotInstance''' is the number of the iqadtile, example 3 for iqadtile3
*'''relevant_slotInstance''' is the number of the iqadtile, example 3 for iqadtile3


====Example====
====Example for iqadtile3====
<pre>
<pre>
adUnit?.impOrtbConfig = """   
adUnit?.impOrtbConfig = """   
     {   
     {   
         "ext": {   
         "ext": {   
             "gpid":"/183/FAZ_app_android_phone/homepage"   
             "gpid":"/183/FAZ_app_android_phone/homepage-iqadtile3"   
             "data": {   
             "data": {   
                 "pbadslot":"/183/FAZ_app_android_phone/homepage#iqadtile3"   
                 "pbadslot":"/183/FAZ_app_android_phone/homepage-iqadtile3"   
                 "relevant_slotInstance": "3" // optional extra to RY analytics   
                 "relevant_slotInstance": "3" // optional extra to RY analytics   
             }   
             }