criteo-api-retailmedia-sdk 0.0.241029__py3-none-any.whl → 0.0.250129__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 (91) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +23 -324
  3. criteo_api_retailmedia_preview/api/balance_api.py +0 -159
  4. criteo_api_retailmedia_preview/api/campaign_api.py +127 -921
  5. criteo_api_retailmedia_preview/api/catalog_api.py +161 -0
  6. criteo_api_retailmedia_preview/api_client.py +4 -4
  7. criteo_api_retailmedia_preview/configuration.py +1 -1
  8. criteo_api_retailmedia_preview/model/async_accounts_report.py +40 -0
  9. criteo_api_retailmedia_preview/model/async_campaigns_report.py +40 -0
  10. criteo_api_retailmedia_preview/model/async_line_items_report.py +40 -0
  11. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +1 -1
  12. criteo_api_retailmedia_preview/model/brand_id_search_request.py +271 -0
  13. criteo_api_retailmedia_preview/model/{external_retailer.py → brand_id_search_result.py} +26 -26
  14. criteo_api_retailmedia_preview/model/category.py +3 -3
  15. criteo_api_retailmedia_preview/model/change_details_v1.py +8 -18
  16. criteo_api_retailmedia_preview/model/{external_choice_variable_value.py → choice_variable_value.py} +4 -10
  17. criteo_api_retailmedia_preview/model/{external_color_variable_value.py → color_variable_value.py} +5 -11
  18. criteo_api_retailmedia_preview/model/{sku_search_request.py → cpc_min_bids_request.py} +11 -16
  19. criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture_v2.py → cpc_min_bids_response.py} +19 -21
  20. criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +6 -6
  21. criteo_api_retailmedia_preview/model/{external_creative_v2.py → creative2.py} +23 -30
  22. criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
  23. criteo_api_retailmedia_preview/model/{resource_collection_outcome_of_sku_search_result.py → creative2_response.py} +9 -9
  24. criteo_api_retailmedia_preview/model/{external_creative_create_model_v2.py → creative_create_model2.py} +9 -16
  25. criteo_api_retailmedia_preview/model/{external_creative_update_model_v2.py → creative_update_model2.py} +9 -16
  26. criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → entity_resource_brand_id_search_result.py} +13 -13
  27. criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → entity_resource_collection_outcome_brand_id_search_result.py} +17 -24
  28. criteo_api_retailmedia_preview/model/{entity_resource_collection_outcome_of_retail_media_account.py → entity_resource_collection_outcome_of_retail_media_child_account.py} +15 -9
  29. criteo_api_retailmedia_preview/model/{entity_resource_of_retail_media_account.py → entity_resource_of_retail_media_child_account.py} +9 -9
  30. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
  31. criteo_api_retailmedia_preview/model/{external_retail_media_account.py → external_retail_media_child_account.py} +4 -8
  32. criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
  33. criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
  34. criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +1 -1
  35. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +1 -1
  36. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +1 -1
  37. criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → offset_page_metadata.py} +25 -15
  38. criteo_api_retailmedia_preview/model/{resource_of_sku_search_result.py → outcome.py} +15 -17
  39. criteo_api_retailmedia_preview/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
  40. criteo_api_retailmedia_preview/model/placement_preview.py +4 -0
  41. criteo_api_retailmedia_preview/model/report_ok_response.py +18 -18
  42. criteo_api_retailmedia_preview/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
  43. criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
  44. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +1 -1
  45. criteo_api_retailmedia_preview/model/retail_media_seller.py +4 -0
  46. criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +296 -0
  47. criteo_api_retailmedia_preview/model/seller_catalog_request.py +1 -1
  48. criteo_api_retailmedia_preview/model/{sku_search_request_body.py → seller_search.py} +18 -25
  49. criteo_api_retailmedia_preview/model/sku_data_preview.py +27 -27
  50. criteo_api_retailmedia_preview/model/{external_brand.py → sku_min_bid.py} +18 -22
  51. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +9 -13
  52. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +4 -0
  53. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +1 -11
  54. criteo_api_retailmedia_preview/model/sync_line_items_report.py +1 -11
  55. criteo_api_retailmedia_preview/model/{external_template_variable_value.py → template_variable_value.py} +36 -43
  56. criteo_api_retailmedia_preview/model/{external_text_variable_value.py → text_variable_value.py} +5 -11
  57. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → value_resource_brand_id_search_request.py} +10 -10
  58. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +8 -8
  59. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +266 -0
  60. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +266 -0
  61. criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +262 -0
  62. criteo_api_retailmedia_preview/model/value_resource_input_cpc_min_bids_request.py +262 -0
  63. criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_of_seller_search.py} +8 -8
  64. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +2 -2
  65. criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → value_resource_of_seller_search.py} +13 -9
  66. criteo_api_retailmedia_preview/model/{proposal_status_model_response.py → value_resource_outcome_cpc_min_bids_response.py} +19 -19
  67. criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
  68. criteo_api_retailmedia_preview/models/__init__.py +36 -49
  69. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/METADATA +14 -5
  70. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/RECORD +72 -85
  71. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/WHEEL +1 -1
  72. criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +0 -277
  73. criteo_api_retailmedia_preview/model/approval_status_model.py +0 -292
  74. criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
  75. criteo_api_retailmedia_preview/model/creative_v2_response.py +0 -281
  76. criteo_api_retailmedia_preview/model/external_account.py +0 -330
  77. criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
  78. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_account_and_account.py +0 -285
  79. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +0 -285
  80. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +0 -285
  81. criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +0 -295
  82. criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +0 -295
  83. criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +0 -295
  84. criteo_api_retailmedia_preview/model/negotiation_state_model.py +0 -293
  85. criteo_api_retailmedia_preview/model/proposal_status_model.py +0 -284
  86. criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +0 -277
  87. criteo_api_retailmedia_preview/model/resource_of_creative_v2.py +0 -277
  88. criteo_api_retailmedia_preview/model/retail_media_account.py +0 -301
  89. criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -274
  90. criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
  91. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/top_level.txt +0 -0
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class SkuSearchRequestBody(ModelNormal):
33
+ class SellerSearch(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -55,17 +55,12 @@ class SkuSearchRequestBody(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('product_id_type',): {
59
- 'SKUKEY': "SkuKey",
60
- 'GTIN': "Gtin",
61
- 'MPN': "Mpn",
62
- 'MODEL': "Model",
63
- 'SKUID': "SkuId",
64
- 'PARENTID': "ParentId",
65
- },
66
58
  }
67
59
 
68
60
  validations = {
61
+ ('account_ids',): {
62
+ 'max_items': 25,
63
+ },
69
64
  }
70
65
 
71
66
  additional_properties_type = None
@@ -83,8 +78,8 @@ class SkuSearchRequestBody(ModelNormal):
83
78
  and the value is attribute type.
84
79
  """
85
80
  return {
86
- 'product_id_type': (str,), # noqa: E501
87
- 'query_ids': ([str],), # noqa: E501
81
+ 'account_ids': ([str],), # noqa: E501
82
+ 'include_details': (bool, none_type,), # noqa: E501
88
83
  }
89
84
 
90
85
  @cached_property
@@ -93,8 +88,8 @@ class SkuSearchRequestBody(ModelNormal):
93
88
 
94
89
 
95
90
  attribute_map = {
96
- 'product_id_type': 'productIdType', # noqa: E501
97
- 'query_ids': 'queryIds', # noqa: E501
91
+ 'account_ids': 'accountIds', # noqa: E501
92
+ 'include_details': 'includeDetails', # noqa: E501
98
93
  }
99
94
 
100
95
  read_only_vars = {
@@ -104,12 +99,11 @@ class SkuSearchRequestBody(ModelNormal):
104
99
 
105
100
  @classmethod
106
101
  @convert_js_args_to_python_args
107
- def _from_openapi_data(cls, product_id_type, query_ids, *args, **kwargs): # noqa: E501
108
- """SkuSearchRequestBody - a model defined in OpenAPI
102
+ def _from_openapi_data(cls, account_ids, *args, **kwargs): # noqa: E501
103
+ """SellerSearch - a model defined in OpenAPI
109
104
 
110
105
  Args:
111
- product_id_type (str): sets which product id the QueryIds will be compared to
112
- query_ids ([str]): list of product ids to search for
106
+ account_ids ([str]): list of accounts to return seller information for. max length of 25
113
107
 
114
108
  Keyword Args:
115
109
  _check_type (bool): if True, values for parameters in openapi_types
@@ -142,6 +136,7 @@ class SkuSearchRequestBody(ModelNormal):
142
136
  Animal class but this time we won't travel
143
137
  through its discriminator because we passed in
144
138
  _visited_composed_classes = (Animal,)
139
+ include_details (bool, none_type): whether to include additional fields beyond the sellerId and retailerId in the response. May improve performance when set to false.. [optional] if omitted the server will use the default value of False # noqa: E501
145
140
  """
146
141
 
147
142
  _check_type = kwargs.pop('_check_type', True)
@@ -173,8 +168,7 @@ class SkuSearchRequestBody(ModelNormal):
173
168
  self._configuration = _configuration
174
169
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
175
170
 
176
- self.product_id_type = product_id_type
177
- self.query_ids = query_ids
171
+ self.account_ids = account_ids
178
172
  for var_name, var_value in kwargs.items():
179
173
  if var_name not in self.attribute_map and \
180
174
  self._configuration is not None and \
@@ -195,12 +189,11 @@ class SkuSearchRequestBody(ModelNormal):
195
189
  ])
