Skip to content

Commit

Permalink
New adapter: GreedyGame (#3083)
Browse files Browse the repository at this point in the history
  • Loading branch information
imedvedko authored Sep 12, 2023
1 parent fc5b00b commit 4ec839e
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 @@ -287,6 +287,7 @@ func newAdapterBuilders() map[openrtb_ext.BidderName]adapters.Builder {
openrtb_ext.BidderGamoshi: gamoshi.Builder,
openrtb_ext.BidderGlobalsun: globalsun.Builder,
openrtb_ext.BidderGothamads: gothamads.Builder,
openrtb_ext.BidderGreedygame: limelightDigital.Builder,
openrtb_ext.BidderGrid: grid.Builder,
openrtb_ext.BidderGumGum: gumgum.Builder,
openrtb_ext.BidderHuaweiAds: huaweiads.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 @@ -111,6 +111,7 @@ var coreBidderNames []BidderName = []BidderName{
BidderGamoshi,
BidderGlobalsun,
BidderGothamads,
BidderGreedygame,
BidderGrid,
BidderGumGum,
BidderHuaweiAds,
Expand Down Expand Up @@ -403,6 +404,7 @@ const (
BidderGamoshi BidderName = "gamoshi"
BidderGlobalsun BidderName = "globalsun"
BidderGothamads BidderName = "gothamads"
BidderGreedygame BidderName = "greedygame"
BidderGrid BidderName = "grid"
BidderGumGum BidderName = "gumgum"
BidderHuaweiAds BidderName = "huaweiads"
Expand Down
16 changes: 16 additions & 0 deletions static/bidder-info/greedygame.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
endpoint: "http://ads-pbs.rtb-greedygame.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/greedygame.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GreedyGame Adapter Params",
"description": "A schema which validates params accepted by the GreedyGame 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 4ec839e

Please sign in to comment.