Prebid Mobile SDK in Apps: Difference between revisions

 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
*iOS: https://docs.prebid.org/prebid-mobile/pbm-api/ios/code-integration-ios.html
*iOS: https://docs.prebid.org/prebid-mobile/pbm-api/ios/code-integration-ios.html
*Android: https://docs.prebid.org/prebid-mobile/pbm-api/android/code-integration-android.html
*Android: https://docs.prebid.org/prebid-mobile/pbm-api/android/code-integration-android.html
===Required documents===
*This documentation
*Excel sheet with account ID and config IDs for each iqadtile


==Step 1 - Integrate Prebid Mobile SDK==
==Step 1 - Integrate Prebid Mobile SDK==
Line 15: Line 19:
At the beginning, the endpoint and account ID must be set in the SDK and placed in an initialization method
At the beginning, the endpoint and account ID must be set in the SDK and placed in an initialization method


*Prebid Server Account Id: '''<<<PREBID_SERVER_ACCOUNT_ID>>>'''
*Prebid Server Account ID: '''<<<PREBID_SERVER_ACCOUNT_ID>>>''', the ID is different for each app, but is the same for all placements within the app. The ID can be found in the Excel sheet.
*Prebid Server Url: '''https://client-pbs.relevant-digital.com/openrtb2/auction'''
*Prebid Server Url: '''https://client-pbs.relevant-digital.com/openrtb2/auction'''


Line 41: Line 45:
For each ad placement (iqadtile), a BannerAdUnit must be created and configured:
For each ad placement (iqadtile), a BannerAdUnit must be created and configured:


#'''Config Id''', this is different for each iqadtile and will be provided in a table by iqdigital
#'''Config Id''', this is different for each iqadtile within an app and is provided in the Excel sheet by iqdigital.
#The sizes that have been defined for the iqadtile must also be communicated to the BannerAdUnit. (Important: normally more than one size must be passed, they often differ from iqadtile to iqadtile)
#The sizes that have been defined for the iqadtile must also be communicated to the BannerAdUnit. (Important: normally more than one size must be passed, they often differ from iqadtile to iqadtile)