dsa

package
v2.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL