Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModifyForIOS ¶
func ModifyForIOS(req *openrtb2.BidRequest)
ModifyForIOS modifies the request's LMT flag based on iOS version and identity.
Types ¶
type Policy ¶
Policy represents the LMT (Limit Ad Tracking) policy for an OpenRTB bid request.
func ReadFromRequest ¶
func ReadFromRequest(req *openrtb2.BidRequest) (policy Policy)
ReadFromRequest extracts the LMT (Limit Ad Tracking) policy from an OpenRTB bid request.
func (Policy) CanEnforce ¶
CanEnforce returns true the LMT (Limit Ad Tracking) signal is provided by the publisher.
func (Policy) ShouldEnforce ¶
ShouldEnforce returns true when the LMT (Limit Ad Tracking) policy is in effect.
Click to show internal directories.
Click to hide internal directories.