Skip to content

Commit 5bb4887

Browse files
remove geo info from user object in openrtb request
1 parent dc975b0 commit 5bb4887

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/common/src/prebid_proxy.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,10 @@ fn enhance_openrtb_request(
180180
}
181181
});
182182

183-
// Add to device.geo
184183
if !request["device"].is_object() {
185184
request["device"] = json!({});
186185
}
187186
request["device"]["geo"] = geo_obj.clone();
188-
189-
// Add to user.geo (same data, as both represent the user's location)
190-
request["user"]["geo"] = geo_obj;
191187
}
192188

193189
// Add site information if missing

0 commit comments

Comments
 (0)