criteo-api-retailmedia-sdk 2023.10.0.240207__py3-none-any.whl → 2023.10.0.240515__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.10.0.240207.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240515.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2023.10.0.240207.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240515.dist-info}/RECORD +34 -30
- {criteo_api_retailmedia_sdk-2023.10.0.240207.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240515.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2023_10/__init__.py +1 -1
- criteo_api_retailmedia_v2023_10/api/campaign_api.py +38 -48
- criteo_api_retailmedia_v2023_10/api_client.py +1 -1
- criteo_api_retailmedia_v2023_10/configuration.py +1 -1
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_add_remove_keyword_model.py → add_remove_keyword_model.py} +12 -19
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_set_bids_model.py → add_remove_keywords_model.py} +9 -18
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_set_bids_model_request.py → add_remove_keywords_model_request.py} +9 -16
- criteo_api_retailmedia_v2023_10/model/add_remove_keywords_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_proposal_status_model_resource.py → approval_status_model.py} +86 -77
- criteo_api_retailmedia_v2023_10/model/async_campaigns_report.py +74 -59
- criteo_api_retailmedia_v2023_10/model/async_line_items_report.py +74 -60
- criteo_api_retailmedia_v2023_10/model/async_revenue_report.py +149 -75
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_input_keywords_model.py → input_keywords_model.py} +4 -16
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_keyword_data_model.py → keyword_data_model.py} +19 -37
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_keywords_model.py → keywords_model.py} +9 -18
- criteo_api_retailmedia_v2023_10/model/keywords_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_10/model/keywords_model_response.py +274 -0
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_keywords_model_resource.py → match_type_model.py} +85 -77
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_set_bids_model_resource.py → negotiation_state_model.py} +87 -77
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_proposal_status_model.py → proposal_status_model.py} +22 -50
- criteo_api_retailmedia_v2023_10/model/proposal_status_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_resource_outcome.py → proposal_status_model_response.py} +18 -23
- criteo_api_retailmedia_v2023_10/model/resource_outcome.py +268 -0
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_add_remove_keywords_model_resource.py → review_state_model.py} +88 -77
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_problem_details.py → rmca_common_problem.py} +41 -30
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_set_bid_model.py → set_bid_model.py} +4 -10
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_add_remove_keywords_model.py → set_bids_model.py} +9 -18
- criteo_api_retailmedia_v2023_10/model/{retail_media_externalv1_add_remove_keywords_model_request.py → set_bids_model_request.py} +9 -16
- criteo_api_retailmedia_v2023_10/model/set_bids_model_resource.py +270 -0
- criteo_api_retailmedia_v2023_10/models/__init__.py +22 -18
- criteo_api_retailmedia_v2023_10/model/retail_media_externalv1_keywords_model_response.py +0 -285
- criteo_api_retailmedia_v2023_10/model/retail_media_externalv1_proposal_status_model_response.py +0 -285
- {criteo_api_retailmedia_sdk-2023.10.0.240207.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240515.dist-info}/top_level.txt +0 -0
|
@@ -68,37 +68,25 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
68
68
|
'AUCTION': "auction",
|
|
69
69
|
'PREFERRED': "preferred",
|
|
70
70
|
},
|
|
71
|
-
('
|
|
71
|
+
('sold_by',): {
|
|
72
72
|
'None': None,
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'ATTRIBUTEDSALES': "attributedSales",
|
|
77
|
-
'ATTRIBUTEDUNITS': "attributedUnits",
|
|
78
|
-
'CPC': "cpc",
|
|
79
|
-
'CPO': "cpo",
|
|
80
|
-
'ROAS': "roas",
|
|
81
|
-
'OPENAUCTIONREVENUE': "openAuctionRevenue",
|
|
82
|
-
'PREFERREDDEALSREVENUE': "preferredDealsRevenue",
|
|
83
|
-
'AVGCPC': "avgCpc",
|
|
84
|
-
'AVGCPM': "avgCpm",
|
|
73
|
+
'DIRECTSOLD': "directSold",
|
|
74
|
+
'INDIRECTSOLD': "indirectSold",
|
|
75
|
+
'PRIVATEMARKET': "privateMarket",
|
|
85
76
|
},
|
|
86
|
-
('
|
|
77
|
+
('buy_type',): {
|
|
87
78
|
'None': None,
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'ADVPRODUCTGTIN': "advProductGtin",
|
|
100
|
-
'ADVPRODUCTMPN': "advProductMpn",
|
|
101
|
-
'ADVPRODUCTID': "advProductId",
|
|
79
|
+
'AUCTION': "auction",
|
|
80
|
+
'PREFERREDDEALS': "preferredDeals",
|
|
81
|
+
'SPONSORSHIP': "sponsorship",
|
|
82
|
+
},
|
|
83
|
+
('sku_relations',): {
|
|
84
|
+
'None': None,
|
|
85
|
+
'SAMESKU': "sameSku",
|
|
86
|
+
'SAMEPARENTSKU': "sameParentSku",
|
|
87
|
+
'SAMECATEGORY': "sameCategory",
|
|
88
|
+
'SAMEBRAND': "sameBrand",
|
|
89
|
+
'SAMESELLER': "sameSeller",
|
|
102
90
|
},
|
|
103
91
|
('format',): {
|
|
104
92
|
'None': None,
|
|
@@ -107,41 +95,123 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
107
95
|
'JSON-NEWLINE': "json-newline",
|
|
108
96
|
'CSV': "csv",
|
|
109
97
|
},
|
|
110
|
-
('
|
|
98
|
+
('campaign_type',): {
|
|
111
99
|
'None': None,
|
|
112
|
-
'
|
|
113
|
-
'
|
|
114
|
-
'
|
|
100
|
+
'ALL': "all",
|
|
101
|
+
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
102
|
+
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
115
103
|
},
|
|
116
|
-
('
|
|
104
|
+
('sales_channel',): {
|
|
117
105
|
'None': None,
|
|
118
|
-
'
|
|
119
|
-
'
|
|
106
|
+
'ALL': "all",
|
|
107
|
+
'OFFLINE': "offline",
|
|
108
|
+
'ONLINE': "online",
|
|
120
109
|
},
|
|
121
110
|
('click_attribution_window',): {
|
|
122
111
|
'None': None,
|
|
112
|
+
'NONE': "none",
|
|
123
113
|
'7D': "7D",
|
|
124
114
|
'14D': "14D",
|
|
125
115
|
'30D': "30D",
|
|
126
|
-
'NONE': "none",
|
|
127
116
|
},
|
|
128
117
|
('view_attribution_window',): {
|
|
129
118
|
'None': None,
|
|
119
|
+
'NONE': "none",
|
|
130
120
|
'1D': "1D",
|
|
131
121
|
'7D': "7D",
|
|
132
122
|
'14D': "14D",
|
|
133
123
|
'30D': "30D",
|
|
134
|
-
'NONE': "none",
|
|
135
124
|
},
|
|
136
|
-
('
|
|
125
|
+
('dimensions',): {
|
|
137
126
|
'None': None,
|
|
138
|
-
'
|
|
139
|
-
'
|
|
127
|
+
'DATE': "date",
|
|
128
|
+
'HOUR': "hour",
|
|
129
|
+
'PARENTACCOUNT': "parentAccount",
|
|
130
|
+
'ACCOUNTID': "accountId",
|
|
131
|
+
'ACCOUNTNAME': "accountName",
|
|
132
|
+
'ACCOUNTTYPENAME': "accountTypeName",
|
|
133
|
+
'CAMPAIGNID': "campaignId",
|
|
134
|
+
'CAMPAIGNNAME': "campaignName",
|
|
135
|
+
'CAMPAIGNTYPENAME': "campaignTypeName",
|
|
136
|
+
'CAMPAIGNSTARTDATE': "campaignStartDate",
|
|
137
|
+
'CAMPAIGNENDDATE': "campaignEndDate",
|
|
138
|
+
'LINEITEMID': "lineItemId",
|
|
139
|
+
'LINEITEMNAME': "lineItemName",
|
|
140
|
+
'LINEITEMSTARTDATE': "lineItemStartDate",
|
|
141
|
+
'LINEITEMENDDATE': "lineItemEndDate",
|
|
142
|
+
'LINEITEMSTATUS': "lineItemStatus",
|
|
143
|
+
'RETAILERID': "retailerId",
|
|
144
|
+
'RETAILERNAME': "retailerName",
|
|
145
|
+
'BRANDID': "brandId",
|
|
146
|
+
'BRANDNAME': "brandName",
|
|
147
|
+
'PLACEMENTID': "placementId",
|
|
148
|
+
'PLACEMENTNAME': "placementName",
|
|
149
|
+
'PAGETYPENAME': "pageTypeName",
|
|
150
|
+
'ENVIRONMENT': "environment",
|
|
151
|
+
'PAGECATEGORY': "pageCategory",
|
|
152
|
+
'ADVPRODUCTID': "advProductId",
|
|
153
|
+
'ADVPRODUCTNAME': "advProductName",
|
|
154
|
+
'ADVPRODUCTGTIN': "advProductGtin",
|
|
155
|
+
'ADVPRODUCTMPN': "advProductMpn",
|
|
156
|
+
'SOLDBY': "soldBy",
|
|
157
|
+
'SALECHANNEL': "saleChannel",
|
|
158
|
+
'ATTRIBUTIONSETTINGS': "attributionSettings",
|
|
159
|
+
'ACTIVITYTYPE': "activityType",
|
|
160
|
+
'KEYWORD': "keyword",
|
|
161
|
+
'SKURELATION': "skuRelation",
|
|
162
|
+
'RETAILERCATEGORYID': "retailerCategoryId",
|
|
163
|
+
'RETAILERCATEGORYNAME': "retailerCategoryName",
|
|
164
|
+
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
165
|
+
'TAXONOMY1ID': "taxonomy1Id",
|
|
166
|
+
'TAXONOMY1NAME': "taxonomy1Name",
|
|
167
|
+
'TAXONOMY2ID': "taxonomy2Id",
|
|
168
|
+
'TAXONOMY2NAME': "taxonomy2Name",
|
|
169
|
+
'TAXONOMY3ID': "taxonomy3Id",
|
|
170
|
+
'TAXONOMY3NAME': "taxonomy3Name",
|
|
171
|
+
'TAXONOMY4ID': "taxonomy4Id",
|
|
172
|
+
'TAXONOMY4NAME': "taxonomy4Name",
|
|
173
|
+
'TAXONOMY5ID': "taxonomy5Id",
|
|
174
|
+
'TAXONOMY5NAME': "taxonomy5Name",
|
|
175
|
+
'TAXONOMY6ID': "taxonomy6Id",
|
|
176
|
+
'TAXONOMY6NAME': "taxonomy6Name",
|
|
177
|
+
'TAXONOMY7ID': "taxonomy7Id",
|
|
178
|
+
'TAXONOMY7NAME': "taxonomy7Name",
|
|
140
179
|
},
|
|
141
|
-
('
|
|
180
|
+
('metrics',): {
|
|
142
181
|
'None': None,
|
|
143
|
-
'
|
|
144
|
-
'
|
|
182
|
+
'NUMBEROFCAMPAIGNS': "numberOfCampaigns",
|
|
183
|
+
'NUMBEROFLINEITEMS': "numberOfLineItems",
|
|
184
|
+
'NUMBEROFSKUS': "numberOfSkus",
|
|
185
|
+
'SKUPRICE': "skuPrice",
|
|
186
|
+
'PAGEVIEWS': "pageViews",
|
|
187
|
+
'IMPRESSIONS': "impressions",
|
|
188
|
+
'PRODUCTCLICKS': "productClicks",
|
|
189
|
+
'PLACEMENTCLICKS': "placementClicks",
|
|
190
|
+
'CLICKS': "clicks",
|
|
191
|
+
'SALES': "sales",
|
|
192
|
+
'UNITS': "units",
|
|
193
|
+
'TRANSACTIONS': "transactions",
|
|
194
|
+
'ASSISTEDSALES': "assistedSales",
|
|
195
|
+
'ASSISTEDUNITS': "assistedUnits",
|
|
196
|
+
'OPENAUCTIONREVENUE': "openAuctionRevenue",
|
|
197
|
+
'PREFERREDDEALSREVENUE': "preferredDealsRevenue",
|
|
198
|
+
'CTR': "ctr",
|
|
199
|
+
'CR': "cr",
|
|
200
|
+
'CPC': "cpc",
|
|
201
|
+
'CPM': "cpm",
|
|
202
|
+
'ROAS': "roas",
|
|
203
|
+
'WORKINGMEDIA': "workingMedia",
|
|
204
|
+
'NETREVENUE': "netRevenue",
|
|
205
|
+
'VIDEOVIEWS': "videoViews",
|
|
206
|
+
'VIDEOSSTARTED': "videosStarted",
|
|
207
|
+
'VIDEOSPLAYEDTO25': "videosPlayedTo25",
|
|
208
|
+
'VIDEOSPLAYEDTO50': "videosPlayedTo50",
|
|
209
|
+
'VIDEOSPLAYEDTO75': "videosPlayedTo75",
|
|
210
|
+
'VIDEOSPLAYEDTO100': "videosPlayedTo100",
|
|
211
|
+
'VIDEOPLAYINGRATE': "videoPlayingRate",
|
|
212
|
+
'VIDEOCOMPLETIONRATE': "videoCompletionRate",
|
|
213
|
+
'UNIQUEVISITORS': "uniqueVisitors",
|
|
214
|
+
'FREQUENCY': "frequency",
|
|
145
215
|
},
|
|
146
216
|
}
|
|
147
217
|
|
|
@@ -171,19 +241,20 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
171
241
|
return {
|
|
172
242
|
'start_date': (datetime,), # noqa: E501
|
|
173
243
|
'end_date': (datetime,), # noqa: E501
|
|
174
|
-
'report_type': (str, none_type,), # noqa: E501
|
|
175
|
-
'revenue_type': (str, none_type,), # noqa: E501
|
|
176
244
|
'ids': ([str], none_type,), # noqa: E501
|
|
177
245
|
'id': (str, none_type,), # noqa: E501
|
|
178
|
-
'
|
|
179
|
-
'
|
|
180
|
-
'format': (str, none_type,), # noqa: E501
|
|
246
|
+
'report_type': (str, none_type,), # noqa: E501
|
|
247
|
+
'revenue_type': (str, none_type,), # noqa: E501
|
|
181
248
|
'sold_by': (str, none_type,), # noqa: E501
|
|
182
|
-
'
|
|
183
|
-
'
|
|
184
|
-
'
|
|
249
|
+
'buy_type': (str, none_type,), # noqa: E501
|
|
250
|
+
'sku_relations': ([str], none_type,), # noqa: E501
|
|
251
|
+
'format': (str, none_type,), # noqa: E501
|
|
185
252
|
'campaign_type': (str, none_type,), # noqa: E501
|
|
186
253
|
'sales_channel': (str, none_type,), # noqa: E501
|
|
254
|
+
'click_attribution_window': (str, none_type,), # noqa: E501
|
|
255
|
+
'view_attribution_window': (str, none_type,), # noqa: E501
|
|
256
|
+
'dimensions': ([str], none_type,), # noqa: E501
|
|
257
|
+
'metrics': ([str], none_type,), # noqa: E501
|
|
187
258
|
'timezone': (str, none_type,), # noqa: E501
|
|
188
259
|
}
|
|
189
260
|
|
|
@@ -195,19 +266,20 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
195
266
|
attribute_map = {
|
|
196
267
|
'start_date': 'startDate', # noqa: E501
|
|
197
268
|
'end_date': 'endDate', # noqa: E501
|
|
198
|
-
'report_type': 'reportType', # noqa: E501
|
|
199
|
-
'revenue_type': 'revenueType', # noqa: E501
|
|
200
269
|
'ids': 'ids', # noqa: E501
|
|
201
270
|
'id': 'id', # noqa: E501
|
|
202
|
-
'
|
|
203
|
-
'
|
|
204
|
-
'format': 'format', # noqa: E501
|
|
271
|
+
'report_type': 'reportType', # noqa: E501
|
|
272
|
+
'revenue_type': 'revenueType', # noqa: E501
|
|
205
273
|
'sold_by': 'soldBy', # noqa: E501
|
|
206
|
-
'
|
|
207
|
-
'
|
|
208
|
-
'
|
|
274
|
+
'buy_type': 'buyType', # noqa: E501
|
|
275
|
+
'sku_relations': 'skuRelations', # noqa: E501
|
|
276
|
+
'format': 'format', # noqa: E501
|
|
209
277
|
'campaign_type': 'campaignType', # noqa: E501
|
|
210
278
|
'sales_channel': 'salesChannel', # noqa: E501
|
|
279
|
+
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
280
|
+
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
281
|
+
'dimensions': 'dimensions', # noqa: E501
|
|
282
|
+
'metrics': 'metrics', # noqa: E501
|
|
211
283
|
'timezone': 'timezone', # noqa: E501
|
|
212
284
|
}
|
|
213
285
|
|
|
@@ -256,19 +328,20 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
256
328
|
Animal class but this time we won't travel
|
|
257
329
|
through its discriminator because we passed in
|
|
258
330
|
_visited_composed_classes = (Animal,)
|
|
331
|
+
ids ([str], none_type): Campaign ids to report on. [optional] # noqa: E501
|
|
332
|
+
id (str, none_type): Campaign id to report on. [optional] # noqa: E501
|
|
259
333
|
report_type (str, none_type): Type of report. [optional] # noqa: E501
|
|
260
334
|
revenue_type (str, none_type): Type of revenue. [optional] # noqa: E501
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
dimensions ([str], none_type): List of dimensions to report on. [optional] # noqa: E501
|
|
335
|
+
sold_by (str, none_type): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
|
|
336
|
+
buy_type (str, none_type): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
|
|
337
|
+
sku_relations ([str], none_type): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
|
|
265
338
|
format (str, none_type): Format of the output. [optional] # noqa: E501
|
|
266
|
-
|
|
267
|
-
|
|
339
|
+
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
|
|
340
|
+
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
|
|
268
341
|
click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
269
342
|
view_attribution_window (str, none_type): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
270
|
-
|
|
271
|
-
|
|
343
|
+
dimensions ([str], none_type): List of dimensions to report on. [optional] # noqa: E501
|
|
344
|
+
metrics ([str], none_type): List of metrics to report on. [optional] # noqa: E501
|
|
272
345
|
timezone (str, none_type): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
273
346
|
"""
|
|
274
347
|
|
|
@@ -361,19 +434,20 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
361
434
|
Animal class but this time we won't travel
|
|
362
435
|
through its discriminator because we passed in
|
|
363
436
|
_visited_composed_classes = (Animal,)
|
|
437
|
+
ids ([str], none_type): Campaign ids to report on. [optional] # noqa: E501
|
|
438
|
+
id (str, none_type): Campaign id to report on. [optional] # noqa: E501
|
|
364
439
|
report_type (str, none_type): Type of report. [optional] # noqa: E501
|
|
365
440
|
revenue_type (str, none_type): Type of revenue. [optional] # noqa: E501
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
dimensions ([str], none_type): List of dimensions to report on. [optional] # noqa: E501
|
|
441
|
+
sold_by (str, none_type): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
|
|
442
|
+
buy_type (str, none_type): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
|
|
443
|
+
sku_relations ([str], none_type): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
|
|
370
444
|
format (str, none_type): Format of the output. [optional] # noqa: E501
|
|
371
|
-
|
|
372
|
-
|
|
445
|
+
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
|
|
446
|
+
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
|
|
373
447
|
click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
374
448
|
view_attribution_window (str, none_type): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
375
|
-
|
|
376
|
-
|
|
449
|
+
dimensions ([str], none_type): List of dimensions to report on. [optional] # noqa: E501
|
|
450
|
+
metrics ([str], none_type): List of metrics to report on. [optional] # noqa: E501
|
|
377
451
|
timezone (str, none_type): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
378
452
|
"""
|
|
379
453
|
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2023_10.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_10.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_10.model.
|
|
34
|
-
|
|
33
|
+
from criteo_api_retailmedia_v2023_10.model.input_keywords_model import InputKeywordsModel
|
|
34
|
+
from criteo_api_retailmedia_v2023_10.model.match_type_model import MatchTypeModel
|
|
35
|
+
from criteo_api_retailmedia_v2023_10.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_10.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2023_10.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2023_10.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
|
|