196
190
 
197
191
  @convert_js_args_to_python_args
198
- def __init__(self, product_id_type, query_ids, *args, **kwargs): # noqa: E501
199
- """SkuSearchRequestBody - a model defined in OpenAPI
192
+ def __init__(self, account_ids, *args, **kwargs): # noqa: E501
193
+ """SellerSearch - a model defined in OpenAPI
200
194
 
201
195
  Args:
202
- product_id_type (str): sets which product id the QueryIds will be compared to
203
- query_ids ([str]): list of product ids to search for
196
+ account_ids ([str]): list of accounts to return seller information for. max length of 25
204
197
 
205
198
  Keyword Args:
206
199
  _check_type (bool): if True, values for parameters in openapi_types
@@ -233,6 +226,7 @@ class SkuSearchRequestBody(ModelNormal):
233
226
  Animal class but this time we won't travel
234
227
  through its discriminator because we passed in
235
228
  _visited_composed_classes = (Animal,)
229
+ include_details (bool, none_type): whether to include additional fields beyond the sellerId and retailerId in the response. May improve performance when set to false.. [optional] if omitted the server will use the default value of False # noqa: E501
236
230
  """
237
231
 
238
232
  _check_type = kwargs.pop('_check_type', True)
@@ -262,8 +256,7 @@ class SkuSearchRequestBody(ModelNormal):
262
256
  self._configuration = _configuration
263
257
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
264
258
 
265
- self.product_id_type = product_id_type
266
- self.query_ids = query_ids
259
+ self.account_ids = account_ids
267
260
  for var_name, var_value in kwargs.items():
268
261
  if var_name not in self.attribute_map and \
269
262
  self._configuration is not None and \
@@ -107,18 +107,18 @@ class SkuDataPreview(ModelNormal):
107
107
  'is_in_stock': (bool,), # noqa: E501
108
108
  'updated_at': (datetime,), # noqa: E501
109
109
  'name': (str,), # noqa: E501
110
- 'description': (str,), # noqa: E501
111
- 'category': (str,), # noqa: E501
110
+ 'description': (str, none_type,), # noqa: E501
111
+ 'category': (str, none_type,), # noqa: E501
112
112
  'is_seller_sku': (bool,), # noqa: E501
113
113
  'is_buybox': (bool,), # noqa: E501
114
- 'seller_id': (str,), # noqa: E501
115
- 'seller_name': (str,), # noqa: E501
116
- 'gtin': (str,), # noqa: E501
117
- 'mpn': (str,), # noqa: E501
118
- 'model_number': (str,), # noqa: E501
119
- 'parent_id': (str,), # noqa: E501
114
+ 'seller_id': (str, none_type,), # noqa: E501
115
+ 'seller_name': (str, none_type,), # noqa: E501
116
+ 'gtin': (str, none_type,), # noqa: E501
117
+ 'mpn': (str, none_type,), # noqa: E501
118
+ 'model_number': (str, none_type,), # noqa: E501
119
+ 'parent_id': (str, none_type,), # noqa: E501
120
120
  'image_url': (str,), # noqa: E501
121
- 'product_page': (str,), # noqa: E501
121
+ 'product_page': (str, none_type,), # noqa: E501
122
122
  }
123
123
 
124
124
  @cached_property
@@ -204,18 +204,18 @@ class SkuDataPreview(ModelNormal):
204
204
  through its discriminator because we passed in
205
205
  _visited_composed_classes = (Animal,)
206
206
  name (str): A short product name.. [optional] # noqa: E501
207
- description (str): A product description.. [optional] # noqa: E501
208
- category (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
207
+ description (str, none_type): A product description.. [optional] # noqa: E501
208
+ category (str, none_type): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
209
209
  is_seller_sku (bool): An indication of if the sku is seller sku.. [optional] # noqa: E501
210
210
  is_buybox (bool): Whether the Sku is a Buybox Winner.. [optional] # noqa: E501
211
- seller_id (str): The id of the seller.. [optional] # noqa: E501
212
- seller_name (str): The name of the seller.. [optional] # noqa: E501
213
- gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
214
- mpn (str): The MPN for the product if available.. [optional] # noqa: E501
215
- model_number (str): The Model Number for the product if available.. [optional] # noqa: E501
216
- parent_id (str): The ParentId for the product if available.. [optional] # noqa: E501
211
+ seller_id (str, none_type): The id of the seller.. [optional] # noqa: E501
212
+ seller_name (str, none_type): The name of the seller.. [optional] # noqa: E501
213
+ gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
214
+ mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
215
+ model_number (str, none_type): The Model Number for the product if available.. [optional] # noqa: E501
216
+ parent_id (str, none_type): The ParentId for the product if available.. [optional] # noqa: E501
217
217
  image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
218
- product_page (str): An The product page URL. [optional] # noqa: E501
218
+ product_page (str, none_type): The product page URL. [optional] # noqa: E501
219
219
  """
