Versions in this module Expand all Collapse all v3 v3.1.0 Oct 31, 2024 Changes in this version + const ConsentNone + const ConsentTCF1 + const ConsentTCF2 + const ConsentUSPrivacy + func ReadPolicy(ampParams Params, pbsConfigGDPREnabled bool) (privacy.PolicyWriter, error) + type Params struct + Account string + AdditionalConsent string + CanonicalURL string + Consent string + ConsentType int64 + Debug bool + GdprApplies *bool + Origin string + Size Size + Slot string + StoredRequestID string + Targeting string + Timeout *uint64 + Trace string + func ParseParams(httpRequest *http.Request) (Params, error) + type Size struct + Height int64 + Multisize []openrtb2.Format + OverrideHeight int64 + OverrideWidth int64 + Width int64 Other modules containing this package github.com/prebid/prebid-server github.com/prebid/prebid-server/v2