File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -164,20 +164,11 @@ fn enhance_openrtb_request(
164164
165165 // Add geo information if available
166166 if let Some ( geo_info) = GeoInfo :: from_request ( req) {
167- // Create geo object for OpenRTB
168- // Note: Fastly geo_lookup provides IP-based location
169167 let geo_obj = json ! ( {
170- "lat" : geo_info. latitude,
171- "lon" : geo_info. longitude,
172168 "type" : 2 , // 2 = IP address location
173169 "country" : geo_info. country, // Note: OpenRTB expects ISO 3166-1 alpha-3, but Fastly provides alpha-2
174170 "city" : geo_info. city,
175171 "region" : geo_info. region,
176- // metro code is included via ext since OpenRTB doesn't have a standard field for it
177- "ext" : {
178- "metro_code" : geo_info. metro_code,
179- "continent" : geo_info. continent
180- }
181172 } ) ;
182173
183174 if !request[ "device" ] . is_object ( ) {
You can’t perform that action at this time.
0 commit comments