Skip to content

Commit

Permalink
renaming yieldmo bidder param from placementid to placementId (prebid…
Browse files Browse the repository at this point in the history
  • Loading branch information
ym-winston authored and hhhjort committed Mar 11, 2019
1 parent 07f72a2 commit fd4c3e1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion adapters/yieldmo/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestInvalidParams(t *testing.T) {
}

var validParams = []string{
`{"placementid": "123"}`,
`{"placementId": "123"}`,
}

var invalidParams = []string{
Expand Down
2 changes: 1 addition & 1 deletion adapters/yieldmo/yieldmotest/exemplary/simple-banner.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"ext": {
"bidder": {
"placementid": "123"
"placementId": "123"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion openrtb_ext/imp_yieldmo.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package openrtb_ext

// ExtImpYieldmo defines the contract for bidrequest.imp[i].ext.yieldmo
type ExtImpYieldmo struct {
PlacementId string `json:"placementid"`
PlacementId string `json:"placementId"`
}
4 changes: 2 additions & 2 deletions static/bidder-params/yieldmo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

"type": "object",
"properties": {
"placementid": {
"placementId": {
"type": "string",
"description": "Internal Yieldmo Placement ID"
}
},
"required": ["placementid"]
"required": ["placementId"]
}

0 comments on commit fd4c3e1

Please sign in to comment.