github.com/prebid/prebid-server/v2@v2.18.0/adapters/teads/models.go (about) 1 package teads 2 3 import ( 4 "encoding/json" 5 "text/template" 6 ) 7 8 type adapter struct { 9 endpointTemplate *template.Template 10 } 11 12 type defaultBidderImpExtension struct { 13 Bidder bidder `json:"bidder"` 14 } 15 16 type bidder struct { 17 PlacementId int `json:"placementId"` 18 } 19 20 type teadsImpExtension struct { 21 KV teadsKV `json:"kv"` 22 } 23 24 type teadsKV struct { 25 PlacementId int `json:"placementId"` 26 } 27 28 type teadsBidExt struct { 29 Prebid teadsPrebidExt `json:"prebid"` 30 } 31 32 type teadsPrebidExt struct { 33 Meta teadsPrebidMeta `json:"meta"` 34 } 35 36 type teadsPrebidMeta struct { 37 RendererName string `json:"rendererName"` 38 RendererVersion string `json:"rendererVersion"` 39 RendererData json.RawMessage `json:"rendererData"` 40 }