|
|
| Zeile 123: |
Zeile 123: |
| </pre> | | </pre> |
|
| |
|
| ==Einbau und Funktionsweise== | | ==Anhang: Funktionsweise PrebidSDK und GMA SDK== |
| [[Datei:Prebid SDK.png|800px]] | | [[Datei:Prebid SDK.png|800px]] |
| #Prebid Mobile SDK einbinden | | #Prebid Mobile SDK einbinden |
| Zeile 142: |
Zeile 142: |
| Generell sollte aber ein Adrequest immer erfolgen, egal ob Gebote enthalten sind oder nicht. | | Generell sollte aber ein Adrequest immer erfolgen, egal ob Gebote enthalten sind oder nicht. |
|
| |
|
| ==Wichtige Konfigurationen==
| |
| Das Prebid Mobile SDK arbeitet in unserem Fall mit Prebid Server Premium zusammen und benötigt daher ein paar Anpassungen:
| |
|
| |
| ===Host===
| |
| Prebid Server Premium muss als Custom Host konfigurtiert sein. Dies erfolgt in Android so:
| |
| <pre>
| |
| Host custom = Host.CUSTOM;
| |
| custom.setHostUrl("https://ib.adnxs.com/openrtb2/prebid");
| |
| PrebidMobile.setPrebidServerHost(custom);
| |
| </pre>
| |
| [https://docs.prebid.org/prebid-mobile/pbm-api/android/prebidmobile-object-android.html#sethost Anleitung Android Custom Host]<br />
| |
| [https://docs.prebid.org/prebid-mobile/pbm-api/ios/prebidmobile-object-ios.html Anleitung iOS Custom Host]
| |
|
| |
| ===Account ID Setzen===
| |
| Es muss zusätzlich unsere Account ID gesetzt werden.
| |
| <pre>PrebidMobile.setPrebidServerAccountId("6975");</pre>
| |
|
| |
|
| ==Wichtige Links== | | ==Wichtige Links== |