220
220
 
221
221
  _check_type = kwargs.pop('_check_type', True)
@@ -322,18 +322,18 @@ class SkuDataPreview(ModelNormal):
322
322
  through its discriminator because we passed in
323
323
  _visited_composed_classes = (Animal,)
324
324
  name (str): A short product name.. [optional] # noqa: E501
325
- description (str): A product description.. [optional] # noqa: E501
326
- category (str): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
325
+ description (str, none_type): A product description.. [optional] # noqa: E501
326
+ category (str, none_type): The full category breadcrumb in the retailers catalog.. [optional] # noqa: E501
327
327
  is_seller_sku (bool): An indication of if the sku is seller sku.. [optional] # noqa: E501
328
328
  is_buybox (bool): Whether the Sku is a Buybox Winner.. [optional] # noqa: E501
329
- seller_id (str): The id of the seller.. [optional] # noqa: E501
330
- seller_name (str): The name of the seller.. [optional] # noqa: E501
331
- gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
332
- mpn (str): The MPN for the product if available.. [optional] # noqa: E501
333
- model_number (str): The Model Number for the product if available.. [optional] # noqa: E501
334
- parent_id (str): The ParentId for the product if available.. [optional] # noqa: E501
329
+ seller_id (str, none_type): The id of the seller.. [optional] # noqa: E501
330
+ seller_name (str, none_type): The name of the seller.. [optional] # noqa: E501
331
+ gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
332
+ mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
333
+ model_number (str, none_type): The Model Number for the product if available.. [optional] # noqa: E501
334
+ parent_id (str, none_type): The ParentId for the product if available.. [optional] # noqa: E501
335
335
  image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
