Skip to content

Commit

Permalink
Moving advertising metrics and adviewability under advertising context
Browse files Browse the repository at this point in the history
  • Loading branch information
gabebarcelos-adobe committed May 17, 2018
1 parent cc3cd0b commit cdb023f
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 59 deletions.
24 changes: 24 additions & 0 deletions schemas/context/advertising.example.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"xdm:adViewability": {
"xdm:adUnitDepth": 0,
"xdm:viewportHeight": 1250,
"xdm:viewportWidth": 1600,
"xdm:adHeight": 250,
"xdm:adWidth": 300,
"xdm:playerVolume": 85,
"xdm:measurementEligible": true,
"xdm:implementationDetails" : {
"xdm:name": "https://ns.adobe.com/experience/adcloud/viewability",
"xdm:version": "1"
},
"xdm:viewable": true,
"xdm:activeWindow": true,
"xdm:percentViewable": 89,
"xdm:viewableFirstQuartile": {
"xdm:value": 1.0
}
},
"xdm:firstQuartiles": {
"xdm:value": 1.0
}
}
64 changes: 64 additions & 0 deletions schemas/context/advertising.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"meta:license": [
"Copyright 2018 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/context/advertising",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Advertising",
"type": "object",
"description": "The information related to advertising activity related to the experience event",
"meta:extensible": true,
"definitions": {
"advertising": {
"properties": {
"xdm:adViewability": {
"title": "MRC Viewability",
"$ref": "https://ns.adobe.com/xdm/context/adviewability",
"description":
"The runtime measured viewability specific details such as player volume, library version, window status, viewport/ad measured dimensions, etc."
},
"xdm:clicks": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Click(s) actions on an advertisement."
},
"xdm:completes": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A digital video ad has played through it's entirety."
},
"xdm:conversions": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A pre-defined action on a website triggered a conversion event to be fired"
},
"xdm:firstQuartiles": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A digital video ad has played through 25% of it's duration at normal speed."
},
"xdm:impressions": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Impression(s) of an advertisement to an end user with the potential of being viewed."
},
"xdm:midpoint": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A digital video ad has played through 50% of it's duration at normal speed."
},
"xdm:starts": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A digital video ad has started playing."
},
"xdm:thirdQuartiles": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A digital video ad has played through 75% of it's duration at normal speed."
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/advertising"
}
],
"meta:status": "experimental"
}
16 changes: 0 additions & 16 deletions schemas/context/environment.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,6 @@
"xdm:viewportHeight": 900,
"xdm:viewportWidth": 1680
},
"xdm:adViewability": {
"xdm:adUnitDepth": 0,
"xdm:viewportHeight": 1250,
"xdm:viewportWidth": 1600,
"xdm:adHeight": 250,
"xdm:adWidth": 300,
"xdm:playerVolume": 85,
"xdm:measurementEligible": true,
"xdm:implementationDetails" : {
"xdm:name": "https://ns.adobe.com/experience/adcloud/viewability",
"xdm:version": "1"
},
"xdm:viewable": true,
"xdm:activeWindow": true,
"xdm:percentViewable": 89
},
"xdm:operatingSystem": "MAC OS",
"xdm:operatingSystemVersion": "10.13",
"xdm:connectionType": "cable"
Expand Down
6 changes: 0 additions & 6 deletions schemas/context/environment.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
"description":
"The browser specific details such as browser name, version, javascript version, user agent string, accept language."
},
"xdm:adViewability": {
"title": "MRC Viewability",
"$ref": "https://ns.adobe.com/xdm/context/adviewability",
"description":
"The runtime measured viewability specific details such as player volume, library version, window status, viewport/ad measured dimensions, etc."
},
"xdm:operatingSystem": {
"title": "Operating System",
"type": "string",
Expand Down
37 changes: 0 additions & 37 deletions schemas/data/metrics.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,42 +34,20 @@
"description":
"An action during a checkout process of a product-list, there can be more than one checkout event if there are multiple steps in a checkout process. If there are multiple steps the event time information and referenced page or experience is used to identify the step individual events represent in order."
},
"https://ns.adobe.com/xdm/data/metrics/advertising/clicks": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Click(s) actions on an advertisement."
},
"https://ns.adobe.com/xdm/data/metrics/application/closes": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Graceful termination(s) of an application."
},
"https://ns.adobe.com/xdm/data/metrics/advertising/completes": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A digital video ad has played through it's entirety."
},
"https://ns.adobe.com/xdm/data/metrics/advertising/conversions": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A pre-defined action on a website triggered a conversion event to be fired"
},
"https://ns.adobe.com/xdm/data/metrics/application/crashes": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Triggered when the application does not exit gracefully. Event is sent on application launch after a crash."
},
"https://ns.adobe.com/xdm/data/metrics/advertising/first-quartiles": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"A digital video ad has played through 25% of it's duration at normal speed."
},
"https://ns.adobe.com/xdm/data/metrics/application/featureusages": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Activation(s) of an application feature that is being measured."
},
"https://ns.adobe.com/xdm/data/metrics/advertising/impressions": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Impression(s) of an advertisement to an end user with the potential of being viewed."
},
"https://ns.adobe.com/xdm/data/metrics/application/installs": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
Expand All @@ -80,11 +58,6 @@
"description":
"Launch of an application. Triggered on every run, including crashes and installs. Also triggered on a resume from background when the lifecycle session timeout has been exceeded."
},
"https://ns.adobe.com/xdm/data/metrics/advertising/midpoint": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"A digital video ad has played through 50% of it's duration at normal speed."
},
"https://ns.adobe.com/xdm/data/metrics/direct-marketing/mirror-pages": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
Expand Down Expand Up @@ -138,11 +111,6 @@
"description":
"Asynchronous message(s) (email, SMS, MMS etc) have been dispatched to a person's account/address/device."
},
"https://ns.adobe.com/xdm/data/metrics/advertising/starts": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"A digital video ad has started playing."
},
"https://ns.adobe.com/xdm/data/metrics/application/upgrades": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
Expand All @@ -157,11 +125,6 @@
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "The direct marketing message (email, SMS, Push Notifications etc) has been opened/swyped/touched by the recipient."
},
"https://ns.adobe.com/xdm/data/metrics/advertising/third-quartiles": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"A digital video ad has played through 75% of it's duration at normal speed."
},
"https://ns.adobe.com/xdm/data/metrics/direct-marketing/unsubscriptions": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "The recipient of the direct marketing message (email, newsletters, etc) has opted out from receiving them."
Expand Down

0 comments on commit cdb023f

Please sign in to comment.