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.
New Adapter: Groupm (Alias Of PubMatic) (prebid#2042)
- Loading branch information
1 parent
cc4a376
commit d00d8bc
Showing
5 changed files
with
83 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
maintainer: | ||
email: "[email protected]" | ||
gvlVendorID: 98 | ||
capabilities: | ||
app: | ||
mediaTypes: | ||
- banner | ||
- video | ||
site: | ||
mediaTypes: | ||
- banner | ||
- video | ||
userSync: | ||
iframe: | ||
url: "https://ads.pubmatic.com/AdServer/js/user_sync.html?gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&predirect={{.RedirectURL}}" | ||
userMacro: "" | ||
# groupm 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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Groupm Adapter Params", | ||
"description": "A schema which validates params accepted by the Groupm adapter", | ||
"type": "object", | ||
"properties": { | ||
"publisherId": { | ||
"type": "string", | ||
"description": "An ID which identifies the publisher" | ||
}, | ||
"adSlot": { | ||
"type": "string", | ||
"description": "An ID which identifies the ad slot" | ||
}, | ||
"pmzoneid": { | ||
"type": "string", | ||
"description": "Comma separated zone id. Used im deal targeting & site section targeting. e.g drama,sport" | ||
}, | ||
"dctr": { | ||
"type": "string", | ||
"description": "Deals Custom Targeting, pipe separated key-value pairs e.g key1=V1,V2,V3|key2=v1|key3=v3,v5" | ||
}, | ||
"wrapper": { | ||
"type": "object", | ||
"description": "Specifies Groupm openwrap configuration for a publisher", | ||
"properties": { | ||
"profile": { | ||
"type": "integer", | ||
"description": "An ID which identifies the openwrap profile of publisher" | ||
}, | ||
"version": { | ||
"type": "integer", | ||
"description": "An ID which identifies version of the openwrap profile" | ||
} | ||
}, | ||
"required": ["profile"] | ||
}, | ||
"keywords": { | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "object", | ||
"description": "A key with one or more values associated with it. These are used in buy-side segment targeting.", | ||
"properties": { | ||
"key": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"required": ["key", "value"] | ||
} | ||
} | ||
}, | ||
"required": ["publisherId"] | ||
} |