336
- product_page (str): An The product page URL. [optional] # noqa: E501
336
+ product_page (str, none_type): The product page URL. [optional] # noqa: E501
337
337
  """
338
338
 
339
339
  _check_type = kwargs.pop('_check_type', True)
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalBrand(ModelNormal):
33
+ class SkuMinBid(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -58,19 +58,9 @@ class ExternalBrand(ModelNormal):
58
58
  }
59
59
 
60
60
  validations = {
61
- ('name',): {
62
- 'max_length': 120,
63
- 'min_length': 0,
64
- },
65
61
  }
66
62
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
63
+ additional_properties_type = None
74
64
 
75
65
  _nullable = False
76
66
 
@@ -85,7 +75,8 @@ class ExternalBrand(ModelNormal):
85
75
  and the value is attribute type.
86
76
  """
87
77
  return {
88
- 'name': (str,), # noqa: E501
78
+ 'sku_id': (str,), # noqa: E501
79
+ 'min_bid': (float,), # noqa: E501
89
80
  }
90
81
 
91
82
  @cached_property
@@ -94,7 +85,8 @@ class ExternalBrand(ModelNormal):
94
85
 
95
86
 
96
87
  attribute_map = {
97
- 'name': 'name', # noqa: E501
88
+ 'sku_id': 'skuId', # noqa: E501
89
+ 'min_bid': 'minBid', # noqa: E501
98
90
  }
99
91
 
100
92
  read_only_vars = {
@@ -104,11 +96,12 @@ class ExternalBrand(ModelNormal):
104
96
 
105
97
  @classmethod
106
98
  @convert_js_args_to_python_args
107
- def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501
108
- """ExternalBrand - a model defined in OpenAPI
99
+ def _from_openapi_data(cls, sku_id, min_bid, *args, **kwargs): # noqa: E501
100
+ """SkuMinBid - a model defined in OpenAPI
109
101
 
110
102
  Args:
111
- name (str):
103
+ sku_id (str): Sku id.
104
+ min_bid (float): Minimum bid amount value.
112
105
 
113
106
  Keyword Args:
114
107
  _check_type (bool): if True, values for parameters in openapi_types
@@ -172,7 +165,8 @@ class ExternalBrand(ModelNormal):
172
165
  self._configuration = _configuration
173
166
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
174
167
 
175
- self.name = name
168
+ self.sku_id = sku_id
169
+ self.min_bid = min_bid
176
170
  for var_name, var_value in kwargs.items():
177
171
  if var_name not in self.attribute_map and \
178
172
  self._configuration is not None and \
@@ -193,11 +187,12 @@ class ExternalBrand(ModelNormal):
193
187
  ])
