You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sets the decimal precision for location coordinates (latitude/longitude) in geo-targeting. This helps control the precision of location data sent in ad requests for privacy purposes.
801
+
802
+
Signature:
803
+
804
+
```kotlin
805
+
void setLocationDecimalPrecision(Int? precision)
806
+
```
807
+
808
+
Parameters:
809
+
810
+
{: .table .table-bordered .table-striped }
811
+
| Parameter | Scope | Type | Description | Example |
812
+
| --- | --- | --- | --- | --- |
813
+
| precision | optional | integer | Number of decimal places to keep, or null for no limit. Values outside the 0-6 range will be clamped to valid range. Default is `null`| 2 |
Copy file name to clipboardExpand all lines: prebid-mobile/pbm-api/ios/pbm-targeting-ios.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -541,6 +541,7 @@ Note that several of the properties noted here are also mentioned above for othe
541
541
| subjectToGDPR | discouraged | boolean |?| Defines whether this request isin-scope for European privacy regulations. See [above](/prebid-mobile/pbm-api/ios/pbm-targeting-ios#gdpr--tcf-eu) for more information. | `true` |
542
542
| gdprConsentString | discouraged | string | both | See the [GDPR settings](/prebid-mobile/pbm-api/ios/pbm-targeting-ios#gdpr--tcf-eu) section above. ||
543
543
| purposeConsents | discouraged | string | both | See the [GDPR settings](/prebid-mobile/pbm-api/ios/pbm-targeting-ios#gdpr--tcf-eu) section above. ||
544
+
| locationPrecision |optional| NSNumber | both | Number of decimal places to use when rounding latitude/longitude for device geolocation. Default isnil. (full precision) | `NSNumber(value: 2)` |
0 commit comments