Skip to content

Commit a363b69

Browse files
authored
Mobian RTD Module: Documentation update (prebid#12608)
* 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
1 parent 97594d9 commit a363b69

File tree

1 file changed

+68
-48
lines changed

1 file changed

+68
-48
lines changed

modules/mobianRtdProvider.md

Lines changed: 68 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -14,91 +14,139 @@ The Mobian Real-Time Data (RTD) Module is a plug-and-play Prebid.js adapter that
1414

1515
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.
1616

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
1818

1919
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/.
2020

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:
37+
// advertiserTargeting: ['genres', 'emotions', 'themes'],
38+
// Available values: 'apValues', 'categories', 'emotions', 'genres', 'risk', 'sentiment', 'themes', 'tones'
39+
40+
// Enable targeting keys for publisher data
41+
publisherTargeting: true,
42+
// Or set it as an array to pick specific targeting keys:
43+
// publisherTargeting: ['tones', 'risk'],
44+
// Available values: 'apValues', 'categories', 'emotions', 'genres', 'risk', 'sentiment', 'themes', 'tones'
45+
}
46+
}]
47+
}
48+
});
49+
```
50+
2151
## Functionality
2252

2353
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.
2454

2555
## Available Classifications
2656

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+
2759
Risk:
2860

29-
Key: mobianRisk
61+
Prebid.outcomes.net endpoint key: mobianRisk
62+
63+
Targetable Key: mobian_risk
3064

3165
Possible values: "none", "low", "medium" or "high"
3266

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.
3468

3569
------------------
3670

3771
Content Categories:
3872

39-
Key: mobianContentCategories
73+
Prebid.outcomes.net endpoint key: mobianContentCategories
74+
75+
Targetable Key: mobian_categories
4076

4177
Possible values: "adult_content", "arms", "crime", "death_injury", "debated_issue", "hate_speech", "drugs_alcohol", "obscenity", "piracy", "spam", "terrorism"
4278

43-
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.
4480

4581
------------------
4682

4783
Sentiment:
4884

49-
Key: mobianSentiment
85+
Prebid.outcomes.net endpoint key: mobianSentiment
86+
87+
Targetable Key: mobian_sentiment
5088

5189
Possible values: "negative", "neutral" or "positive"
5290

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.
5492

5593
------------------
5694

5795
Emotion:
5896

59-
Key: mobianEmotions
97+
Prebid.outcomes.net endpoint key: mobianEmotions
6098

61-
Possible values: "love", "joy", "surprise", "anger", "sadness", "fear"
99+
Targetable Key: mobian_emotions
62100

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.
64104

65105
------------------
66106

67107
Tone:
68108

69-
Key: mobianTones
109+
Prebid.outcomes.net endpoint key: mobianTones
110+
111+
Targetable Key: mobian_tones
70112

71113
Possible values: Various, but some examples include "comedic", "serious" or "emotional"
72114

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.
74116

75117
------------------
76118

77119
Theme:
78120

79-
Key: mobianThemes
121+
Prebid.outcomes.net endpoint key: mobianThemes
122+
123+
Targetable Key: mobian_themes
80124

81125
Possible values: Various, but some examples include "skincare", "food" and "nightlife"
82126

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 content can 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.
84128

85129
------------------
86130

87131
Genre:
88132

89-
Key: mobianGenre
133+
Prebid.outcomes.net endpoint key: mobianGenres
134+
135+
Targetable Key: mobian_genres
90136

91137
Possible values: Various, but some examples include "journalism", "gaming" or "how-to"
92138

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.
94140

95141
------------------
96142

97143
AP Values
98144

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)
100146

101-
Possible values: Various, numerically id-based and customizable based on Mobian Persona Settings.
147+
Targetable Keys: mobian_ap_a0, mobian_ap_a1, mobian_ap_p0, mobian_ap_p1
148+
149+
Possible values: Various, numerically id-based and customizable based on Mobian Context Settings.
102150

103151
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:
104152

@@ -123,34 +171,6 @@ window.googletag.cmd.push(() => {
123171
124172
"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.
125173
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:
144-
// advertiserTargeting: ['genres', 'emotions', 'themes'],
145-
// Available values: 'apValues', 'categories', 'emotions', 'genres', 'risk', 'sentiment', 'themes', 'tones'
174+
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
146175
147-
// Enable targeting keys for publisher data
148-
publisherTargeting: true,
149-
// Or set it as an array to pick specific targeting keys:
150-
// publisherTargeting: ['tones', 'risk'],
151-
// Available values: 'apValues', 'categories', 'emotions', 'genres', 'risk', 'sentiment', 'themes', 'tones'
152-
}
153-
}]
154-
}
155-
});
156-
```
176+
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

Comments
 (0)