194
188
 
195
189
  @convert_js_args_to_python_args
196
- def __init__(self, name, *args, **kwargs): # noqa: E501
197
- """ExternalBrand - a model defined in OpenAPI
190
+ def __init__(self, sku_id, min_bid, *args, **kwargs): # noqa: E501
191
+ """SkuMinBid - a model defined in OpenAPI
198
192
 
199
193
  Args:
200
- name (str):
194
+ sku_id (str): Sku id.
195
+ min_bid (float): Minimum bid amount value.
201
196
 
202
197
  Keyword Args:
203
198
  _check_type (bool): if True, values for parameters in openapi_types
@@ -259,7 +254,8 @@ class ExternalBrand(ModelNormal):
259
254
  self._configuration = _configuration
260
255
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
261
256
 
262
- self.name = name
257
+ self.sku_id = sku_id
258
+ self.min_bid = min_bid
263
259
  for var_name, var_value in kwargs.items():
264
260
  if var_name not in self.attribute_map and \
265
261
  self._configuration is not None and \
@@ -68,10 +68,6 @@ class SkuSlimDataV2(ModelNormal):
68
68
  'max_length': 1000,
69
69
  'min_length': 0,
70
70
  },
71
- ('description',): {
72
- 'max_length': 1000,
73
- 'min_length': 0,
74
- },
75
71
  }
76
72
 
77
73
  @cached_property
@@ -101,11 +97,11 @@ class SkuSlimDataV2(ModelNormal):
101
97
  'is_in_stock': (bool,), # noqa: E501
102
98
  'updated_at': (datetime,), # noqa: E501
103
99
  'name': (str,), # noqa: E501
104
- 'description': (str,), # noqa: E501
100
+ 'description': (str, none_type,), # noqa: E501
105
101
  'category': (Category,), # noqa: E501
106
102
  'brand': (Brand,), # noqa: E501
107
- 'gtin': (str,), # noqa: E501
108
- 'mpn': (str,), # noqa: E501
103
+ 'gtin': (str, none_type,), # noqa: E501
104
+ 'mpn': (str, none_type,), # noqa: E501
109
105
  'image_url': (str,), # noqa: E501
110
106
  }
111
107
 
@@ -174,11 +170,11 @@ class SkuSlimDataV2(ModelNormal):
174
170
  through its discriminator because we passed in
175
171
  _visited_composed_classes = (Animal,)
176
172
  name (str): A short product name.. [optional] # noqa: E501
177
- description (str): A short description of the product.. [optional] # noqa: E501
173
+ description (str, none_type): A short description of the product.. [optional] # noqa: E501
178
174
  category (Category): [optional] # noqa: E501
179
175
  brand (Brand): [optional] # noqa: E501
180
- gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
181
- mpn (str): The MPN for the product if available.. [optional] # noqa: E501
176
+ gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
177
+ mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
182
178
  image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
183
179
  """
184
180
 
@@ -274,11 +270,11 @@ class SkuSlimDataV2(ModelNormal):
274
270
  through its discriminator because we passed in
275
271
  _visited_composed_classes = (Animal,)
276
272
  name (str): A short product name.. [optional] # noqa: E501
277
- description (str): A short description of the product.. [optional] # noqa: E501
273
+ description (str, none_type): A short description of the product.. [optional] # noqa: E501
278
274
  category (Category): [optional] # noqa: E501
279
275
  brand (Brand): [optional] # noqa: E501
280
- gtin (str): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
281
- mpn (str): The MPN for the product if available.. [optional] # noqa: E501
276
+ gtin (str, none_type): A GTIN identifier for the product if available. Covers variations such as EANs and UPCs.. [optional] # noqa: E501
277
+ mpn (str, none_type): The MPN for the product if available.. [optional] # noqa: E501
282
278
  image_url (str): An http image resource provided by the retailer.. [optional] # noqa: E501
283
279
  """
284
280
 
@@ -110,6 +110,10 @@ class SyncAttributedTransactionsReport(ModelNormal):
110
110
  'PAGETYPENAME': "pageTypeName",
