criteo-api-marketingsolutions-sdk 2025.4.0.250730__py3-none-any.whl → 2025.4.0.260112__py3-none-any.whl

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.
Files changed (21) hide show
  1. {criteo_api_marketingsolutions_sdk-2025.4.0.250730.dist-info → criteo_api_marketingsolutions_sdk-2025.4.0.260112.dist-info}/METADATA +3 -3
  2. {criteo_api_marketingsolutions_sdk-2025.4.0.250730.dist-info → criteo_api_marketingsolutions_sdk-2025.4.0.260112.dist-info}/RECORD +21 -20
  3. criteo_api_marketingsolutions_v2025_04/__init__.py +1 -1
  4. criteo_api_marketingsolutions_v2025_04/api/advertiser_api.py +7 -9
  5. criteo_api_marketingsolutions_v2025_04/api/analytics_api.py +12 -25
  6. criteo_api_marketingsolutions_v2025_04/api/audience_api.py +542 -609
  7. criteo_api_marketingsolutions_v2025_04/api/campaign_api.py +147 -210
  8. criteo_api_marketingsolutions_v2025_04/api/creative_api.py +22 -63
  9. criteo_api_marketingsolutions_v2025_04/api_client.py +4 -4
  10. criteo_api_marketingsolutions_v2025_04/configuration.py +1 -1
  11. criteo_api_marketingsolutions_v2025_04/model/adaptive_colors.py +1 -1
  12. criteo_api_marketingsolutions_v2025_04/model/adaptive_read_attributes.py +330 -0
  13. criteo_api_marketingsolutions_v2025_04/model/{outcome.py → creative_read.py} +78 -19
  14. criteo_api_marketingsolutions_v2025_04/model/placements_report_query_message.py +12 -8
  15. criteo_api_marketingsolutions_v2025_04/model/{resource_collection_outcome_of_creative.py → resource_collection_outcome_of_creative_read.py} +8 -8
  16. criteo_api_marketingsolutions_v2025_04/model/{error_code_response.py → resource_of_creative_read.py} +19 -23
  17. criteo_api_marketingsolutions_v2025_04/model/statistics_report_query_message.py +248 -8
  18. criteo_api_marketingsolutions_v2025_04/model/transactions_report_query_message.py +12 -8
  19. criteo_api_marketingsolutions_v2025_04/models/__init__.py +4 -3
  20. {criteo_api_marketingsolutions_sdk-2025.4.0.250730.dist-info → criteo_api_marketingsolutions_sdk-2025.4.0.260112.dist-info}/WHEEL +0 -0
  21. {criteo_api_marketingsolutions_sdk-2025.4.0.250730.dist-info → criteo_api_marketingsolutions_sdk-2025.4.0.260112.dist-info}/top_level.txt +0 -0
@@ -56,7 +56,7 @@ class CampaignApi(object):
56
56
  if api_client is None:
57
57
  api_client = ApiClient()
58
58
  self.api_client = api_client
59
- self.create_ad_set_v24_q3_endpoint = _Endpoint(
59
+ self.create_ad_set_endpoint = _Endpoint(
60
60
  settings={
61
61
  'response_type': (ResponseReadAdSetV24Q3,),
62
62
  'auth': [
@@ -64,7 +64,7 @@ class CampaignApi(object):
64
64
  'oauth'
65
65
  ],
66
66
  'endpoint_path': '/2025-04/marketing-solutions/ad-sets',
67
- 'operation_id': 'create_ad_set_v24_q3',
67
+ 'operation_id': 'create_ad_set',
68
68
  'http_method': 'POST',
69
69
  'servers': None,
70
70
  },
@@ -101,15 +101,10 @@ class CampaignApi(object):
101
101
  },
102
102
  headers_map={
103
103
  'accept': [
104
- 'text/plain',
105
- 'application/json',
106
- 'text/json'
104
+ 'application/json'
107
105
  ],
108
106
  'content_type': [
109
- 'application/json-patch+json',
110
- 'application/json',
111
- 'text/json',
112
- 'application/*+json'
107
+ 'application/json'
113
108
  ]
114
109
  },
115
110
  api_client=api_client
@@ -159,20 +154,15 @@ class CampaignApi(object):
159
154
  },
160
155
  headers_map={
161
156
  'accept': [
162
- 'text/plain',
163
- 'application/json',
164
- 'text/json'
157
+ 'application/json'
165
158
  ],
166
159
  'content_type': [
167
- 'application/json-patch+json',
168
- 'application/json',
169
- 'text/json',
170
- 'application/*+json'
160
+ 'application/json'
171
161
  ]
172
162
  },
173
163
  api_client=api_client
174
164
  )
