Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Required - bid responses without DSA object will not be accepted Required = 2 // RequiredOnlinePlatform - bid responses without DSA object will not be accepted, Publisher is an Online Platform RequiredOnlinePlatform = 3 )
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(req *openrtb_ext.RequestWrapper, bid *entities.PbsOrtbBid) (valid bool)
Validate determines whether a given bid is valid from a DSA perspective. A bid is considered valid unless the bid request indicates that a DSA object is required in bid responses and the object happens to be missing from the specified bid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.