Commit cb0486f
committed
Forward real client IP in device.ip to PBS
Without this, PBS infers the IP from the incoming connection which is
a Fastly edge/data-center IP. Bidders like PubMatic filter data-center
IPs as non-human traffic, resulting in 0% fill through Trusted Server.
The client IP is already available via get_client_ip_addr() and stored
in DeviceInfo.ip — it just wasn't being passed through to the OpenRTB
Device object.1 parent 19c7feb commit cb0486f
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
583 | 586 | | |
584 | 587 | | |
| 588 | + | |
585 | 589 | | |
586 | 590 | | |
587 | 591 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
0 commit comments