-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathprebid_pk_interest.plantuml
59 lines (50 loc) · 1.37 KB
/
prebid_pk_interest.plantuml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@startuml prebid_pk_interest
title Prebid: interest bid selection and final decision
participant User
participant "pub.com" as Pub
participant "prebid.js" as Pbjs
participant "Edge" as Edge
participant "Parakeet" as Pk
participant "Prebid Server" as Pbs
participant "Exchanges" as Ex
participant "Dsps" as Dsp
activate Pub
Pub -> Pbjs: 1. begin final ad selection
activate Pbjs
Pbjs -> Pbjs: 2. select contextual winner
activate Edge
Pbjs -> Edge: 3: navigator.createAdRequest
activate Pk
Edge -> Pk: 4. anonymized interests + full contextual data
activate Pbs
Pk -> Pbs: 5. anonymized interestes + sanitized contextual data
activate Ex
Pbs -> Ex: 6. OpenRTB ad request
activate Dsp
Ex -> Dsp: 7. bid requests
Ex <- Dsp: 8. bids
deactivate Dsp
Pbs <- Ex: 9. winning exchange bid
deactivate Ex
Pbs <- Pbs: 10. chooses winning IG bid
Pk <- Pbs: 11. winning bid
deactivate Pbs
Pk <- Pk: 12. compares best bid with contextual ad
Edge <- Pk: 13. winning ad
deactivate Pk
Pbjs <- Edge: 14. token/false
alt IG bid winner
Edge -> Pbjs: 15.1 opaque object
deactivate Edge
Pbjs -> Pbjs: 15.2. record IG win
Pbjs -> Pbjs: 15.3. render IG ad
else contextual ad winner
Edge -> Pbjs: 16.1 false
deactivate Edge
Pbjs -> Pbjs: 16.2. render contextual ad
Pbjs -> Pbjs: 16.3. record contextual win
Pub <- Pbjs: 17. ad rendered
deactivate Pbjs
User <- Pub
deactivate Pub
@enduml