criteo-api-retailmedia-sdk 0.0.250911__py3-none-any.whl → 0.0.251009__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/accounts_api.py +71 -83
- criteo_api_retailmedia_preview/api/analytics_api.py +155 -63
- criteo_api_retailmedia_preview/api/audience_api.py +25 -88
- criteo_api_retailmedia_preview/api/balance_api.py +176 -186
- criteo_api_retailmedia_preview/api/billing_api.py +20 -25
- criteo_api_retailmedia_preview/api/campaign_api.py +1103 -996
- criteo_api_retailmedia_preview/api/catalog_api.py +6 -22
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +5 -0
- criteo_api_retailmedia_preview/model/{product_importer_error.py → async_unfilled_placements_report.py} +134 -41
- criteo_api_retailmedia_preview/model/{report_outcome.py → async_unfilled_placements_report_request.py} +9 -15
- criteo_api_retailmedia_preview/model/{error_code_response.py → async_unfilled_placements_report_resource.py} +15 -23
- criteo_api_retailmedia_preview/model/campaign_availability.py +289 -0
- criteo_api_retailmedia_preview/model/demand_managed_fee.py +1 -1
- criteo_api_retailmedia_preview/model/{value_resource_outcome_account_fees_update_result.py → entity_resource_collection_outcome_of_retailer_result_and_metadata.py} +14 -8
- criteo_api_retailmedia_preview/model/{outcome.py → entity_resource_of_retailer_result.py} +17 -15
- criteo_api_retailmedia_preview/model/files_variable_value.py +0 -3
- criteo_api_retailmedia_preview/model/managed_service_fee.py +1 -1
- criteo_api_retailmedia_preview/model/page_type_combination.py +287 -0
- criteo_api_retailmedia_preview/model/private_market_fees.py +6 -14
- criteo_api_retailmedia_preview/model/retailer_result.py +266 -0
- criteo_api_retailmedia_preview/model/{account_fees_update_result.py → retailer_search_request.py} +8 -12
- criteo_api_retailmedia_preview/model/rm_contact_list_create_v1.py +1 -0
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +1 -0
- criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +11 -2
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +8 -0
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_update_request_model.py +34 -28
- criteo_api_retailmedia_preview/model/value_resource_input_of_retailer_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/{value_resource_account_fees_update_result.py → value_resource_of_retailer_search_request.py} +9 -9
- criteo_api_retailmedia_preview/models/__init__.py +11 -9
- {criteo_api_retailmedia_sdk-0.0.250911.dist-info → criteo_api_retailmedia_sdk-0.0.251009.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250911.dist-info → criteo_api_retailmedia_sdk-0.0.251009.dist-info}/RECORD +36 -34
- criteo_api_retailmedia_preview/model/fail_response.py +0 -283
- criteo_api_retailmedia_preview/model/product_importer_warning.py +0 -299
- {criteo_api_retailmedia_sdk-0.0.250911.dist-info → criteo_api_retailmedia_sdk-0.0.251009.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250911.dist-info → criteo_api_retailmedia_sdk-0.0.251009.dist-info}/top_level.txt +0 -0
|
@@ -22,7 +22,6 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
24
|
from criteo_api_retailmedia_preview.model.batch_accepted_response import BatchAcceptedResponse
|
|
25
|
-
from criteo_api_retailmedia_preview.model.fail_response import FailResponse
|
|
26
25
|
from criteo_api_retailmedia_preview.model.products_custom_batch_request import ProductsCustomBatchRequest
|
|
27
26
|
from criteo_api_retailmedia_preview.model.report_ok_response import ReportOkResponse
|
|
28
27
|
from criteo_api_retailmedia_preview.model.value_resource_input_load_sku_offers_request import ValueResourceInputLoadSkuOffersRequest
|
|
@@ -92,15 +91,10 @@ class CatalogApi(object):
|
|
|
92
91
|
},
|
|
93
92
|
headers_map={
|
|
94
93
|
'accept': [
|
|
95
|
-
'
|
|
96
|
-
'application/json',
|
|
97
|
-
'text/json'
|
|
94
|
+
'application/json'
|
|
98
95
|
],
|
|
99
96
|
'content_type': [
|
|
100
|
-
'application/json
|
|
101
|
-
'application/json',
|
|
102
|
-
'text/json',
|
|
103
|
-
'application/*+json'
|
|
97
|
+
'application/json'
|
|
104
98
|
]
|
|
105
99
|
},
|
|
106
100
|
api_client=api_client
|
|
@@ -155,15 +149,10 @@ class CatalogApi(object):
|
|
|
155
149
|
},
|
|
156
150
|
headers_map={
|
|
157
151
|
'accept': [
|
|
158
|
-
'
|
|
159
|
-
'application/json',
|
|
160
|
-
'text/json'
|
|
152
|
+
'application/json'
|
|
161
153
|
],
|
|
162
154
|
'content_type': [
|
|
163
|
-
'application/json
|
|
164
|
-
'application/json',
|
|
165
|
-
'text/json',
|
|
166
|
-
'application/*+json'
|
|
155
|
+
'application/json'
|
|
167
156
|
]
|
|
168
157
|
},
|
|
169
158
|
api_client=api_client
|
|
@@ -218,15 +207,10 @@ class CatalogApi(object):
|
|
|
218
207
|
},
|
|
219
208
|
headers_map={
|
|
220
209
|
'accept': [
|
|
221
|
-
'
|
|
222
|
-
'application/json',
|
|
223
|
-
'text/json'
|
|
210
|
+
'application/json'
|
|
224
211
|
],
|
|
225
212
|
'content_type': [
|
|
226
|
-
'application/json
|
|
227
|
-
'application/json',
|
|
228
|
-
'text/json',
|
|
229
|
-
'application/*+json'
|
|
213
|
+
'application/json'
|
|
230
214
|
]
|
|
231
215
|
},
|
|
232
216
|
api_client=api_client
|
|
@@ -76,7 +76,7 @@ class ApiClient(object):
|
|
|
76
76
|
self.default_headers[header_name] = header_value
|
|
77
77
|
self.cookie = cookie
|
|
78
78
|
# Set default User-Agent.
|
|
79
|
-
self.user_agent = 'OpenAPI-Generator/0.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/0.0.251009/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -804,10 +804,10 @@ class Endpoint(object):
|
|
|
804
804
|
Example:
|
|
805
805
|
|
|
806
806
|
api_instance = AccountsApi()
|
|
807
|
-
api_instance.
|
|
808
|
-
api_instance.
|
|
807
|
+
api_instance.account_fees_search # this is an instance of the class Endpoint
|
|
808
|
+
api_instance.account_fees_search() # this invokes api_instance.account_fees_search.__call__()
|
|
809
809
|
which then invokes the callable functions stored in that endpoint at
|
|
810
|
-
api_instance.
|
|
810
|
+
api_instance.account_fees_search.callable or self.callable in this class
|
|
811
811
|
|
|
812
812
|
"""
|
|
813
813
|
return self.callable(self, *args, **kwargs)
|
|
@@ -395,7 +395,7 @@ class Configuration(object):
|
|
|
395
395
|
"OS: {env}\n"\
|
|
396
396
|
"Python Version: {pyversion}\n"\
|
|
397
397
|
"Version of the API: Preview\n"\
|
|
398
|
-
"SDK Package Version: 0.0.
|
|
398
|
+
"SDK Package Version: 0.0.251009".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -88,6 +88,11 @@ class AsyncFillRateReport(ModelNormal):
|
|
|
88
88
|
'REVENUE': "revenue",
|
|
89
89
|
'WORKINGMEDIA': "workingMedia",
|
|
90
90
|
'NETREVENUE': "netRevenue",
|
|
91
|
+
'NONDELIVERABLEPLACEMENTS': "nonDeliverablePlacements",
|
|
92
|
+
'DELIVERABLEPLACEMENTS': "deliverablePlacements",
|
|
93
|
+
'PLACEMENTSWITHCANDIDATES': "placementsWithCandidates",
|
|
94
|
+
'COVEREDPLACEMENTS': "coveredPlacements",
|
|
95
|
+
'COVERAGERATE': "coverageRate",
|
|
91
96
|
},
|
|
92
97
|
('ad_server_type',): {
|
|
93
98
|
'ALL': "all",
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class AsyncUnfilledPlacementsReport(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -55,9 +55,92 @@ class ProductImporterError(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('dimensions',): {
|
|
59
|
+
'DATE': "date",
|
|
60
|
+
'RETAILERID': "retailerId",
|
|
61
|
+
'RETAILERNAME': "retailerName",
|
|
62
|
+
'PLACEMENTID': "placementId",
|
|
63
|
+
'PLACEMENTNAME': "placementName",
|
|
64
|
+
'PAGETYPENAME': "pageTypeName",
|
|
65
|
+
'SERVEDCATEGORY': "servedCategory",
|
|
66
|
+
'ENVIRONMENT': "environment",
|
|
67
|
+
'RETAILERCATEGORYID': "retailerCategoryId",
|
|
68
|
+
'RETAILERCATEGORYNAME': "retailerCategoryName",
|
|
69
|
+
'ADSERVERTYPE': "adServerType",
|
|
70
|
+
'CAMPAIGNTYPE': "campaignType",
|
|
71
|
+
},
|
|
72
|
+
('metrics',): {
|
|
73
|
+
'TOTALUNFILLEDPLACEMENTS': "totalUnfilledPlacements",
|
|
74
|
+
'UNFILLEDUSEROPTOUT': "unfilledUserOptOut",
|
|
75
|
+
'UNFILLEDNOTENOUGHDEMAND': "unfilledNotEnoughDemand",
|
|
76
|
+
'UNFILLEDTOTALAUCTIONSETTINGS': "unfilledTotalAuctionSettings",
|
|
77
|
+
'UNFILLEDTOTALAUCTIONCONSIDERATIONS': "unfilledTotalAuctionConsiderations",
|
|
78
|
+
'UNFILLEDADVERTISERAUCTIONSETTINGS': "unfilledAdvertiserAuctionSettings",
|
|
79
|
+
'UNFILLEDRETAILERAUCTIONSETTINGS': "unfilledRetailerAuctionSettings",
|
|
80
|
+
'UNFILLEDCRITEOAUCTIONSETTINGS': "unfilledCriteoAuctionSettings",
|
|
81
|
+
'UNFILLEDRETURNEDBUTNOTPAINTED': "unfilledReturnedButNotPainted",
|
|
82
|
+
'NONDELIVERABLEUNMAPPEDCATEGORIES': "nonDeliverableUnmappedCategories",
|
|
83
|
+
'NONDELIVERABLEPAGESWITHUNKNOWNPRODUCTS': "nonDeliverablePagesWithUnknownProducts",
|
|
84
|
+
'NONDELIVERABLEBLOCKEDOPTOUT': "nonDeliverableBlockedOptOut",
|
|
85
|
+
'NONDELIVERABLEBLOCKEDPAGECATEGORY': "nonDeliverableBlockedPageCategory",
|
|
86
|
+
'NONDELIVERABLEINACTIVEPLACEMENT': "nonDeliverableInactivePlacement",
|
|
87
|
+
'NONDELIVERABLEINSUFFICIENTORGANICRESULTS': "nonDeliverableInsufficientOrganicResults",
|
|
88
|
+
'NONDELIVERABLEINVALIDTRAFFIC': "nonDeliverableInvalidTraffic",
|
|
89
|
+
'NONDELIVERABLETESTPLACEMENT': "nonDeliverableTestPlacement",
|
|
90
|
+
'UNCOVEREDUNUSEDFORMATS': "uncoveredUnusedFormats",
|
|
91
|
+
'UNCOVEREDSEARCHTERMWITHOUTCATEGORY': "uncoveredSearchTermWithoutCategory",
|
|
92
|
+
'UNCOVEREDNODEMANDBRANDEDKEYWORDCONQUESTINGENABLED': "uncoveredNoDemandBrandedKeywordConquestingEnabled",
|
|
93
|
+
'UNCOVEREDNODEMANDBRANDEDKEYWORDCONQUESTINGDISABLED': "uncoveredNoDemandBrandedKeywordConquestingDisabled",
|
|
94
|
+
'UNCOVEREDNODEMANDUNBRANDEDINVENTORY': "uncoveredNoDemandUnbrandedInventory",
|
|
95
|
+
'UNCOVEREDNODEMANDOPTOUT': "uncoveredNoDemandOptOut",
|
|
96
|
+
'UNCOVEREDFILTEREDOUTDEMAND': "uncoveredFilteredOutDemand",
|
|
97
|
+
'UNCOVEREDBROKENPLACEMENT': "uncoveredBrokenPlacement",
|
|
98
|
+
'UNCOVEREDNOTPAINTED': "uncoveredNotPainted",
|
|
99
|
+
'AVAILABLEPLACEMENTS': "availablePlacements",
|
|
100
|
+
'FILLRATE': "fillRate",
|
|
101
|
+
'PLACEMENTIMPRESSIONS': "placementImpressions",
|
|
102
|
+
'PRODUCTIMPRESSIONS': "productImpressions",
|
|
103
|
+
'PLACEMENTCLICKS': "placementClicks",
|
|
104
|
+
'PRODUCTCLICKS': "productClicks",
|
|
105
|
+
'CLICKS': "clicks",
|
|
106
|
+
'PLACEMENTIMPRESSIONSCTR': "placementImpressionsCTR",
|
|
107
|
+
'PRODUCTIMPRESSIONSCTR': "productImpressionsCTR",
|
|
108
|
+
'CPM': "cpm",
|
|
109
|
+
'CPC': "cpc",
|
|
110
|
+
'PLACEMENTIMPRESSIONSREVENUE': "placementImpressionsRevenue",
|
|
111
|
+
'PRODUCTCLICKSREVENUE': "productClicksRevenue",
|
|
112
|
+
'REVENUE': "revenue",
|
|
113
|
+
'NONDELIVERABLEPLACEMENTS': "nonDeliverablePlacements",
|
|
114
|
+
'DELIVERABLEPLACEMENTS': "deliverablePlacements",
|
|
115
|
+
'PLACEMENTSWITHCANDIDATES': "placementsWithCandidates",
|
|
116
|
+
'COVEREDPLACEMENTS': "coveredPlacements",
|
|
117
|
+
'COVERAGERATE': "coverageRate",
|
|
118
|
+
},
|
|
119
|
+
('ad_server_type',): {
|
|
120
|
+
'ALL': "all",
|
|
121
|
+
'GAM': "gam",
|
|
122
|
+
'CRITEO': "criteo",
|
|
123
|
+
},
|
|
124
|
+
('campaign_type',): {
|
|
125
|
+
'ALL': "all",
|
|
126
|
+
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
127
|
+
'ONSITEDISPLAYS': "onSiteDisplays",
|
|
128
|
+
},
|
|
129
|
+
('format',): {
|
|
130
|
+
'JSON': "json",
|
|
131
|
+
'JSON-COMPACT': "json-compact",
|
|
132
|
+
'JSON-NEWLINE': "json-newline",
|
|
133
|
+
'CSV': "csv",
|
|
134
|
+
},
|
|
58
135
|
}
|
|
59
136
|
|
|
60
137
|
validations = {
|
|
138
|
+
('dimensions',): {
|
|
139
|
+
'min_items': 1,
|
|
140
|
+
},
|
|
141
|
+
('metrics',): {
|
|
142
|
+
'min_items': 1,
|
|
143
|
+
},
|
|
61
144
|
}
|
|
62
145
|
|
|
63
146
|
@cached_property
|
|
@@ -81,12 +164,15 @@ class ProductImporterError(ModelNormal):
|
|
|
81
164
|
and the value is attribute type.
|
|
82
165
|
"""
|
|
83
166
|
return {
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
167
|
+
'dimensions': ([str],), # noqa: E501
|
|
168
|
+
'end_date': (datetime,), # noqa: E501
|
|
169
|
+
'metrics': ([str],), # noqa: E501
|
|
170
|
+
'start_date': (datetime,), # noqa: E501
|
|
171
|
+
'supply_account_ids': ([str],), # noqa: E501
|
|
172
|
+
'ad_server_type': (str,), # noqa: E501
|
|
173
|
+
'campaign_type': (str,), # noqa: E501
|
|
174
|
+
'format': (str,), # noqa: E501
|
|
175
|
+
'timezone': (str,), # noqa: E501
|
|
90
176
|
}
|
|
91
177
|
|
|
92
178
|
@cached_property
|
|
@@ -95,12 +181,15 @@ class ProductImporterError(ModelNormal):
|
|
|
95
181
|
|
|
96
182
|
|
|
97
183
|
attribute_map = {
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
'
|
|
102
|
-
'
|
|
103
|
-
'
|
|
184
|
+
'dimensions': 'dimensions', # noqa: E501
|
|
185
|
+
'end_date': 'endDate', # noqa: E501
|
|
186
|
+
'metrics': 'metrics', # noqa: E501
|
|
187
|
+
'start_date': 'startDate', # noqa: E501
|
|
188
|
+
'supply_account_ids': 'supplyAccountIds', # noqa: E501
|
|
189
|
+
'ad_server_type': 'adServerType', # noqa: E501
|
|
190
|
+
'campaign_type': 'campaignType', # noqa: E501
|
|
191
|
+
'format': 'format', # noqa: E501
|
|
192
|
+
'timezone': 'timezone', # noqa: E501
|
|
104
193
|
}
|
|
105
194
|
|
|
106
195
|
read_only_vars = {
|
|
@@ -110,16 +199,15 @@ class ProductImporterError(ModelNormal):
|
|
|
110
199
|
|
|
111
200
|
@classmethod
|
|
112
201
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls,
|
|
114
|
-
"""
|
|
202
|
+
def _from_openapi_data(cls, dimensions, end_date, metrics, start_date, supply_account_ids, *args, **kwargs): # noqa: E501
|
|
203
|
+
"""AsyncUnfilledPlacementsReport - a model defined in OpenAPI
|
|
115
204
|
|
|
116
205
|
Args:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
type (str): A MACHINE-READABLE code specifying error category. This information is used on client side to focus on certain type of error, to either retry some processing or display only certain type of errors.
|
|
206
|
+
dimensions ([str]): List of dimensions to report on
|
|
207
|
+
end_date (datetime): End date
|
|
208
|
+
metrics ([str]): List of metrics to report on
|
|
209
|
+
start_date (datetime): Start date
|
|
210
|
+
supply_account_ids ([str]): Supply account ids to report on
|
|
123
211
|
|
|
124
212
|
Keyword Args:
|
|
125
213
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -152,6 +240,10 @@ class ProductImporterError(ModelNormal):
|
|
|
152
240
|
Animal class but this time we won't travel
|
|
153
241
|
through its discriminator because we passed in
|
|
154
242
|
_visited_composed_classes = (Animal,)
|
|
243
|
+
ad_server_type (str): Filter on the type of the ad server: criteo, gam, all. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
244
|
+
campaign_type (str): Filter on the type of the campaign: onsite display, onsite sponsored products, all. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
245
|
+
format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
|
|
246
|
+
timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
155
247
|
"""
|
|
156
248
|
|
|
157
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -183,12 +275,11 @@ class ProductImporterError(ModelNormal):
|
|
|
183
275
|
self._configuration = _configuration
|
|
184
276
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
185
277
|
|
|
186
|
-
self.
|
|
187
|
-
self.
|
|
188
|
-
self.
|
|
189
|
-
self.
|
|
190
|
-
self.
|
|
191
|
-
self.type = type
|
|
278
|
+
self.dimensions = dimensions
|
|
279
|
+
self.end_date = end_date
|
|
280
|
+
self.metrics = metrics
|
|
281
|
+
self.start_date = start_date
|
|
282
|
+
self.supply_account_ids = supply_account_ids
|
|
192
283
|
for var_name, var_value in kwargs.items():
|
|
193
284
|
if var_name not in self.attribute_map and \
|
|
194
285
|
self._configuration is not None and \
|
|
@@ -209,16 +300,15 @@ class ProductImporterError(ModelNormal):
|
|
|
209
300
|
])
|
|
210
301
|
|
|
211
302
|
@convert_js_args_to_python_args
|
|
212
|
-
def __init__(self,
|
|
213
|
-
"""
|
|
303
|
+
def __init__(self, dimensions, end_date, metrics, start_date, supply_account_ids, *args, **kwargs): # noqa: E501
|
|
304
|
+
"""AsyncUnfilledPlacementsReport - a model defined in OpenAPI
|
|
214
305
|
|
|
215
306
|
Args:
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
type (str): A MACHINE-READABLE code specifying error category. This information is used on client side to focus on certain type of error, to either retry some processing or display only certain type of errors.
|
|
307
|
+
dimensions ([str]): List of dimensions to report on
|
|
308
|
+
end_date (datetime): End date
|
|
309
|
+
metrics ([str]): List of metrics to report on
|
|
310
|
+
start_date (datetime): Start date
|
|
311
|
+
supply_account_ids ([str]): Supply account ids to report on
|
|
222
312
|
|
|
223
313
|
Keyword Args:
|
|
224
314
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -251,6 +341,10 @@ class ProductImporterError(ModelNormal):
|
|
|
251
341
|
Animal class but this time we won't travel
|
|
252
342
|
through its discriminator because we passed in
|
|
253
343
|
_visited_composed_classes = (Animal,)
|
|
344
|
+
ad_server_type (str): Filter on the type of the ad server: criteo, gam, all. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
345
|
+
campaign_type (str): Filter on the type of the campaign: onsite display, onsite sponsored products, all. [optional] if omitted the server will use the default value of "all" # noqa: E501
|
|
346
|
+
format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
|
|
347
|
+
timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
254
348
|
"""
|
|
255
349
|
|
|
256
350
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -280,12 +374,11 @@ class ProductImporterError(ModelNormal):
|
|
|
280
374
|
self._configuration = _configuration
|
|
281
375
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
282
376
|
|
|
283
|
-
self.
|
|
284
|
-
self.
|
|
285
|
-
self.
|
|
286
|
-
self.
|
|
287
|
-
self.
|
|
288
|
-
self.type = type
|
|
377
|
+
self.dimensions = dimensions
|
|
378
|
+
self.end_date = end_date
|
|
379
|
+
self.metrics = metrics
|
|
380
|
+
self.start_date = start_date
|
|
381
|
+
self.supply_account_ids = supply_account_ids
|
|
289
382
|
for var_name, var_value in kwargs.items():
|
|
290
383
|
if var_name not in self.attribute_map and \
|
|
291
384
|
self._configuration is not None and \
|
|
@@ -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.async_unfilled_placements_report_resource import AsyncUnfilledPlacementsReportResource
|
|
34
|
+
globals()['AsyncUnfilledPlacementsReportResource'] = AsyncUnfilledPlacementsReportResource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class AsyncUnfilledPlacementsReportRequest(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,8 +87,7 @@ class ReportOutcome(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'
|
|
91
|
-
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
90
|
+
'data': (AsyncUnfilledPlacementsReportResource,), # noqa: E501
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
@cached_property
|
|
@@ -97,13 +96,10 @@ class ReportOutcome(ModelNormal):
|
|
|
97
96
|
|
|
98
97
|
|
|
99
98
|
attribute_map = {
|
|
100
|
-
'
|
|
101
|
-
'warnings': 'warnings', # noqa: E501
|
|
99
|
+
'data': 'data', # noqa: E501
|
|
102
100
|
}
|
|
103
101
|
|
|
104
102
|
read_only_vars = {
|
|
105
|
-
'errors', # noqa: E501
|
|
106
|
-
'warnings', # noqa: E501
|
|
107
103
|
}
|
|
108
104
|
|
|
109
105
|
_composed_schemas = {}
|
|
@@ -111,7 +107,7 @@ class ReportOutcome(ModelNormal):
|
|
|
111
107
|
@classmethod
|
|
112
108
|
@convert_js_args_to_python_args
|
|
113
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
110
|
+
"""AsyncUnfilledPlacementsReportRequest - a model defined in OpenAPI
|
|
115
111
|
|
|
116
112
|
Keyword Args:
|
|
117
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -144,8 +140,7 @@ class ReportOutcome(ModelNormal):
|
|
|
144
140
|
Animal class but this time we won't travel
|
|
145
141
|
through its discriminator because we passed in
|
|
146
142
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
|
|
148
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
143
|
+
data (AsyncUnfilledPlacementsReportResource): [optional] # noqa: E501
|
|
149
144
|
"""
|
|
150
145
|
|
|
151
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -198,7 +193,7 @@ class ReportOutcome(ModelNormal):
|
|
|
198
193
|
|
|
199
194
|
@convert_js_args_to_python_args
|
|
200
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
201
|
-
"""
|
|
196
|
+
"""AsyncUnfilledPlacementsReportRequest - a model defined in OpenAPI
|
|
202
197
|
|
|
203
198
|
Keyword Args:
|
|
204
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -231,8 +226,7 @@ class ReportOutcome(ModelNormal):
|
|
|
231
226
|
Animal class but this time we won't travel
|
|
232
227
|
through its discriminator because we passed in
|
|
233
228
|
_visited_composed_classes = (Animal,)
|
|
234
|
-
|
|
235
|
-
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
229
|
+
data (AsyncUnfilledPlacementsReportResource): [optional] # noqa: E501
|
|
236
230
|
"""
|
|
237
231
|
|
|
238
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,13 +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
|
-
|
|
35
|
-
globals()['AudienceError'] = AudienceError
|
|
36
|
-
globals()['AudienceWarning'] = AudienceWarning
|
|
33
|
+
from criteo_api_retailmedia_preview.model.async_unfilled_placements_report import AsyncUnfilledPlacementsReport
|
|
34
|
+
globals()['AsyncUnfilledPlacementsReport'] = AsyncUnfilledPlacementsReport
|
|
37
35
|
|
|
38
36
|
|
|
39
|
-
class
|
|
37
|
+
class AsyncUnfilledPlacementsReportResource(ModelNormal):
|
|
40
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
39
|
Ref: https://openapi-generator.tech
|
|
42
40
|
|
|
@@ -89,8 +87,8 @@ class ErrorCodeResponse(ModelNormal):
|
|
|
89
87
|
"""
|
|
90
88
|
lazy_import()
|
|
91
89
|
return {
|
|
92
|
-
'
|
|
93
|
-
'
|
|
90
|
+
'attributes': (AsyncUnfilledPlacementsReport,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
94
92
|
}
|
|
95
93
|
|
|
96
94
|
@cached_property
|
|
@@ -99,8 +97,8 @@ class ErrorCodeResponse(ModelNormal):
|
|
|
99
97
|
|
|
100
98
|
|
|
101
99
|
attribute_map = {
|
|
102
|
-
'
|
|
103
|
-
'
|
|
100
|
+
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
104
102
|
}
|
|
105
103
|
|
|
106
104
|
read_only_vars = {
|
|
@@ -110,11 +108,8 @@ class ErrorCodeResponse(ModelNormal):
|
|
|
110
108
|
|
|
111
109
|
@classmethod
|
|
112
110
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls,
|
|
114
|
-
"""
|
|
115
|
-
|
|
116
|
-
Args:
|
|
117
|
-
errors ([AudienceError]):
|
|
111
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
112
|
+
"""AsyncUnfilledPlacementsReportResource - a model defined in OpenAPI
|
|
118
113
|
|
|
119
114
|
Keyword Args:
|
|
120
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -147,7 +142,8 @@ class ErrorCodeResponse(ModelNormal):
|
|
|
147
142
|
Animal class but this time we won't travel
|
|
148
143
|
through its discriminator because we passed in
|
|
149
144
|
_visited_composed_classes = (Animal,)
|
|
150
|
-
|
|
145
|
+
attributes (AsyncUnfilledPlacementsReport): [optional] # noqa: E501
|
|
146
|
+
type (str): [optional] # noqa: E501
|
|
151
147
|
"""
|
|
152
148
|
|
|
153
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -179,7 +175,6 @@ class ErrorCodeResponse(ModelNormal):
|
|
|
179
175
|
self._configuration = _configuration
|
|
180
176
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
181
177
|
|
|
182
|
-
self.errors = errors
|
|
183
178
|
for var_name, var_value in kwargs.items():
|
|
184
179
|
if var_name not in self.attribute_map and \
|
|
185
180
|
self._configuration is not None and \
|
|
@@ -200,11 +195,8 @@ class ErrorCodeResponse(ModelNormal):
|
|
|
200
195
|
])
|
|
201
196
|
|
|
202
197
|
@convert_js_args_to_python_args
|
|
203
|
-
def __init__(self,
|
|
204
|
-
"""
|
|
205
|
-
|
|
206
|
-
Args:
|
|
207
|
-
errors ([AudienceError]):
|
|
198
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
+
"""AsyncUnfilledPlacementsReportResource - a model defined in OpenAPI
|
|
208
200
|
|
|
209
201
|
Keyword Args:
|
|
210
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -237,7 +229,8 @@ class ErrorCodeResponse(ModelNormal):
|
|
|
237
229
|
Animal class but this time we won't travel
|
|
238
230
|
through its discriminator because we passed in
|
|
239
231
|
_visited_composed_classes = (Animal,)
|
|
240
|
-
|
|
232
|
+
attributes (AsyncUnfilledPlacementsReport): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
241
234
|
"""
|
|
242
235
|
|
|
243
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -267,7 +260,6 @@ class ErrorCodeResponse(ModelNormal):
|
|
|
267
260
|
self._configuration = _configuration
|
|
268
261
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
269
262
|
|
|
270
|
-
self.errors = errors
|
|
271
263
|
for var_name, var_value in kwargs.items():
|
|
272
264
|
if var_name not in self.attribute_map and \
|
|
273
265
|
self._configuration is not None and \
|