You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Updated overview section
* Added detailed documentation for Mobian RTD module
* Adding formatting for documentation
* More formatting
* More formatting
* Updated values to be exact matches, clarified some descriptions
* Updated Mobian RTD Module documentation with more detail
Copy file name to clipboardExpand all lines: modules/mobianRtdProvider.md
+68-48Lines changed: 68 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,91 +14,139 @@ The Mobian Real-Time Data (RTD) Module is a plug-and-play Prebid.js adapter that
14
14
15
15
Navigate to https://docs.prebid.org/download.html and check the box labeled Mobian Prebid Contextual Evaluation. If you have installed Prebid.js on your site previously, please be sure to select any other modules and adaptors to suit your needs. When clicking the "Get Prebid.js" button at the bottom of the page, the site will build a version of Prebid.js with all of your selections.
16
16
17
-
Direct link to the Mobian module in the Prebid.js repository: https://github.com/prebid/Prebid.js/blob/a9de3c15ac9a108b43a1e2df04abd6dfb5297530/modules/mobianRtdProvider.js
17
+
Direct link to the Mobian module in the Prebid.js repository: https://github.com/prebid/Prebid.js/blob/master/modules/mobianRtdProvider.js
18
18
19
19
The client will need to provide Mobian with all the domains that would be using the prebid module so that Mobian can whitelist those domains. Failure to whitelist the domains will yield a 404 when making a request to the Mobian Contextual API at https://prebid.outcomes.net/.
20
20
21
+
## Configuration Highlight
22
+
23
+
Below is Mobian's suggested default for configuration:
24
+
25
+
```js
26
+
pbjs.setConfig({
27
+
realTimeData: {
28
+
dataProviders: [{
29
+
name:'mobianBrandSafety',
30
+
params: {
31
+
// Prefix for the targeting keys (default: 'mobian')
32
+
prefix:'mobian',
33
+
34
+
// Enable targeting keys for advertiser data
35
+
advertiserTargeting:true,
36
+
// Or set it as an array to pick specific targeting keys:
At a high level, the Mobian RTD Module is designed to call the Mobian Contextal API on page load, requesting the Mobian classifications and results for the URL. The classifications and results are designed to be picked up by any SSP or DSP in the Prebid.js ecosystem. The module also supports placing the Mobian classifications on each ad slot on the page, thus allowing for targeting within GAM.
24
54
25
55
## Available Classifications
26
56
57
+
NOTE: The examples below for targetable keys for GAM or otherwise in the ortb2 object assume that your prefix is the default of "mobian". The prefix in the targetable key will change based on your settings.
58
+
27
59
Risk:
28
60
29
-
Key: mobianRisk
61
+
Prebid.outcomes.net endpoint key: mobianRisk
62
+
63
+
Targetable Key: mobian_risk
30
64
31
65
Possible values: "none", "low", "medium" or "high"
32
66
33
-
Description: Risk will contain Mobian’s brand safety assessment of the page. Brand Safety is determined via the Mobian AI models taking into account a semantic analysis of the content while understanding the context. A more detailed description of the reasoning for a given URL can be observed by going to mbs.themobian.com and entering the URL.
67
+
Description: This category assesses whether content contains any potential risks or concerns to advertisers and returns a determination of Low Risk, Medium Risk, or High Risk based on the inclusion of sensitive or high-risk topics. Content that might be categorized as unsafe may include violence, hate speech, misinformation, or sensitive topics that most advertisers would like to avoid. Content that is explicit or overly graphic in nature will be more likely to fall into the High Risk tier compared to content that describes similar subjects in a more informative or educational manner.
Description: Content Categories contain results based on the legacy GARM framework. GARM no longer is a standard and does not factor into our risk assessment but is included for posterity.
79
+
Description: Brand Safety Categories contain categorical results for brand safety when relevant (e.g. Low Risk Adult Content). Note there can be Medium and High Risk content that is not associated to a specific brand safety category.
44
80
45
81
------------------
46
82
47
83
Sentiment:
48
84
49
-
Key: mobianSentiment
85
+
Prebid.outcomes.net endpoint key: mobianSentiment
86
+
87
+
Targetable Key: mobian_sentiment
50
88
51
89
Possible values: "negative", "neutral" or "positive"
52
90
53
-
Description: Sentiment can only be one of the three values listed, and is determined via the Mobian AI analyzing the content and making one of these three determinations.
91
+
Description: This category analyzes the overall positivity, negativity, or neutrality of a piece of content. This is a broad categorization of the content’s tone; every piece of content receives one of three possible sentiment ratings: Positive, Negative, or Neutral.
54
92
55
93
------------------
56
94
57
95
Emotion:
58
96
59
-
Key: mobianEmotions
97
+
Prebid.outcomes.net endpoint key: mobianEmotions
60
98
61
-
Possible values: "love", "joy", "surprise", "anger", "sadness", "fear"
99
+
Targetable Key: mobian_emotions
62
100
63
-
Description: The Mobian AI assesses the emotions exuded from the content, taking into account the context. A given piece of content can have multiple emotions. The current list of emotions is all possible emotions available but this will be updated to be more freeform and varied in a future release.
101
+
Possible values: Various but some examples include "love", "joy", "surprise", "anger", "sadness", "fear"
102
+
103
+
Description: This category represents the specific feelings expressed or evoked through the content. Emotions are the reactions tied to the content’s presentation. Multiple emotions may be evoked by a single piece of content as this category reflects the way humans engage with the content.
64
104
65
105
------------------
66
106
67
107
Tone:
68
108
69
-
Key: mobianTones
109
+
Prebid.outcomes.net endpoint key: mobianTones
110
+
111
+
Targetable Key: mobian_tones
70
112
71
113
Possible values: Various, but some examples include "comedic", "serious" or "emotional"
72
114
73
-
Description: While the Mobian emotion classification looks at the emotions exuded from the content, tone examines the overall presentation of the content and determines the overall mood of the work. A given piece of content can have multiple tones.
115
+
Description: This category represents the content’s stylistic attitude or perspective that is being conveyed. If the Genre classification above represents the more objective structure, the Tone classification represents the subjective form. This categorization influences the way audiences may receive the piece of content and how they could be impacted by it.
74
116
75
117
------------------
76
118
77
119
Theme:
78
120
79
-
Key: mobianThemes
121
+
Prebid.outcomes.net endpoint key: mobianThemes
122
+
123
+
Targetable Key: mobian_themes
80
124
81
125
Possible values: Various, but some examples include "skincare", "food" and "nightlife"
82
126
83
-
Description: Themes are a wide classification of content categorization, taking into account the content and context to label the content with a theme. A given piece of contentcan have multiple themes.
127
+
Description: This category includes broad conceptual ideas or underlying topics that form the foundation of the content. Themes represent the central message or idea conveyed throughout, rather than the specific details of the subject. Themes are intended to be broad and high-level, describing the overall purpose and intent of the content, and can connect multiple pieces of content, even if they are not from the same property.
84
128
85
129
------------------
86
130
87
131
Genre:
88
132
89
-
Key: mobianGenre
133
+
Prebid.outcomes.net endpoint key: mobianGenres
134
+
135
+
Targetable Key: mobian_genres
90
136
91
137
Possible values: Various, but some examples include "journalism", "gaming" or "how-to"
92
138
93
-
Description: Genres are a more narrow classification of content categorization, aiming to label the content towards its overall purpose and audience. A given piece of content can have multiple genres.
139
+
Description: This category represents the type or style of the content, focusing on the purpose, format, or presentation of the content. Genres group pieces of content into recognizable categories based on style and provide a framework for understanding the structure of the content.
94
140
95
141
------------------
96
142
97
143
AP Values
98
144
99
-
Keys: ap_a0, ap_a1, ap_p0, ap_p1
145
+
Prebid.outcomes.net endpoint key: ap (an array, containing values of a0, a1, p0, p1)
100
146
101
-
Possible values: Various, numerically id-based and customizable based on Mobian Persona Settings.
Possible values: Various, numerically id-based and customizable based on Mobian Context Settings.
102
150
103
151
Description: Mobian AI Personas are custom created based on prompts to find a specific audience. Please contact your Mobian contact directly for more information on this tool. The difference between the keys is below:
"key" and "value" will be replaced with the various classifications as described in the previous section. Notably, this function runs before ad calls are made to GAM, which enables the keys and value to be used for targeting or blocking in GAM.
125
173
126
-
For more details on how to set up key-value pairs in GAM, please see this documentation from Google: https://support.google.com/admanager/answer/9796369?sjid=12535178383871274096-NA
127
-
128
-
For example, if you wanted to target articles where mobianRisk is "low", the key to set in GAM would be "mobianRisk" and the value would be "low". Once these keys and values are set within the Inventory section in GAM as listed by their documentation, you can then reference the key value pair in Custom Targeting for any line item you create.
129
-
130
-
## Configuration Highlight
131
-
132
-
```js
133
-
pbjs.setConfig({
134
-
realTimeData: {
135
-
dataProviders: [{
136
-
name:'mobianBrandSafety',
137
-
params: {
138
-
// Prefix for the targeting keys (default: 'mobian')
139
-
prefix:'mobian',
140
-
141
-
// Enable targeting keys for advertiser data
142
-
advertiserTargeting:true,
143
-
// Or set it as an array to pick specific targeting keys:
For more details on how to set up key-value pairs in GAM, please see this documentation from Google: https://support.google.com/admanager/answer/9796369
146
175
147
-
// Enable targeting keys for publisher data
148
-
publisherTargeting:true,
149
-
// Or set it as an array to pick specific targeting keys:
For example, if you wanted to target articles where mobianRisk is "low", the key to set in GAM would be "mobian_risk" and the value would be "low". Once these keys and values are set within the Inventory section in GAM as listed by their documentation, you can then reference the key value pair in Custom Targeting for any line item you create.
0 commit comments