Prebid Mobile SDK in Apps: Difference between revisions
No edit summary |
|||
| (6 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== | ||
iOS: https://github.com/prebid/prebid-mobile-ios | *iOS: https://github.com/prebid/prebid-mobile-ios | ||
Android: https://github.com/prebid/prebid-mobile-android | *Android: https://github.com/prebid/prebid-mobile-android | ||
==Step 2 - Initial global configuration== | ==Step 2 - Initial global configuration== | ||
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 | *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 | #'''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) | ||
| Line 104: | Line 108: | ||
*'''gpid''' corresponds to the AdUnit used for the iqadtile, e.g. /183/FAZ_app_android_phone/homepage | *'''gpid''' corresponds to the AdUnit used for the iqadtile, e.g. /183/FAZ_app_android_phone/homepage | ||
*'''pbadslot''' is a combination of AdUnit and iqadtile, example /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 | ||
*'''relevant_slotInstance''' is the number of the iqadtile, example 3 for iqadtile3 | *'''relevant_slotInstance''' is the number of the iqadtile, example 3 for iqadtile3 | ||
| Line 141: | Line 145: | ||
===Android=== | ===Android=== | ||
*[https://docs.prebid.org/prebid-mobile/pbm-api/android/code-integration-android.html Code Integration] | *[https://docs.prebid.org/prebid-mobile/pbm-api/android/code-integration-android.html Code Integration] | ||
[[ | [[de:Prebid Mobile SDK in Apps]] | ||