forked from prebid/prebid-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept multiple networkid and siteid types to fix prebid/Prebid.js#6361
- Loading branch information
1 parent
2b8e8cd
commit b9ff00e
Showing
3 changed files
with
45 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,29 @@ | ||
# Please uncomment the appropriate endpoint URL for your datacenter | ||
# Europe | ||
endpoint: "http://bidder.connectad.io/API?src=pbs" | ||
# North/South America | ||
# endpoint: "http://bidder-us.connectad.io/API?src=pbs" | ||
# APAC | ||
# endpoint: "http://bidder-apac.connectad.io/API?src=pbs" | ||
geoscope: | ||
- global | ||
maintainer: | ||
email: "[email protected]" | ||
endpointCompression: gzip | ||
gvlVendorID: 138 | ||
capabilities: | ||
app: | ||
mediaTypes: | ||
- banner | ||
- banner | ||
site: | ||
mediaTypes: | ||
- banner | ||
- banner | ||
userSync: | ||
iframe: | ||
url: "https://cdn.connectad.io/connectmyusers.php?gdpr={{.GDPR}}&consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&cb={{.RedirectURL}}" | ||
redirect: | ||
url: "https://sync.connectad.io/ImageSyncer?gdpr={{.GDPR}}&consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&gpp={{.GPP}}&gpp_sid={{.GPPSID}}&cb={{.RedirectURL}}" | ||
userMacro: "" | ||
# connectad appends the user id to end of the redirect url and does not utilize a macro | ||
iframe: | ||
url: "https://sync.connectad.io/iFrameSyncer?gdpr={{.GDPR}}&consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&gpp={{.GPP}}&gpp_sid={{.GPPSID}}&cb={{.RedirectURL}}" | ||
userMacro: "" | ||
# connectad appends the user id to end of the redirect url and does not utilize a macro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
|
||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "ConnectAd S2S dapter Params", | ||
"description": "A schema which validates params accepted by the ConnectAd Adapter", | ||
|
||
"type": "object", | ||
"properties": { | ||
"networkId": { | ||
"type": "integer", | ||
"description": "NetworkId" | ||
}, | ||
"siteId": { | ||
"type": "integer", | ||
"description": "SiteId" | ||
}, | ||
"bidfloor": { | ||
"type": "number", | ||
"description": "Requests Floorprice" | ||
} | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "ConnectAd S2S dapter Params", | ||
"description": "A schema which validates params accepted by the ConnectAd Adapter", | ||
|
||
"type": "object", | ||
"properties": { | ||
"networkId": { | ||
"type": [ | ||
"integer", | ||
"string" | ||
], | ||
"description": "NetworkId" | ||
}, | ||
"siteId": { | ||
"type": [ | ||
"integer", | ||
"string" | ||
], | ||
"description": "SiteId" | ||
}, | ||
"required": ["networkId", "siteId"] | ||
} | ||
"bidfloor": { | ||
"type": "number", | ||
"description": "Requests Floorprice" | ||
} | ||
}, | ||
"required": ["networkId", "siteId"] | ||
} | ||
|