-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathixn-oms.oas2.yml
3241 lines (3228 loc) · 90.1 KB
/
ixn-oms.oas2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
swagger: '2.0'
info:
title: IxN Order Management System
version: 1.1.0
description: |-
Refer to the [OpenDirect specification](https://www.iab.com/wp-content/uploads/2018/01/OpenDirect_v2_Draft_for_Public_Comment_2018-01.pdf) for more details on various fields and operations.
Test environment: https://oms.qa.linksvc.com
Production environment: https://oms.platform.linksvc.com
contact:
name: Nitin Shriram
url: 'http://www.intersection.com'
email: [email protected]
paths:
/organizations:
get:
responses:
'200':
description: ''
schema:
type: array
items:
$ref: '#/definitions/Organization'
examples:
application/json:
- id: '10001'
name: advertiser 1
address:
city: New York
country: USA
addressline1: U
addressline2: q
postalcode: re
state: NY
contacts:
- firstname: Adv1
lastname: C
address:
city: New york
country: culpa esse
addressline1: adipis
addressline2: nulla
postalcode: '10001'
state: NY
email: [email protected]
honorific: Mr
fax: magna tem
phone: d
title: xx
type: Creative
- firstname: Adv1
lastname: B
address:
city: reprehe
country: elit fugiat adipisicing
addressline1: ''
addressline2: nulla ad
postalcode: volupta
state: deserun
email: nis
honorific: 'ex '
fax: deserunt
phone: e
title: culpa
type: Billing
- firstname: a
lastname: qui
address:
city: 'nostrud '
country: Lorem non elit nulla u
addressline1: ''
addressline2: id
postalcode: culp
state: et off
email: irure
honorific: pariat
fax: dol
phone: Duis
title: v
type: Sales
- firstname: aute ex vo
lastname: enim Ex
address:
city: U
country: dolor voluptate ullamco
addressline1: eu mini
addressline2: 'Excepteur '
postalcode: ullam
state: ea aute
email: pr
honorific: incidid
fax: ut
phone: ex ips
title: ex cul
type: Buyer
disapprovalreason: ex culpa
fax: ul
cat: IAB12-6
phone: in oc
status: Pending
url: nul
ext: cillum irure
- id: in enim nostrud
name: dolore
address:
city: ''
country: labore
addressline1: 'occaecat '
addressline2: e
postalcode: dolor a
state: ''
contacts:
- firstname: magna
lastname: Lo
address:
city: ''
country: esse veniam
addressline1: ir
addressline2: sed
postalcode: 'ullamco '
state: paria
email: 'mollit '
honorific: adipisic
fax: qui
phone: la
title: amet D
type: Buyer
- firstname: do
lastname: si
address:
city: ''
country: reprehenderit labore ea culpa
addressline1: proiden
addressline2: anim occ
postalcode: labore
state: 'et ad '
email: ex
honorific: dolore
fax: 'amet '
phone: 'ut et '
title: ''
type: Creative
- firstname: 'n'
lastname: Dui
address:
city: m
country: aliquip dolore labore
addressline1: s
addressline2: laboru
postalcode: in moll
state: labor
email: eu u
honorific: o
fax: est ut L
phone: elit in
title: d
type: Sales
- firstname: Duis e
lastname: sint cu
address:
city: e
country: do proident
addressline1: dolor in
addressline2: 'in '
postalcode: fugiat
state: 'labore ut '
email: veniam cu
honorific: aliquip
fax: officia ei
phone: p
title: enim
type: Sales
disapprovalreason: non
fax: s
cat: IAB2
phone: anim
status: Limited
url: rep
ext: dolore dolore nulla ipsum
- id: sunt est in officia
name: 'eu quis '
address:
city: et
country: ut nisi tempor pariatur q
addressline1: 'ex '
addressline2: cupidata
postalcode: nostr
state: commodo e
contacts:
- firstname: i
lastname: nostrud ve
address:
city: t
country: Lorem proident
addressline1: 'no'
addressline2: volupt
postalcode: Duis
state: ut conseq
email: ''
honorific: fug
fax: Ut id re
phone: ir
title: do
type: Buyer
- firstname: veni
lastname: culpa ma
address:
city: repr
country: id consectetur quis Lorem enim
addressline1: incididu
addressline2: re
postalcode: et
state: 'ea '
email: mollit ad
honorific: do et
fax: ipsum
phone: deseru
title: 'n'
type: Sales
- firstname: s
lastname: conseq
address:
city: 'n'
country: est consectetur
addressline1: adipis
addressline2: anim eu
postalcode: tempo
state: 'aliqua '
email: 'Duis '
honorific: volupta
fax: moll
phone: ut tempo
title: 'n'
type: Billing
disapprovalreason: ut ipsum s
fax: culpa la
cat: IAB12-6
phone: consec
status: Approved
url: 'id '
ext: pariatur fugiat officia
operationId: findOrganizations
summary: List Organizations
tags:
- Organizations
security:
- OAuth: []
description: This API is for internal use.
x-internal: true
post:
summary: Create Organization
operationId: createOrganization
parameters:
- in: body
name: body
schema:
$ref: '#/definitions/Organization New'
x-examples:
application/json:
address:
city: New York
country: USA
addressline1: 10 Hudson Yards
addressline2: ''
postalcode: '10001'
state: NY
contacts:
- address:
city: string
country: string
addressline1: string
addressline2: string
postalcode: string
state: string
email: [email protected]
honorific: string
fax: string
firstname: Nitin
lastname: S
phone: string
title: string
type: Billing
disapprovalreason: string
fax: string
cat: IAB1
name: XYZ Advertiser
phone: string
status: Pending
url: string
ext: string
responses:
'201':
description: ''
schema:
$ref: '#/definitions/Organization'
examples:
application/json:
address:
city: New York
country: USA
addressline1: 10 Hudson Yards
addressline2: ''
postalcode: '10001'
state: NY
contacts:
- address:
city: string
country: string
addressline1: string
addressline2: string
postalcode: string
state: string
email: [email protected]
honorific: string
fax: string
firstname: Nitin
lastname: S
phone: string
title: string
type: Billing
disapprovalreason: string
fax: string
cat: IAB1
name: XYZ Advertiser
id: org-200001
phone: string
status: Pending
url: string
ext: string
security:
- OAuth: []
tags:
- Organizations
description: 'This API is for internal use. '
x-internal: true
'/organizations/{organizationId}':
get:
responses:
'200':
description: ''
schema:
$ref: '#/definitions/Organization'
examples:
application/json:
address:
city: New York
country: USA
addressline1: 10 Hudson Yards
addressline2: ''
postalcode: '10001'
state: NY
contacts:
- address:
city: string
country: string
addressline1: string
addressline2: string
postalcode: string
state: string
email: [email protected]
honorific: string
fax: string
firstname: Nitin
lastname: S
phone: string
title: string
type: Billing
disapprovalreason: string
fax: string
cat: IAB1
name: XYZ Advertiser
id: org-200001
phone: string
status: Pending
url: string
ext: string
summary: Get Organization
tags:
- Organizations
operationId: getOrganization
security:
- OAuth: []
description: This API is for internal use.
x-internal: true
parameters:
- name: organizationId
in: path
type: string
required: true
patch:
responses:
'200':
description: ''
schema:
$ref: '#/definitions/Organization'
examples:
application/json:
address:
city: New York
country: USA
addressline1: 10 Hudson Yards
addressline2: ''
postalcode: '10001'
state: NY
contacts:
- address:
city: string
country: string
addressline1: string
addressline2: string
postalcode: string
state: string
email: [email protected]
honorific: string
fax: string
firstname: Nitin
lastname: S
phone: string
title: string
type: Billing
disapprovalreason: string
fax: string
cat: IAB1
name: XYZ Advertiser
id: org-200001
phone: string
status: Pending
url: string
ext: string
summary: Update Organization
operationId: updateOrganization
tags:
- Organizations
security:
- OAuth: []
parameters:
- in: body
name: body
schema:
$ref: '#/definitions/Organization Update'
x-examples:
application/json:
name: XYZ Advertiser
phone: 212-111-1111
description: 'This API is for internal use. '
x-internal: true
delete:
responses:
'204':
description: ''
schema:
type: object
properties: {}
summary: Delete Organization
operationId: deleteOrganization
tags:
- Organizations
security:
- OAuth: []
description: 'This API is for internal use. '
x-internal: true
/accounts:
get:
responses:
'200':
description: ''
schema:
type: array
items:
$ref: '#/definitions/Account'
examples:
application/json:
- id: db6aa29c-cf79-4b66-8abd-ef743bddf3f0
advertiserid: c314fdc1-2f61-469e-b9e8-08dfc389fc52
buyerid: c314fdc1-2f61-469e-b9e8-08dfc389fc52
name: Loreal
ext: ''
- id: 90b9d93b-1048-48c9-a01f-c84354015811
advertiserid: c314fdc1-2f61-469e-b9e8-08dfc389fc52
buyerid: fb64db2b-336a-489e-b410-b53ab8a67003
name: Coca-cola
ext: ''
operationId: findAccounts
summary: List Accounts
tags:
- Accounts
security:
- OAuth: []
- basicAuth: []
description: |
An Account represents an advertiser that is a client of of the Agency. Accounts are created and managed by Intersection. Agencies will be able view all the associated accounts.
post:
summary: Create Account
operationId: createAccount
parameters:
- in: body
name: body
schema:
$ref: '#/definitions/Account New'
x-examples:
application/json:
advertiserid: org-200001
buyerid: org-100001
name: string
ext: ''
responses:
'201':
description: ''
schema:
$ref: '#/definitions/Account'
examples:
application/json:
id: db6aa29c-cf79-4b66-8abd-ef743bddf3f0
advertiserid: c314fdc1-2f61-469e-b9e8-08dfc389fc52
buyerid: c314fdc1-2f61-469e-b9e8-08dfc389fc52
name: Loreal
ext: ''
security:
- OAuth: []
tags:
- Accounts
description: 'This API is for internal use. Accounts will be created and managed by Intersection. '
x-internal: true
'/accounts/{accountId}':
get:
responses:
'200':
description: ''
schema:
$ref: '#/definitions/Account'
examples:
application/json:
id: 90b9d93b-1048-48c9-a01f-c84354015811
advertiserid: c314fdc1-2f61-469e-b9e8-08dfc389fc52
buyerid: fb64db2b-336a-489e-b410-b53ab8a67003
name: Loreal
ext: ''
summary: Get Account
tags:
- Accounts
operationId: getAccount
security:
- OAuth: []
description: ''
parameters:
- name: accountId
in: path
type: string
required: true
patch:
responses:
'200':
description: ''
schema:
$ref: '#/definitions/Account'
examples:
application/json:
advertiserid: c314fdc1-2f61-469e-b9e8-08dfc389fc52
buyerid: fb64db2b-336a-489e-b410-b53ab8a67003
name: Loreal
ext: ''
summary: Update Account
operationId: updateAccount
tags:
- Accounts
security:
- OAuth: []
parameters:
- in: body
name: body
schema:
$ref: '#/definitions/Account Update'
x-examples:
application/json:
name: new account name
description: 'This API is for internal use. '
x-internal: true
delete:
responses:
'204':
description: ''
schema:
type: object
properties: {}
summary: Delete Account
operationId: deleteAccount
tags:
- Accounts
security:
- OAuth: []
description: 'This API is for internal use. '
x-internal: true
'/accounts/{accountId}/adunits':
get:
responses:
'200':
description: ''
schema:
type: array
items:
$ref: '#/definitions/AdUnit'
examples:
application/json:
- id: 121c57d6-0846-4cc4-b962-648bad745835
name: image
spec: string
ext:
spec_summary:
widthpixel: 1080
heightpixel: 1920
creativetype: Image
maxfilesizebytes: 2048
mimetype:
- jpg
- png
framespersecond: null
- id: c3eb3d30-9af7-4666-baed-1603cac2a428
name: video
spec: string
ext:
spec_summary:
widthpixel: 1080
heightpixel: 1920
creativetype: Video
maxfilesizebytes: 2048
mimetype:
- mp4
framespersecond: 30
operationId: findAdUnits
security:
- OAuth: []
summary: List AdUnits
tags:
- AdUnits
description: AdUnits represent the creative specifications of a DisplayFrame or screen.
parameters:
- name: accountId
in: path
type: string
required: true
'/accounts/{accountId}/products':
get:
responses:
'200':
description: ''
schema:
type: array
items:
$ref: '#/definitions/Product'
examples:
application/json:
- id: 95eaf13b-2db7-4afa-abb5-fa4dadd4e570
adunit:
id: 121c57d6-0846-4cc4-b962-648bad745835
name: LinkNYC
ext:
spec_summary:
widthpixel: 1920
heightpixel: 1080
creativetype: Image
maxfilesizebytes: 2048
mimetype: []
framespersecond: null
name: LinkNYC Image
description: Two-sided units with 55” displays allow advertisers to reach consumers at-scale throughout New York City.
activedate: '2015-03-03T09:41:10Z'
allownocreative: null
currency: USD
baseprice: 24
ratetype: CPM
deliverytype: null
estdailyavails: 10 - 20 million
domain: intersection.com/linknyc
icon: 'https://intersection.com/linknyc'
languages:
- en
- es
leadtime: 3
minspend: 25000
minflight: 1
maxflight: 180
producttags:
- 1080x1920
- image
alladunits: 1
retirementaate: '2020-12-31T09:43:30Z'
tz: EST
url: 'https://intersection.com/linknyc'
regs: null
device: LinkNYC Outdoor Kiosk
geo: NA
data: NA
source: NA
pmp: NA
ext:
spots: 6
spot_length: 15
size: 55
publisherid: a30c3874-f218-4859-a089-baa0738778f6
- id: ed0dbcc1-ce01-4565-bf49-47df5c1ec8fc
adunit:
id: c3eb3d30-9af7-4666-baed-1603cac2a428
name: video
ext:
spec_summary:
widthpixel: null
heightpixel: null
creativetype: unspecified
maxfilesizebytes: 2048
mimetype: []
framespersecond: null
name: 1080x1920 Video Ads
description: 1080x1920 Video (mp4)
activedate: '2020-03-01T10:04:45Z'
allownocreative: false
currency: USD
baseprice: 14
ratetype: CPM
deliverytype: null
estdailyavails: 10 - 20 million
domain: intersection.com/linknyc
icon: 'https://intersection.com/linknyc'
languages:
- en
- es
leadtime: 3
minspend: 25000
minflight: 1
maxflight: 180
producttags:
- 1080x1920
- video
alladunits: 1
retirementaate: '2020-12-31T10:06:00Z'
tz: EST
url: 'https://intersection.com/linknyc'
regs: null
device: LinkNYC Outdoor Kiosk
geo: NA
data: NA
source: NA
pmp: NA
ext: NA
publisherid: a30c3874-f218-4859-a089-baa0738778f6
operationId: findProducts
security:
- OAuth: []
summary: List Products
tags:
- Products
description: 'Products represent the various media types that are offered by Intersection. '
parameters:
- name: accountId
in: path
type: string
required: true
/displayframes:
get:
summary: List DisplayFrames
operationId: findDisplayFrames
responses:
'200':
description: ''
schema:
type: array
items:
$ref: '#/definitions/display-frame'
examples:
application/json:
- address: '655 6th Ave, New York, NY'
alt_displayframe_id: MN-456453
default_slot_duration: '15'
id: 19894431
impressions_per_play: 4
intercardinal_direction: NW
ixn_display_id: MN-04-135464-L
latitude: 40.741515
longitude: -73.993963
name: MN-04-135464-L
orientation: Portrait
resolution_x: 1080
resolution_y: 1920
ixn_site_id: MN-04-135464
product_ids:
- '40001'
- '40002'
height_agl_meters: 0.5
measurement:
- startdate: '2019-01-01'
endate: '2019-12-31'
source: Geopath
audience_per_hour: 816
impressions_per_play: 3.4
- address: '2nd Avenue, New York, NY'
alt_displayframe_id: MN-123123
default_slot_duration: '15'
id: 12894431
impressions_per_play: 3
intercardinal_direction: NW
ixn_display_id: MN-11-120309-R
latitude: 40.801405
longitude: -73.934704
name: MN-11-120309-R
orientation: Portrait
resolution_x: 1080
resolution_y: 1920
ixn_site_id: MN-04-135464
product_ids:
- '40001'
- '40002'
height_agl_meters: 0.5
measurement:
- startdate: '2019-01-01'
endate: '2019-12-31'
source: Geopath
audience_per_hour: 729.6
impressions_per_play: 3.04
security:
- OAuth: []
tags:
- DisplayFrames
'/accounts/{accountId}/displayframes/{displayFrameId}':
parameters:
- name: accountId
in: path
type: string
required: true
- name: displayFrameId
in: path
type: string
required: true
get:
summary: Get DisplayFrame
operationId: getDisplayFrame
responses:
'200':
description: ''
schema:
$ref: '#/definitions/display-frame'
examples:
application/json:
id: 20e3d9c4-ffa5-41f6-bc35-9e8d6b5f19f9
measurements:
- id: e84b4ba9-abb9-4568-908b-f983b43ec003
startdate: '2020-01-01T00:00:00Z'
enddate: '2020-12-31T00:00:00Z'
source: geopath
audience_per_hour: 261.75
impressions_per_play: 1.0906
displayframe: 20e3d9c4-ffa5-41f6-bc35-9e8d6b5f19f9
alt_displayframe_id: '622'
alt_du_id: 1283617
ixn_display_id: BK-01-125268-R
ixn_site_id: BK-01-125268
name: BK-01-125268-R
address: 10 Hudson Yards
orientation: Portrait
resolution_x: 1920
resolution_y: 1080
latitude: 40.728134
longitude: -73.953438
intercardinal_direction: East
default_slot_duration: '15'
zipcode: '11222'
height_agl_meters: 0.5
products:
- 95eaf13b-2db7-4afa-abb5-fa4dadd4e570
- ed0dbcc1-ce01-4565-bf49-47df5c1ec8fc
security:
- OAuth: []
tags:
- DisplayFrames
description: |
DisplayFrame is an Intersection defined entity. It refers to each possible frame or screen on a physical unit. DisplayFrame contains location & size information.
DisplayFrames can be targeted on a Line (ext_Line)
'/accounts/{accountId}/creatives':
get:
responses:
'200':
description: ''
schema:
type: array
items:
$ref: '#/definitions/Creative'
examples:
application/json:
- id: f046fbf0-811e-41d2-a587-5ed5374ee099
ext:
creativeasset_url: 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png'
pub_alt_creative_id: '2497950'
buyer_creative_id: creativeAssets/1778202575886233018
name: creativeAssets/1778202575886233018
creativeasset: creativeAssets/1778202575886233018
creativeapprovals:
- test
- 'Intersection::APPROVED'
clickurl: 'http://intersection.com'
accountid: 301e5597-08fb-4816-9b62-f1fe6fb09b70
- id: a61afdbf-6614-4c39-8a6a-f6e290bdf62e
ext:
creativeasset_url: 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png'
pub_alt_creative_id: '2492598'
buyer_creative_id: creativeAssets/3899089432557943224
name: creativeAssets/3899089432557943224
creativeasset: test1
creativeapprovals:
- test
clickurl: 'http://intersection.com'
accountid: 301e5597-08fb-4816-9b62-f1fe6fb09b70
operationId: findCreatives
security:
- OAuth: []
summary: List Creatives
tags:
- Creatives
parameters:
- in: query
name: name
type: string
description: |
A Creative represents the advertiser's adcopy for a Line. Creative are assigned to the Line resource of an order using the Assignment resource.
post:
summary: Create Creative
operationId: createCreative
parameters:
- in: body
name: body
schema:
$ref: '#/definitions/Creative New'
x-examples:
application/json:
name: creativeAssets/0539106954960586800
ext:
creativeasset_url: 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png'
buyer_creative_id: creativeAssets/0539106954960586800
responses:
'201':
description: ''
schema:
$ref: '#/definitions/Creative'
examples:
application/json:
name: creativeAssets/7921749384905771002
clickurl: 'http://intersection.com'
creativeapprovals:
- 'Intersection::Pending'
creativeasset: test1
ext:
creativeasset_url: 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png'
buyer_creative_id: creativeAssets/7921749384905771002
security:
- OAuth: []
tags:
- Creatives
description: |
A Creative represents the advertiser's adcopy for a Line. Creative are assigned to the Line resource of an order using the Assignment resource.
parameters:
- name: accountId
in: path
type: string
required: true
'/accounts/{accountId}/creatives/{creativeId}':
get:
responses:
'200':
description: ''
schema:
$ref: '#/definitions/Creative'
examples:
application/json:
id: f046fbf0-811e-41d2-a587-5ed5374ee099
ext:
creativeasset_url: 'https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png'
pub_alt_creative_id: '2497950'
buyer_creative_id: creativeAssets/1778202575886233018
name: creativeAssets/1778202575886233018
creativeasset: creativeAssets/1778202575886233018
creativeapprovals:
- test
- 'Intersection::APPROVED'
clickurl: ''
accountid: 301e5597-08fb-4816-9b62-f1fe6fb09b70
summary: Get Creative
tags:
- Creatives
operationId: getCreative
security:
- OAuth: []
parameters: []
consumes:
- application/json
produces:
- application/json
description: |
A Creative represents the advertiser's adcopy for a Line. Creative are assigned to the Line resource of an order using the Assignment resource.
parameters:
- in: query
name: name
type: string