@admoai/sdk-scenarios 1.1.0 → 1.3.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.
- package/CHANGELOG.md +28 -0
- package/README.md +10 -1
- package/fixtures/golden-wire/branded_assets.full.json +74 -0
- package/fixtures/golden-wire/branded_assets.minimal.json +59 -0
- package/fixtures/golden-wire/card.derived.json +78 -0
- package/fixtures/golden-wire/card.full.json +83 -0
- package/fixtures/golden-wire/card.minimal.json +63 -0
- package/fixtures/golden-wire/carousel.derived.json +119 -0
- package/fixtures/golden-wire/carousel.full.json +199 -0
- package/fixtures/golden-wire/carousel.minimal.json +114 -0
- package/fixtures/golden-wire/expandable_banner.full.json +102 -0
- package/fixtures/golden-wire/expandable_banner.minimal.json +77 -0
- package/fixtures/golden-wire/sponsored_pin_location.full.json +147 -0
- package/fixtures/golden-wire/standard_video.full.json +118 -0
- package/fixtures/golden-wire/standard_video.minimal.json +83 -0
- package/package.json +2 -1
- package/scenarios.feature +378 -6
- package/scenarios.json +1280 -2
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
{
|
|
2
|
+
"success": true,
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"placement": "home_feed",
|
|
6
|
+
"creatives": [
|
|
7
|
+
{
|
|
8
|
+
"contents": [
|
|
9
|
+
{
|
|
10
|
+
"key": "brand_logo",
|
|
11
|
+
"type": "image",
|
|
12
|
+
"value": "https://cdn.admoai.com/media/volta-logo.png"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"key": "disclaimer",
|
|
16
|
+
"type": "text",
|
|
17
|
+
"value": "While stocks last."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"key": "slides",
|
|
21
|
+
"type": "group",
|
|
22
|
+
"value": [
|
|
23
|
+
{
|
|
24
|
+
"slideId": "slide_01JDY02N8MA2K2HKQ74989YS99",
|
|
25
|
+
"position": 1,
|
|
26
|
+
"contents": [
|
|
27
|
+
{
|
|
28
|
+
"key": "image",
|
|
29
|
+
"type": "image",
|
|
30
|
+
"value": "https://cdn.admoai.com/media/slide-c.jpg"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"key": "headline",
|
|
34
|
+
"type": "text",
|
|
35
|
+
"value": "Cold brew"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"key": "supporting_text",
|
|
39
|
+
"type": "text",
|
|
40
|
+
"value": "Only this week — cold brew."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"key": "cta_text",
|
|
44
|
+
"type": "text",
|
|
45
|
+
"value": "Order now"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"key": "destination_url",
|
|
49
|
+
"type": "url",
|
|
50
|
+
"value": "https://volta.example/c"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"tracking": {
|
|
54
|
+
"views": [
|
|
55
|
+
{
|
|
56
|
+
"key": "slide_view",
|
|
57
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.full.slide1.slide_view"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"clicks": [
|
|
61
|
+
{
|
|
62
|
+
"key": "default",
|
|
63
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.full.slide1.click"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"slideId": "slide_01JD04H8GY801VF8Y0FHETP6XA",
|
|
70
|
+
"position": 2,
|
|
71
|
+
"contents": [
|
|
72
|
+
{
|
|
73
|
+
"key": "image",
|
|
74
|
+
"type": "image",
|
|
75
|
+
"value": "https://cdn.admoai.com/media/slide-a.jpg"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"key": "headline",
|
|
79
|
+
"type": "text",
|
|
80
|
+
"value": "Flat white"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"key": "supporting_text",
|
|
84
|
+
"type": "text",
|
|
85
|
+
"value": "Only this week — flat white."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"key": "cta_text",
|
|
89
|
+
"type": "text",
|
|
90
|
+
"value": "Order now"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"key": "destination_url",
|
|
94
|
+
"type": "url",
|
|
95
|
+
"value": "https://volta.example/a"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"tracking": {
|
|
99
|
+
"views": [
|
|
100
|
+
{
|
|
101
|
+
"key": "slide_view",
|
|
102
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.full.slide2.slide_view"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"clicks": [
|
|
106
|
+
{
|
|
107
|
+
"key": "default",
|
|
108
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.full.slide2.click"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"slideId": "slide_01JDRGMFSTZXQ7ES1QBCF0DR2X",
|
|
115
|
+
"position": 3,
|
|
116
|
+
"contents": [
|
|
117
|
+
{
|
|
118
|
+
"key": "image",
|
|
119
|
+
"type": "image",
|
|
120
|
+
"value": "https://cdn.admoai.com/media/slide-b.jpg"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"key": "headline",
|
|
124
|
+
"type": "text",
|
|
125
|
+
"value": "Mocha"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"key": "supporting_text",
|
|
129
|
+
"type": "text",
|
|
130
|
+
"value": "Only this week — mocha."
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"key": "cta_text",
|
|
134
|
+
"type": "text",
|
|
135
|
+
"value": "Order now"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"key": "destination_url",
|
|
139
|
+
"type": "url",
|
|
140
|
+
"value": "https://volta.example/b"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"tracking": {
|
|
144
|
+
"views": [
|
|
145
|
+
{
|
|
146
|
+
"key": "slide_view",
|
|
147
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.full.slide3.slide_view"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"clicks": [
|
|
151
|
+
{
|
|
152
|
+
"key": "default",
|
|
153
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.full.slide3.click"
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"advertiser": {
|
|
162
|
+
"name": "Volta Coffee",
|
|
163
|
+
"legalName": "Volta Coffee SpA",
|
|
164
|
+
"logoUrl": "https://cdn.admoai.com/media/volta-logo.png"
|
|
165
|
+
},
|
|
166
|
+
"template": {
|
|
167
|
+
"key": "carousel",
|
|
168
|
+
"style": "carousel"
|
|
169
|
+
},
|
|
170
|
+
"tracking": {
|
|
171
|
+
"impressions": [
|
|
172
|
+
{
|
|
173
|
+
"key": "default",
|
|
174
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.full.impression"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"clicks": [],
|
|
178
|
+
"custom": []
|
|
179
|
+
},
|
|
180
|
+
"metadata": {
|
|
181
|
+
"adId": "ad_01JDF6VKBHSKF5SVM0Y7ATEX7B",
|
|
182
|
+
"creativeId": "creative_01JD04H8GY801VF8Y0FHETP6XA",
|
|
183
|
+
"advertiserId": "advertiser_01JDH315KXW0FP82VY8WMV97YE",
|
|
184
|
+
"placementId": "placement_01JDGX7Z9JHJR8PN9HZJPDNFWA",
|
|
185
|
+
"templateId": "template_01JDRGMFSTZXQ7ES1QBCF0DR2X",
|
|
186
|
+
"priority": "standard",
|
|
187
|
+
"language": "en",
|
|
188
|
+
"format": "native",
|
|
189
|
+
"effectiveStandardFormatKey": "carousel",
|
|
190
|
+
"effectiveStandardFormatVersion": 1,
|
|
191
|
+
"templateSource": "admoai_standard"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"errors": null,
|
|
198
|
+
"warnings": null
|
|
199
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"success": true,
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"placement": "home_feed",
|
|
6
|
+
"creatives": [
|
|
7
|
+
{
|
|
8
|
+
"contents": [
|
|
9
|
+
{
|
|
10
|
+
"key": "slides",
|
|
11
|
+
"type": "group",
|
|
12
|
+
"value": [
|
|
13
|
+
{
|
|
14
|
+
"slideId": "slide_01JDZ725G8017BHW9RQJX7Y56S",
|
|
15
|
+
"position": 1,
|
|
16
|
+
"contents": [
|
|
17
|
+
{
|
|
18
|
+
"key": "image",
|
|
19
|
+
"type": "image",
|
|
20
|
+
"value": "https://cdn.admoai.com/media/slide-a.jpg"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"key": "destination_url",
|
|
24
|
+
"type": "url",
|
|
25
|
+
"value": "https://volta.example/a"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"tracking": {
|
|
29
|
+
"views": [
|
|
30
|
+
{
|
|
31
|
+
"key": "slide_view",
|
|
32
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.minimal.slide1.slide_view"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"clicks": [
|
|
36
|
+
{
|
|
37
|
+
"key": "default",
|
|
38
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.minimal.slide1.click"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"slideId": "slide_01JD4GNH6TH0XPP5YWCMDKN029",
|
|
45
|
+
"position": 2,
|
|
46
|
+
"contents": [
|
|
47
|
+
{
|
|
48
|
+
"key": "image",
|
|
49
|
+
"type": "image",
|
|
50
|
+
"value": "https://cdn.admoai.com/media/slide-b.jpg"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"key": "destination_url",
|
|
54
|
+
"type": "url",
|
|
55
|
+
"value": "https://volta.example/b"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"tracking": {
|
|
59
|
+
"views": [
|
|
60
|
+
{
|
|
61
|
+
"key": "slide_view",
|
|
62
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.minimal.slide2.slide_view"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"clicks": [
|
|
66
|
+
{
|
|
67
|
+
"key": "default",
|
|
68
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.minimal.slide2.click"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"advertiser": {
|
|
77
|
+
"name": "Volta Coffee",
|
|
78
|
+
"legalName": "Volta Coffee SpA",
|
|
79
|
+
"logoUrl": "https://cdn.admoai.com/media/volta-logo.png"
|
|
80
|
+
},
|
|
81
|
+
"template": {
|
|
82
|
+
"key": "carousel",
|
|
83
|
+
"style": "carousel"
|
|
84
|
+
},
|
|
85
|
+
"tracking": {
|
|
86
|
+
"impressions": [
|
|
87
|
+
{
|
|
88
|
+
"key": "default",
|
|
89
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.carousel.minimal.impression"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"clicks": [],
|
|
93
|
+
"custom": []
|
|
94
|
+
},
|
|
95
|
+
"metadata": {
|
|
96
|
+
"adId": "ad_01JD09RQ6Q0QTJ2PZHGTBZXM83",
|
|
97
|
+
"creativeId": "creative_01JDZ725G8017BHW9RQJX7Y56S",
|
|
98
|
+
"advertiserId": "advertiser_01JDH315KXW0FP82VY8WMV97YE",
|
|
99
|
+
"placementId": "placement_01JDGX7Z9JHJR8PN9HZJPDNFWA",
|
|
100
|
+
"templateId": "template_01JD4GNH6TH0XPP5YWCMDKN029",
|
|
101
|
+
"priority": "standard",
|
|
102
|
+
"language": "en",
|
|
103
|
+
"format": "native",
|
|
104
|
+
"effectiveStandardFormatKey": "carousel",
|
|
105
|
+
"effectiveStandardFormatVersion": 1,
|
|
106
|
+
"templateSource": "admoai_standard"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"errors": null,
|
|
113
|
+
"warnings": null
|
|
114
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"success": true,
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"placement": "home_feed",
|
|
6
|
+
"creatives": [
|
|
7
|
+
{
|
|
8
|
+
"contents": [
|
|
9
|
+
{
|
|
10
|
+
"key": "teaser_image",
|
|
11
|
+
"type": "image",
|
|
12
|
+
"value": "https://cdn.admoai.com/media/teaser.jpg"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"key": "teaser_headline",
|
|
16
|
+
"type": "text",
|
|
17
|
+
"value": "Tap for this week's deal"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"key": "expanded_image",
|
|
21
|
+
"type": "image",
|
|
22
|
+
"value": "https://cdn.admoai.com/media/expanded.jpg"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"key": "headline",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"value": "Two lattes, one price"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"key": "supporting_text",
|
|
31
|
+
"type": "text",
|
|
32
|
+
"value": "At every Volta in Santiago until Sunday."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"key": "cta_text",
|
|
36
|
+
"type": "text",
|
|
37
|
+
"value": "See the menu"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"key": "destination_url",
|
|
41
|
+
"type": "url",
|
|
42
|
+
"value": "https://volta.example/menu"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"key": "disclaimer",
|
|
46
|
+
"type": "text",
|
|
47
|
+
"value": "While stocks last."
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"advertiser": {
|
|
51
|
+
"name": "Volta Coffee",
|
|
52
|
+
"legalName": "Volta Coffee SpA",
|
|
53
|
+
"logoUrl": "https://cdn.admoai.com/media/volta-logo.png"
|
|
54
|
+
},
|
|
55
|
+
"template": {
|
|
56
|
+
"key": "expandable_banner",
|
|
57
|
+
"style": "expandable"
|
|
58
|
+
},
|
|
59
|
+
"tracking": {
|
|
60
|
+
"impressions": [
|
|
61
|
+
{
|
|
62
|
+
"key": "default",
|
|
63
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.expandable_banner.full.impression"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"clicks": [
|
|
67
|
+
{
|
|
68
|
+
"key": "default",
|
|
69
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.expandable_banner.full.click"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"custom": [
|
|
73
|
+
{
|
|
74
|
+
"key": "expand",
|
|
75
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.expandable_banner.full.expand"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"key": "close",
|
|
79
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.expandable_banner.full.close"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"metadata": {
|
|
84
|
+
"adId": "ad_01JDVEY9B39G8HPJDTYDH526QW",
|
|
85
|
+
"creativeId": "creative_01JDQ25XGR1YW994MG818V7N9H",
|
|
86
|
+
"advertiserId": "advertiser_01JDH315KXW0FP82VY8WMV97YE",
|
|
87
|
+
"placementId": "placement_01JDGX7Z9JHJR8PN9HZJPDNFWA",
|
|
88
|
+
"templateId": "template_01JDQMFP5FDFMVTRZ063H19EHR",
|
|
89
|
+
"priority": "standard",
|
|
90
|
+
"language": "en",
|
|
91
|
+
"format": "native",
|
|
92
|
+
"effectiveStandardFormatKey": "expandable_banner",
|
|
93
|
+
"effectiveStandardFormatVersion": 1,
|
|
94
|
+
"templateSource": "admoai_standard"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"errors": null,
|
|
101
|
+
"warnings": null
|
|
102
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"success": true,
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"placement": "home_feed",
|
|
6
|
+
"creatives": [
|
|
7
|
+
{
|
|
8
|
+
"contents": [
|
|
9
|
+
{
|
|
10
|
+
"key": "teaser_image",
|
|
11
|
+
"type": "image",
|
|
12
|
+
"value": "https://cdn.admoai.com/media/teaser.jpg"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"key": "expanded_image",
|
|
16
|
+
"type": "image",
|
|
17
|
+
"value": "https://cdn.admoai.com/media/expanded.jpg"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"key": "destination_url",
|
|
21
|
+
"type": "url",
|
|
22
|
+
"value": "https://volta.example/menu"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"advertiser": {
|
|
26
|
+
"name": "Volta Coffee",
|
|
27
|
+
"legalName": "Volta Coffee SpA",
|
|
28
|
+
"logoUrl": "https://cdn.admoai.com/media/volta-logo.png"
|
|
29
|
+
},
|
|
30
|
+
"template": {
|
|
31
|
+
"key": "expandable_banner",
|
|
32
|
+
"style": "expandable"
|
|
33
|
+
},
|
|
34
|
+
"tracking": {
|
|
35
|
+
"impressions": [
|
|
36
|
+
{
|
|
37
|
+
"key": "default",
|
|
38
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.expandable_banner.minimal.impression"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"clicks": [
|
|
42
|
+
{
|
|
43
|
+
"key": "default",
|
|
44
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.expandable_banner.minimal.click"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"custom": [
|
|
48
|
+
{
|
|
49
|
+
"key": "expand",
|
|
50
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.expandable_banner.minimal.expand"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"key": "close",
|
|
54
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.expandable_banner.minimal.close"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"metadata": {
|
|
59
|
+
"adId": "ad_01JDD4ZB04ZZ0W9M1X80XT898A",
|
|
60
|
+
"creativeId": "creative_01JDEZCMVEP0QTK4D39ESRV6Z8",
|
|
61
|
+
"advertiserId": "advertiser_01JDH315KXW0FP82VY8WMV97YE",
|
|
62
|
+
"placementId": "placement_01JDGX7Z9JHJR8PN9HZJPDNFWA",
|
|
63
|
+
"templateId": "template_01JDCSQ9HETBF1SS4V0EPY1ZPY",
|
|
64
|
+
"priority": "standard",
|
|
65
|
+
"language": "en",
|
|
66
|
+
"format": "native",
|
|
67
|
+
"effectiveStandardFormatKey": "expandable_banner",
|
|
68
|
+
"effectiveStandardFormatVersion": 1,
|
|
69
|
+
"templateSource": "admoai_standard"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"errors": null,
|
|
76
|
+
"warnings": null
|
|
77
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"success": true,
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"placement": "map_pins",
|
|
6
|
+
"creatives": [
|
|
7
|
+
{
|
|
8
|
+
"contents": [
|
|
9
|
+
{
|
|
10
|
+
"key": "pinImage",
|
|
11
|
+
"type": "image",
|
|
12
|
+
"value": "https://cdn.admoai.com/media/volta-pin.png"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"key": "image",
|
|
16
|
+
"type": "image",
|
|
17
|
+
"value": "https://cdn.admoai.com/media/volta-latte.jpg"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"key": "headline",
|
|
21
|
+
"type": "text",
|
|
22
|
+
"value": "Two lattes, one price"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"key": "description",
|
|
26
|
+
"type": "textarea",
|
|
27
|
+
"value": "This week at every Volta in Santiago."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"key": "ctaText",
|
|
31
|
+
"type": "text",
|
|
32
|
+
"value": "See the menu"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"key": "defaultDestinationUrl",
|
|
36
|
+
"type": "url",
|
|
37
|
+
"value": "https://volta.example/menu"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"key": "matched_points",
|
|
41
|
+
"type": "matched_points",
|
|
42
|
+
"value": [
|
|
43
|
+
{
|
|
44
|
+
"id": "advertiser_location_01JDQS6M466X43YTZ8MBFQMGWJ",
|
|
45
|
+
"name": "Volta Providencia",
|
|
46
|
+
"address": "Volta Providencia, Santiago",
|
|
47
|
+
"latitude": -33.4263,
|
|
48
|
+
"longitude": -70.611,
|
|
49
|
+
"distance": 120,
|
|
50
|
+
"clickUrl": "https://volta.example/menu",
|
|
51
|
+
"tracking": {
|
|
52
|
+
"views": [
|
|
53
|
+
{
|
|
54
|
+
"key": "default",
|
|
55
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.spl.131.pin_view"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"taps": [
|
|
59
|
+
{
|
|
60
|
+
"key": "default",
|
|
61
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.spl.131.pin_tap"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"clicks": [
|
|
65
|
+
{
|
|
66
|
+
"key": "default",
|
|
67
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.spl.131.click"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "advertiser_location_01JDGEJW7K1CAK6PP2J0TREJ7P",
|
|
74
|
+
"name": "Volta Lastarria",
|
|
75
|
+
"address": "Volta Lastarria, Santiago",
|
|
76
|
+
"latitude": -33.438,
|
|
77
|
+
"longitude": -70.64,
|
|
78
|
+
"distance": 640,
|
|
79
|
+
"clickUrl": "https://volta.example/menu",
|
|
80
|
+
"tracking": {
|
|
81
|
+
"views": [
|
|
82
|
+
{
|
|
83
|
+
"key": "default",
|
|
84
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.spl.132.pin_view"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"taps": [
|
|
88
|
+
{
|
|
89
|
+
"key": "default",
|
|
90
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.spl.132.pin_tap"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"clicks": [
|
|
94
|
+
{
|
|
95
|
+
"key": "default",
|
|
96
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.spl.132.click"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"advertiser": {
|
|
105
|
+
"name": "Volta Coffee",
|
|
106
|
+
"legalName": "Volta Coffee SpA",
|
|
107
|
+
"logoUrl": "https://cdn.admoai.com/media/volta-logo.png"
|
|
108
|
+
},
|
|
109
|
+
"template": {
|
|
110
|
+
"key": "sponsored_pin_location",
|
|
111
|
+
"style": "map_pin"
|
|
112
|
+
},
|
|
113
|
+
"tracking": {
|
|
114
|
+
"impressions": [
|
|
115
|
+
{
|
|
116
|
+
"key": "default",
|
|
117
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.sponsored_pin_location.full.impression"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"clicks": [
|
|
121
|
+
{
|
|
122
|
+
"key": "default",
|
|
123
|
+
"url": "https://api.admoai.com/v1/tracking?e=tok.sponsored_pin_location.full.click"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"custom": []
|
|
127
|
+
},
|
|
128
|
+
"metadata": {
|
|
129
|
+
"adId": "ad_01JDXB5DWFCCBHYN9YSHAHM33F",
|
|
130
|
+
"creativeId": "creative_01JDQS6M466X43YTZ8MBFQMGWJ",
|
|
131
|
+
"advertiserId": "advertiser_01JDH315KXW0FP82VY8WMV97YE",
|
|
132
|
+
"placementId": "placement_01JDGX7Z9JHJR8PN9HZJPDNFWA",
|
|
133
|
+
"templateId": "template_01JDGEJW7K1CAK6PP2J0TREJ7P",
|
|
134
|
+
"priority": "standard",
|
|
135
|
+
"language": "en",
|
|
136
|
+
"format": "native",
|
|
137
|
+
"effectiveStandardFormatKey": "sponsored_pin_location",
|
|
138
|
+
"effectiveStandardFormatVersion": 1,
|
|
139
|
+
"templateSource": "admoai_standard"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"errors": null,
|
|
146
|
+
"warnings": null
|
|
147
|
+
}
|