Skip to content

Commit

Permalink
New adapter: Appstock (#3054)
Browse files Browse the repository at this point in the history
co-authored by @imedvedko
  • Loading branch information
imedvedko authored Sep 8, 2023
1 parent 9980b64 commit 01bd679
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions exchange/adapter_builders.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ func newAdapterBuilders() map[openrtb_ext.BidderName]adapters.Builder {
openrtb_ext.BidderApacdex: apacdex.Builder,
openrtb_ext.BidderApplogy: applogy.Builder,
openrtb_ext.BidderAppnexus: appnexus.Builder,
openrtb_ext.BidderAppstock: limelightDigital.Builder,
openrtb_ext.BidderAppush: appush.Builder,
openrtb_ext.BidderAudienceNetwork: audienceNetwork.Builder,
openrtb_ext.BidderAutomatad: automatad.Builder,
Expand Down
2 changes: 2 additions & 0 deletions openrtb_ext/bidders.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ var coreBidderNames []BidderName = []BidderName{
BidderApacdex,
BidderApplogy,
BidderAppnexus,
BidderAppstock,
BidderAppush,
BidderAudienceNetwork,
BidderAutomatad,
Expand Down Expand Up @@ -345,6 +346,7 @@ const (
BidderApacdex BidderName = "apacdex"
BidderApplogy BidderName = "applogy"
BidderAppnexus BidderName = "appnexus"
BidderAppstock BidderName = "appstock"
BidderAppush BidderName = "appush"
BidderAudienceNetwork BidderName = "audienceNetwork"
BidderAutomatad BidderName = "automatad"
Expand Down
16 changes: 16 additions & 0 deletions static/bidder-info/appstock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
endpoint: "http://ads-pbs.pre.vr-tb.com/openrtb/{{.PublisherID}}?host={{.Host}}"
maintainer:
email: "[email protected]"
capabilities:
app:
mediaTypes:
- banner
- video
- audio
- native
site:
mediaTypes:
- banner
- video
- audio
- native
23 changes: 23 additions & 0 deletions static/bidder-params/appstock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Appstock Adapter Params",
"description": "A schema which validates params accepted by the Appstock adapter",
"type": "object",

"properties": {
"host": {
"type": "string",
"description": "Ad network's RTB host",
"format": "hostname",
"pattern": "^.+\\..+$"
},
"publisherId": {
"type": ["integer", "string"],
"description": "Publisher ID",
"minimum": 1,
"pattern": "^[1-9][0-9]*$"
}
},

"required": ["host", "publisherId"]
}

0 comments on commit 01bd679

Please sign in to comment.