github.com/prebid/prebid-server/v2@v2.18.0/openrtb_ext/imp_smaato.go (about)

     1  package openrtb_ext
     2  
     3  import "encoding/json"
     4  
     5  // ExtImpSmaato defines the contract for bidrequest.imp[i].ext.prebid.bidder.smaato
     6  // PublisherId and AdSpaceId are mandatory parameters for non adpod (long-form video) requests, others are optional parameters
     7  // PublisherId and AdBreakId are mandatory parameters for adpod (long-form video) requests, others are optional parameters
     8  // AdSpaceId is the identifier for specific ad placement or ad tag
     9  // AdBreakId is the identifier for specific ad placement or ad tag
    10  type ExtImpSmaato struct {
    11  	PublisherID string `json:"publisherId"`
    12  	AdSpaceID   string `json:"adspaceId"`
    13  	AdBreakID   string `json:"adbreakId"`
    14  }
    15  
    16  // ExtImpExtraDataSmaato defines extra properties from imp[i].ext object
    17  type ExtImpExtraDataSmaato struct {
    18  	Skadn json.RawMessage `json:"skadn,omitempty"`
    19  }