criteo-api-retailmedia-sdk 0.0.250811__py3-none-any.whl → 0.0.250819__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.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/audience_api.py +4 -4
- criteo_api_retailmedia_preview/api/balance_api.py +50 -50
- criteo_api_retailmedia_preview/api/campaign_api.py +424 -398
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/balance_response_v2.py +6 -6
- criteo_api_retailmedia_preview/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +3 -3
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +9 -9
- criteo_api_retailmedia_preview/model/create_balance_v2.py +6 -6
- criteo_api_retailmedia_preview/model/flight_leg.py +6 -6
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +5 -5
- criteo_api_retailmedia_preview/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +4 -4
- criteo_api_retailmedia_preview/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
- criteo_api_retailmedia_preview/model/{external_line_item_page_v2.py → line_item_page_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/page_metadata.py +1 -1
- criteo_api_retailmedia_preview/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +16 -16
- criteo_api_retailmedia_preview/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +16 -16
- criteo_api_retailmedia_preview/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +29 -35
- criteo_api_retailmedia_preview/model/product_button_request.py +30 -12
- criteo_api_retailmedia_preview/model/{product_button_list_request.py → product_button_request_list_request.py} +4 -4
- criteo_api_retailmedia_preview/model/product_button_request_request.py +269 -0
- criteo_api_retailmedia_preview/model/{external_product_button_response.py → product_button_response.py} +3 -3
- criteo_api_retailmedia_preview/model/{product_button_list_response.py → product_button_response_list_response.py} +15 -15
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +5 -5
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +5 -5
- criteo_api_retailmedia_preview/model/resource_of_product_button_request.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_product_button_response.py +6 -6
- criteo_api_retailmedia_preview/model/{rm_audience_compute_sizes_entity_v1.py → rm_audience_compute_size_entity_v1.py} +3 -4
- criteo_api_retailmedia_preview/model/{rm_audience_compute_sizes_entity_v1_resource.py → rm_audience_compute_size_entity_v1_resource.py} +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_input_v1.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1.py +0 -1
- criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1.py +0 -1
- criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1.py +0 -1
- criteo_api_retailmedia_preview/model/rm_events_create_v1.py +0 -2
- criteo_api_retailmedia_preview/model/rm_events_estimation_v1.py +0 -2
- criteo_api_retailmedia_preview/model/rm_events_update_v1.py +0 -2
- criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +4 -4
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +6 -6
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_update_request_model.py +9 -9
- criteo_api_retailmedia_preview/models/__init__.py +13 -13
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/RECORD +45 -45
- criteo_api_retailmedia_preview/model/external_product_button_request.py +0 -287
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/top_level.txt +0 -0
|
@@ -30,13 +30,13 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
33
|
+
from criteo_api_retailmedia_preview.model.common_problem import CommonProblem
|
|
34
34
|
from criteo_api_retailmedia_preview.model.resource_of_product_button_response import ResourceOfProductButtonResponse
|
|
35
|
-
globals()['
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
36
|
globals()['ResourceOfProductButtonResponse'] = ResourceOfProductButtonResponse
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class ProductButtonResponseListResponse(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -75,7 +75,7 @@ class ProductButtonListResponse(ModelNormal):
|
|
|
75
75
|
lazy_import()
|
|
76
76
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
77
77
|
|
|
78
|
-
_nullable =
|
|
78
|
+
_nullable = True
|
|
79
79
|
|
|
80
80
|
@cached_property
|
|
81
81
|
def openapi_types():
|
|
@@ -89,9 +89,9 @@ class ProductButtonListResponse(ModelNormal):
|
|
|
89
89
|
"""
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
|
-
'data': ([ResourceOfProductButtonResponse],), # noqa: E501
|
|
93
|
-
'errors': ([
|
|
94
|
-
'warnings': ([
|
|
92
|
+
'data': ([ResourceOfProductButtonResponse], none_type,), # noqa: E501
|
|
93
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -115,7 +115,7 @@ class ProductButtonListResponse(ModelNormal):
|
|
|
115
115
|
@classmethod
|
|
116
116
|
@convert_js_args_to_python_args
|
|
117
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
118
|
+
"""ProductButtonResponseListResponse - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Keyword Args:
|
|
121
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -148,9 +148,9 @@ class ProductButtonListResponse(ModelNormal):
|
|
|
148
148
|
Animal class but this time we won't travel
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
|
-
data ([ResourceOfProductButtonResponse]): [optional] # noqa: E501
|
|
152
|
-
errors ([
|
|
153
|
-
warnings ([
|
|
151
|
+
data ([ResourceOfProductButtonResponse], none_type): [optional] # noqa: E501
|
|
152
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -203,7 +203,7 @@ class ProductButtonListResponse(ModelNormal):
|
|
|
203
203
|
|
|
204
204
|
@convert_js_args_to_python_args
|
|
205
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
206
|
-
"""
|
|
206
|
+
"""ProductButtonResponseListResponse - a model defined in OpenAPI
|
|
207
207
|
|
|
208
208
|
Keyword Args:
|
|
209
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -236,9 +236,9 @@ class ProductButtonListResponse(ModelNormal):
|
|
|
236
236
|
Animal class but this time we won't travel
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
|
-
data ([ResourceOfProductButtonResponse]): [optional] # noqa: E501
|
|
240
|
-
errors ([
|
|
241
|
-
warnings ([
|
|
239
|
+
data ([ResourceOfProductButtonResponse], none_type): [optional] # noqa: E501
|
|
240
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2 import PreferredLineItemUpdateModelV2
|
|
34
|
+
globals()['PreferredLineItemUpdateModelV2'] = PreferredLineItemUpdateModelV2
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class ResourceOfPreferredLineItemUpdateModelV2(ModelNormal):
|
|
@@ -87,7 +87,7 @@ class ResourceOfPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (PreferredLineItemUpdateModelV2,), # noqa: E501
|
|
91
91
|
'id': (str,), # noqa: E501
|
|
92
92
|
'type': (str,), # noqa: E501
|
|
93
93
|
}
|
|
@@ -144,7 +144,7 @@ class ResourceOfPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
attributes (
|
|
147
|
+
attributes (PreferredLineItemUpdateModelV2): [optional] # noqa: E501
|
|
148
148
|
id (str): Id of the entity. [optional] # noqa: E501
|
|
149
149
|
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
@@ -232,7 +232,7 @@ class ResourceOfPreferredLineItemUpdateModelV2(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
attributes (
|
|
235
|
+
attributes (PreferredLineItemUpdateModelV2): [optional] # noqa: E501
|
|
236
236
|
id (str): Id of the entity. [optional] # noqa: E501
|
|
237
237
|
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
238
238
|
"""
|
|
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.preferred_line_item_v2 import PreferredLineItemV2
|
|
34
|
+
globals()['PreferredLineItemV2'] = PreferredLineItemV2
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class ResourceOfPreferredLineItemV2(ModelNormal):
|
|
@@ -87,7 +87,7 @@ class ResourceOfPreferredLineItemV2(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (PreferredLineItemV2,), # noqa: E501
|
|
91
91
|
'id': (str, none_type,), # noqa: E501
|
|
92
92
|
'type': (str, none_type,), # noqa: E501
|
|
93
93
|
}
|
|
@@ -144,7 +144,7 @@ class ResourceOfPreferredLineItemV2(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
attributes (
|
|
147
|
+
attributes (PreferredLineItemV2): [optional] # noqa: E501
|
|
148
148
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
@@ -232,7 +232,7 @@ class ResourceOfPreferredLineItemV2(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
attributes (
|
|
235
|
+
attributes (PreferredLineItemV2): [optional] # noqa: E501
|
|
236
236
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
238
238
|
"""
|
|
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.product_button_request import ProductButtonRequest
|
|
34
|
+
globals()['ProductButtonRequest'] = ProductButtonRequest
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class ResourceOfProductButtonRequest(ModelNormal):
|
|
@@ -73,7 +73,7 @@ class ResourceOfProductButtonRequest(ModelNormal):
|
|
|
73
73
|
lazy_import()
|
|
74
74
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
75
75
|
|
|
76
|
-
_nullable =
|
|
76
|
+
_nullable = True
|
|
77
77
|
|
|
78
78
|
@cached_property
|
|
79
79
|
def openapi_types():
|
|
@@ -87,7 +87,7 @@ class ResourceOfProductButtonRequest(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (ProductButtonRequest,), # noqa: E501
|
|
91
91
|
'id': (str,), # noqa: E501
|
|
92
92
|
'type': (str,), # noqa: E501
|
|
93
93
|
}
|
|
@@ -144,7 +144,7 @@ class ResourceOfProductButtonRequest(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
attributes (
|
|
147
|
+
attributes (ProductButtonRequest): [optional] # noqa: E501
|
|
148
148
|
id (str): Id of the entity. [optional] # noqa: E501
|
|
149
149
|
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
@@ -232,7 +232,7 @@ class ResourceOfProductButtonRequest(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
attributes (
|
|
235
|
+
attributes (ProductButtonRequest): [optional] # noqa: E501
|
|
236
236
|
id (str): Id of the entity. [optional] # noqa: E501
|
|
237
237
|
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
238
238
|
"""
|
|
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.product_button_response import ProductButtonResponse
|
|
34
|
+
globals()['ProductButtonResponse'] = ProductButtonResponse
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class ResourceOfProductButtonResponse(ModelNormal):
|
|
@@ -73,7 +73,7 @@ class ResourceOfProductButtonResponse(ModelNormal):
|
|
|
73
73
|
lazy_import()
|
|
74
74
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
75
75
|
|
|
76
|
-
_nullable =
|
|
76
|
+
_nullable = True
|
|
77
77
|
|
|
78
78
|
@cached_property
|
|
79
79
|
def openapi_types():
|
|
@@ -87,7 +87,7 @@ class ResourceOfProductButtonResponse(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (ProductButtonResponse,), # noqa: E501
|
|
91
91
|
'id': (str, none_type,), # noqa: E501
|
|
92
92
|
'type': (str, none_type,), # noqa: E501
|
|
93
93
|
}
|
|
@@ -144,7 +144,7 @@ class ResourceOfProductButtonResponse(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
attributes (
|
|
147
|
+
attributes (ProductButtonResponse): [optional] # noqa: E501
|
|
148
148
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
@@ -232,7 +232,7 @@ class ResourceOfProductButtonResponse(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
attributes (
|
|
235
|
+
attributes (ProductButtonResponse): [optional] # noqa: E501
|
|
236
236
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
238
238
|
"""
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class RmAudienceComputeSizeEntityV1(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -56,7 +56,6 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
|
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('channel',): {
|
|
59
|
-
'UNKNOWN': "Unknown",
|
|
60
59
|
'ONSITE': "Onsite",
|
|
61
60
|
'OFFSITE': "Offsite",
|
|
62
61
|
},
|
|
@@ -108,7 +107,7 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
|
|
|
108
107
|
@classmethod
|
|
109
108
|
@convert_js_args_to_python_args
|
|
110
109
|
def _from_openapi_data(cls, channel, ids, *args, **kwargs): # noqa: E501
|
|
111
|
-
"""
|
|
110
|
+
"""RmAudienceComputeSizeEntityV1 - a model defined in OpenAPI
|
|
112
111
|
|
|
113
112
|
Args:
|
|
114
113
|
channel (str): Channel to compute the sizes for.
|
|
@@ -199,7 +198,7 @@ class RmAudienceComputeSizesEntityV1(ModelNormal):
|
|
|
199
198
|
|
|
200
199
|
@convert_js_args_to_python_args
|
|
201
200
|
def __init__(self, channel, ids, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
201
|
+
"""RmAudienceComputeSizeEntityV1 - a model defined in OpenAPI
|
|
203
202
|
|
|
204
203
|
Args:
|
|
205
204
|
channel (str): Channel to compute the sizes for.
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.rm_audience_compute_size_entity_v1 import RmAudienceComputeSizeEntityV1
|
|
34
|
+
globals()['RmAudienceComputeSizeEntityV1'] = RmAudienceComputeSizeEntityV1
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class RmAudienceComputeSizeEntityV1Resource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class RmAudienceComputeSizesEntityV1Resource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (RmAudienceComputeSizeEntityV1,), # noqa: E501
|
|
91
91
|
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -109,7 +109,7 @@ class RmAudienceComputeSizesEntityV1Resource(ModelNormal):
|
|
|
109
109
|
@classmethod
|
|
110
110
|
@convert_js_args_to_python_args
|
|
111
111
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
112
|
-
"""
|
|
112
|
+
"""RmAudienceComputeSizeEntityV1Resource - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Keyword Args:
|
|
115
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -142,7 +142,7 @@ class RmAudienceComputeSizesEntityV1Resource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
attributes (
|
|
145
|
+
attributes (RmAudienceComputeSizeEntityV1): [optional] # noqa: E501
|
|
146
146
|
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
@@ -196,7 +196,7 @@ class RmAudienceComputeSizesEntityV1Resource(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@convert_js_args_to_python_args
|
|
198
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
199
|
+
"""RmAudienceComputeSizeEntityV1Resource - a model defined in OpenAPI
|
|
200
200
|
|
|
201
201
|
Keyword Args:
|
|
202
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -229,7 +229,7 @@ class RmAudienceComputeSizesEntityV1Resource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
attributes (
|
|
232
|
+
attributes (RmAudienceComputeSizeEntityV1): [optional] # noqa: E501
|
|
233
233
|
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.rm_audience_compute_size_entity_v1_resource import RmAudienceComputeSizeEntityV1Resource
|
|
34
|
+
globals()['RmAudienceComputeSizeEntityV1Resource'] = RmAudienceComputeSizeEntityV1Resource
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class RmAudienceComputeSizesInputV1(ModelNormal):
|
|
@@ -87,7 +87,7 @@ class RmAudienceComputeSizesInputV1(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (RmAudienceComputeSizeEntityV1Resource,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -140,7 +140,7 @@ class RmAudienceComputeSizesInputV1(ModelNormal):
|
|
|
140
140
|
Animal class but this time we won't travel
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
data (
|
|
143
|
+
data (RmAudienceComputeSizeEntityV1Resource): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -226,7 +226,7 @@ class RmAudienceComputeSizesInputV1(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
data (
|
|
229
|
+
data (RmAudienceComputeSizeEntityV1Resource): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -56,7 +56,6 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('lookback_days',): {
|
|
59
|
-
'UNKNOWN': "Unknown",
|
|
60
59
|
'LAST7DAYS': "Last7Days",
|
|
61
60
|
'LAST14DAYS': "Last14Days",
|
|
62
61
|
'LAST30DAYS': "Last30Days",
|
|
@@ -68,7 +67,6 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
68
67
|
'LAST180DAYS': "Last180Days",
|
|
69
68
|
},
|
|
70
69
|
('shopper_activity',): {
|
|
71
|
-
'UNKNOWN': "Unknown",
|
|
72
70
|
'VIEW': "View",
|
|
73
71
|
'BUY': "Buy",
|
|
74
72
|
'ADDTOCART': "AddToCart",
|
|
@@ -56,7 +56,6 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('lookback_days',): {
|
|
59
|
-
'UNKNOWN': "Unknown",
|
|
60
59
|
'LAST7DAYS': "Last7Days",
|
|
61
60
|
'LAST14DAYS': "Last14Days",
|
|
62
61
|
'LAST30DAYS': "Last30Days",
|
|
@@ -68,7 +67,6 @@ class RmEventsEstimationV1(ModelNormal):
|
|
|
68
67
|
'LAST180DAYS': "Last180Days",
|
|
69
68
|
},
|
|
70
69
|
('shopper_activity',): {
|
|
71
|
-
'UNKNOWN': "Unknown",
|
|
72
70
|
'VIEW': "View",
|
|
73
71
|
'BUY': "Buy",
|
|
74
72
|
'ADDTOCART': "AddToCart",
|
|
@@ -60,7 +60,6 @@ class RmEventsUpdateV1(ModelNormal):
|
|
|
60
60
|
|
|
61
61
|
allowed_values = {
|
|
62
62
|
('lookback_days',): {
|
|
63
|
-
'UNKNOWN': "Unknown",
|
|
64
63
|
'LAST7DAYS': "Last7Days",
|
|
65
64
|
'LAST14DAYS': "Last14Days",
|
|
66
65
|
'LAST30DAYS': "Last30Days",
|
|
@@ -72,7 +71,6 @@ class RmEventsUpdateV1(ModelNormal):
|
|
|
72
71
|
'LAST180DAYS': "Last180Days",
|
|
73
72
|
},
|
|
74
73
|
('shopper_activity',): {
|
|
75
|
-
'UNKNOWN': "Unknown",
|
|
76
74
|
'VIEW': "View",
|
|
77
75
|
'BUY': "Buy",
|
|
78
76
|
'ADDTOCART': "AddToCart",
|
|
@@ -61,10 +61,10 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
61
61
|
allowed_values = {
|
|
62
62
|
('bid_strategy',): {
|
|
63
63
|
'None': None,
|
|
64
|
-
'UNKNOWN': "
|
|
65
|
-
'CONVERSION': "
|
|
66
|
-
'CLICKS': "
|
|
67
|
-
'REVENUE': "
|
|
64
|
+
'UNKNOWN': "unknown",
|
|
65
|
+
'CONVERSION': "conversion",
|
|
66
|
+
'CLICKS': "clicks",
|
|
67
|
+
'REVENUE': "revenue",
|
|
68
68
|
},
|
|
69
69
|
('status',): {
|
|
70
70
|
'None': None,
|
|
@@ -60,10 +60,10 @@ class SponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
|
60
60
|
|
|
61
61
|
allowed_values = {
|
|
62
62
|
('bid_strategy',): {
|
|
63
|
-
'UNKNOWN': "
|
|
64
|
-
'CONVERSION': "
|
|
65
|
-
'CLICKS': "
|
|
66
|
-
'REVENUE': "
|
|
63
|
+
'UNKNOWN': "unknown",
|
|
64
|
+
'CONVERSION': "conversion",
|
|
65
|
+
'CLICKS': "clicks",
|
|
66
|
+
'REVENUE': "revenue",
|
|
67
67
|
},
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -176,7 +176,7 @@ class SponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
|
176
176
|
Animal class but this time we won't travel
|
|
177
177
|
through its discriminator because we passed in
|
|
178
178
|
_visited_composed_classes = (Animal,)
|
|
179
|
-
bid_strategy (str): [optional] if omitted the server will use the default value of "
|
|
179
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
180
180
|
budget (float, none_type): [optional] # noqa: E501
|
|
181
181
|
conquesting_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
182
182
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
@@ -281,7 +281,7 @@ class SponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
|
281
281
|
Animal class but this time we won't travel
|
|
282
282
|
through its discriminator because we passed in
|
|
283
283
|
_visited_composed_classes = (Animal,)
|
|
284
|
-
bid_strategy (str): [optional] if omitted the server will use the default value of "
|
|
284
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
285
285
|
budget (float, none_type): [optional] # noqa: E501
|
|
286
286
|
conquesting_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
287
287
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
@@ -60,15 +60,15 @@ class SponsoredProductsLineItemUpdateRequestModel(ModelNormal):
|
|
|
60
60
|
|
|
61
61
|
allowed_values = {
|
|
62
62
|
('status',): {
|
|
63
|
-
'ACTIVE': "
|
|
64
|
-
'PAUSED': "
|
|
65
|
-
'DRAFT': "
|
|
63
|
+
'ACTIVE': "active",
|
|
64
|
+
'PAUSED': "paused",
|
|
65
|
+
'DRAFT': "draft",
|
|
66
66
|
},
|
|
67
67
|
('bid_strategy',): {
|
|
68
|
-
'UNKNOWN': "
|
|
69
|
-
'CONVERSION': "
|
|
70
|
-
'CLICKS': "
|
|
71
|
-
'REVENUE': "
|
|
68
|
+
'UNKNOWN': "unknown",
|
|
69
|
+
'CONVERSION': "conversion",
|
|
70
|
+
'CLICKS': "clicks",
|
|
71
|
+
'REVENUE': "revenue",
|
|
72
72
|
},
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -177,7 +177,7 @@ class SponsoredProductsLineItemUpdateRequestModel(ModelNormal):
|
|
|
177
177
|
Animal class but this time we won't travel
|
|
178
178
|
through its discriminator because we passed in
|
|
179
179
|
_visited_composed_classes = (Animal,)
|
|
180
|
-
bid_strategy (str): [optional] if omitted the server will use the default value of "
|
|
180
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
181
181
|
budget (float, none_type): [optional] # noqa: E501
|
|
182
182
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
183
183
|
end_date (datetime, none_type): [optional] # noqa: E501
|
|
@@ -281,7 +281,7 @@ class SponsoredProductsLineItemUpdateRequestModel(ModelNormal):
|
|
|
281
281
|
Animal class but this time we won't travel
|
|
282
282
|
through its discriminator because we passed in
|
|
283
283
|
_visited_composed_classes = (Animal,)
|
|
284
|
-
bid_strategy (str): [optional] if omitted the server will use the default value of "
|
|
284
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
285
285
|
budget (float, none_type): [optional] # noqa: E501
|
|
286
286
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
287
287
|
end_date (datetime, none_type): [optional] # noqa: E501
|
|
@@ -39,6 +39,7 @@ from criteo_api_retailmedia_preview.model.audience_error import AudienceError
|
|
|
39
39
|
from criteo_api_retailmedia_preview.model.audience_warning import AudienceWarning
|
|
40
40
|
from criteo_api_retailmedia_preview.model.balance_history_change_data_capture_v1 import BalanceHistoryChangeDataCaptureV1
|
|
41
41
|
from criteo_api_retailmedia_preview.model.balance_response_v2 import BalanceResponseV2
|
|
42
|
+
from criteo_api_retailmedia_preview.model.balance_response_v2_paged_list_response import BalanceResponseV2PagedListResponse
|
|
42
43
|
from criteo_api_retailmedia_preview.model.balance_response_v2_response import BalanceResponseV2Response
|
|
43
44
|
from criteo_api_retailmedia_preview.model.batch_accepted_response import BatchAcceptedResponse
|
|
44
45
|
from criteo_api_retailmedia_preview.model.bot_message import BotMessage
|
|
@@ -86,14 +87,6 @@ from criteo_api_retailmedia_preview.model.entity_resource_partner_billing_report
|
|
|
86
87
|
from criteo_api_retailmedia_preview.model.error_code_response import ErrorCodeResponse
|
|
87
88
|
from criteo_api_retailmedia_preview.model.export_report_column import ExportReportColumn
|
|
88
89
|
from criteo_api_retailmedia_preview.model.export_report_meta_data import ExportReportMetaData
|
|
89
|
-
from criteo_api_retailmedia_preview.model.external_line_item_capping_v2 import ExternalLineItemCappingV2
|
|
90
|
-
from criteo_api_retailmedia_preview.model.external_line_item_page_category_v2 import ExternalLineItemPageCategoryV2
|
|
91
|
-
from criteo_api_retailmedia_preview.model.external_line_item_page_v2 import ExternalLineItemPageV2
|
|
92
|
-
from criteo_api_retailmedia_preview.model.external_preferred_line_item_create_model_v2 import ExternalPreferredLineItemCreateModelV2
|
|
93
|
-
from criteo_api_retailmedia_preview.model.external_preferred_line_item_update_model_v2 import ExternalPreferredLineItemUpdateModelV2
|
|
94
|
-
from criteo_api_retailmedia_preview.model.external_preferred_line_item_v2 import ExternalPreferredLineItemV2
|
|
95
|
-
from criteo_api_retailmedia_preview.model.external_product_button_request import ExternalProductButtonRequest
|
|
96
|
-
from criteo_api_retailmedia_preview.model.external_product_button_response import ExternalProductButtonResponse
|
|
97
90
|
from criteo_api_retailmedia_preview.model.external_retail_media_child_account import ExternalRetailMediaChildAccount
|
|
98
91
|
from criteo_api_retailmedia_preview.model.fail_response import FailResponse
|
|
99
92
|
from criteo_api_retailmedia_preview.model.files_variable_value import FilesVariableValue
|
|
@@ -110,7 +103,10 @@ from criteo_api_retailmedia_preview.model.keyword_data_model import KeywordDataM
|
|
|
110
103
|
from criteo_api_retailmedia_preview.model.keywords_model import KeywordsModel
|
|
111
104
|
from criteo_api_retailmedia_preview.model.keywords_model_resource import KeywordsModelResource
|
|
112
105
|
from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
|
|
106
|
+
from criteo_api_retailmedia_preview.model.line_item_capping_v2 import LineItemCappingV2
|
|
113
107
|
from criteo_api_retailmedia_preview.model.line_item_keyword_review_report import LineItemKeywordReviewReport
|
|
108
|
+
from criteo_api_retailmedia_preview.model.line_item_page_category_v2 import LineItemPageCategoryV2
|
|
109
|
+
from criteo_api_retailmedia_preview.model.line_item_page_v2 import LineItemPageV2
|
|
114
110
|
from criteo_api_retailmedia_preview.model.line_item_product_status import LineItemProductStatus
|
|
115
111
|
from criteo_api_retailmedia_preview.model.loyalty_points import LoyaltyPoints
|
|
116
112
|
from criteo_api_retailmedia_preview.model.managed_service_fee import ManagedServiceFee
|
|
@@ -126,14 +122,16 @@ from criteo_api_retailmedia_preview.model.outcome import Outcome
|
|
|
126
122
|
from criteo_api_retailmedia_preview.model.page_metadata import PageMetadata
|
|
127
123
|
from criteo_api_retailmedia_preview.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1
|
|
128
124
|
from criteo_api_retailmedia_preview.model.page_type_environment2 import PageTypeEnvironment2
|
|
129
|
-
from criteo_api_retailmedia_preview.model.paged_resource_collection_outcome_of_balance_response_v2 import PagedResourceCollectionOutcomeOfBalanceResponseV2
|
|
130
125
|
from criteo_api_retailmedia_preview.model.paging_offset_limit_metadata import PagingOffsetLimitMetadata
|
|
131
126
|
from criteo_api_retailmedia_preview.model.partner_billing_report_request_v1 import PartnerBillingReportRequestV1
|
|
132
127
|
from criteo_api_retailmedia_preview.model.partner_billing_report_status_v1 import PartnerBillingReportStatusV1
|
|
133
128
|
from criteo_api_retailmedia_preview.model.placement_preview import PlacementPreview
|
|
134
129
|
from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
|
|
130
|
+
from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2 import PreferredLineItemCreateModelV2
|
|
135
131
|
from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
|
|
132
|
+
from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2 import PreferredLineItemUpdateModelV2
|
|
136
133
|
from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
|
|
134
|
+
from criteo_api_retailmedia_preview.model.preferred_line_item_v2 import PreferredLineItemV2
|
|
137
135
|
from criteo_api_retailmedia_preview.model.preferred_line_item_v2_paged_list_response import PreferredLineItemV2PagedListResponse
|
|
138
136
|
from criteo_api_retailmedia_preview.model.preferred_line_item_v2_response import PreferredLineItemV2Response
|
|
139
137
|
from criteo_api_retailmedia_preview.model.price import Price
|
|
@@ -141,9 +139,11 @@ from criteo_api_retailmedia_preview.model.private_market_account_fees import Pri
|
|
|
141
139
|
from criteo_api_retailmedia_preview.model.private_market_fees import PrivateMarketFees
|
|
142
140
|
from criteo_api_retailmedia_preview.model.problem_details import ProblemDetails
|
|
143
141
|
from criteo_api_retailmedia_preview.model.product import Product
|
|
144
|
-
from criteo_api_retailmedia_preview.model.product_button_list_request import ProductButtonListRequest
|
|
145
|
-
from criteo_api_retailmedia_preview.model.product_button_list_response import ProductButtonListResponse
|
|
146
142
|
from criteo_api_retailmedia_preview.model.product_button_request import ProductButtonRequest
|
|
143
|
+
from criteo_api_retailmedia_preview.model.product_button_request_list_request import ProductButtonRequestListRequest
|
|
144
|
+
from criteo_api_retailmedia_preview.model.product_button_request_request import ProductButtonRequestRequest
|
|
145
|
+
from criteo_api_retailmedia_preview.model.product_button_response import ProductButtonResponse
|
|
146
|
+
from criteo_api_retailmedia_preview.model.product_button_response_list_response import ProductButtonResponseListResponse
|
|
147
147
|
from criteo_api_retailmedia_preview.model.product_importer_error import ProductImporterError
|
|
148
148
|
from criteo_api_retailmedia_preview.model.product_importer_warning import ProductImporterWarning
|
|
149
149
|
from criteo_api_retailmedia_preview.model.product_metadata import ProductMetadata
|
|
@@ -201,8 +201,8 @@ from criteo_api_retailmedia_preview.model.rm_algebra_node_v1 import RmAlgebraNod
|
|
|
201
201
|
from criteo_api_retailmedia_preview.model.rm_audience_bulk_create_input_v1 import RmAudienceBulkCreateInputV1
|
|
202
202
|
from criteo_api_retailmedia_preview.model.rm_audience_bulk_delete_input_v1 import RmAudienceBulkDeleteInputV1
|
|
203
203
|
from criteo_api_retailmedia_preview.model.rm_audience_bulk_update_input_v1 import RmAudienceBulkUpdateInputV1
|
|
204
|
-
from criteo_api_retailmedia_preview.model.
|
|
205
|
-
from criteo_api_retailmedia_preview.model.
|
|
204
|
+
from criteo_api_retailmedia_preview.model.rm_audience_compute_size_entity_v1 import RmAudienceComputeSizeEntityV1
|
|
205
|
+
from criteo_api_retailmedia_preview.model.rm_audience_compute_size_entity_v1_resource import RmAudienceComputeSizeEntityV1Resource
|
|
206
206
|
from criteo_api_retailmedia_preview.model.rm_audience_compute_sizes_input_v1 import RmAudienceComputeSizesInputV1
|
|
207
207
|
from criteo_api_retailmedia_preview.model.rm_audience_create_entity_v1 import RmAudienceCreateEntityV1
|
|
208
208
|
from criteo_api_retailmedia_preview.model.rm_audience_create_entity_v1_resource import RmAudienceCreateEntityV1Resource
|