liverails_api 0.0.3
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.
- checksums.yaml +7 -0
- data/lib/api/live_rail.rb +1795 -0
- data/lib/liverails_api.rb +1408 -0
- metadata +105 -0
|
@@ -0,0 +1,1795 @@
|
|
|
1
|
+
require 'rest-client'
|
|
2
|
+
require 'json'
|
|
3
|
+
require 'crack'
|
|
4
|
+
|
|
5
|
+
class LiveRail
|
|
6
|
+
|
|
7
|
+
def initialize (args)
|
|
8
|
+
@username = args[:username] || ENV['LIVE_RAIL_USERNAME']
|
|
9
|
+
@password = args[:password] || ENV['LIVE_RAIL_PASSWORD']
|
|
10
|
+
@env = args[:env] || 'development'
|
|
11
|
+
|
|
12
|
+
if @env == 'production'
|
|
13
|
+
@url = "http://api4.liverail.com"
|
|
14
|
+
else
|
|
15
|
+
puts "YOU ARE USING LIVE RAIL TEST ENVIRONMENT: please consider to set the LIVE_RAIL_ENVIRONMENT parameter to 'production' before going to production to ommit this message."
|
|
16
|
+
@url = "http://api4.int.liverail.com"
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def entity_add(args={})
|
|
21
|
+
path="/entity/add"
|
|
22
|
+
request path, args
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def entity_edit(args={})
|
|
26
|
+
path="/entity/edit"
|
|
27
|
+
request path, args
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def entity_delete(args={})
|
|
31
|
+
path="/entity/delete"
|
|
32
|
+
request path, args
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def entity_list_bychar(args={})
|
|
36
|
+
path="/entity/list/bychar"
|
|
37
|
+
request path, args
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def entity_resolve_name(args={})
|
|
41
|
+
path="/entity/resolve/name"
|
|
42
|
+
request path, args
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def entity_integration_get(args={})
|
|
46
|
+
path="/entity/integration/get"
|
|
47
|
+
request path, args
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
def entity_exchange_list(args={})
|
|
51
|
+
path="/entity/exchange/list"
|
|
52
|
+
request path, args
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def entity_network_type_list(args={})
|
|
56
|
+
path="/entity/network/type/list"
|
|
57
|
+
request path, args
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def entity_network_type_parameter_list(args={})
|
|
61
|
+
path="/entity/network/type/parameter/list"
|
|
62
|
+
request path, args
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
def entity_quick_list(args={})
|
|
66
|
+
path="/entity/quick/list"
|
|
67
|
+
request path, args
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
def entity_ldb_list(args={})
|
|
71
|
+
path="/entity/ldb/list"
|
|
72
|
+
request path, args
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def entity_category_domain_list(args={})
|
|
76
|
+
path="/entity/category/domain/list"
|
|
77
|
+
request path, args
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
def entity_category_domain_add(args={})
|
|
81
|
+
path="/entity/category/domain/add"
|
|
82
|
+
request path, args
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
def entity_category_domain_edit(args={})
|
|
86
|
+
path="/entity/category/domain/edit"
|
|
87
|
+
request path, args
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def entity_category_domain_performance_list(args={})
|
|
91
|
+
path="/entity/category/domain/performance/list"
|
|
92
|
+
request path, args
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
def entity_category_domain_quick_list(args={})
|
|
96
|
+
path="/entity/category/domain/quick/list"
|
|
97
|
+
request path, args
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
def entity_domain_frequency_list(args={})
|
|
101
|
+
path="/entity/domain/frequency/list"
|
|
102
|
+
request path, args
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
def entity_domain_geo_list(args={})
|
|
106
|
+
path="/entity/domain/geo/list"
|
|
107
|
+
request path, args
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def entity_domain_geo_extended_list(args={})
|
|
111
|
+
path="/entity/domain/geo/extended/list"
|
|
112
|
+
request path, args
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
def entity_domain_geo_extended_split_list(args={})
|
|
116
|
+
path="/entity/domain/geo/extended/split/list"
|
|
117
|
+
request path, args
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
def entity_domain_geo_extended_split_sum_per_domain_list(args={})
|
|
121
|
+
path="/entity/domain/geo/extended/split/sum/per/domain/list"
|
|
122
|
+
request path, args
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
def entity_domain_geo_distinct_vertical_list(args={})
|
|
126
|
+
path="/entity/domain/geo/distinct/vertical/list"
|
|
127
|
+
request path, args
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
def entity_domain_list_add(args={})
|
|
131
|
+
path="/entity/domain/list/add"
|
|
132
|
+
request path, args
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
def entity_domain_list_edit(args={})
|
|
136
|
+
path="/entity/domain/list/edit"
|
|
137
|
+
request path, args
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
def entity_domain_list_list(args={})
|
|
141
|
+
path="/entity/domain/list/list"
|
|
142
|
+
request path, args
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
def entity_domain_list_delete(args={})
|
|
146
|
+
path="/entity/domain/list/delete"
|
|
147
|
+
request path, args
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
def entity_domain_list_resolve_name(args={})
|
|
151
|
+
path="/entity/domain/list/resolve/name"
|
|
152
|
+
request path, args
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
def entity_domain_list_clear_list(args={})
|
|
156
|
+
path="/entity/domain/list/clear/list"
|
|
157
|
+
request path, args
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
def entity_domain_list_duplicate_list(args={})
|
|
161
|
+
path="/entity/domain/list/duplicate/list"
|
|
162
|
+
request path, args
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
def entity_domain_list_check_rule_access(args={})
|
|
166
|
+
path="/entity/domain/list/check/rule/access"
|
|
167
|
+
request path, args
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
def entity_domain_list_domain_add(args={})
|
|
171
|
+
path="/entity/domain/list/domain/add"
|
|
172
|
+
request path, args
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
def entity_domain_list_domain_delete(args={})
|
|
176
|
+
path="/entity/domain/list/domain/delete"
|
|
177
|
+
request path, args
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
def entity_domain_list_domain_list(args={})
|
|
181
|
+
path="/entity/domain/list/domain/list"
|
|
182
|
+
request path, args
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
def entity_domain_audience_list(args={})
|
|
186
|
+
path="/entity/domain/audience/list"
|
|
187
|
+
request path, args
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
def entity_marketplace_list(args={})
|
|
191
|
+
path="/entity/marketplace/list"
|
|
192
|
+
request path, args
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
def entity_marketplace_parameter_list(args={})
|
|
196
|
+
path="/entity/marketplace/parameter/list"
|
|
197
|
+
request path, args
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
def entity_vertical_list(args={})
|
|
201
|
+
path="/entity/vertical/list"
|
|
202
|
+
request path, args
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
def entity_vertical_add(args={})
|
|
206
|
+
path="/entity/vertical/add"
|
|
207
|
+
request path, args
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
def entity_vertical_delete(args={})
|
|
211
|
+
path="/entity/vertical/delete"
|
|
212
|
+
request path, args
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
def entity_vertical_resolve_name(args={})
|
|
216
|
+
path="/entity/vertical/resolve/name"
|
|
217
|
+
request path, args
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
def entity_vertical_publisher_list(args={})
|
|
221
|
+
path="/entity/vertical/publisher/list"
|
|
222
|
+
request path, args
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
def entity_vertical_available(args={})
|
|
226
|
+
path="/entity/vertical/available"
|
|
227
|
+
request path, args
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
def entity_vertical_check_rule_access(args={})
|
|
231
|
+
path="/entity/vertical/check/rule/access"
|
|
232
|
+
request path, args
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
def entity_contact_add(args={})
|
|
236
|
+
path="/entity/contact/add"
|
|
237
|
+
request path, args
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
def entity_contact_edit(args={})
|
|
241
|
+
path="/entity/contact/edit"
|
|
242
|
+
request path, args
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
def entity_contact_delete(args={})
|
|
246
|
+
path="/entity/contact/delete"
|
|
247
|
+
request path, args
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
def entity_contact_list(args={})
|
|
251
|
+
path="/entity/contact/list"
|
|
252
|
+
request path, args
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
def entity_tracker_add(args={})
|
|
256
|
+
path="/entity/tracker/add"
|
|
257
|
+
request path, args
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
def entity_tracker_edit(args={})
|
|
261
|
+
path="/entity/tracker/edit"
|
|
262
|
+
request path, args
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
def entity_tracker_delete(args={})
|
|
266
|
+
path="/entity/tracker/delete"
|
|
267
|
+
request path, args
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
def entity_tracker_list(args={})
|
|
271
|
+
path="/entity/tracker/list"
|
|
272
|
+
request path, args
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
def entity_domain_control_add(args={})
|
|
276
|
+
path="/entity/domain/control/add"
|
|
277
|
+
request path, args
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
def entity_domain_control_delete(args={})
|
|
281
|
+
path="/entity/domain/control/delete"
|
|
282
|
+
request path, args
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
def entity_domain_control_list(args={})
|
|
286
|
+
path="/entity/domain/control/list"
|
|
287
|
+
request path, args
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
def entity_audience_provider_list(args={})
|
|
291
|
+
path="/entity/audience/provider/list"
|
|
292
|
+
request path, args
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
def entity_audience_segment_list(args={})
|
|
296
|
+
path="/entity/audience/segment/list"
|
|
297
|
+
request path, args
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
def entity_buyer_list(args={})
|
|
301
|
+
path="/entity/buyer/list"
|
|
302
|
+
request path, args
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
def entity_buyer_resolve_name(args={})
|
|
306
|
+
path="/entity/buyer/resolve/name"
|
|
307
|
+
request path, args
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
def audience_provider_add(args={})
|
|
311
|
+
path="/audience/provider/add"
|
|
312
|
+
request path, args
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
def audience_provider_edit(args={})
|
|
316
|
+
path="/audience/provider/edit"
|
|
317
|
+
request path, args
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
def audience_provider_delete(args={})
|
|
321
|
+
path="/audience/provider/delete"
|
|
322
|
+
request path, args
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
def audience_provider_list(args={})
|
|
326
|
+
path="/audience/provider/list"
|
|
327
|
+
request path, args
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
def audience_provider_resolve_name(args={})
|
|
331
|
+
path="/audience/provider/resolve/name"
|
|
332
|
+
request path, args
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
def audience_provider_entity_set(args={})
|
|
336
|
+
path="/audience/provider/entity/set"
|
|
337
|
+
request path, args
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
def audience_provider_entity_delete(args={})
|
|
341
|
+
path="/audience/provider/entity/delete"
|
|
342
|
+
request path, args
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
def audience_provider_entity_list(args={})
|
|
346
|
+
path="/audience/provider/entity/list"
|
|
347
|
+
request path, args
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
def audience_segment_add(args={})
|
|
351
|
+
path="/audience/segment/add"
|
|
352
|
+
request path, args
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
def audience_segment_edit(args={})
|
|
356
|
+
path="/audience/segment/edit"
|
|
357
|
+
request path, args
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
def audience_segment_list(args={})
|
|
361
|
+
path="/audience/segment/list"
|
|
362
|
+
request path, args
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
def audience_segment_delete(args={})
|
|
366
|
+
path="/audience/segment/delete"
|
|
367
|
+
request path, args
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
def audience_segment_resolve_name(args={})
|
|
371
|
+
path="/audience/segment/resolve/name"
|
|
372
|
+
request path, args
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
def audience_segment_available(args={})
|
|
376
|
+
path="/audience/segment/available"
|
|
377
|
+
request path, args
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
def audience_segment_check_rule_access(args={})
|
|
381
|
+
path="/audience/segment/check/rule/access"
|
|
382
|
+
request path, args
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
def category_list(args={})
|
|
386
|
+
path="/category/list"
|
|
387
|
+
request path, args
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
def category_resolve_name(args={})
|
|
391
|
+
path="/category/resolve/name"
|
|
392
|
+
request path, args
|
|
393
|
+
end
|
|
394
|
+
|
|
395
|
+
def proximic_data_list(args={})
|
|
396
|
+
path="/proximic/data/list"
|
|
397
|
+
request path, args
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
def user_add(args={})
|
|
401
|
+
path="/user/add"
|
|
402
|
+
request path, args
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
def user_edit(args={})
|
|
406
|
+
path="/user/edit"
|
|
407
|
+
request path, args
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
def user_delete(args={})
|
|
411
|
+
path="/user/delete"
|
|
412
|
+
request path, args
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
def user_list(args={})
|
|
416
|
+
path="/user/list"
|
|
417
|
+
request path, args
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
def user_settings_get(args={})
|
|
421
|
+
path="/user/settings/get"
|
|
422
|
+
request path, args
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
def user_settings_set(args={})
|
|
426
|
+
path="/user/settings/set"
|
|
427
|
+
request path, args
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
def user_recover_init(args={})
|
|
431
|
+
path="/user/recover/init"
|
|
432
|
+
request path, args
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
def user_recover(args={})
|
|
436
|
+
path="/user/recover"
|
|
437
|
+
request path, args
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
def user_entity_tree(args={})
|
|
441
|
+
path="/user/entity/tree"
|
|
442
|
+
request path, args
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
def entity_user_list(args={})
|
|
446
|
+
path="/entity/user/list"
|
|
447
|
+
request path, args
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
def user_attach(args={})
|
|
451
|
+
path="/user/attach"
|
|
452
|
+
request path, args
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
def user_detach(args={})
|
|
456
|
+
path="/user/detach"
|
|
457
|
+
request path, args
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
def partner_available(args={})
|
|
461
|
+
path="/partner/available"
|
|
462
|
+
request path, args
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
def partner_edit(args={})
|
|
466
|
+
path="/partner/edit"
|
|
467
|
+
request path, args
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
def partner_add (args={})
|
|
471
|
+
path ="/partner/add"
|
|
472
|
+
request path, args
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
def partner_delete (args={})
|
|
476
|
+
path ="/partner/delete"
|
|
477
|
+
request path, args
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
def partner_list (args={})
|
|
481
|
+
path ="/partner/list"
|
|
482
|
+
request path, args
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
def partner_list_by_char(args={})
|
|
486
|
+
path="/partner/list/by/char"
|
|
487
|
+
request path, args
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
def partner_resolve_name(args={})
|
|
491
|
+
path="/partner/resolve/name"
|
|
492
|
+
request path, args
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
def partner_resolve_id(args={})
|
|
496
|
+
path="/partner/resolve/id"
|
|
497
|
+
request path, args
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
def partner_check_rule_access(args={})
|
|
501
|
+
path="/partner/check/rule/access"
|
|
502
|
+
request path, args
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
def revenue_share_list(args={})
|
|
506
|
+
path="/revenue-share/list"
|
|
507
|
+
request path, args
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
def revenue_share_add(args={})
|
|
511
|
+
path="/revenue-share/add"
|
|
512
|
+
request path, args
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
def revenue_share_edit(args={})
|
|
516
|
+
path="/revenue-share/edit"
|
|
517
|
+
request path, args
|
|
518
|
+
end
|
|
519
|
+
|
|
520
|
+
def revenue_share_delete(args={})
|
|
521
|
+
path="/revenue-share/delete"
|
|
522
|
+
request path, args
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
def creative_campaign_add(args={})
|
|
526
|
+
path="/creative/campaign/add"
|
|
527
|
+
request path, args
|
|
528
|
+
end
|
|
529
|
+
|
|
530
|
+
def creative_campaign_edit(args={})
|
|
531
|
+
path="/creative/campaign/edit"
|
|
532
|
+
request path, args
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
def creative_campaign_delete(args={})
|
|
536
|
+
path="/creative/campaign/delete"
|
|
537
|
+
request path, args
|
|
538
|
+
end
|
|
539
|
+
|
|
540
|
+
def creative_campaign_list(args={})
|
|
541
|
+
path="/creative/campaign/list"
|
|
542
|
+
request path, args
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
def creative_campaign_resolve_name(args={})
|
|
546
|
+
path="/creative/campaign/resolve/name"
|
|
547
|
+
request path, args
|
|
548
|
+
end
|
|
549
|
+
|
|
550
|
+
def creative_campaign_advertiser_add(args={})
|
|
551
|
+
path="/creative/campaign/advertiser/add"
|
|
552
|
+
request path, args
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
def creative_campaign_advertiser_delete(args={})
|
|
556
|
+
path="/creative/campaign/advertiser/delete"
|
|
557
|
+
request path, args
|
|
558
|
+
end
|
|
559
|
+
|
|
560
|
+
def creative_campaign_advertiser_list(args={})
|
|
561
|
+
path="/creative/campaign/advertiser/list"
|
|
562
|
+
request path, args
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
def creative_add(args={})
|
|
566
|
+
path="/creative/add"
|
|
567
|
+
request path, args
|
|
568
|
+
end
|
|
569
|
+
|
|
570
|
+
def creative_edit(args={})
|
|
571
|
+
path="/creative/edit"
|
|
572
|
+
request path, args
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
def creative_duplicate(args={})
|
|
576
|
+
path="/creative/duplicate"
|
|
577
|
+
request path, args
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
def creative_delete(args={})
|
|
581
|
+
path="/creative/delete"
|
|
582
|
+
request path, args
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
def creative_list(args={})
|
|
586
|
+
path="/creative/list"
|
|
587
|
+
request path, args
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
def creative_list_owned_orders(args={})
|
|
591
|
+
path="/creative/list/owned/orders"
|
|
592
|
+
request path, args
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
def creative_resolve_name(args={})
|
|
596
|
+
path="/creative/resolve/name"
|
|
597
|
+
request path, args
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
def creative_set_archived(args={})
|
|
601
|
+
path="/creative/set/archived"
|
|
602
|
+
request path, args
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
def creative_video_add(args={})
|
|
606
|
+
path="/creative/video/add"
|
|
607
|
+
request path, args
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
def creative_video_edit(args={})
|
|
611
|
+
path="/creative/video/edit"
|
|
612
|
+
request path, args
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
def creative_video_delete(args={})
|
|
616
|
+
path="/creative/video/delete"
|
|
617
|
+
request path, args
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
def creative_video_list(args={})
|
|
621
|
+
path="/creative/video/list"
|
|
622
|
+
request path, args
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
def creative_video_set(args={})
|
|
626
|
+
path="/creative/video/set"
|
|
627
|
+
request path, args
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
def creative_video_upload(args={})
|
|
631
|
+
path="/creative/video/upload"
|
|
632
|
+
request path, args
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
def creative_overlay_add(args={})
|
|
636
|
+
path="/creative/overlay/add"
|
|
637
|
+
request path, args
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
def creative_overlay_edit(args={})
|
|
641
|
+
path="/creative/overlay/edit"
|
|
642
|
+
request path, args
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
def creative_overlay_delete(args={})
|
|
646
|
+
path="/creative/overlay/delete"
|
|
647
|
+
request path, args
|
|
648
|
+
end
|
|
649
|
+
|
|
650
|
+
def creative_overlay_list(args={})
|
|
651
|
+
path="/creative/overlay/list"
|
|
652
|
+
request path, args
|
|
653
|
+
end
|
|
654
|
+
|
|
655
|
+
def creative_overlay_upload(args={})
|
|
656
|
+
path="/creative/overlay/upload"
|
|
657
|
+
request path, args
|
|
658
|
+
end
|
|
659
|
+
|
|
660
|
+
def creative_companion_add(args={})
|
|
661
|
+
path="/creative/companion/add"
|
|
662
|
+
request path, args
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
def creative_companion_edit(args={})
|
|
666
|
+
path="/creative/companion/edit"
|
|
667
|
+
request path, args
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
def creative_companion_delete(args={})
|
|
671
|
+
path="/creative/companion/delete"
|
|
672
|
+
request path, args
|
|
673
|
+
end
|
|
674
|
+
|
|
675
|
+
def creative_companion_list(args={})
|
|
676
|
+
path="/creative/companion/list"
|
|
677
|
+
request path, args
|
|
678
|
+
end
|
|
679
|
+
|
|
680
|
+
def creative_companion_upload(args={})
|
|
681
|
+
path="/creative/companion/upload"
|
|
682
|
+
request path, args
|
|
683
|
+
end
|
|
684
|
+
|
|
685
|
+
def creative_advertiser_add(args={})
|
|
686
|
+
path="/creative/advertiser/add"
|
|
687
|
+
request path, args
|
|
688
|
+
end
|
|
689
|
+
|
|
690
|
+
def creative_advertiser_delete(args={})
|
|
691
|
+
path="/creative/advertiser/delete"
|
|
692
|
+
request path, args
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
def creative_advertiser_list(args={})
|
|
696
|
+
path="/creative/advertiser/list"
|
|
697
|
+
request path, args
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
def creative_advertising_category_add(args={})
|
|
701
|
+
path="/creative/advertising/category/add"
|
|
702
|
+
request path, args
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
def creative_advertising_category_delete(args={})
|
|
706
|
+
path="/creative/advertising/category/delete"
|
|
707
|
+
request path, args
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
def creative_advertising_category_list(args={})
|
|
711
|
+
path="/creative/advertising/category/list"
|
|
712
|
+
request path, args
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
def creative_tracker_add(args={})
|
|
716
|
+
path="/creative/tracker/add"
|
|
717
|
+
request path, args
|
|
718
|
+
end
|
|
719
|
+
|
|
720
|
+
def creative_tracker_edit(args={})
|
|
721
|
+
path="/creative/tracker/edit"
|
|
722
|
+
request path, args
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
def creative_tracker_delete(args={})
|
|
726
|
+
path="/creative/tracker/delete"
|
|
727
|
+
request path, args
|
|
728
|
+
end
|
|
729
|
+
|
|
730
|
+
def creative_tracker_list(args={})
|
|
731
|
+
path="/creative/tracker/list"
|
|
732
|
+
request path, args
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
def order_number_list(args={})
|
|
736
|
+
path="/order/number/list"
|
|
737
|
+
request path, args
|
|
738
|
+
end
|
|
739
|
+
|
|
740
|
+
def order_number_resolve_name(args={})
|
|
741
|
+
path="/order/number/resolve/name"
|
|
742
|
+
request path, args
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
def order_number_resolve_name_from_order(args={})
|
|
746
|
+
path="/order/number/resolve/name/from/order"
|
|
747
|
+
request path, args
|
|
748
|
+
end
|
|
749
|
+
|
|
750
|
+
def order_package_add(args={})
|
|
751
|
+
path="/order/package/add"
|
|
752
|
+
request path, args
|
|
753
|
+
end
|
|
754
|
+
|
|
755
|
+
def order_package_edit(args={})
|
|
756
|
+
path="/order/package/edit"
|
|
757
|
+
request path, args
|
|
758
|
+
end
|
|
759
|
+
|
|
760
|
+
def order_package_delete(args={})
|
|
761
|
+
path="/order/package/delete"
|
|
762
|
+
request path, args
|
|
763
|
+
end
|
|
764
|
+
|
|
765
|
+
def order_package_list(args={})
|
|
766
|
+
path="/order/package/list"
|
|
767
|
+
request path, args
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
def order_package_list_stop(args={})
|
|
771
|
+
path="/order/package/list/stop"
|
|
772
|
+
request path, args
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
def order_package_archive(args={})
|
|
776
|
+
path="/order/package/archive"
|
|
777
|
+
request path, args
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
def order_package_staging(args={})
|
|
781
|
+
path="/order/package/staging"
|
|
782
|
+
request path, args
|
|
783
|
+
end
|
|
784
|
+
|
|
785
|
+
def order_package_integration_list(args={})
|
|
786
|
+
path="/order/package/integration/list"
|
|
787
|
+
request path, args
|
|
788
|
+
end
|
|
789
|
+
|
|
790
|
+
def order_package_resolve_name(args={})
|
|
791
|
+
path="/order/package/resolve/name"
|
|
792
|
+
request path, args
|
|
793
|
+
end
|
|
794
|
+
|
|
795
|
+
def order_package_get_vast(args={})
|
|
796
|
+
path="/order/package/get/vast"
|
|
797
|
+
request path, args
|
|
798
|
+
end
|
|
799
|
+
|
|
800
|
+
def order_package_quick_list(args={})
|
|
801
|
+
path="/order/package/quick/list"
|
|
802
|
+
request path, args
|
|
803
|
+
end
|
|
804
|
+
|
|
805
|
+
def order_package_frequency_set(args={})
|
|
806
|
+
path="/order/package/frequency/set"
|
|
807
|
+
request path, args
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
def order_package_frequency_list(args={})
|
|
811
|
+
path="/order/package/frequency/list"
|
|
812
|
+
request path, args
|
|
813
|
+
end
|
|
814
|
+
|
|
815
|
+
def order_package_frequency_delete(args={})
|
|
816
|
+
path="/order/package/frequency/delete"
|
|
817
|
+
request path, args
|
|
818
|
+
end
|
|
819
|
+
|
|
820
|
+
def order_line_add(args={})
|
|
821
|
+
path="/order/line/add"
|
|
822
|
+
request path, args
|
|
823
|
+
end
|
|
824
|
+
|
|
825
|
+
def order_line_edit(args={})
|
|
826
|
+
path="/order/line/edit"
|
|
827
|
+
request path, args
|
|
828
|
+
end
|
|
829
|
+
|
|
830
|
+
def order_line_delete(args={})
|
|
831
|
+
path="/order/line/delete"
|
|
832
|
+
request path, args
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
def order_line_list(args={})
|
|
836
|
+
path="/order/line/list"
|
|
837
|
+
request path, args
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
def order_line_integration_list(args={})
|
|
841
|
+
path="/order/line/integration/list"
|
|
842
|
+
request path, args
|
|
843
|
+
end
|
|
844
|
+
|
|
845
|
+
def order_line_publisher_list(args={})
|
|
846
|
+
path="/order/line/publisher/list"
|
|
847
|
+
request path, args
|
|
848
|
+
end
|
|
849
|
+
|
|
850
|
+
def order_line_publisher_detached_list(args={})
|
|
851
|
+
path="/order/line/publisher/detached/list"
|
|
852
|
+
request path, args
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
def order_line_staging(args={})
|
|
856
|
+
path="/order/line/staging"
|
|
857
|
+
request path, args
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
def order_line_network_status_set(args={})
|
|
861
|
+
path="/order/line/network/status/set"
|
|
862
|
+
request path, args
|
|
863
|
+
end
|
|
864
|
+
|
|
865
|
+
def order_line_publisher_status_set(args={})
|
|
866
|
+
path="/order/line/publisher/status/set"
|
|
867
|
+
request path, args
|
|
868
|
+
end
|
|
869
|
+
|
|
870
|
+
def order_line_resolve_name(args={})
|
|
871
|
+
path="/order/line/resolve/name"
|
|
872
|
+
request path, args
|
|
873
|
+
end
|
|
874
|
+
|
|
875
|
+
def order_line_list_min_start_date(args={})
|
|
876
|
+
path="/order/line/list/min/start/date"
|
|
877
|
+
request path, args
|
|
878
|
+
end
|
|
879
|
+
|
|
880
|
+
def order_line_list_max_end_date(args={})
|
|
881
|
+
path="/order/line/list/max/end/date"
|
|
882
|
+
request path, args
|
|
883
|
+
end
|
|
884
|
+
|
|
885
|
+
def order_line_list_stop(args={})
|
|
886
|
+
path="/order/line/list/stop"
|
|
887
|
+
request path, args
|
|
888
|
+
end
|
|
889
|
+
|
|
890
|
+
def order_line_quick_list(args={})
|
|
891
|
+
path="/order/line/quick/list"
|
|
892
|
+
request path, args
|
|
893
|
+
end
|
|
894
|
+
|
|
895
|
+
def order_line_creative_list(args={})
|
|
896
|
+
path="/order/line/creative/list"
|
|
897
|
+
request path, args
|
|
898
|
+
end
|
|
899
|
+
|
|
900
|
+
def order_line_creative_attach(args={})
|
|
901
|
+
path="/order/line/creative/attach"
|
|
902
|
+
request path, args
|
|
903
|
+
end
|
|
904
|
+
|
|
905
|
+
def order_line_creative_detach(args={})
|
|
906
|
+
path="/order/line/creative/detach"
|
|
907
|
+
request path, args
|
|
908
|
+
end
|
|
909
|
+
|
|
910
|
+
def order_line_site_attach(args={})
|
|
911
|
+
path="/order/line/site/attach"
|
|
912
|
+
request path, args
|
|
913
|
+
end
|
|
914
|
+
|
|
915
|
+
def order_line_site_attach_multi(args={})
|
|
916
|
+
path="/order/line/site/attach/multi"
|
|
917
|
+
request path, args
|
|
918
|
+
end
|
|
919
|
+
|
|
920
|
+
def order_line_marketplace_attach(args={})
|
|
921
|
+
path="/order/line/marketplace/attach"
|
|
922
|
+
request path, args
|
|
923
|
+
end
|
|
924
|
+
|
|
925
|
+
def order_line_marketplace_attach_multi(args={})
|
|
926
|
+
path="/order/line/marketplace/attach/multi"
|
|
927
|
+
request path, args
|
|
928
|
+
end
|
|
929
|
+
|
|
930
|
+
def order_line_site_detach(args={})
|
|
931
|
+
path="/order/line/site/detach"
|
|
932
|
+
request path, args
|
|
933
|
+
end
|
|
934
|
+
|
|
935
|
+
def order_line_site_detach_multi(args={})
|
|
936
|
+
path="/order/line/site/detach/multi"
|
|
937
|
+
request path, args
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
def order_line_targeting_set(args={})
|
|
941
|
+
path="/order/line/targeting/set"
|
|
942
|
+
request path, args
|
|
943
|
+
end
|
|
944
|
+
|
|
945
|
+
def order_line_targeting_delete(args={})
|
|
946
|
+
path="/order/line/targeting/delete"
|
|
947
|
+
request path, args
|
|
948
|
+
end
|
|
949
|
+
|
|
950
|
+
def order_line_targeting_list(args={})
|
|
951
|
+
path="/order/line/targeting/list"
|
|
952
|
+
request path, args
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
def order_line_marketplace_targeting_set(args={})
|
|
956
|
+
path="/order/line/marketplace/targeting/set"
|
|
957
|
+
request path, args
|
|
958
|
+
end
|
|
959
|
+
|
|
960
|
+
def order_line_marketplace_targeting_delete(args={})
|
|
961
|
+
path="/order/line/marketplace/targeting/delete"
|
|
962
|
+
request path, args
|
|
963
|
+
end
|
|
964
|
+
|
|
965
|
+
def order_line_marketplace_targeting_list(args={})
|
|
966
|
+
path="/order/line/marketplace/targeting/list"
|
|
967
|
+
request path, args
|
|
968
|
+
end
|
|
969
|
+
|
|
970
|
+
def order_line_frequency_set(args={})
|
|
971
|
+
path="/order/line/frequency/set"
|
|
972
|
+
request path, args
|
|
973
|
+
end
|
|
974
|
+
|
|
975
|
+
def order_line_frequency_list(args={})
|
|
976
|
+
path="/order/line/frequency/list"
|
|
977
|
+
request path, args
|
|
978
|
+
end
|
|
979
|
+
|
|
980
|
+
def order_line_frequency_delete(args={})
|
|
981
|
+
path="/order/line/frequency/delete"
|
|
982
|
+
request path, args
|
|
983
|
+
end
|
|
984
|
+
|
|
985
|
+
def order_line_template_set(args={})
|
|
986
|
+
path="/order/line/template/set"
|
|
987
|
+
request path, args
|
|
988
|
+
end
|
|
989
|
+
|
|
990
|
+
def order_line_template_list(args={})
|
|
991
|
+
path="/order/line/template/list"
|
|
992
|
+
request path, args
|
|
993
|
+
end
|
|
994
|
+
|
|
995
|
+
def order_line_template_delete(args={})
|
|
996
|
+
path="/order/line/template/delete"
|
|
997
|
+
request path, args
|
|
998
|
+
end
|
|
999
|
+
|
|
1000
|
+
def order_line_entity_tracker_disabled_set(args={})
|
|
1001
|
+
path="/order/line/entity/tracker/disabled/set"
|
|
1002
|
+
request path, args
|
|
1003
|
+
end
|
|
1004
|
+
|
|
1005
|
+
def order_line_entity_tracker_disabled_delete(args={})
|
|
1006
|
+
path="/order/line/entity/tracker/disabled/delete"
|
|
1007
|
+
request path, args
|
|
1008
|
+
end
|
|
1009
|
+
|
|
1010
|
+
def order_line_entity_tracker_disabled_list(args={})
|
|
1011
|
+
path="/order/line/entity/tracker/disabled/list"
|
|
1012
|
+
request path, args
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
def order_line_tracker_add(args={})
|
|
1016
|
+
path="/order/line/tracker/add"
|
|
1017
|
+
request path, args
|
|
1018
|
+
end
|
|
1019
|
+
|
|
1020
|
+
def order_line_tracker_edit(args={})
|
|
1021
|
+
path="/order/line/tracker/edit"
|
|
1022
|
+
request path, args
|
|
1023
|
+
end
|
|
1024
|
+
|
|
1025
|
+
def order_line_tracker_list(args={})
|
|
1026
|
+
path="/order/line/tracker/list"
|
|
1027
|
+
request path, args
|
|
1028
|
+
end
|
|
1029
|
+
|
|
1030
|
+
def order_line_tracker_delete(args={})
|
|
1031
|
+
path="/order/line/tracker/delete"
|
|
1032
|
+
request path, args
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
def advertiser_add(args={})
|
|
1036
|
+
path="/advertiser/add"
|
|
1037
|
+
request path, args
|
|
1038
|
+
end
|
|
1039
|
+
|
|
1040
|
+
def advertiser_list(args={})
|
|
1041
|
+
path="/advertiser/list"
|
|
1042
|
+
request path, args
|
|
1043
|
+
end
|
|
1044
|
+
|
|
1045
|
+
def advertiser_resolve_name(args={})
|
|
1046
|
+
path="/advertiser/resolve/name"
|
|
1047
|
+
request path, args
|
|
1048
|
+
end
|
|
1049
|
+
|
|
1050
|
+
def advertiser_resolve_name_from_creative(args={})
|
|
1051
|
+
path="/advertiser/resolve/name/from/creative"
|
|
1052
|
+
request path, args
|
|
1053
|
+
end
|
|
1054
|
+
|
|
1055
|
+
def advertiser_creative_list(args={})
|
|
1056
|
+
path="/advertiser/creative/list"
|
|
1057
|
+
request path, args
|
|
1058
|
+
end
|
|
1059
|
+
|
|
1060
|
+
def advertising_category_list(args={})
|
|
1061
|
+
path="/advertising/category/list"
|
|
1062
|
+
request path, args
|
|
1063
|
+
end
|
|
1064
|
+
|
|
1065
|
+
def advertising_category_resolve_name(args={})
|
|
1066
|
+
path="/advertising/category/resolve/name"
|
|
1067
|
+
request path, args
|
|
1068
|
+
end
|
|
1069
|
+
|
|
1070
|
+
def advertising_category_resolve_name_from_creative(args={})
|
|
1071
|
+
path="/advertising/category/resolve/name/from/creative"
|
|
1072
|
+
request path, args
|
|
1073
|
+
end
|
|
1074
|
+
|
|
1075
|
+
def advertising_category_creative_list(args={})
|
|
1076
|
+
path="/advertising/category/creative/list"
|
|
1077
|
+
request path, args
|
|
1078
|
+
end
|
|
1079
|
+
|
|
1080
|
+
def advertising_category_check_rule_access(args={})
|
|
1081
|
+
path="/advertising/category/check/rule/access"
|
|
1082
|
+
request path, args
|
|
1083
|
+
end
|
|
1084
|
+
|
|
1085
|
+
def connection_add(args={})
|
|
1086
|
+
path="/connection/add"
|
|
1087
|
+
request path, args
|
|
1088
|
+
end
|
|
1089
|
+
|
|
1090
|
+
def connection_edit(args={})
|
|
1091
|
+
path="/connection/edit"
|
|
1092
|
+
request path, args
|
|
1093
|
+
end
|
|
1094
|
+
|
|
1095
|
+
def connection_delete(args={})
|
|
1096
|
+
path="/connection/delete"
|
|
1097
|
+
request path, args
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1100
|
+
def connection_list(args={})
|
|
1101
|
+
path="/connection/list"
|
|
1102
|
+
request path, args
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1105
|
+
def connection_resolve_name(args={})
|
|
1106
|
+
path="/connection/resolve/name"
|
|
1107
|
+
request path, args
|
|
1108
|
+
end
|
|
1109
|
+
|
|
1110
|
+
def connection_set_archived(args={})
|
|
1111
|
+
path="/connection/set/archived"
|
|
1112
|
+
request path, args
|
|
1113
|
+
end
|
|
1114
|
+
|
|
1115
|
+
def connection_check_rule_access(args={})
|
|
1116
|
+
path="/connection/check/rule/access"
|
|
1117
|
+
request path, args
|
|
1118
|
+
end
|
|
1119
|
+
|
|
1120
|
+
def connection_tracker_add(args={})
|
|
1121
|
+
path="/connection/tracker/add"
|
|
1122
|
+
request path, args
|
|
1123
|
+
end
|
|
1124
|
+
|
|
1125
|
+
def connection_tracker_edit(args={})
|
|
1126
|
+
path="/connection/tracker/edit"
|
|
1127
|
+
request path, args
|
|
1128
|
+
end
|
|
1129
|
+
|
|
1130
|
+
def connection_tracker_delete(args={})
|
|
1131
|
+
path="/connection/tracker/delete"
|
|
1132
|
+
request path, args
|
|
1133
|
+
end
|
|
1134
|
+
|
|
1135
|
+
def connection_tracker_list(args={})
|
|
1136
|
+
path="/connection/tracker/list"
|
|
1137
|
+
request path, args
|
|
1138
|
+
end
|
|
1139
|
+
|
|
1140
|
+
def connection_frequency_add(args={})
|
|
1141
|
+
path="/connection/frequency/add"
|
|
1142
|
+
request path, args
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
def connection_frequency_edit(args={})
|
|
1146
|
+
path="/connection/frequency/edit"
|
|
1147
|
+
request path, args
|
|
1148
|
+
end
|
|
1149
|
+
|
|
1150
|
+
def connection_frequency_delete(args={})
|
|
1151
|
+
path="/connection/frequency/delete"
|
|
1152
|
+
request path, args
|
|
1153
|
+
end
|
|
1154
|
+
|
|
1155
|
+
def connection_frequency_list(args={})
|
|
1156
|
+
path="/connection/frequency/list"
|
|
1157
|
+
request path, args
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1160
|
+
def connection_deal_attach(args={})
|
|
1161
|
+
path="/connection/deal/attach"
|
|
1162
|
+
request path, args
|
|
1163
|
+
end
|
|
1164
|
+
|
|
1165
|
+
def connection_deal_detach(args={})
|
|
1166
|
+
path="/connection/deal/detach"
|
|
1167
|
+
request path, args
|
|
1168
|
+
end
|
|
1169
|
+
|
|
1170
|
+
def connection_deal_list(args={})
|
|
1171
|
+
path="/connection/deal/list"
|
|
1172
|
+
request path, args
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1175
|
+
def site_settings_list(args={})
|
|
1176
|
+
path="/site/settings/list"
|
|
1177
|
+
request path, args
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
def site_settings_set(args={})
|
|
1181
|
+
path="/site/settings/set"
|
|
1182
|
+
request path, args
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
def pricing_floor_rule_add(args={})
|
|
1186
|
+
path="/pricing/floor/rule/add"
|
|
1187
|
+
request path, args
|
|
1188
|
+
end
|
|
1189
|
+
|
|
1190
|
+
def pricing_floor_rule_edit(args={})
|
|
1191
|
+
path="/pricing/floor/rule/edit"
|
|
1192
|
+
request path, args
|
|
1193
|
+
end
|
|
1194
|
+
|
|
1195
|
+
def pricing_floor_rule_list(args={})
|
|
1196
|
+
path="/pricing/floor/rule/list"
|
|
1197
|
+
request path, args
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1200
|
+
def pricing_floor_rule_delete(args={})
|
|
1201
|
+
path="/pricing/floor/rule/delete"
|
|
1202
|
+
request path, args
|
|
1203
|
+
end
|
|
1204
|
+
|
|
1205
|
+
def publisher_tag_available(args={})
|
|
1206
|
+
path="/publisher/tag/available"
|
|
1207
|
+
request path, args
|
|
1208
|
+
end
|
|
1209
|
+
|
|
1210
|
+
def publisher_tag_add(args={})
|
|
1211
|
+
path="/publisher/tag/add"
|
|
1212
|
+
request path, args
|
|
1213
|
+
end
|
|
1214
|
+
|
|
1215
|
+
def publisher_tag_delete(args={})
|
|
1216
|
+
path="/publisher/tag/delete"
|
|
1217
|
+
request path, args
|
|
1218
|
+
end
|
|
1219
|
+
|
|
1220
|
+
def publisher_tag_list(args={})
|
|
1221
|
+
path="/publisher/tag/list"
|
|
1222
|
+
request path, args
|
|
1223
|
+
end
|
|
1224
|
+
|
|
1225
|
+
def publisher_tag_check_rule_access(args={})
|
|
1226
|
+
path="/publisher/tag/check/rule/access"
|
|
1227
|
+
request path, args
|
|
1228
|
+
end
|
|
1229
|
+
|
|
1230
|
+
def publisher_frequency_add(args={})
|
|
1231
|
+
path="/publisher/frequency/add"
|
|
1232
|
+
request path, args
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1235
|
+
def publisher_frequency_delete(args={})
|
|
1236
|
+
path="/publisher/frequency/delete"
|
|
1237
|
+
request path, args
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1240
|
+
def publisher_frequency_list(args={})
|
|
1241
|
+
path="/publisher/frequency/list"
|
|
1242
|
+
request path, args
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
def publisher_check_rule_access(args={})
|
|
1246
|
+
path="/publisher/check/rule/access"
|
|
1247
|
+
request path, args
|
|
1248
|
+
end
|
|
1249
|
+
|
|
1250
|
+
def allocation_add(args={})
|
|
1251
|
+
path="/allocation/add"
|
|
1252
|
+
request path, args
|
|
1253
|
+
end
|
|
1254
|
+
|
|
1255
|
+
def allocation_edit(args={})
|
|
1256
|
+
path="/allocation/edit"
|
|
1257
|
+
request path, args
|
|
1258
|
+
end
|
|
1259
|
+
|
|
1260
|
+
def allocation_delete(args={})
|
|
1261
|
+
path="/allocation/delete"
|
|
1262
|
+
request path, args
|
|
1263
|
+
end
|
|
1264
|
+
|
|
1265
|
+
def allocation_list(args={})
|
|
1266
|
+
path="/allocation/list"
|
|
1267
|
+
request path, args
|
|
1268
|
+
end
|
|
1269
|
+
|
|
1270
|
+
def allocation_duplicate(args={})
|
|
1271
|
+
path="/allocation/duplicate"
|
|
1272
|
+
request path, args
|
|
1273
|
+
end
|
|
1274
|
+
|
|
1275
|
+
def allocation_group_add(args={})
|
|
1276
|
+
path="/allocation/group/add"
|
|
1277
|
+
request path, args
|
|
1278
|
+
end
|
|
1279
|
+
|
|
1280
|
+
def allocation_group_edit(args={})
|
|
1281
|
+
path="/allocation/group/edit"
|
|
1282
|
+
request path, args
|
|
1283
|
+
end
|
|
1284
|
+
|
|
1285
|
+
def allocation_group_delete(args={})
|
|
1286
|
+
path="/allocation/group/delete"
|
|
1287
|
+
request path, args
|
|
1288
|
+
end
|
|
1289
|
+
|
|
1290
|
+
def allocation_group_list(args={})
|
|
1291
|
+
path="/allocation/group/list"
|
|
1292
|
+
request path, args
|
|
1293
|
+
end
|
|
1294
|
+
|
|
1295
|
+
def allocation_source_add(args={})
|
|
1296
|
+
path="/allocation/source/add"
|
|
1297
|
+
request path, args
|
|
1298
|
+
end
|
|
1299
|
+
|
|
1300
|
+
def allocation_source_edit(args={})
|
|
1301
|
+
path="/allocation/source/edit"
|
|
1302
|
+
request path, args
|
|
1303
|
+
end
|
|
1304
|
+
|
|
1305
|
+
def allocation_source_delete(args={})
|
|
1306
|
+
path="/allocation/source/delete"
|
|
1307
|
+
request path, args
|
|
1308
|
+
end
|
|
1309
|
+
|
|
1310
|
+
def allocation_source_list(args={})
|
|
1311
|
+
path="/allocation/source/list"
|
|
1312
|
+
request path, args
|
|
1313
|
+
end
|
|
1314
|
+
|
|
1315
|
+
def allocation_update_position(args={})
|
|
1316
|
+
path="/allocation/update/position"
|
|
1317
|
+
request path, args
|
|
1318
|
+
end
|
|
1319
|
+
|
|
1320
|
+
def allocation_resolve_name(args={})
|
|
1321
|
+
path="/allocation/resolve/name"
|
|
1322
|
+
request path, args
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1325
|
+
def allocation_set_archived(args={})
|
|
1326
|
+
path="/allocation/set/archived"
|
|
1327
|
+
request path, args
|
|
1328
|
+
end
|
|
1329
|
+
|
|
1330
|
+
def reports_portfolio_add(args={})
|
|
1331
|
+
path="/reports/portfolio/add"
|
|
1332
|
+
request path, args
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1335
|
+
def reports_portfolio_edit(args={})
|
|
1336
|
+
path="/reports/portfolio/edit"
|
|
1337
|
+
request path, args
|
|
1338
|
+
end
|
|
1339
|
+
|
|
1340
|
+
def reports_portfolio_delete(args={})
|
|
1341
|
+
path="/reports/portfolio/delete"
|
|
1342
|
+
request path, args
|
|
1343
|
+
end
|
|
1344
|
+
|
|
1345
|
+
def reports_portfolio_list(args={})
|
|
1346
|
+
path="/reports/portfolio/list"
|
|
1347
|
+
request path, args
|
|
1348
|
+
end
|
|
1349
|
+
|
|
1350
|
+
def reports_portfolio_schedule_add(args={})
|
|
1351
|
+
path="/reports/portfolio/schedule/add"
|
|
1352
|
+
request path, args
|
|
1353
|
+
end
|
|
1354
|
+
|
|
1355
|
+
def reports_portfolio_schedule_edit(args={})
|
|
1356
|
+
path="/reports/portfolio/schedule/edit"
|
|
1357
|
+
request path, args
|
|
1358
|
+
end
|
|
1359
|
+
|
|
1360
|
+
def reports_portfolio_schedule_delete(args={})
|
|
1361
|
+
path="/reports/portfolio/schedule/delete"
|
|
1362
|
+
request path, args
|
|
1363
|
+
end
|
|
1364
|
+
|
|
1365
|
+
def reports_portfolio_schedule_list(args={})
|
|
1366
|
+
path="/reports/portfolio/schedule/list"
|
|
1367
|
+
request path, args
|
|
1368
|
+
end
|
|
1369
|
+
|
|
1370
|
+
def custom_macro_list(args={})
|
|
1371
|
+
path="/custom/macro/list"
|
|
1372
|
+
request path, args
|
|
1373
|
+
end
|
|
1374
|
+
|
|
1375
|
+
def custom_macro_add(args={})
|
|
1376
|
+
path="/custom/macro/add"
|
|
1377
|
+
request path, args
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
def custom_macro_edit(args={})
|
|
1381
|
+
path="/custom/macro/edit"
|
|
1382
|
+
request path, args
|
|
1383
|
+
end
|
|
1384
|
+
|
|
1385
|
+
def custom_macro_delete(args={})
|
|
1386
|
+
path="/custom/macro/delete"
|
|
1387
|
+
request path, args
|
|
1388
|
+
end
|
|
1389
|
+
|
|
1390
|
+
def custom_macro_attach(args={})
|
|
1391
|
+
path="/custom/macro/attach"
|
|
1392
|
+
request path, args
|
|
1393
|
+
end
|
|
1394
|
+
|
|
1395
|
+
def custom_macro_detach(args={})
|
|
1396
|
+
path="/custom/macro/detach"
|
|
1397
|
+
request path, args
|
|
1398
|
+
end
|
|
1399
|
+
|
|
1400
|
+
def custom_macro_edit_attach(args={})
|
|
1401
|
+
path="/custom/macro/edit/attach"
|
|
1402
|
+
request path, args
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1405
|
+
def location_list(args={})
|
|
1406
|
+
path="/location/list"
|
|
1407
|
+
request path, args
|
|
1408
|
+
end
|
|
1409
|
+
|
|
1410
|
+
def location_check_rule_access(args={})
|
|
1411
|
+
path="/location/check/rule/access"
|
|
1412
|
+
request path, args
|
|
1413
|
+
end
|
|
1414
|
+
|
|
1415
|
+
def location_list_add(args={})
|
|
1416
|
+
path="/location-list/add"
|
|
1417
|
+
request path, args
|
|
1418
|
+
end
|
|
1419
|
+
|
|
1420
|
+
def location_list_edit(args={})
|
|
1421
|
+
path="/location-list/edit"
|
|
1422
|
+
request path, args
|
|
1423
|
+
end
|
|
1424
|
+
|
|
1425
|
+
def location_list_delete(args={})
|
|
1426
|
+
path="/location-list/delete"
|
|
1427
|
+
request path, args
|
|
1428
|
+
end
|
|
1429
|
+
|
|
1430
|
+
def location_list_list(args={})
|
|
1431
|
+
path="/location-list/list"
|
|
1432
|
+
request path, args
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1435
|
+
def location_list_resolve_name(args={})
|
|
1436
|
+
path="/location-list/resolve/name"
|
|
1437
|
+
request path, args
|
|
1438
|
+
end
|
|
1439
|
+
|
|
1440
|
+
def location_list_check_rule_access(args={})
|
|
1441
|
+
path="/location-list/check/rule/access"
|
|
1442
|
+
request path, args
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1445
|
+
def location_list_location_add(args={})
|
|
1446
|
+
path="/location-list/location/add"
|
|
1447
|
+
request path, args
|
|
1448
|
+
end
|
|
1449
|
+
|
|
1450
|
+
def location_list_location_delete(args={})
|
|
1451
|
+
path="/location-list/location/delete"
|
|
1452
|
+
request path, args
|
|
1453
|
+
end
|
|
1454
|
+
|
|
1455
|
+
def location_list_location_list(args={})
|
|
1456
|
+
path="/location-list/location/list"
|
|
1457
|
+
request path, args
|
|
1458
|
+
end
|
|
1459
|
+
|
|
1460
|
+
def statistics(args={})
|
|
1461
|
+
path="/statistics"
|
|
1462
|
+
request path, args
|
|
1463
|
+
end
|
|
1464
|
+
|
|
1465
|
+
def statistics_aggregated(args={})
|
|
1466
|
+
path="/statistics/aggregated"
|
|
1467
|
+
request path, args
|
|
1468
|
+
end
|
|
1469
|
+
|
|
1470
|
+
def summary_domain_list(args={})
|
|
1471
|
+
path="/summary/domain/list"
|
|
1472
|
+
request path, args
|
|
1473
|
+
end
|
|
1474
|
+
|
|
1475
|
+
def summary_fingerprint_list(args={})
|
|
1476
|
+
path="/summary/fingerprint/list"
|
|
1477
|
+
request path, args
|
|
1478
|
+
end
|
|
1479
|
+
|
|
1480
|
+
def summary_media_list(args={})
|
|
1481
|
+
path="/summary/media/list"
|
|
1482
|
+
request path, args
|
|
1483
|
+
end
|
|
1484
|
+
|
|
1485
|
+
def summary_partner_list(args={})
|
|
1486
|
+
path="/summary/partner/list"
|
|
1487
|
+
request path, args
|
|
1488
|
+
end
|
|
1489
|
+
|
|
1490
|
+
def summary_tag_list(args={})
|
|
1491
|
+
path="/summary/tag/list"
|
|
1492
|
+
request path, args
|
|
1493
|
+
end
|
|
1494
|
+
|
|
1495
|
+
def summary_vertical_list(args={})
|
|
1496
|
+
path="/summary/vertical/list"
|
|
1497
|
+
request path, args
|
|
1498
|
+
end
|
|
1499
|
+
|
|
1500
|
+
def summary_order_list(args={})
|
|
1501
|
+
path="/summary/order/list"
|
|
1502
|
+
request path, args
|
|
1503
|
+
end
|
|
1504
|
+
|
|
1505
|
+
def summary_order_line_list(args={})
|
|
1506
|
+
path="/summary/order/line/list"
|
|
1507
|
+
request path, args
|
|
1508
|
+
end
|
|
1509
|
+
|
|
1510
|
+
def summary_creative_list(args={})
|
|
1511
|
+
path="/summary/creative/list"
|
|
1512
|
+
request path, args
|
|
1513
|
+
end
|
|
1514
|
+
|
|
1515
|
+
def summary_creative_campaign_list(args={})
|
|
1516
|
+
path="/summary/creative/campaign/list"
|
|
1517
|
+
request path, args
|
|
1518
|
+
end
|
|
1519
|
+
|
|
1520
|
+
def summary_mobile_carrier_list(args={})
|
|
1521
|
+
path="/summary/mobile/carrier/list"
|
|
1522
|
+
request path, args
|
|
1523
|
+
end
|
|
1524
|
+
|
|
1525
|
+
def summary_mobile_make_list(args={})
|
|
1526
|
+
path="/summary/mobile/make/list"
|
|
1527
|
+
request path, args
|
|
1528
|
+
end
|
|
1529
|
+
|
|
1530
|
+
def site_list_add(args={})
|
|
1531
|
+
path="/site-list/add"
|
|
1532
|
+
request path, args
|
|
1533
|
+
end
|
|
1534
|
+
|
|
1535
|
+
def site_list_edit(args={})
|
|
1536
|
+
path="/site-list/edit"
|
|
1537
|
+
request path, args
|
|
1538
|
+
end
|
|
1539
|
+
|
|
1540
|
+
def site_list_delete(args={})
|
|
1541
|
+
path="/site-list/delete"
|
|
1542
|
+
request path, args
|
|
1543
|
+
end
|
|
1544
|
+
|
|
1545
|
+
def site_list_list(args={})
|
|
1546
|
+
path="/site-list/list"
|
|
1547
|
+
request path, args
|
|
1548
|
+
end
|
|
1549
|
+
|
|
1550
|
+
def site_list_site_add(args={})
|
|
1551
|
+
path="/site-list/site/add"
|
|
1552
|
+
request path, args
|
|
1553
|
+
end
|
|
1554
|
+
|
|
1555
|
+
def site_list_site_delete(args={})
|
|
1556
|
+
path="/site-list/site/delete"
|
|
1557
|
+
request path, args
|
|
1558
|
+
end
|
|
1559
|
+
|
|
1560
|
+
def site_list_site_list(args={})
|
|
1561
|
+
path="/site-list/site/list"
|
|
1562
|
+
request path, args
|
|
1563
|
+
end
|
|
1564
|
+
|
|
1565
|
+
def site_list_check_rule_access(args={})
|
|
1566
|
+
path="/site-list/check/rule/access"
|
|
1567
|
+
request path, args
|
|
1568
|
+
end
|
|
1569
|
+
|
|
1570
|
+
def site_list_resolve_name(args={})
|
|
1571
|
+
path="/site-list/resolve/name"
|
|
1572
|
+
request path, args
|
|
1573
|
+
end
|
|
1574
|
+
|
|
1575
|
+
def comscore_target_list(args={})
|
|
1576
|
+
path="/comscore/target/list"
|
|
1577
|
+
request path, args
|
|
1578
|
+
end
|
|
1579
|
+
|
|
1580
|
+
def comscore_domain_list(args={})
|
|
1581
|
+
path="/comscore/domain/list"
|
|
1582
|
+
request path, args
|
|
1583
|
+
end
|
|
1584
|
+
|
|
1585
|
+
def viewable_check_rule_access(args={})
|
|
1586
|
+
path="/viewable/check/rule/access"
|
|
1587
|
+
request path, args
|
|
1588
|
+
end
|
|
1589
|
+
|
|
1590
|
+
def nielsen_demographic_list(args={})
|
|
1591
|
+
path="/nielsen/demographic/list"
|
|
1592
|
+
request path, args
|
|
1593
|
+
end
|
|
1594
|
+
|
|
1595
|
+
def nielsen_campaign_placement_exposure_list(args={})
|
|
1596
|
+
path="/nielsen/campaign/placement/exposure/list"
|
|
1597
|
+
request path, args
|
|
1598
|
+
end
|
|
1599
|
+
|
|
1600
|
+
def nielsen_ocr_campaign_list(args={})
|
|
1601
|
+
path="/nielsen/ocr/campaign/list"
|
|
1602
|
+
request path, args
|
|
1603
|
+
end
|
|
1604
|
+
|
|
1605
|
+
def contextual_segments_get(args={})
|
|
1606
|
+
path="/contextual/segments/get"
|
|
1607
|
+
request path, args
|
|
1608
|
+
end
|
|
1609
|
+
|
|
1610
|
+
def contextual_segments_resolve_name(args={})
|
|
1611
|
+
path="/contextual/segments/resolve/name"
|
|
1612
|
+
request path, args
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1615
|
+
def contextual_segment_check_rule_access(args={})
|
|
1616
|
+
path="/contextual/segment/check/rule/access"
|
|
1617
|
+
request path, args
|
|
1618
|
+
end
|
|
1619
|
+
|
|
1620
|
+
def qc_advertiser_list(args={})
|
|
1621
|
+
path="/qc/advertiser/list"
|
|
1622
|
+
request path, args
|
|
1623
|
+
end
|
|
1624
|
+
|
|
1625
|
+
def qc_advertiser_check_rule_access(args={})
|
|
1626
|
+
path="/qc/advertiser/check/rule/access"
|
|
1627
|
+
request path, args
|
|
1628
|
+
end
|
|
1629
|
+
|
|
1630
|
+
def qc_advertiser_resolve_name(args={})
|
|
1631
|
+
path="/qc/advertiser/resolve/name"
|
|
1632
|
+
request path, args
|
|
1633
|
+
end
|
|
1634
|
+
|
|
1635
|
+
def deal_add(args={})
|
|
1636
|
+
path="/deal/add"
|
|
1637
|
+
request path, args
|
|
1638
|
+
end
|
|
1639
|
+
|
|
1640
|
+
def deal_edit(args={})
|
|
1641
|
+
path="/deal/edit"
|
|
1642
|
+
request path, args
|
|
1643
|
+
end
|
|
1644
|
+
|
|
1645
|
+
def deal_list(args={})
|
|
1646
|
+
path="/deal/list"
|
|
1647
|
+
request path, args
|
|
1648
|
+
end
|
|
1649
|
+
|
|
1650
|
+
def deal_delete(args={})
|
|
1651
|
+
path="/deal/delete"
|
|
1652
|
+
request path, args
|
|
1653
|
+
end
|
|
1654
|
+
|
|
1655
|
+
def deal_resolve_name(args={})
|
|
1656
|
+
path="/deal/resolve/name"
|
|
1657
|
+
request path, args
|
|
1658
|
+
end
|
|
1659
|
+
|
|
1660
|
+
def deal_check_rule_access(args={})
|
|
1661
|
+
path="/deal/check/rule/access"
|
|
1662
|
+
request path, args
|
|
1663
|
+
end
|
|
1664
|
+
|
|
1665
|
+
def blocklist_add(args={})
|
|
1666
|
+
path="/blocklist/add"
|
|
1667
|
+
request path, args
|
|
1668
|
+
end
|
|
1669
|
+
|
|
1670
|
+
def blocklist_edit(args={})
|
|
1671
|
+
path="/blocklist/edit"
|
|
1672
|
+
request path, args
|
|
1673
|
+
end
|
|
1674
|
+
|
|
1675
|
+
def blocklist_list(args={})
|
|
1676
|
+
path="/blocklist/list"
|
|
1677
|
+
request path, args
|
|
1678
|
+
end
|
|
1679
|
+
|
|
1680
|
+
def blocklist_delete(args={})
|
|
1681
|
+
path="/blocklist/delete"
|
|
1682
|
+
request path, args
|
|
1683
|
+
end
|
|
1684
|
+
|
|
1685
|
+
def blocklist_advertiser_add(args={})
|
|
1686
|
+
path="/blocklist/advertiser/add"
|
|
1687
|
+
request path, args
|
|
1688
|
+
end
|
|
1689
|
+
|
|
1690
|
+
def blocklist_advertiser_delete(args={})
|
|
1691
|
+
path="/blocklist/advertiser/delete"
|
|
1692
|
+
request path, args
|
|
1693
|
+
end
|
|
1694
|
+
|
|
1695
|
+
def blocklist_advertiser_list(args={})
|
|
1696
|
+
path="/blocklist/advertiser/list"
|
|
1697
|
+
request path, args
|
|
1698
|
+
end
|
|
1699
|
+
|
|
1700
|
+
def blocklist_category_add(args={})
|
|
1701
|
+
path="/blocklist/category/add"
|
|
1702
|
+
request path, args
|
|
1703
|
+
end
|
|
1704
|
+
|
|
1705
|
+
def blocklist_category_delete(args={})
|
|
1706
|
+
path="/blocklist/category/delete"
|
|
1707
|
+
request path, args
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1710
|
+
def blocklist_category_list(args={})
|
|
1711
|
+
path="/blocklist/category/list"
|
|
1712
|
+
request path, args
|
|
1713
|
+
end
|
|
1714
|
+
|
|
1715
|
+
def mobile_connection_type_check_rule_access(args={})
|
|
1716
|
+
path="/mobile/connection/type/check/rule/access"
|
|
1717
|
+
request path, args
|
|
1718
|
+
end
|
|
1719
|
+
|
|
1720
|
+
def mobile_carrier_check_rule_access(args={})
|
|
1721
|
+
path="/mobile/carrier/check/rule/access"
|
|
1722
|
+
request path, args
|
|
1723
|
+
end
|
|
1724
|
+
|
|
1725
|
+
def mobile_make_check_rule_access(args={})
|
|
1726
|
+
path="/mobile/make/check/rule/access"
|
|
1727
|
+
request path, args
|
|
1728
|
+
end
|
|
1729
|
+
|
|
1730
|
+
def set_entity(args={})
|
|
1731
|
+
path="/set/entity"
|
|
1732
|
+
request path, args
|
|
1733
|
+
end
|
|
1734
|
+
|
|
1735
|
+
def unset_entity(args={})
|
|
1736
|
+
path="/unset/entity"
|
|
1737
|
+
request path, args
|
|
1738
|
+
end
|
|
1739
|
+
|
|
1740
|
+
def entity_list (args={})
|
|
1741
|
+
path ="/entity/list"
|
|
1742
|
+
response = request path, args
|
|
1743
|
+
end
|
|
1744
|
+
|
|
1745
|
+
def login
|
|
1746
|
+
path="/login/"
|
|
1747
|
+
password = Digest::MD5.hexdigest(@password)
|
|
1748
|
+
response = request path, { username:@username,
|
|
1749
|
+
password:password
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
if(response['liverailapi']['status'] == 'success')
|
|
1753
|
+
@auth_token = response['liverailapi']['auth']['token']
|
|
1754
|
+
end
|
|
1755
|
+
|
|
1756
|
+
response
|
|
1757
|
+
end
|
|
1758
|
+
|
|
1759
|
+
def logout(args={})
|
|
1760
|
+
path="/logout"
|
|
1761
|
+
request path, args
|
|
1762
|
+
end
|
|
1763
|
+
|
|
1764
|
+
def credentials(username, password)
|
|
1765
|
+
@username = username
|
|
1766
|
+
@password = password
|
|
1767
|
+
end
|
|
1768
|
+
|
|
1769
|
+
def config(args)
|
|
1770
|
+
@env = args[:env] || 'development'
|
|
1771
|
+
end
|
|
1772
|
+
|
|
1773
|
+
private
|
|
1774
|
+
|
|
1775
|
+
def request(path, body)
|
|
1776
|
+
|
|
1777
|
+
body[:token] = @auth_token if @auth_token
|
|
1778
|
+
resource = RestClient::Resource.new @url
|
|
1779
|
+
response = resource[path].post body.to_query
|
|
1780
|
+
|
|
1781
|
+
p response
|
|
1782
|
+
|
|
1783
|
+
response = Crack::XML.parse(response)
|
|
1784
|
+
response = JSON.parse(response.to_json)
|
|
1785
|
+
|
|
1786
|
+
if response['liverailapi']['status'] == "fail" && (['6', '2', '5', '15'].include? response['liverailapi']['error'][0] ? response['liverailapi']['error'][0]['code'] : response['liverailapi']['error']['code'])
|
|
1787
|
+
response = login
|
|
1788
|
+
if response['liverailapi']['status'] == "success" && path != "/login/"
|
|
1789
|
+
response = request path, body.to_query
|
|
1790
|
+
end
|
|
1791
|
+
end
|
|
1792
|
+
|
|
1793
|
+
response
|
|
1794
|
+
end
|
|
1795
|
+
end
|