175
- self.get_ad_set_v24_q3_endpoint = _Endpoint(
165
+ self.get_ad_set_endpoint = _Endpoint(
176
166
  settings={
177
167
  'response_type': (ResponseReadAdSetV24Q3,),
178
168
  'auth': [
@@ -180,7 +170,7 @@ class CampaignApi(object):
180
170
  'oauth'
181
171
  ],
182
172
  'endpoint_path': '/2025-04/marketing-solutions/ad-sets/{ad-set-id}',
183
- 'operation_id': 'get_ad_set_v24_q3',
173
+ 'operation_id': 'get_ad_set',
184
174
  'http_method': 'GET',
185
175
  'servers': None,
186
176
  },
@@ -218,32 +208,30 @@ class CampaignApi(object):
218
208
  },
219
209
  headers_map={
220
210
  'accept': [
221
- 'text/plain',
222
- 'application/json',
223
- 'text/json'
211
+ 'application/json'
224
212
  ],
225
213
  'content_type': [],
226
214
  },
227
215
  api_client=api_client
228
216
  )
229
- self.get_campaign_v23_q1_endpoint = _Endpoint(
217
+ self.get_ad_set_category_bids_endpoint = _Endpoint(
230
218
  settings={
231
- 'response_type': (CampaignV23Q1Response,),
219
+ 'response_type': (AdSetCategoryBidListResponse,),
232
220
  'auth': [
233
221
  'oauth',
234
222
  'oauth'
235
223
  ],
236
- 'endpoint_path': '/2025-04/marketing-solutions/campaigns/{campaign-id}',
237
- 'operation_id': 'get_campaign_v23_q1',
224
+ 'endpoint_path': '/2025-04/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
225
+ 'operation_id': 'get_ad_set_category_bids',
238
226
  'http_method': 'GET',
239
227
  'servers': None,
240
228
  },
241
229
  params_map={
242
230
  'all': [
243
- 'campaign_id',
231
+ 'ad_set_id',
244
232
  ],
245
233
  'required': [
246
- 'campaign_id',
234
+ 'ad_set_id',
247
235
  ],
248
236
  'nullable': [
249
237
  ],
@@ -258,46 +246,44 @@ class CampaignApi(object):
258
246
  'allowed_values': {
259
247
  },
260
248
  'openapi_types': {
261
- 'campaign_id':
249
+ 'ad_set_id':
262
250
  (str,),
263
251
  },
264
252
  'attribute_map': {
265
- 'campaign_id': 'campaign-id',
253
+ 'ad_set_id': 'ad-set-id',
266
254
  },
267
255
  'location_map': {
268
- 'campaign_id': 'path',
256
+ 'ad_set_id': 'path',
269
257
  },
270
258
  'collection_format_map': {
271
259
  }
272
260
  },
273
261
  headers_map={
274
262
  'accept': [
275
- 'text/plain',
276
- 'application/json',
277
- 'text/json'
263
+ 'application/json'
278
264
  ],
279
265
  'content_type': [],
280
266
  },
281
267
  api_client=api_client
282
268
  )
283
- self.get_category_bid_list_endpoint = _Endpoint(
269
+ self.get_campaign_endpoint = _Endpoint(
284
270
  settings={
285
- 'response_type': (AdSetCategoryBidListResponse,),
271
+ 'response_type': (CampaignV23Q1Response,),
286
272
  'auth': [
287
273
  'oauth',
288
274
  'oauth'
289
275
  ],
290
- 'endpoint_path': '/2025-04/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
291
- 'operation_id': 'get_category_bid_list',
276
+ 'endpoint_path': '/2025-04/marketing-solutions/campaigns/{campaign-id}',
277
+ 'operation_id': 'get_campaign',
292
278
  'http_method': 'GET',
293
279
  'servers': None,
294
280
  },
295
281
  params_map={
296
282
  'all': [
297
- 'ad_set_id',
283
+ 'campaign_id',
298
284
  ],
299
285
  'required': [
300
- 'ad_set_id',
286
+ 'campaign_id',
301
287
  ],
302
288
  'nullable': [
303
289
  ],
@@ -312,23 +298,21 @@ class CampaignApi(object):
312
298
  'allowed_values': {
313
299
  },
314
300
  'openapi_types': {
315
- 'ad_set_id':
301
+ 'campaign_id':
316
302
  (str,),
317
303
  },
318
304
  'attribute_map': {
319
- 'ad_set_id': 'ad-set-id',
305
+ 'campaign_id': 'campaign-id',
320
306
  },
321
307
  'location_map': {
322
- 'ad_set_id': 'path',
308
+ 'campaign_id': 'path',
323
309
  },
324
310
  'collection_format_map': {
325
311
  }
326
312
  },
327
313
  headers_map={
328
314
  'accept': [
329
- 'text/plain',
330
- 'application/json',
331
- 'text/json'
315
+ 'application/json'
332
316
  ],
333
317
  'content_type': [],
334
318
  },
@@ -380,31 +364,32 @@ class CampaignApi(object):
380
364
  },
381
365
  headers_map={
382
366
  'accept': [
383
- 'text/plain',
384
- 'application/json',
385
- 'text/json'
367
+ 'application/json'
386
368
  ],
387
369
  'content_type': [],
388
370
  },
389
371
  api_client=api_client
390
372
  )
391
- self.patch_ad_sets_v24_q3_endpoint = _Endpoint(
373
+ self.patch_ad_set_category_bids_endpoint = _Endpoint(
392
374
  settings={
393
- 'response_type': (ResponsesAdSetIdV24Q3,),
375
+ 'response_type': (PatchAdSetCategoryBidResultListResponse,),
394
376
  'auth': [
395
377
  'oauth',
396
378
  'oauth'
397
379
  ],
398
- 'endpoint_path': '/2025-04/marketing-solutions/ad-sets',
399
- 'operation_id': 'patch_ad_sets_v24_q3',
380
+ 'endpoint_path': '/2025-04/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
381
+ 'operation_id': 'patch_ad_set_category_bids',
400
382
  'http_method': 'PATCH',
401
383
  'servers': None,
402
384
  },
403
385
  params_map={
404
386
  'all': [
405
- 'requests_patch_ad_set_v24_q3',
387
+ 'ad_set_id',
388
+ 'patch_ad_set_category_bid_list_request',
389
+ ],
390
+ 'required': [
391
+ 'ad_set_id',
406
392
  ],
407
- 'required': [],
408
393
  'nullable': [
409
394
  ],
410
395
  'enum': [
@@ -418,47 +403,46 @@ class CampaignApi(object):
418
403
  'allowed_values': {
419
404
  },
420
405
  'openapi_types': {
421
- 'requests_patch_ad_set_v24_q3':
422
- (RequestsPatchAdSetV24Q3,),
406
+ 'ad_set_id':
407
+ (str,),
408
+ 'patch_ad_set_category_bid_list_request':
409
+ (PatchAdSetCategoryBidListRequest,),
423
410
  },
424
411
  'attribute_map': {
412
+ 'ad_set_id': 'ad-set-id',
425
413
  },
426
414
  'location_map': {
427
- 'requests_patch_ad_set_v24_q3': 'body',
415
+ 'ad_set_id': 'path',
416
+ 'patch_ad_set_category_bid_list_request': 'body',
428
417
  },
429
418
  'collection_format_map': {
430
419
  }
431
420
  },
432
421
  headers_map={
433
422
  'accept': [
434
- 'text/plain',
435
- 'application/json',
436
- 'text/json'
423
+ 'application/json'
437
424
  ],
438
425
  'content_type': [
439
- 'application/json-patch+json',
440
- 'application/json',
441
- 'text/json',
442
- 'application/*+json'
426
+ 'application/json'
443
427
  ]
444
428
  },
445
429
  api_client=api_client
446
430
  )
447
- self.patch_campaigns_endpoint = _Endpoint(
431
+ self.patch_ad_sets_endpoint = _Endpoint(
448
432
  settings={
449
- 'response_type': (PatchResultCampaignListResponse,),
433
+ 'response_type': (ResponsesAdSetIdV24Q3,),
450
434
  'auth': [
451
435
  'oauth',
452
436
  'oauth'
453
437
  ],
454
- 'endpoint_path': '/2025-04/marketing-solutions/campaigns',
455
- 'operation_id': 'patch_campaigns',
438
+ 'endpoint_path': '/2025-04/marketing-solutions/ad-sets',
439
+ 'operation_id': 'patch_ad_sets',
456
440
  'http_method': 'PATCH',
457
441
  'servers': None,
458
442
  },
459
443
  params_map={
460
444
  'all': [
461
- 'patch_campaign_list_request',
445
+ 'requests_patch_ad_set_v24_q3',
462
446
  ],
463
447
  'required': [],
464
448
  'nullable': [
@@ -474,52 +458,44 @@ class CampaignApi(object):
474
458
  'allowed_values': {
475
459
  },
476
460
  'openapi_types': {
477
- 'patch_campaign_list_request':
478
- (PatchCampaignListRequest,),
461
+ 'requests_patch_ad_set_v24_q3':
462
+ (RequestsPatchAdSetV24Q3,),
479
463
  },
480
464
  'attribute_map': {
481
465
  },
482
466
  'location_map': {
483
- 'patch_campaign_list_request': 'body',
467
+ 'requests_patch_ad_set_v24_q3': 'body',
484
468
  },
485
469
  'collection_format_map': {
486
470
  }
487
471
  },
488
472
  headers_map={
489
473
  'accept': [
490
- 'text/plain',
491
- 'application/json',
492
- 'text/json'
474
+ 'application/json'
493
475
  ],
494
476
  'content_type': [
495
- 'application/json-patch+json',
496
- 'application/json',
497
- 'text/json',
498
- 'application/*+json'
477
+ 'application/json'
499
478
  ]
500
479
  },
501
480
  api_client=api_client
502
481
  )
503
- self.patch_category_bid_list_endpoint = _Endpoint(
482
+ self.patch_campaigns_endpoint = _Endpoint(
504
483
  settings={
505
- 'response_type': (PatchAdSetCategoryBidResultListResponse,),
484
+ 'response_type': (PatchResultCampaignListResponse,),
506
485
  'auth': [
507
486
  'oauth',
508
487
  'oauth'
509
488
  ],
510
- 'endpoint_path': '/2025-04/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
511
- 'operation_id': 'patch_category_bid_list',
489
+ 'endpoint_path': '/2025-04/marketing-solutions/campaigns',
490
+ 'operation_id': 'patch_campaigns',
512
491
  'http_method': 'PATCH',
513
492
  'servers': None,
514
493
  },
515
494
  params_map={
516
495
  'all': [
517
- 'ad_set_id',
518
- 'patch_ad_set_category_bid_list_request',
519
- ],
520
- 'required': [
521
- 'ad_set_id',
496
+ 'patch_campaign_list_request',
522
497
  ],
498
+ 'required': [],
523
499
  'nullable': [
524
500
  ],
525
501
  'enum': [
@@ -533,32 +509,23 @@ class CampaignApi(object):
533
509
  'allowed_values': {
534
510
  },
535
511
  'openapi_types': {
536
- 'ad_set_id':
537
- (str,),
538
- 'patch_ad_set_category_bid_list_request':
539
- (PatchAdSetCategoryBidListRequest,),
512
+ 'patch_campaign_list_request':
513
+ (PatchCampaignListRequest,),
540
514
  },
541
515
  'attribute_map': {
542
- 'ad_set_id': 'ad-set-id',
543
516
  },
544
517
  'location_map': {
545
- 'ad_set_id': 'path',
546
- 'patch_ad_set_category_bid_list_request': 'body',
518
+ 'patch_campaign_list_request': 'body',
547
519
  },
548
520
  'collection_format_map': {
549
521
  }
550
522
  },
551
523
  headers_map={
552
524
  'accept': [
553
- 'text/plain',
554
- 'application/json',
555
- 'text/json'
525
+ 'application/json'
556
526
  ],
557
527
  'content_type': [
558
- 'application/json-patch+json',
559
- 'application/json',
560
- 'text/json',
561
- 'application/*+json'
528
+ 'application/json'
562
529
  ]
563
530
  },
564
531
  api_client=api_client
@@ -613,20 +580,15 @@ class CampaignApi(object):
613
580
  },
614
581
  headers_map={
615
582
  'accept': [
616
- 'text/plain',
617
- 'application/json',
618
- 'text/json'
583
+ 'application/json'
619
584
  ],
620
585
  'content_type': [
621
- 'application/json-patch+json',
622
- 'application/json',
623
- 'text/json',
624
- 'application/*+json'
586
+ 'application/json'
625
587
  ]
626
588
  },
627
589
  api_client=api_client
628
590
  )
629
- self.search_ad_sets_v24_q3_endpoint = _Endpoint(
591
+ self.search_ad_sets_endpoint = _Endpoint(
630
592
  settings={
631
593
  'response_type': (ResponsesReadAdSetV24Q3,),
632
594
  'auth': [
@@ -634,7 +596,7 @@ class CampaignApi(object):
634
596
  'oauth'
635
597
  ],
636
598
  'endpoint_path': '/2025-04/marketing-solutions/ad-sets/search',
637
- 'operation_id': 'search_ad_sets_v24_q3',
599
+ 'operation_id': 'search_ad_sets',
638
600
  'http_method': 'POST',
639
601
  'servers': None,
640
602
  },
@@ -669,20 +631,15 @@ class CampaignApi(object):
669
631
  },
670
632
  headers_map={
671
633
  'accept': [
672
- 'text/plain',
673
- 'application/json',
674
- 'text/json'
634
+ 'application/json'
675
635
  ],
676
636
  'content_type': [
677
- 'application/json-patch+json',
678
- 'application/json',
679
- 'text/json',
680
- 'application/*+json'
637
+ 'application/json'
681
638
  ]
682
639
  },
683
640
  api_client=api_client
684
641
  )
685
- self.search_campaigns_v23_q1_endpoint = _Endpoint(
642
+ self.search_campaigns_endpoint = _Endpoint(
686
643
  settings={
687
644
  'response_type': (CampaignV23Q1ListResponse,),
688
645
  'auth': [
@@ -690,7 +647,7 @@ class CampaignApi(object):
690
647
  'oauth'
691
648
  ],
692
649
  'endpoint_path': '/2025-04/marketing-solutions/campaigns/search',
693
- 'operation_id': 'search_campaigns_v23_q1',
650
+ 'operation_id': 'search_campaigns',
694
651
  'http_method': 'POST',
695
652
  'servers': None,
696
653
  },
@@ -725,15 +682,10 @@ class CampaignApi(object):
725
682
  },
726
683
  headers_map={
727
684
  'accept': [
728
- 'text/plain',
729
- 'application/json',
730
- 'text/json'
685
+ 'application/json'
731
686
  ],
732
687
  'content_type': [
733
- 'application/json-patch+json',
734
- 'application/json',
735
- 'text/json',
736
- 'application/*+json'
688
+ 'application/json'
737
689
  ]
738
690
  },
739
691
  api_client=api_client
@@ -781,15 +733,10 @@ class CampaignApi(object):
781
733
  },
782
734
  headers_map={
783
735
  'accept': [
784
- 'text/plain',
785
- 'application/json',
786
- 'text/json'
736
+ 'application/json'
787
737
  ],
788
738
  'content_type': [
789
- 'application/json-patch+json',
790
- 'application/json',
791
- 'text/json',
792
- 'application/*+json'
739
+ 'application/json'
793
740
  ]
794
741
  },
795
742
  api_client=api_client
@@ -837,15 +784,10 @@ class CampaignApi(object):
837
784
  },
838
785
  headers_map={
839
786
  'accept': [
840
- 'text/plain',
841
- 'application/json',
842
- 'text/json'
787
+ 'application/json'
843
788
  ],
844
789
  'content_type': [
845
- 'application/json-patch+json',
846
- 'application/json',
847
- 'text/json',
848
- 'application/*+json'
790
+ 'application/json'
849
791
  ]
850
792
  },
851
793
  api_client=api_client
@@ -901,32 +843,27 @@ class CampaignApi(object):
901
843
  },
902
844
  headers_map={
903
845
  'accept': [
904
- 'text/plain',
905
- 'application/json',
906
- 'text/json'
846
+ 'application/json'
907
847
  ],
908
848
  'content_type': [
909
- 'application/json-patch+json',
910
- 'application/json',
911
- 'text/json',
912
- 'application/*+json'
849
+ 'application/json'
913
850
  ]
914
851
  },
915
852
  api_client=api_client
916
853
  )
917
854
 
918
- def create_ad_set_v24_q3(
855
+ def create_ad_set(
919
856
  self,
920
857
  create_ad_set_v24_q3_request,
921
858
  **kwargs
922
859
  ):
923
- """create_ad_set_v24_q3 # noqa: E501
860
+ """create_ad_set # noqa: E501
924
861
 
925
862
  Create the specified ad set # noqa: E501
926
863
  This method makes a synchronous HTTP request by default. To make an
927
864
  asynchronous HTTP request, please pass async_req=True
928
865
 
929
- >>> thread = api.create_ad_set_v24_q3(create_ad_set_v24_q3_request, async_req=True)
866
+ >>> thread = api.create_ad_set(create_ad_set_v24_q3_request, async_req=True)
930
867
  >>> result = thread.get()
931
868
 
932
869
  Args:
@@ -996,7 +933,7 @@ class CampaignApi(object):
996
933
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
997
934
  kwargs['create_ad_set_v24_q3_request'] = \
998
935
  create_ad_set_v24_q3_request
999
- return self.create_ad_set_v24_q3_endpoint.call_with_http_info(**kwargs)
936
+ return self.create_ad_set_endpoint.call_with_http_info(**kwargs)
1000
937
 
1001
938
  def create_campaign(
1002
939
  self,
@@ -1081,18 +1018,18 @@ class CampaignApi(object):
1081
1018
  create_campaign_request
1082
1019
  return self.create_campaign_endpoint.call_with_http_info(**kwargs)
1083
1020
 
1084
- def get_ad_set_v24_q3(
1021
+ def get_ad_set(
1085
1022
  self,
1086
1023
  ad_set_id,
1087
1024
  **kwargs
1088
1025
  ):
1089
- """get_ad_set_v24_q3 # noqa: E501
1026
+ """get_ad_set # noqa: E501
1090
1027
 
1091
1028
  Get the data for the specified ad set # noqa: E501
1092
1029
  This method makes a synchronous HTTP request by default. To make an
1093
1030
  asynchronous HTTP request, please pass async_req=True
1094
1031
 
1095
- >>> thread = api.get_ad_set_v24_q3(ad_set_id, async_req=True)
1032
+ >>> thread = api.get_ad_set(ad_set_id, async_req=True)
1096
1033
  >>> result = thread.get()
1097
1034
 
1098
1035
  Args:
@@ -1162,24 +1099,24 @@ class CampaignApi(object):
1162
1099
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1163
1100
  kwargs['ad_set_id'] = \
1164
1101
  ad_set_id
1165
- return self.get_ad_set_v24_q3_endpoint.call_with_http_info(**kwargs)
1102
+ return self.get_ad_set_endpoint.call_with_http_info(**kwargs)
1166
1103
 
1167
- def get_campaign_v23_q1(
1104
+ def get_ad_set_category_bids(
1168
1105
  self,
1169
- campaign_id,
1106
+ ad_set_id,
1170
1107
  **kwargs
1171
1108
  ):
1172
- """get_campaign_v23_q1 # noqa: E501
1109
+ """get_ad_set_category_bids # noqa: E501
1173
1110
 
1174
- Get the data for the specified campaign # noqa: E501
1111
+ Get the Category Bids for all valid Categories associated to an Ad Set # noqa: E501
1175
1112
  This method makes a synchronous HTTP request by default. To make an
1176
1113
  asynchronous HTTP request, please pass async_req=True
1177
1114
 
1178
- >>> thread = api.get_campaign_v23_q1(campaign_id, async_req=True)
1115
+ >>> thread = api.get_ad_set_category_bids(ad_set_id, async_req=True)
1179
1116
  >>> result = thread.get()
1180
1117
 
1181
1118
  Args:
1182
- campaign_id (str): Id of the campaign
1119
+ ad_set_id (str): Id of the Ad Set
1183
1120
 
1184
1121
  Keyword Args:
1185
1122
  _return_http_data_only (bool): response data without head status
@@ -1214,7 +1151,7 @@ class CampaignApi(object):
1214
1151
  async_req (bool): execute request asynchronously
1215
1152
 
1216
1153
  Returns:
1217
- CampaignV23Q1Response
1154
+ AdSetCategoryBidListResponse
1218
1155
  If the method is called asynchronously, returns the request
1219
1156
  thread.
1220
1157
  """
@@ -1243,26 +1180,26 @@ class CampaignApi(object):
1243
1180
  '_content_type')
1244
1181
  kwargs['_host_index'] = kwargs.get('_host_index')
1245
1182
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1246
- kwargs['campaign_id'] = \
1247
- campaign_id
1248
- return self.get_campaign_v23_q1_endpoint.call_with_http_info(**kwargs)
1183
+ kwargs['ad_set_id'] = \
1184
+ ad_set_id
1185
+ return self.get_ad_set_category_bids_endpoint.call_with_http_info(**kwargs)
1249
1186
 
1250
- def get_category_bid_list(
1187
+ def get_campaign(
1251
1188
  self,
1252
- ad_set_id,
1189
+ campaign_id,
1253
1190
  **kwargs
1254
1191
  ):
1255
- """get_category_bid_list # noqa: E501
1192
+ """get_campaign # noqa: E501
1256
1193
 
1257
- Get the Category Bids for all valid Categories associated to an Ad Set # noqa: E501
1194
+ Get the data for the specified campaign # noqa: E501
1258
1195
  This method makes a synchronous HTTP request by default. To make an
1259
1196
  asynchronous HTTP request, please pass async_req=True
1260
1197
 
1261
- >>> thread = api.get_category_bid_list(ad_set_id, async_req=True)
1198
+ >>> thread = api.get_campaign(campaign_id, async_req=True)
1262
1199
  >>> result = thread.get()
1263
1200
 
1264
1201
  Args:
1265
- ad_set_id (str): Id of the Ad Set
1202
+ campaign_id (str): Id of the campaign
1266
1203
 
1267
1204
  Keyword Args:
1268
1205
  _return_http_data_only (bool): response data without head status
@@ -1297,7 +1234,7 @@ class CampaignApi(object):
1297
1234
  async_req (bool): execute request asynchronously
1298
1235
 
1299
1236
  Returns:
1300
- AdSetCategoryBidListResponse
1237
+ CampaignV23Q1Response
1301
1238
  If the method is called asynchronously, returns the request
1302
1239
  thread.
1303
1240
  """
@@ -1326,9 +1263,9 @@ class CampaignApi(object):
1326
1263
  '_content_type')
1327
1264
  kwargs['_host_index'] = kwargs.get('_host_index')
1328
1265
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1329
- kwargs['ad_set_id'] = \
1330
- ad_set_id
1331
- return self.get_category_bid_list_endpoint.call_with_http_info(**kwargs)
1266
+ kwargs['campaign_id'] = \
1267
+ campaign_id
1268
+ return self.get_campaign_endpoint.call_with_http_info(**kwargs)
1332
1269
 
1333
1270
  def get_display_multipliers(
1334
1271
  self,
@@ -1413,22 +1350,25 @@ class CampaignApi(object):
1413
1350
  ad_set_id
1414
1351
  return self.get_display_multipliers_endpoint.call_with_http_info(**kwargs)
1415
1352
 
1416
- def patch_ad_sets_v24_q3(
1353
+ def patch_ad_set_category_bids(
1417
1354
  self,
1355
+ ad_set_id,
1418
1356
  **kwargs
1419
1357
  ):
1420
- """patch_ad_sets_v24_q3 # noqa: E501
1358
+ """patch_ad_set_category_bids # noqa: E501
1421
1359
 
1422
- Patch a list of AdSets. # noqa: E501
1360
+ Patch Category Bids for one or more Categories in a single request. Partial success policy is followed. # noqa: E501
1423
1361
  This method makes a synchronous HTTP request by default. To make an
1424
1362
  asynchronous HTTP request, please pass async_req=True
1425
1363
 
1426
- >>> thread = api.patch_ad_sets_v24_q3(async_req=True)
1364
+ >>> thread = api.patch_ad_set_category_bids(ad_set_id, async_req=True)
1427
1365
  >>> result = thread.get()
1428
1366
 
1367
+ Args:
1368
+ ad_set_id (str): Id of the Ad Set
1429
1369
 
1430
1370
  Keyword Args:
1431
- requests_patch_ad_set_v24_q3 (RequestsPatchAdSetV24Q3): List of adsets to patch.. [optional]
1371
+ patch_ad_set_category_bid_list_request (PatchAdSetCategoryBidListRequest): [optional]
1432
1372
  _return_http_data_only (bool): response data without head status
1433
1373
  code and headers. Default is True.
1434
1374
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -1461,7 +1401,7 @@ class CampaignApi(object):
1461
1401
  async_req (bool): execute request asynchronously
1462
1402
 
1463
1403
  Returns:
1464
- ResponsesAdSetIdV24Q3
1404
+ PatchAdSetCategoryBidResultListResponse
1465
1405
  If the method is called asynchronously, returns the request
1466
1406
  thread.
1467
1407
  """
@@ -1490,24 +1430,26 @@ class CampaignApi(object):
1490
1430
  '_content_type')
1491
1431
  kwargs['_host_index'] = kwargs.get('_host_index')
1492
1432
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1493
- return self.patch_ad_sets_v24_q3_endpoint.call_with_http_info(**kwargs)
1433
+ kwargs['ad_set_id'] = \
1434
+ ad_set_id
1435
+ return self.patch_ad_set_category_bids_endpoint.call_with_http_info(**kwargs)
1494
1436
 
1495
- def patch_campaigns(
1437
+ def patch_ad_sets(
1496
1438
  self,
1497
1439
  **kwargs
1498
1440
  ):
1499
- """patch_campaigns # noqa: E501
1441
+ """patch_ad_sets # noqa: E501
1500
1442
 
1501
- Patch a list of Campaigns. # noqa: E501
1443
+ Patch a list of AdSets. # noqa: E501
1502
1444
  This method makes a synchronous HTTP request by default. To make an
1503
1445
  asynchronous HTTP request, please pass async_req=True
1504
1446
 
1505
- >>> thread = api.patch_campaigns(async_req=True)
1447
+ >>> thread = api.patch_ad_sets(async_req=True)
1506
1448
  >>> result = thread.get()
1507
1449
 
1508
1450
 
1509
1451
  Keyword Args:
1510
- patch_campaign_list_request (PatchCampaignListRequest): List of campaigns to patch.. [optional]
1452
+ requests_patch_ad_set_v24_q3 (RequestsPatchAdSetV24Q3): List of adsets to patch.. [optional]
1511
1453
  _return_http_data_only (bool): response data without head status
1512
1454
  code and headers. Default is True.
1513
1455
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -1540,7 +1482,7 @@ class CampaignApi(object):
1540
1482
  async_req (bool): execute request asynchronously
1541
1483
 
1542
1484
  Returns:
1543
- PatchResultCampaignListResponse
1485
+ ResponsesAdSetIdV24Q3
1544
1486
  If the method is called asynchronously, returns the request
1545
1487
  thread.
1546
1488
  """
@@ -1569,27 +1511,24 @@ class CampaignApi(object):
1569
1511
  '_content_type')
1570
1512
  kwargs['_host_index'] = kwargs.get('_host_index')
1571
1513
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1572
- return self.patch_campaigns_endpoint.call_with_http_info(**kwargs)
1514
+ return self.patch_ad_sets_endpoint.call_with_http_info(**kwargs)
1573
1515
 
1574
- def patch_category_bid_list(
1516
+ def patch_campaigns(
1575
1517
  self,
1576
- ad_set_id,
1577
1518
  **kwargs
1578
1519
  ):
1579
- """patch_category_bid_list # noqa: E501
1520
+ """patch_campaigns # noqa: E501
1580
1521
 
1581
- Patch Category Bids for one or more Categories in a single request. Partial success policy is followed. # noqa: E501
1522
+ Patch a list of Campaigns. # noqa: E501
1582
1523
  This method makes a synchronous HTTP request by default. To make an
1583
1524
  asynchronous HTTP request, please pass async_req=True
1584
1525
 
1585
- >>> thread = api.patch_category_bid_list(ad_set_id, async_req=True)
1526
+ >>> thread = api.patch_campaigns(async_req=True)
1586
1527
  >>> result = thread.get()
1587
1528
 
1588
- Args:
1589
- ad_set_id (str): Id of the Ad Set
1590
1529
 
1591
1530
  Keyword Args:
1592
- patch_ad_set_category_bid_list_request (PatchAdSetCategoryBidListRequest): [optional]
1531
+ patch_campaign_list_request (PatchCampaignListRequest): List of campaigns to patch.. [optional]
1593
1532
  _return_http_data_only (bool): response data without head status
1594
1533
  code and headers. Default is True.
1595
1534
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -1622,7 +1561,7 @@ class CampaignApi(object):
1622
1561
  async_req (bool): execute request asynchronously
1623
1562
 
1624
1563
  Returns:
1625
- PatchAdSetCategoryBidResultListResponse
1564
+ PatchResultCampaignListResponse
1626
1565
  If the method is called asynchronously, returns the request
1627
1566
  thread.
1628
1567
  """
@@ -1651,9 +1590,7 @@ class CampaignApi(object):
1651
1590
  '_content_type')
1652
1591
  kwargs['_host_index'] = kwargs.get('_host_index')
1653
1592
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1654
- kwargs['ad_set_id'] = \
1655
- ad_set_id
1656
- return self.patch_category_bid_list_endpoint.call_with_http_info(**kwargs)
1593
+ return self.patch_campaigns_endpoint.call_with_http_info(**kwargs)
1657
1594
 
1658
1595
  def patch_display_multipliers(
1659
1596
  self,
@@ -1739,17 +1676,17 @@ class CampaignApi(object):
1739
1676
  ad_set_id
1740
1677
  return self.patch_display_multipliers_endpoint.call_with_http_info(**kwargs)
1741
1678
 
1742
- def search_ad_sets_v24_q3(
1679
+ def search_ad_sets(
1743
1680
  self,
1744
1681
  **kwargs
1745
1682
  ):
1746
- """search_ad_sets_v24_q3 # noqa: E501
1683
+ """search_ad_sets # noqa: E501
1747
1684
 
1748
1685
  Search for ad sets # noqa: E501
1749
1686
  This method makes a synchronous HTTP request by default. To make an
1750
1687
  asynchronous HTTP request, please pass async_req=True
1751
1688
 
1752
- >>> thread = api.search_ad_sets_v24_q3(async_req=True)
1689
+ >>> thread = api.search_ad_sets(async_req=True)
1753
1690
  >>> result = thread.get()
1754
1691
 
1755
1692
 
@@ -1816,19 +1753,19 @@ class CampaignApi(object):
1816
1753
  '_content_type')
1817
1754
  kwargs['_host_index'] = kwargs.get('_host_index')
1818
1755
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1819
- return self.search_ad_sets_v24_q3_endpoint.call_with_http_info(**kwargs)
1756
+ return self.search_ad_sets_endpoint.call_with_http_info(**kwargs)
1820
1757
 
1821
- def search_campaigns_v23_q1(
1758
+ def search_campaigns(
1822
1759
  self,
1823
1760
  **kwargs
1824
1761
  ):
1825
- """search_campaigns_v23_q1 # noqa: E501
1762
+ """search_campaigns # noqa: E501
1826
1763
 
1827
1764
  Search for campaigns # noqa: E501
1828
1765
  This method makes a synchronous HTTP request by default. To make an
1829
1766
  asynchronous HTTP request, please pass async_req=True
1830
1767
 
1831
- >>> thread = api.search_campaigns_v23_q1(async_req=True)
1768
+ >>> thread = api.search_campaigns(async_req=True)
1832
1769
  >>> result = thread.get()
1833
1770
 
1834
1771
 
@@ -1895,7 +1832,7 @@ class CampaignApi(object):
1895
1832
  '_content_type')
1896
1833
  kwargs['_host_index'] = kwargs.get('_host_index')
1897
1834
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1898
- return self.search_campaigns_v23_q1_endpoint.call_with_http_info(**kwargs)
1835
+ return self.search_campaigns_endpoint.call_with_http_info(**kwargs)
1899
1836
 
1900
1837
  def start_ad_sets(
1901
1838
  self,