111
111
  'KEYWORD': "keyword",
112
112
  'ATTRIBUTIONWINDOW': "attributionWindow",
113
+ 'SALESELLERID': "saleSellerId",
114
+ 'SALESELLERNAME': "saleSellerName",
115
+ 'ACTIVITYSELLERID': "activitySellerId",
116
+ 'ACTIVITYSELLERNAME': "activitySellerName",
113
117
  },
114
118
  ('metrics',): {
115
119
  'None': None,
@@ -59,7 +59,6 @@ class SyncCampaignsReport(ModelNormal):
59
59
  'None': None,
60
60
  'SUMMARY': "summary",
61
61
  'PAGETYPE': "pageType",
62
- 'KEYWORD': "keyword",
63
62
  'PRODUCTCATEGORY': "productCategory",
64
63
  'PRODUCT': "product",
65
64
  'ENVIRONMENT': "environment",
@@ -114,9 +113,8 @@ class SyncCampaignsReport(ModelNormal):
114
113
  'ENVIRONMENT': "environment",
115
114
  'PAGETYPENAME': "pageTypeName",
116
115
  'PAGECATEGORY': "pageCategory",
116
+ 'SERVEDCATEGORY': "servedCategory",
117
117
  'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
118
- 'KEYWORD': "keyword",
119
- 'SEARCHTERM': "searchTerm",
120
118
  },
121
119
  ('metrics',): {
122
120
  'None': None,
@@ -133,14 +131,6 @@ class SyncCampaignsReport(ModelNormal):
133
131
  'CPO': "cpo",
134
132
  'CPM': "cpm",
135
133
  'ROAS': "roas",
136
- 'VIDEOVIEWS': "videoViews",
137
- 'VIDEOSSTARTED': "videosStarted",
138
- 'VIDEOSPLAYEDTO25': "videosPlayedTo25",
139
- 'VIDEOSPLAYEDTO50': "videosPlayedTo50",
140
- 'VIDEOSPLAYEDTO75': "videosPlayedTo75",
141
- 'VIDEOSPLAYEDTO100': "videosPlayedTo100",
142
- 'VIDEOPLAYINGRATE': "videoPlayingRate",
143
- 'VIDEOCOMPLETIONRATE': "videoCompletionRate",
144
134
  'UNIQUEVISITORS': "uniqueVisitors",
145
135
  'FREQUENCY': "frequency",
146
136
  },
@@ -59,7 +59,6 @@ class SyncLineItemsReport(ModelNormal):
59
59
  'None': None,
60
60
  'SUMMARY': "summary",
61
61
  'PAGETYPE': "pageType",
62
- 'KEYWORD': "keyword",
63
62
  'PRODUCTCATEGORY': "productCategory",
64
63
  'PRODUCT': "product",
65
64
  'ENVIRONMENT': "environment",
@@ -114,9 +113,8 @@ class SyncLineItemsReport(ModelNormal):
114
113
  'ENVIRONMENT': "environment",
115
114
  'PAGETYPENAME': "pageTypeName",
116
115
  'PAGECATEGORY': "pageCategory",
116
+ 'SERVEDCATEGORY': "servedCategory",
117
117
  'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
118
- 'KEYWORD': "keyword",
119
- 'SEARCHTERM': "searchTerm",
120
118
  },
121
119
  ('metrics',): {
122
120
  'None': None,
@@ -133,14 +131,6 @@ class SyncLineItemsReport(ModelNormal):
133
131
  'CPO': "cpo",
134
132
  'CPM': "cpm",
135
133
  'ROAS': "roas",
136
- 'VIDEOVIEWS': "videoViews",
137
- 'VIDEOSSTARTED': "videosStarted",
138
- 'VIDEOSPLAYEDTO25': "videosPlayedTo25",
139
- 'VIDEOSPLAYEDTO50': "videosPlayedTo50",
140
- 'VIDEOSPLAYEDTO75': "videosPlayedTo75",
141
- 'VIDEOSPLAYEDTO100': "videosPlayedTo100",
142
- 'VIDEOPLAYINGRATE': "videoPlayingRate",
143
- 'VIDEOCOMPLETIONRATE': "videoCompletionRate",
144
134
  'UNIQUEVISITORS': "uniqueVisitors",
145
135
  'FREQUENCY': "frequency",
146
136
  },
