@admoai/sdk-scenarios 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,118 @@
1
+ {
2
+ "success": true,
3
+ "data": [
4
+ {
5
+ "placement": "preroll",
6
+ "creatives": [
7
+ {
8
+ "delivery": "json",
9
+ "contents": [
10
+ {
11
+ "key": "video_asset",
12
+ "type": "video",
13
+ "value": "https://cdn.admoai.com/media/volta-15s.mp4"
14
+ },
15
+ {
16
+ "key": "poster_image",
17
+ "type": "image",
18
+ "value": "https://cdn.admoai.com/media/volta-poster.jpg"
19
+ },
20
+ {
21
+ "key": "brand_logo",
22
+ "type": "image",
23
+ "value": "https://cdn.admoai.com/media/volta-logo.png"
24
+ },
25
+ {
26
+ "key": "headline",
27
+ "type": "text",
28
+ "value": "Two lattes, one price"
29
+ },
30
+ {
31
+ "key": "supporting_text",
32
+ "type": "text",
33
+ "value": "At every Volta in Santiago until Sunday."
34
+ },
35
+ {
36
+ "key": "cta_text",
37
+ "type": "text",
38
+ "value": "See the menu"
39
+ },
40
+ {
41
+ "key": "destination_url",
42
+ "type": "url",
43
+ "value": "https://volta.example/menu"
44
+ },
45
+ {
46
+ "key": "disclaimer",
47
+ "type": "text",
48
+ "value": "While stocks last."
49
+ }
50
+ ],
51
+ "advertiser": {
52
+ "name": "Volta Coffee",
53
+ "legalName": "Volta Coffee SpA",
54
+ "logoUrl": "https://cdn.admoai.com/media/volta-logo.png"
55
+ },
56
+ "template": {
57
+ "key": "standard_video",
58
+ "style": "default"
59
+ },
60
+ "tracking": {
61
+ "impressions": [
62
+ {
63
+ "key": "default",
64
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.full.impression"
65
+ }
66
+ ],
67
+ "clicks": [
68
+ {
69
+ "key": "default",
70
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.full.click"
71
+ }
72
+ ],
73
+ "custom": [],
74
+ "videoEvents": [
75
+ {
76
+ "key": "start",
77
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.full.start"
78
+ },
79
+ {
80
+ "key": "first_quartile",
81
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.full.first_quartile"
82
+ },
83
+ {
84
+ "key": "midpoint",
85
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.full.midpoint"
86
+ },
87
+ {
88
+ "key": "third_quartile",
89
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.full.third_quartile"
90
+ },
91
+ {
92
+ "key": "complete",
93
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.full.complete"
94
+ }
95
+ ]
96
+ },
97
+ "metadata": {
98
+ "adId": "ad_01JDDR87YZYWJKANY5ZRAXWS3Q",
99
+ "creativeId": "creative_01JDGR1RTA3KV7KARB86J1DP84",
100
+ "advertiserId": "advertiser_01JDH315KXW0FP82VY8WMV97YE",
101
+ "placementId": "placement_01JDGX7Z9JHJR8PN9HZJPDNFWA",
102
+ "templateId": "template_01JDM27C055JQSS6R0DV2H5XPB",
103
+ "priority": "standard",
104
+ "language": "en",
105
+ "format": "video",
106
+ "effectiveStandardFormatKey": "standard_video",
107
+ "effectiveStandardFormatVersion": 1,
108
+ "templateSource": "admoai_standard",
109
+ "duration": 15,
110
+ "aspectRatio": "16:9"
111
+ }
112
+ }
113
+ ]
114
+ }
115
+ ],
116
+ "errors": null,
117
+ "warnings": null
118
+ }
@@ -0,0 +1,83 @@
1
+ {
2
+ "success": true,
3
+ "data": [
4
+ {
5
+ "placement": "preroll",
6
+ "creatives": [
7
+ {
8
+ "delivery": "json",
9
+ "contents": [
10
+ {
11
+ "key": "video_asset",
12
+ "type": "video",
13
+ "value": "https://cdn.admoai.com/media/volta-15s.mp4"
14
+ },
15
+ {
16
+ "key": "poster_image",
17
+ "type": "image",
18
+ "value": "https://cdn.admoai.com/media/volta-poster.jpg"
19
+ }
20
+ ],
21
+ "advertiser": {
22
+ "name": "Volta Coffee",
23
+ "legalName": "Volta Coffee SpA",
24
+ "logoUrl": "https://cdn.admoai.com/media/volta-logo.png"
25
+ },
26
+ "template": {
27
+ "key": "standard_video",
28
+ "style": "default"
29
+ },
30
+ "tracking": {
31
+ "impressions": [
32
+ {
33
+ "key": "default",
34
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.minimal.impression"
35
+ }
36
+ ],
37
+ "clicks": [],
38
+ "custom": [],
39
+ "videoEvents": [
40
+ {
41
+ "key": "start",
42
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.minimal.start"
43
+ },
44
+ {
45
+ "key": "first_quartile",
46
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.minimal.first_quartile"
47
+ },
48
+ {
49
+ "key": "midpoint",
50
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.minimal.midpoint"
51
+ },
52
+ {
53
+ "key": "third_quartile",
54
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.minimal.third_quartile"
55
+ },
56
+ {
57
+ "key": "complete",
58
+ "url": "https://api.admoai.com/v1/tracking?e=tok.standard_video.minimal.complete"
59
+ }
60
+ ]
61
+ },
62
+ "metadata": {
63
+ "adId": "ad_01JDB2BVYVEG36SJ39ZVJ2S7FK",
64
+ "creativeId": "creative_01JDXWS60TJADDBKW1184GW4DE",
65
+ "advertiserId": "advertiser_01JDH315KXW0FP82VY8WMV97YE",
66
+ "placementId": "placement_01JDGX7Z9JHJR8PN9HZJPDNFWA",
67
+ "templateId": "template_01JDJ0JEE18TK4W82VSCT9NM1F",
68
+ "priority": "standard",
69
+ "language": "en",
70
+ "format": "video",
71
+ "effectiveStandardFormatKey": "standard_video",
72
+ "effectiveStandardFormatVersion": 1,
73
+ "templateSource": "admoai_standard",
74
+ "duration": 15,
75
+ "aspectRatio": "16:9"
76
+ }
77
+ }
78
+ ]
79
+ }
80
+ ],
81
+ "errors": null,
82
+ "warnings": null
83
+ }
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@admoai/sdk-scenarios",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "The cross-SDK decision & tracking scenarios every AdMoai SDK asserts against a real decision-engine. Data only.",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "scenarios.json",
8
+ "scenarios.feature",
9
+ "fixtures/",
8
10
  "CHANGELOG.md",
9
11
  "README.md"
10
12
  ],