criteo-api-retailmedia-sdk 2023.7.0.240404__py3-none-any.whl → 2023.7.0.240618__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_sdk-2023.7.0.240404.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240618.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2023.7.0.240404.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240618.dist-info}/RECORD +33 -29
- criteo_api_retailmedia_v2023_07/__init__.py +1 -1
- criteo_api_retailmedia_v2023_07/api/campaign_api.py +40 -50
- criteo_api_retailmedia_v2023_07/api_client.py +1 -1
- criteo_api_retailmedia_v2023_07/configuration.py +1 -1
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_add_remove_keyword_model.py → add_remove_keyword_model.py} +12 -19
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_set_bids_model.py → add_remove_keywords_model.py} +9 -18
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_set_bids_model_request.py → add_remove_keywords_model_request.py} +9 -16
- criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_proposal_status_model_resource.py → approval_status_model.py} +86 -77
- criteo_api_retailmedia_v2023_07/model/async_campaigns_report.py +24 -13
- criteo_api_retailmedia_v2023_07/model/async_line_items_report.py +24 -13
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_input_keywords_model.py → input_keywords_model.py} +4 -16
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_keyword_data_model.py → keyword_data_model.py} +19 -37
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_keywords_model.py → keywords_model.py} +9 -18
- criteo_api_retailmedia_v2023_07/model/keywords_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_07/model/keywords_model_response.py +274 -0
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_keywords_model_resource.py → match_type_model.py} +85 -77
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_set_bids_model_resource.py → negotiation_state_model.py} +87 -77
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_proposal_status_model.py → proposal_status_model.py} +22 -50
- criteo_api_retailmedia_v2023_07/model/proposal_status_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_resource_outcome.py → proposal_status_model_response.py} +18 -23
- criteo_api_retailmedia_v2023_07/model/resource_outcome.py +268 -0
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_add_remove_keywords_model_resource.py → review_state_model.py} +88 -77
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_problem_details.py → rmca_common_problem.py} +41 -30
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_set_bid_model.py → set_bid_model.py} +4 -10
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_add_remove_keywords_model.py → set_bids_model.py} +9 -18
- criteo_api_retailmedia_v2023_07/model/{retail_media_externalv1_add_remove_keywords_model_request.py → set_bids_model_request.py} +9 -16
- criteo_api_retailmedia_v2023_07/model/set_bids_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_07/models/__init__.py +22 -18
- criteo_api_retailmedia_v2023_07/model/retail_media_externalv1_keywords_model_response.py +0 -285
- criteo_api_retailmedia_v2023_07/model/retail_media_externalv1_proposal_status_model_response.py +0 -285
- {criteo_api_retailmedia_sdk-2023.7.0.240404.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240618.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-2023.7.0.240404.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240618.dist-info}/top_level.txt +0 -0
|
@@ -57,11 +57,13 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('campaign_type',): {
|
|
59
59
|
'None': None,
|
|
60
|
+
'ALL': "all",
|
|
60
61
|
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
61
62
|
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
62
63
|
},
|
|
63
64
|
('sales_channel',): {
|
|
64
65
|
'None': None,
|
|
66
|
+
'ALL': "all",
|
|
65
67
|
'OFFLINE': "offline",
|
|
66
68
|
'ONLINE': "online",
|
|
67
69
|
},
|
|
@@ -85,18 +87,18 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
85
87
|
},
|
|
86
88
|
('click_attribution_window',): {
|
|
87
89
|
'None': None,
|
|
90
|
+
'NONE': "none",
|
|
88
91
|
'7D': "7D",
|
|
89
92
|
'14D': "14D",
|
|
90
93
|
'30D': "30D",
|
|
91
|
-
'NONE': "none",
|
|
92
94
|
},
|
|
93
95
|
('view_attribution_window',): {
|
|
94
96
|
'None': None,
|
|
97
|
+
'NONE': "none",
|
|
95
98
|
'1D': "1D",
|
|
96
99
|
'7D': "7D",
|
|
97
100
|
'14D': "14D",
|
|
98
101
|
'30D': "30D",
|
|
99
|
-
'NONE': "none",
|
|
100
102
|
},
|
|
101
103
|
('dimensions',): {
|
|
102
104
|
'None': None,
|
|
@@ -107,19 +109,20 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
107
109
|
'CAMPAIGNID': "campaignId",
|
|
108
110
|
'CAMPAIGNNAME': "campaignName",
|
|
109
111
|
'CAMPAIGNTYPENAME': "campaignTypeName",
|
|
110
|
-
'ADVPRODUCTCATEGORY': "advProductCategory",
|
|
111
|
-
'ADVPRODUCTID': "advProductId",
|
|
112
|
-
'ADVPRODUCTNAME': "advProductName",
|
|
113
|
-
'BRANDID': "brandId",
|
|
114
|
-
'BRANDNAME': "brandName",
|
|
115
112
|
'LINEITEMID': "lineItemId",
|
|
116
113
|
'LINEITEMNAME': "lineItemName",
|
|
117
114
|
'RETAILERID': "retailerId",
|
|
118
115
|
'RETAILERNAME': "retailerName",
|
|
119
|
-
'
|
|
120
|
-
'
|
|
116
|
+
'BRANDID': "brandId",
|
|
117
|
+
'BRANDNAME': "brandName",
|
|
118
|
+
'ADVPRODUCTCATEGORY': "advProductCategory",
|
|
119
|
+
'ADVPRODUCTID': "advProductId",
|
|
120
|
+
'ADVPRODUCTNAME': "advProductName",
|
|
121
121
|
'SALESCHANNEL': "salesChannel",
|
|
122
122
|
'ENVIRONMENT': "environment",
|
|
123
|
+
'PAGETYPENAME': "pageTypeName",
|
|
124
|
+
'KEYWORD': "keyword",
|
|
125
|
+
'SEARCHTERM': "searchTerm",
|
|
123
126
|
},
|
|
124
127
|
('metrics',): {
|
|
125
128
|
'None': None,
|
|
@@ -136,6 +139,14 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
136
139
|
'CPO': "cpo",
|
|
137
140
|
'CPM': "cpm",
|
|
138
141
|
'ROAS': "roas",
|
|
142
|
+
'VIDEOVIEWS': "videoViews",
|
|
143
|
+
'VIDEOSSTARTED': "videosStarted",
|
|
144
|
+
'VIDEOSPLAYEDTO25': "videosPlayedTo25",
|
|
145
|
+
'VIDEOSPLAYEDTO50': "videosPlayedTo50",
|
|
146
|
+
'VIDEOSPLAYEDTO75': "videosPlayedTo75",
|
|
147
|
+
'VIDEOSPLAYEDTO100': "videosPlayedTo100",
|
|
148
|
+
'VIDEOPLAYINGRATE': "videoPlayingRate",
|
|
149
|
+
'VIDEOCOMPLETIONRATE': "videoCompletionRate",
|
|
139
150
|
'UNIQUEVISITORS': "uniqueVisitors",
|
|
140
151
|
'FREQUENCY': "frequency",
|
|
141
152
|
},
|
|
@@ -248,8 +259,8 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
248
259
|
_visited_composed_classes = (Animal,)
|
|
249
260
|
ids ([str], none_type): Campaign ids to report on. [optional] # noqa: E501
|
|
250
261
|
id (str, none_type): Campaign id to report on. [optional] # noqa: E501
|
|
251
|
-
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] # noqa: E501
|
|
252
|
-
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] # noqa: E501
|
|
262
|
+
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
263
|
+
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
253
264
|
format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|
|
254
265
|
report_type (str, none_type): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
255
266
|
click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
@@ -350,8 +361,8 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
350
361
|
_visited_composed_classes = (Animal,)
|
|
351
362
|
ids ([str], none_type): Campaign ids to report on. [optional] # noqa: E501
|
|
352
363
|
id (str, none_type): Campaign id to report on. [optional] # noqa: E501
|
|
353
|
-
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] # noqa: E501
|
|
354
|
-
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] # noqa: E501
|
|
364
|
+
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
365
|
+
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
355
366
|
format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|
|
356
367
|
report_type (str, none_type): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
357
368
|
click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
@@ -57,11 +57,13 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('campaign_type',): {
|
|
59
59
|
'None': None,
|
|
60
|
+
'ALL': "all",
|
|
60
61
|
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
61
62
|
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
62
63
|
},
|
|
63
64
|
('sales_channel',): {
|
|
64
65
|
'None': None,
|
|
66
|
+
'ALL': "all",
|
|
65
67
|
'OFFLINE': "offline",
|
|
66
68
|
'ONLINE': "online",
|
|
67
69
|
},
|
|
@@ -85,18 +87,18 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
85
87
|
},
|
|
86
88
|
('click_attribution_window',): {
|
|
87
89
|
'None': None,
|
|
90
|
+
'NONE': "none",
|
|
88
91
|
'7D': "7D",
|
|
89
92
|
'14D': "14D",
|
|
90
93
|
'30D': "30D",
|
|
91
|
-
'NONE': "none",
|
|
92
94
|
},
|
|
93
95
|
('view_attribution_window',): {
|
|
94
96
|
'None': None,
|
|
97
|
+
'NONE': "none",
|
|
95
98
|
'1D': "1D",
|
|
96
99
|
'7D': "7D",
|
|
97
100
|
'14D': "14D",
|
|
98
101
|
'30D': "30D",
|
|
99
|
-
'NONE': "none",
|
|
100
102
|
},
|
|
101
103
|
('dimensions',): {
|
|
102
104
|
'None': None,
|
|
@@ -107,19 +109,20 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
107
109
|
'CAMPAIGNID': "campaignId",
|
|
108
110
|
'CAMPAIGNNAME': "campaignName",
|
|
109
111
|
'CAMPAIGNTYPENAME': "campaignTypeName",
|
|
110
|
-
'ADVPRODUCTCATEGORY': "advProductCategory",
|
|
111
|
-
'ADVPRODUCTID': "advProductId",
|
|
112
|
-
'ADVPRODUCTNAME': "advProductName",
|
|
113
|
-
'BRANDID': "brandId",
|
|
114
|
-
'BRANDNAME': "brandName",
|
|
115
112
|
'LINEITEMID': "lineItemId",
|
|
116
113
|
'LINEITEMNAME': "lineItemName",
|
|
117
114
|
'RETAILERID': "retailerId",
|
|
118
115
|
'RETAILERNAME': "retailerName",
|
|
119
|
-
'
|
|
120
|
-
'
|
|
116
|
+
'BRANDID': "brandId",
|
|
117
|
+
'BRANDNAME': "brandName",
|
|
118
|
+
'ADVPRODUCTCATEGORY': "advProductCategory",
|
|
119
|
+
'ADVPRODUCTID': "advProductId",
|
|
120
|
+
'ADVPRODUCTNAME': "advProductName",
|
|
121
121
|
'SALESCHANNEL': "salesChannel",
|
|
122
122
|
'ENVIRONMENT': "environment",
|
|
123
|
+
'PAGETYPENAME': "pageTypeName",
|
|
124
|
+
'KEYWORD': "keyword",
|
|
125
|
+
'SEARCHTERM': "searchTerm",
|
|
123
126
|
},
|
|
124
127
|
('metrics',): {
|
|
125
128
|
'None': None,
|
|
@@ -136,6 +139,14 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
136
139
|
'CPO': "cpo",
|
|
137
140
|
'CPM': "cpm",
|
|
138
141
|
'ROAS': "roas",
|
|
142
|
+
'VIDEOVIEWS': "videoViews",
|
|
143
|
+
'VIDEOSSTARTED': "videosStarted",
|
|
144
|
+
'VIDEOSPLAYEDTO25': "videosPlayedTo25",
|
|
145
|
+
'VIDEOSPLAYEDTO50': "videosPlayedTo50",
|
|
146
|
+
'VIDEOSPLAYEDTO75': "videosPlayedTo75",
|
|
147
|
+
'VIDEOSPLAYEDTO100': "videosPlayedTo100",
|
|
148
|
+
'VIDEOPLAYINGRATE': "videoPlayingRate",
|
|
149
|
+
'VIDEOCOMPLETIONRATE': "videoCompletionRate",
|
|
139
150
|
'UNIQUEVISITORS': "uniqueVisitors",
|
|
140
151
|
'FREQUENCY': "frequency",
|
|
141
152
|
},
|
|
@@ -248,8 +259,8 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
248
259
|
_visited_composed_classes = (Animal,)
|
|
249
260
|
ids ([str], none_type): Line Item ids to report on. [optional] # noqa: E501
|
|
250
261
|
id (str, none_type): Line Item id to report on. [optional] # noqa: E501
|
|
251
|
-
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] # noqa: E501
|
|
252
|
-
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] # noqa: E501
|
|
262
|
+
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
263
|
+
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
253
264
|
format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|
|
254
265
|
report_type (str, none_type): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
255
266
|
click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
@@ -350,8 +361,8 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
350
361
|
_visited_composed_classes = (Animal,)
|
|
351
362
|
ids ([str], none_type): Line Item ids to report on. [optional] # noqa: E501
|
|
352
363
|
id (str, none_type): Line Item id to report on. [optional] # noqa: E501
|
|
353
|
-
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] # noqa: E501
|
|
354
|
-
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] # noqa: E501
|
|
364
|
+
campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
365
|
+
sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
355
366
|
format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
|
|
356
367
|
report_type (str, none_type): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
|
|
357
368
|
click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class InputKeywordsModel(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -58,21 +58,9 @@ class RetailMediaExternalv1InputKeywordsModel(ModelNormal):
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
validations = {
|
|
61
|
-
('negative_broad',): {
|
|
62
|
-
},
|
|
63
|
-
('negative_exact',): {
|
|
64
|
-
},
|
|
65
|
-
('positive_exact',): {
|
|
66
|
-
},
|
|
67
61
|
}
|
|
68
62
|
|
|
69
|
-
|
|
70
|
-
def additional_properties_type():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
"""
|
|
75
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
63
|
+
additional_properties_type = None
|
|
76
64
|
|
|
77
65
|
_nullable = False
|
|
78
66
|
|
|
@@ -111,7 +99,7 @@ class RetailMediaExternalv1InputKeywordsModel(ModelNormal):
|
|
|
111
99
|
@classmethod
|
|
112
100
|
@convert_js_args_to_python_args
|
|
113
101
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
102
|
+
"""InputKeywordsModel - a model defined in OpenAPI
|
|
115
103
|
|
|
116
104
|
Keyword Args:
|
|
117
105
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -199,7 +187,7 @@ class RetailMediaExternalv1InputKeywordsModel(ModelNormal):
|
|
|
199
187
|
|
|
200
188
|
@convert_js_args_to_python_args
|
|
201
189
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
190
|
+
"""InputKeywordsModel - a model defined in OpenAPI
|
|
203
191
|
|
|
204
192
|
Keyword Args:
|
|
205
193
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -30,11 +30,15 @@ from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_07.model.
|
|
34
|
-
|
|
33
|
+
from criteo_api_retailmedia_v2023_07.model.input_keywords_model import InputKeywordsModel
|
|
34
|
+
from criteo_api_retailmedia_v2023_07.model.match_type_model import MatchTypeModel
|
|
35
|
+
from criteo_api_retailmedia_v2023_07.model.review_state_model import ReviewStateModel
|
|
36
|
+
globals()['InputKeywordsModel'] = InputKeywordsModel
|
|
37
|
+
globals()['MatchTypeModel'] = MatchTypeModel
|
|
38
|
+
globals()['ReviewStateModel'] = ReviewStateModel
|
|
35
39
|
|
|
36
40
|
|
|
37
|
-
class
|
|
41
|
+
class KeywordDataModel(ModelNormal):
|
|
38
42
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
43
|
Ref: https://openapi-generator.tech
|
|
40
44
|
|
|
@@ -59,34 +63,12 @@ class RetailMediaExternalv1KeywordDataModel(ModelNormal):
|
|
|
59
63
|
"""
|
|
60
64
|
|
|
61
65
|
allowed_values = {
|
|
62
|
-
('review_state',): {
|
|
63
|
-
'None': None,
|
|
64
|
-
'INREVIEW': "InReview",
|
|
65
|
-
'RECOMMENDED': "Recommended",
|
|
66
|
-
'APPROVED': "Approved",
|
|
67
|
-
'AUTOAPPROVED': "AutoApproved",
|
|
68
|
-
'REJECTED': "Rejected",
|
|
69
|
-
'AUTOREJECTED': "AutoRejected",
|
|
70
|
-
},
|
|
71
|
-
('match_type',): {
|
|
72
|
-
'None': None,
|
|
73
|
-
'POSITIVEEXACTMATCH': "PositiveExactMatch",
|
|
74
|
-
'NEGATIVEEXACTMATCH': "NegativeExactMatch",
|
|
75
|
-
'NEGATIVEBROADMATCH': "NegativeBroadMatch",
|
|
76
|
-
},
|
|
77
66
|
}
|
|
78
67
|
|
|
79
68
|
validations = {
|
|
80
69
|
}
|
|
81
70
|
|
|
82
|
-
|
|
83
|
-
def additional_properties_type():
|
|
84
|
-
"""
|
|
85
|
-
This must be a method because a model may have properties that are
|
|
86
|
-
of type self, this must run after the class is loaded
|
|
87
|
-
"""
|
|
88
|
-
lazy_import()
|
|
89
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
71
|
+
additional_properties_type = None
|
|
90
72
|
|
|
91
73
|
_nullable = False
|
|
92
74
|
|
|
@@ -102,10 +84,10 @@ class RetailMediaExternalv1KeywordDataModel(ModelNormal):
|
|
|
102
84
|
"""
|
|
103
85
|
lazy_import()
|
|
104
86
|
return {
|
|
105
|
-
'review_state': (
|
|
106
|
-
'match_type': (
|
|
87
|
+
'review_state': (ReviewStateModel,), # noqa: E501
|
|
88
|
+
'match_type': (MatchTypeModel,), # noqa: E501
|
|
107
89
|
'bid': (float, none_type,), # noqa: E501
|
|
108
|
-
'input_keywords': (
|
|
90
|
+
'input_keywords': (InputKeywordsModel,), # noqa: E501
|
|
109
91
|
'created_at': (datetime, none_type,), # noqa: E501
|
|
110
92
|
'updated_at': (datetime, none_type,), # noqa: E501
|
|
111
93
|
}
|
|
@@ -132,7 +114,7 @@ class RetailMediaExternalv1KeywordDataModel(ModelNormal):
|
|
|
132
114
|
@classmethod
|
|
133
115
|
@convert_js_args_to_python_args
|
|
134
116
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
135
|
-
"""
|
|
117
|
+
"""KeywordDataModel - a model defined in OpenAPI
|
|
136
118
|
|
|
137
119
|
Keyword Args:
|
|
138
120
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -165,10 +147,10 @@ class RetailMediaExternalv1KeywordDataModel(ModelNormal):
|
|
|
165
147
|
Animal class but this time we won't travel
|
|
166
148
|
through its discriminator because we passed in
|
|
167
149
|
_visited_composed_classes = (Animal,)
|
|
168
|
-
review_state (
|
|
169
|
-
match_type (
|
|
150
|
+
review_state (ReviewStateModel): [optional] # noqa: E501
|
|
151
|
+
match_type (MatchTypeModel): [optional] # noqa: E501
|
|
170
152
|
bid (float, none_type): [optional] # noqa: E501
|
|
171
|
-
input_keywords (
|
|
153
|
+
input_keywords (InputKeywordsModel): [optional] # noqa: E501
|
|
172
154
|
created_at (datetime, none_type): [optional] # noqa: E501
|
|
173
155
|
updated_at (datetime, none_type): [optional] # noqa: E501
|
|
174
156
|
"""
|
|
@@ -223,7 +205,7 @@ class RetailMediaExternalv1KeywordDataModel(ModelNormal):
|
|
|
223
205
|
|
|
224
206
|
@convert_js_args_to_python_args
|
|
225
207
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
226
|
-
"""
|
|
208
|
+
"""KeywordDataModel - a model defined in OpenAPI
|
|
227
209
|
|
|
228
210
|
Keyword Args:
|
|
229
211
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -256,10 +238,10 @@ class RetailMediaExternalv1KeywordDataModel(ModelNormal):
|
|
|
256
238
|
Animal class but this time we won't travel
|
|
257
239
|
through its discriminator because we passed in
|
|
258
240
|
_visited_composed_classes = (Animal,)
|
|
259
|
-
review_state (
|
|
260
|
-
match_type (
|
|
241
|
+
review_state (ReviewStateModel): [optional] # noqa: E501
|
|
242
|
+
match_type (MatchTypeModel): [optional] # noqa: E501
|
|
261
243
|
bid (float, none_type): [optional] # noqa: E501
|
|
262
|
-
input_keywords (
|
|
244
|
+
input_keywords (InputKeywordsModel): [optional] # noqa: E501
|
|
263
245
|
created_at (datetime, none_type): [optional] # noqa: E501
|
|
264
246
|
updated_at (datetime, none_type): [optional] # noqa: E501
|
|
265
247
|
"""
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_07.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_07.model.keyword_data_model import KeywordDataModel
|
|
34
|
+
globals()['KeywordDataModel'] = KeywordDataModel
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class KeywordsModel(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -62,18 +62,9 @@ class RetailMediaExternalv1KeywordsModel(ModelNormal):
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
validations = {
|
|
65
|
-
('rank',): {
|
|
66
|
-
},
|
|
67
65
|
}
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
def additional_properties_type():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
"""
|
|
75
|
-
lazy_import()
|
|
76
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
77
68
|
|
|
78
69
|
_nullable = False
|
|
79
70
|
|
|
@@ -89,7 +80,7 @@ class RetailMediaExternalv1KeywordsModel(ModelNormal):
|
|
|
89
80
|
"""
|
|
90
81
|
lazy_import()
|
|
91
82
|
return {
|
|
92
|
-
'keywords': (
|
|
83
|
+
'keywords': ({str: (KeywordDataModel,)}, none_type,), # noqa: E501
|
|
93
84
|
'rank': ([str], none_type,), # noqa: E501
|
|
94
85
|
}
|
|
95
86
|
|
|
@@ -111,7 +102,7 @@ class RetailMediaExternalv1KeywordsModel(ModelNormal):
|
|
|
111
102
|
@classmethod
|
|
112
103
|
@convert_js_args_to_python_args
|
|
113
104
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
105
|
+
"""KeywordsModel - a model defined in OpenAPI
|
|
115
106
|
|
|
116
107
|
Keyword Args:
|
|
117
108
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -144,7 +135,7 @@ class RetailMediaExternalv1KeywordsModel(ModelNormal):
|
|
|
144
135
|
Animal class but this time we won't travel
|
|
145
136
|
through its discriminator because we passed in
|
|
146
137
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
keywords (
|
|
138
|
+
keywords ({str: (KeywordDataModel,)}, none_type): [optional] # noqa: E501
|
|
148
139
|
rank ([str], none_type): [optional] # noqa: E501
|
|
149
140
|
"""
|
|
150
141
|
|
|
@@ -198,7 +189,7 @@ class RetailMediaExternalv1KeywordsModel(ModelNormal):
|
|
|
198
189
|
|
|
199
190
|
@convert_js_args_to_python_args
|
|
200
191
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
201
|
-
"""
|
|
192
|
+
"""KeywordsModel - a model defined in OpenAPI
|
|
202
193
|
|
|
203
194
|
Keyword Args:
|
|
204
195
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -231,7 +222,7 @@ class RetailMediaExternalv1KeywordsModel(ModelNormal):
|
|
|
231
222
|
Animal class but this time we won't travel
|
|
232
223
|
through its discriminator because we passed in
|
|
233
224
|
_visited_composed_classes = (Animal,)
|
|
234
|
-
keywords (
|
|
225
|
+
keywords ({str: (KeywordDataModel,)}, none_type): [optional] # noqa: E501
|
|
235
226
|
rank ([str], none_type): [optional] # noqa: E501
|
|
236
227
|
"""
|
|
237
228
|
|