@@ -30,21 +30,21 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_preview.model.external_choice_variable_value import ExternalChoiceVariableValue
34
- from criteo_api_retailmedia_preview.model.external_color_variable_value import ExternalColorVariableValue
35
- from criteo_api_retailmedia_preview.model.external_files_variable_value import ExternalFilesVariableValue
36
- from criteo_api_retailmedia_preview.model.external_hyperlink_variable_value import ExternalHyperlinkVariableValue
37
- from criteo_api_retailmedia_preview.model.external_text_variable_value import ExternalTextVariableValue
38
- from criteo_api_retailmedia_preview.model.external_video_variable_value import ExternalVideoVariableValue
39
- globals()['ExternalChoiceVariableValue'] = ExternalChoiceVariableValue
40
- globals()['ExternalColorVariableValue'] = ExternalColorVariableValue
41
- globals()['ExternalFilesVariableValue'] = ExternalFilesVariableValue
42
- globals()['ExternalHyperlinkVariableValue'] = ExternalHyperlinkVariableValue
43
- globals()['ExternalTextVariableValue'] = ExternalTextVariableValue
44
- globals()['ExternalVideoVariableValue'] = ExternalVideoVariableValue
45
-
46
-
47
- class ExternalTemplateVariableValue(ModelNormal):
33
+ from criteo_api_retailmedia_preview.model.choice_variable_value import ChoiceVariableValue
34
+ from criteo_api_retailmedia_preview.model.color_variable_value import ColorVariableValue
35
+ from criteo_api_retailmedia_preview.model.files_variable_value import FilesVariableValue
36
+ from criteo_api_retailmedia_preview.model.hyperlink_variable_value import HyperlinkVariableValue
37
+ from criteo_api_retailmedia_preview.model.text_variable_value import TextVariableValue
38
+ from criteo_api_retailmedia_preview.model.video_variable_value import VideoVariableValue
39
+ globals()['ChoiceVariableValue'] = ChoiceVariableValue
40
+ globals()['ColorVariableValue'] = ColorVariableValue
41
+ globals()['FilesVariableValue'] = FilesVariableValue
42
+ globals()['HyperlinkVariableValue'] = HyperlinkVariableValue
43
+ globals()['TextVariableValue'] = TextVariableValue
44
+ globals()['VideoVariableValue'] = VideoVariableValue
45
+
46
+
47
+ class TemplateVariableValue(ModelNormal):
48
48
  """NOTE: This class is auto generated by OpenAPI Generator.
49
49
  Ref: https://openapi-generator.tech
50
50
 
@@ -74,14 +74,7 @@ class ExternalTemplateVariableValue(ModelNormal):
74
74
  validations = {
75
75
  }
76
76
 
77
- @cached_property
78
- def additional_properties_type():
79
- """
80
- This must be a method because a model may have properties that are
81
- of type self, this must run after the class is loaded
82
- """
83
- lazy_import()
84
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
77
+ additional_properties_type = None
85
78
 
86
79
  _nullable = False
87
80
 
@@ -98,12 +91,12 @@ class ExternalTemplateVariableValue(ModelNormal):
98
91
  lazy_import()
99
92
  return {
100
93
  'id': (str,), # noqa: E501
101
- 'text_variable_value': (ExternalTextVariableValue,), # noqa: E501
102
- 'choice_variable_value': (ExternalChoiceVariableValue,), # noqa: E501
103
- 'color_variable_value': (ExternalColorVariableValue,), # noqa: E501
104
- 'files_variable_value': (ExternalFilesVariableValue,), # noqa: E501
105
- 'hyperlink_variable_value': (ExternalHyperlinkVariableValue,), # noqa: E501
106
- 'video_variable_value': (ExternalVideoVariableValue,), # noqa: E501
94
+ 'text_variable_value': (TextVariableValue,), # noqa: E501
95
+ 'choice_variable_value': (ChoiceVariableValue,), # noqa: E501
96
+ 'color_variable_value': (ColorVariableValue,), # noqa: E501
97
+ 'files_variable_value': (FilesVariableValue,), # noqa: E501
98
+ 'hyperlink_variable_value': (HyperlinkVariableValue,), # noqa: E501
99
+ 'video_variable_value': (VideoVariableValue,), # noqa: E501
107
100
  }
108
101
 
109
102
  @cached_property
@@ -129,7 +122,7 @@ class ExternalTemplateVariableValue(ModelNormal):
129
122
  @classmethod
130
123
  @convert_js_args_to_python_args
131
124
  def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501
132
- """ExternalTemplateVariableValue - a model defined in OpenAPI
125
+ """TemplateVariableValue - a model defined in OpenAPI
133
126
 
134
127
  Args:
135
128
  id (str): The id of the template variable the value is applied to
@@ -165,12 +158,12 @@ class ExternalTemplateVariableValue(ModelNormal):
165
158
  Animal class but this time we won't travel
166
159
  through its discriminator because we passed in
167
160
  _visited_composed_classes = (Animal,)
168
- text_variable_value (ExternalTextVariableValue): [optional] # noqa: E501
169
- choice_variable_value (ExternalChoiceVariableValue): [optional] # noqa: E501
170
- color_variable_value (ExternalColorVariableValue): [optional] # noqa: E501
171
- files_variable_value (ExternalFilesVariableValue): [optional] # noqa: E501
172
- hyperlink_variable_value (ExternalHyperlinkVariableValue): [optional] # noqa: E501
173
- video_variable_value (ExternalVideoVariableValue): [optional] # noqa: E501
161
+ text_variable_value (TextVariableValue): [optional] # noqa: E501
162
+ choice_variable_value (ChoiceVariableValue): [optional] # noqa: E501
163
+ color_variable_value (ColorVariableValue): [optional] # noqa: E501
164
+ files_variable_value (FilesVariableValue): [optional] # noqa: E501
165
+ hyperlink_variable_value (HyperlinkVariableValue): [optional] # noqa: E501
166
+ video_variable_value (VideoVariableValue): [optional] # noqa: E501
174
167
  """
175
168
 
176
169
  _check_type = kwargs.pop('_check_type', True)
@@ -224,7 +217,7 @@ class ExternalTemplateVariableValue(ModelNormal):
224
217
 
225
218
  @convert_js_args_to_python_args
226
219
  def __init__(self, id, *args, **kwargs): # noqa: E501
227
- """ExternalTemplateVariableValue - a model defined in OpenAPI
220
+ """TemplateVariableValue - a model defined in OpenAPI
228
221
 
229
222
  Args:
230
223
  id (str): The id of the template variable the value is applied to
@@ -260,12 +253,12 @@ class ExternalTemplateVariableValue(ModelNormal):
260
253
  Animal class but this time we won't travel
261
254
  through its discriminator because we passed in
262
255
  _visited_composed_classes = (Animal,)
263
- text_variable_value (ExternalTextVariableValue): [optional] # noqa: E501
264
- choice_variable_value (ExternalChoiceVariableValue): [optional] # noqa: E501
265
- color_variable_value (ExternalColorVariableValue): [optional] # noqa: E501
266
- files_variable_value (ExternalFilesVariableValue): [optional] # noqa: E501
267
- hyperlink_variable_value (ExternalHyperlinkVariableValue): [optional] # noqa: E501
268
- video_variable_value (ExternalVideoVariableValue): [optional] # noqa: E501
256
+ text_variable_value (TextVariableValue): [optional] # noqa: E501
257
+ choice_variable_value (ChoiceVariableValue): [optional] # noqa: E501
258
+ color_variable_value (ColorVariableValue): [optional] # noqa: E501
259
+ files_variable_value (FilesVariableValue): [optional] # noqa: E501
260
+ hyperlink_variable_value (HyperlinkVariableValue): [optional] # noqa: E501
261
+ video_variable_value (VideoVariableValue): [optional] # noqa: E501
269
262
  """
270
263
 
271
264
  _check_type = kwargs.pop('_check_type', True)
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalTextVariableValue(ModelNormal):
33
+ class TextVariableValue(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -60,15 +60,9 @@ class ExternalTextVariableValue(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- @cached_property
64
- def additional_properties_type():
65
- """
66
- This must be a method because a model may have properties that are
67
- of type self, this must run after the class is loaded
68
- """
69
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
63
+ additional_properties_type = None
70
64
 
71
- _nullable = False
65
+ _nullable = True
72
66
 
73
67
  @cached_property
74
68
  def openapi_types():
@@ -101,7 +95,7 @@ class ExternalTextVariableValue(ModelNormal):
101
95
  @classmethod
102
96
  @convert_js_args_to_python_args
103
97
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
104
- """ExternalTextVariableValue - a model defined in OpenAPI
98
+ """TextVariableValue - a model defined in OpenAPI
105
99
 
106
100
  Keyword Args:
107
101
  _check_type (bool): if True, values for parameters in openapi_types
@@ -187,7 +181,7 @@ class ExternalTextVariableValue(ModelNormal):
187
181
 
188
182
  @convert_js_args_to_python_args
189
183
  def __init__(self, *args, **kwargs): # noqa: E501
190
- """ExternalTextVariableValue - a model defined in OpenAPI
184
+ """TextVariableValue - a model defined in OpenAPI
191
185
 
192
186
  Keyword Args:
193
187
  _check_type (bool): if True, values for parameters in openapi_types