criteo-api-retailmedia-sdk 2024.7.0.250320__py3-none-any.whl → 2024.7.0.250409__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-2024.7.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2024.7.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/RECORD +151 -151
- {criteo_api_retailmedia_sdk-2024.7.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2024_07/__init__.py +1 -1
- criteo_api_retailmedia_v2024_07/api/analytics_api.py +2 -2
- criteo_api_retailmedia_v2024_07/api/audience_api.py +12 -12
- criteo_api_retailmedia_v2024_07/api/balance_api.py +12 -12
- criteo_api_retailmedia_v2024_07/api/campaign_api.py +30 -30
- criteo_api_retailmedia_v2024_07/api_client.py +1 -1
- criteo_api_retailmedia_v2024_07/configuration.py +1 -1
- criteo_api_retailmedia_v2024_07/model/add_funds_to_balance_v2.py +4 -4
- criteo_api_retailmedia_v2024_07/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2024_07/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/add_to_basket_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2024_07/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/asset_response.py +7 -7
- criteo_api_retailmedia_v2024_07/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_v2024_07/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_v2024_07/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/async_revenue_report.py +104 -104
- criteo_api_retailmedia_v2024_07/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/auction_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_07/model/auction_line_item_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/audience_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/balance_campaign202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_07/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_v2024_07/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_v2024_07/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py +57 -57
- criteo_api_retailmedia_v2024_07/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2024_07/model/campaign_v202301.py +82 -82
- criteo_api_retailmedia_v2024_07/model/category202204.py +8 -8
- criteo_api_retailmedia_v2024_07/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_v2024_07/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2024_07/model/common_error.py +16 -16
- criteo_api_retailmedia_v2024_07/model/common_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_07/model/common_line_item_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2024_07/model/common_warning.py +16 -16
- criteo_api_retailmedia_v2024_07/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_v2024_07/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2024_07/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2024_07/model/creative202210_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py +32 -32
- criteo_api_retailmedia_v2024_07/model/entity_resource_of_retail_media_account.py +4 -4
- criteo_api_retailmedia_v2024_07/model/entity_resource_outcome_of_retail_media_account.py +5 -5
- criteo_api_retailmedia_v2024_07/model/external_account.py +18 -18
- criteo_api_retailmedia_v2024_07/model/external_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/external_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/external_auction_line_item.py +44 -44
- criteo_api_retailmedia_v2024_07/model/external_auction_line_item_create_model.py +30 -30
- criteo_api_retailmedia_v2024_07/model/external_auction_line_item_update_model.py +20 -20
- criteo_api_retailmedia_v2024_07/model/external_audience_target202110.py +8 -8
- criteo_api_retailmedia_v2024_07/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2024_07/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2024_07/model/external_common_line_item.py +34 -34
- criteo_api_retailmedia_v2024_07/model/external_line_item_capping202110.py +8 -8
- criteo_api_retailmedia_v2024_07/model/external_line_item_page202110.py +3 -3
- criteo_api_retailmedia_v2024_07/model/external_preferred_line_item202110.py +55 -51
- criteo_api_retailmedia_v2024_07/model/external_preferred_line_item_create_model202110.py +24 -24
- criteo_api_retailmedia_v2024_07/model/external_preferred_line_item_update_model202110.py +20 -20
- criteo_api_retailmedia_v2024_07/model/external_retail_media_account.py +22 -22
- criteo_api_retailmedia_v2024_07/model/external_retail_media_brand_account_creation.py +8 -8
- criteo_api_retailmedia_v2024_07/model/external_retail_media_seller.py +8 -8
- criteo_api_retailmedia_v2024_07/model/external_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2024_07/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2024_07/model/input_resource_of_auction_line_item_create_model.py +4 -4
- criteo_api_retailmedia_v2024_07/model/input_resource_of_preferred_line_item_create_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2024_07/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2024_07/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2024_07/model/keyword_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2024_07/model/line_item_bid_multipliers.py +20 -20
- criteo_api_retailmedia_v2024_07/model/line_item_bid_multipliers_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2024_07/model/metadata.py +8 -8
- criteo_api_retailmedia_v2024_07/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2024_07/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_v2024_07/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2024_07/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_v2024_07/model/preferred_line_item202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2024_07/model/preferred_line_item202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2024_07/model/product_metadata.py +8 -8
- criteo_api_retailmedia_v2024_07/model/promoted_product.py +4 -4
- criteo_api_retailmedia_v2024_07/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_v2024_07/model/report_outcome.py +5 -5
- criteo_api_retailmedia_v2024_07/model/resource_of_auction_line_item.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_auction_line_item_update_model.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_common_line_item.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_preferred_line_item202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/resource_of_preferred_line_item_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1.py +19 -19
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2.py +8 -8
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1.py +4 -4
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2.py +12 -12
- criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_customer_list.py +8 -8
- criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_create_v2.py +19 -19
- criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v1.py +17 -17
- criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v2.py +23 -23
- criteo_api_retailmedia_v2024_07/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2024_07/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_v2024_07/model/section.py +4 -4
- criteo_api_retailmedia_v2024_07/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2024_07/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2024_07/model/status_response.py +20 -20
- criteo_api_retailmedia_v2024_07/model/store_target202110_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/template.py +24 -24
- criteo_api_retailmedia_v2024_07/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/template_response.py +5 -5
- criteo_api_retailmedia_v2024_07/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2024_07/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2024_07/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_v2024_07/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
- criteo_api_retailmedia_v2024_07/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_brands.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_retail_media_brands.py +5 -5
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_audience_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_keyword_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/value_type_resource_of_store_target202110.py +4 -4
- criteo_api_retailmedia_v2024_07/model/video_variable_value.py +16 -16
- {criteo_api_retailmedia_sdk-2024.7.0.250320.dist-info → criteo_api_retailmedia_sdk-2024.7.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -93,10 +93,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
93
93
|
"""
|
|
94
94
|
lazy_import()
|
|
95
95
|
return {
|
|
96
|
+
'change_details': (ChangeDetailsV1,), # noqa: E501
|
|
97
|
+
'change_type': (str,), # noqa: E501
|
|
96
98
|
'date_of_modification': (datetime,), # noqa: E501
|
|
97
99
|
'modified_by_user': (str,), # noqa: E501
|
|
98
|
-
'change_type': (str,), # noqa: E501
|
|
99
|
-
'change_details': (ChangeDetailsV1,), # noqa: E501
|
|
100
100
|
'memo': (str, none_type,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -106,10 +106,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
attribute_map = {
|
|
109
|
+
'change_details': 'changeDetails', # noqa: E501
|
|
110
|
+
'change_type': 'changeType', # noqa: E501
|
|
109
111
|
'date_of_modification': 'dateOfModification', # noqa: E501
|
|
110
112
|
'modified_by_user': 'modifiedByUser', # noqa: E501
|
|
111
|
-
'change_type': 'changeType', # noqa: E501
|
|
112
|
-
'change_details': 'changeDetails', # noqa: E501
|
|
113
113
|
'memo': 'memo', # noqa: E501
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -120,14 +120,14 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
120
120
|
|
|
121
121
|
@classmethod
|
|
122
122
|
@convert_js_args_to_python_args
|
|
123
|
-
def _from_openapi_data(cls,
|
|
123
|
+
def _from_openapi_data(cls, change_details, change_type, date_of_modification, modified_by_user, *args, **kwargs): # noqa: E501
|
|
124
124
|
"""BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
125
125
|
|
|
126
126
|
Args:
|
|
127
|
+
change_details (ChangeDetailsV1):
|
|
128
|
+
change_type (str): Represent the type of change states of the history.
|
|
127
129
|
date_of_modification (datetime): Date when data change has occured.
|
|
128
130
|
modified_by_user (str): Username who modified the insertion order.
|
|
129
|
-
change_type (str): Represent the type of change states of the history.
|
|
130
|
-
change_details (ChangeDetailsV1):
|
|
131
131
|
|
|
132
132
|
Keyword Args:
|
|
133
133
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -192,10 +192,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
192
192
|
self._configuration = _configuration
|
|
193
193
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
194
194
|
|
|
195
|
+
self.change_details = change_details
|
|
196
|
+
self.change_type = change_type
|
|
195
197
|
self.date_of_modification = date_of_modification
|
|
196
198
|
self.modified_by_user = modified_by_user
|
|
197
|
-
self.change_type = change_type
|
|
198
|
-
self.change_details = change_details
|
|
199
199
|
for var_name, var_value in kwargs.items():
|
|
200
200
|
if var_name not in self.attribute_map and \
|
|
201
201
|
self._configuration is not None and \
|
|
@@ -216,14 +216,14 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
216
216
|
])
|
|
217
217
|
|
|
218
218
|
@convert_js_args_to_python_args
|
|
219
|
-
def __init__(self,
|
|
219
|
+
def __init__(self, change_details, change_type, date_of_modification, modified_by_user, *args, **kwargs): # noqa: E501
|
|
220
220
|
"""BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
221
221
|
|
|
222
222
|
Args:
|
|
223
|
+
change_details (ChangeDetailsV1):
|
|
224
|
+
change_type (str): Represent the type of change states of the history.
|
|
223
225
|
date_of_modification (datetime): Date when data change has occured.
|
|
224
226
|
modified_by_user (str): Username who modified the insertion order.
|
|
225
|
-
change_type (str): Represent the type of change states of the history.
|
|
226
|
-
change_details (ChangeDetailsV1):
|
|
227
227
|
|
|
228
228
|
Keyword Args:
|
|
229
229
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -286,10 +286,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
286
286
|
self._configuration = _configuration
|
|
287
287
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
288
288
|
|
|
289
|
+
self.change_details = change_details
|
|
290
|
+
self.change_type = change_type
|
|
289
291
|
self.date_of_modification = date_of_modification
|
|
290
292
|
self.modified_by_user = modified_by_user
|
|
291
|
-
self.change_type = change_type
|
|
292
|
-
self.change_details = change_details
|
|
293
293
|
for var_name, var_value in kwargs.items():
|
|
294
294
|
if var_name not in self.attribute_map and \
|
|
295
295
|
self._configuration is not None and \
|
|
@@ -60,17 +60,17 @@ class BalanceResponseV2(ModelNormal):
|
|
|
60
60
|
'CAPPED': "capped",
|
|
61
61
|
'UNCAPPED': "uncapped",
|
|
62
62
|
},
|
|
63
|
-
('spend_type',): {
|
|
64
|
-
'ONSITE': "Onsite",
|
|
65
|
-
'OFFSITE': "Offsite",
|
|
66
|
-
'OFFSITEAWARENESS': "OffsiteAwareness",
|
|
67
|
-
},
|
|
68
63
|
('private_market_billing_type',): {
|
|
69
64
|
'NOTAPPLICABLE': "notApplicable",
|
|
70
65
|
'BILLBYRETAILER': "billByRetailer",
|
|
71
66
|
'BILLBYCRITEO': "billByCriteo",
|
|
72
67
|
'UNKNOWN': "unknown",
|
|
73
68
|
},
|
|
69
|
+
('spend_type',): {
|
|
70
|
+
'ONSITE': "Onsite",
|
|
71
|
+
'OFFSITE': "Offsite",
|
|
72
|
+
'OFFSITEAWARENESS': "OffsiteAwareness",
|
|
73
|
+
},
|
|
74
74
|
('status',): {
|
|
75
75
|
'UNKNOWN': "unknown",
|
|
76
76
|
'SCHEDULED': "scheduled",
|
|
@@ -103,19 +103,19 @@ class BalanceResponseV2(ModelNormal):
|
|
|
103
103
|
and the value is attribute type.
|
|
104
104
|
"""
|
|
105
105
|
return {
|
|
106
|
-
'name': (str,), # noqa: E501
|
|
107
|
-
'start_date': (date,), # noqa: E501
|
|
108
106
|
'balance_type': (str,), # noqa: E501
|
|
109
|
-
'
|
|
107
|
+
'name': (str,), # noqa: E501
|
|
110
108
|
'private_market_billing_type': (str,), # noqa: E501
|
|
111
|
-
'
|
|
112
|
-
'
|
|
109
|
+
'spend_type': (str,), # noqa: E501
|
|
110
|
+
'start_date': (date,), # noqa: E501
|
|
111
|
+
'created_at': (datetime,), # noqa: E501
|
|
113
112
|
'deposited': (float, none_type,), # noqa: E501
|
|
114
|
-
'spent': (float, none_type,), # noqa: E501
|
|
115
|
-
'remaining': (float, none_type,), # noqa: E501
|
|
116
113
|
'end_date': (date, none_type,), # noqa: E501
|
|
114
|
+
'memo': (str, none_type,), # noqa: E501
|
|
115
|
+
'po_number': (str, none_type,), # noqa: E501
|
|
116
|
+
'remaining': (float, none_type,), # noqa: E501
|
|
117
|
+
'spent': (float, none_type,), # noqa: E501
|
|
117
118
|
'status': (str,), # noqa: E501
|
|
118
|
-
'created_at': (datetime,), # noqa: E501
|
|
119
119
|
'updated_at': (datetime,), # noqa: E501
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -125,19 +125,19 @@ class BalanceResponseV2(ModelNormal):
|
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
attribute_map = {
|
|
128
|
-
'name': 'name', # noqa: E501
|
|
129
|
-
'start_date': 'startDate', # noqa: E501
|
|
130
128
|
'balance_type': 'balanceType', # noqa: E501
|
|
131
|
-
'
|
|
129
|
+
'name': 'name', # noqa: E501
|
|
132
130
|
'private_market_billing_type': 'privateMarketBillingType', # noqa: E501
|
|
133
|
-
'
|
|
134
|
-
'
|
|
131
|
+
'spend_type': 'spendType', # noqa: E501
|
|
132
|
+
'start_date': 'startDate', # noqa: E501
|
|
133
|
+
'created_at': 'createdAt', # noqa: E501
|
|
135
134
|
'deposited': 'deposited', # noqa: E501
|
|
136
|
-
'spent': 'spent', # noqa: E501
|
|
137
|
-
'remaining': 'remaining', # noqa: E501
|
|
138
135
|
'end_date': 'endDate', # noqa: E501
|
|
136
|
+
'memo': 'memo', # noqa: E501
|
|
137
|
+
'po_number': 'poNumber', # noqa: E501
|
|
138
|
+
'remaining': 'remaining', # noqa: E501
|
|
139
|
+
'spent': 'spent', # noqa: E501
|
|
139
140
|
'status': 'status', # noqa: E501
|
|
140
|
-
'created_at': 'createdAt', # noqa: E501
|
|
141
141
|
'updated_at': 'updatedAt', # noqa: E501
|
|
142
142
|
}
|
|
143
143
|
|
|
@@ -148,15 +148,15 @@ class BalanceResponseV2(ModelNormal):
|
|
|
148
148
|
|
|
149
149
|
@classmethod
|
|
150
150
|
@convert_js_args_to_python_args
|
|
151
|
-
def _from_openapi_data(cls,
|
|
151
|
+
def _from_openapi_data(cls, balance_type, name, private_market_billing_type, spend_type, start_date, *args, **kwargs): # noqa: E501
|
|
152
152
|
"""BalanceResponseV2 - a model defined in OpenAPI
|
|
153
153
|
|
|
154
154
|
Args:
|
|
155
|
-
name (str): Name of the balance.
|
|
156
|
-
start_date (date): Start date of the balance in the format YYYY-MM-DD.
|
|
157
155
|
balance_type (str): Type of the balance.
|
|
158
|
-
|
|
156
|
+
name (str): Name of the balance.
|
|
159
157
|
private_market_billing_type (str): Billing type for Private Market of the balance.
|
|
158
|
+
spend_type (str): Spend Type of the balance.
|
|
159
|
+
start_date (date): Start date of the balance in the format YYYY-MM-DD.
|
|
160
160
|
|
|
161
161
|
Keyword Args:
|
|
162
162
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -189,14 +189,14 @@ class BalanceResponseV2(ModelNormal):
|
|
|
189
189
|
Animal class but this time we won't travel
|
|
190
190
|
through its discriminator because we passed in
|
|
191
191
|
_visited_composed_classes = (Animal,)
|
|
192
|
-
|
|
193
|
-
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
192
|
+
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
194
193
|
deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
195
|
-
spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
|
|
196
|
-
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
197
194
|
end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
195
|
+
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
196
|
+
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
197
|
+
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
198
|
+
spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
|
|
198
199
|
status (str): Status of the balance.. [optional] # noqa: E501
|
|
199
|
-
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
200
200
|
updated_at (datetime): Update time of the balance.. [optional] # noqa: E501
|
|
201
201
|
"""
|
|
202
202
|
|
|
@@ -229,11 +229,11 @@ class BalanceResponseV2(ModelNormal):
|
|
|
229
229
|
self._configuration = _configuration
|
|
230
230
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
231
231
|
|
|
232
|
-
self.name = name
|
|
233
|
-
self.start_date = start_date
|
|
234
232
|
self.balance_type = balance_type
|
|
235
|
-
self.
|
|
233
|
+
self.name = name
|
|
236
234
|
self.private_market_billing_type = private_market_billing_type
|
|
235
|
+
self.spend_type = spend_type
|
|
236
|
+
self.start_date = start_date
|
|
237
237
|
for var_name, var_value in kwargs.items():
|
|
238
238
|
if var_name not in self.attribute_map and \
|
|
239
239
|
self._configuration is not None and \
|
|
@@ -254,15 +254,15 @@ class BalanceResponseV2(ModelNormal):
|
|
|
254
254
|
])
|
|
255
255
|
|
|
256
256
|
@convert_js_args_to_python_args
|
|
257
|
-
def __init__(self,
|
|
257
|
+
def __init__(self, balance_type, name, private_market_billing_type, spend_type, start_date, *args, **kwargs): # noqa: E501
|
|
258
258
|
"""BalanceResponseV2 - a model defined in OpenAPI
|
|
259
259
|
|
|
260
260
|
Args:
|
|
261
|
-
name (str): Name of the balance.
|
|
262
|
-
start_date (date): Start date of the balance in the format YYYY-MM-DD.
|
|
263
261
|
balance_type (str): Type of the balance.
|
|
264
|
-
|
|
262
|
+
name (str): Name of the balance.
|
|
265
263
|
private_market_billing_type (str): Billing type for Private Market of the balance.
|
|
264
|
+
spend_type (str): Spend Type of the balance.
|
|
265
|
+
start_date (date): Start date of the balance in the format YYYY-MM-DD.
|
|
266
266
|
|
|
267
267
|
Keyword Args:
|
|
268
268
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -295,14 +295,14 @@ class BalanceResponseV2(ModelNormal):
|
|
|
295
295
|
Animal class but this time we won't travel
|
|
296
296
|
through its discriminator because we passed in
|
|
297
297
|
_visited_composed_classes = (Animal,)
|
|
298
|
-
|
|
299
|
-
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
298
|
+
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
300
299
|
deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
301
|
-
spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
|
|
302
|
-
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
303
300
|
end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
301
|
+
memo (str, none_type): Memo.. [optional] # noqa: E501
|
|
302
|
+
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
303
|
+
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
304
|
+
spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
|
|
304
305
|
status (str): Status of the balance.. [optional] # noqa: E501
|
|
305
|
-
created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
|
|
306
306
|
updated_at (datetime): Update time of the balance.. [optional] # noqa: E501
|
|
307
307
|
"""
|
|
308
308
|
|
|
@@ -333,11 +333,11 @@ class BalanceResponseV2(ModelNormal):
|
|
|
333
333
|
self._configuration = _configuration
|
|
334
334
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
335
335
|
|
|
336
|
-
self.name = name
|
|
337
|
-
self.start_date = start_date
|
|
338
336
|
self.balance_type = balance_type
|
|
339
|
-
self.
|
|
337
|
+
self.name = name
|
|
340
338
|
self.private_market_billing_type = private_market_billing_type
|
|
339
|
+
self.spend_type = spend_type
|
|
340
|
+
self.start_date = start_date
|
|
341
341
|
for var_name, var_value in kwargs.items():
|
|
342
342
|
if var_name not in self.attribute_map and \
|
|
343
343
|
self._configuration is not None and \
|
|
@@ -90,8 +90,8 @@ class BalanceResponseV2Response(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (ResourceOfBalanceResponseV2,), # noqa: E501
|
|
93
|
-
'warnings': ([CommonProblem],), # noqa: E501
|
|
94
93
|
'errors': ([CommonProblem],), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class BalanceResponseV2Response(ModelNormal):
|
|
|
101
101
|
|
|
102
102
|
attribute_map = {
|
|
103
103
|
'data': 'data', # noqa: E501
|
|
104
|
-
'warnings': 'warnings', # noqa: E501
|
|
105
104
|
'errors': 'errors', # noqa: E501
|
|
105
|
+
'warnings': 'warnings', # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
read_only_vars = {
|
|
109
|
-
'warnings', # noqa: E501
|
|
110
109
|
'errors', # noqa: E501
|
|
110
|
+
'warnings', # noqa: E501
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
_composed_schemas = {}
|
|
@@ -149,8 +149,8 @@ class BalanceResponseV2Response(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (ResourceOfBalanceResponseV2): [optional] # noqa: E501
|
|
152
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
153
152
|
errors ([CommonProblem]): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class BalanceResponseV2Response(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (ResourceOfBalanceResponseV2): [optional] # noqa: E501
|
|
240
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
241
240
|
errors ([CommonProblem]): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -55,10 +55,12 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('
|
|
58
|
+
('click_attribution_scope',): {
|
|
59
|
+
'None': None,
|
|
59
60
|
'UNKNOWN': "unknown",
|
|
60
|
-
'
|
|
61
|
-
'
|
|
61
|
+
'SAMESKU': "sameSku",
|
|
62
|
+
'SAMESKUCATEGORY': "sameSkuCategory",
|
|
63
|
+
'SAMESKUCATEGORYBRAND': "sameSkuCategoryBrand",
|
|
62
64
|
},
|
|
63
65
|
('click_attribution_window',): {
|
|
64
66
|
'7D': "7D",
|
|
@@ -66,27 +68,25 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
66
68
|
'30D': "30D",
|
|
67
69
|
'UNKNOWN': "unknown",
|
|
68
70
|
},
|
|
69
|
-
('
|
|
70
|
-
'NONE': "none",
|
|
71
|
+
('type',): {
|
|
71
72
|
'UNKNOWN': "unknown",
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'14D': "14D",
|
|
75
|
-
'30D': "30D",
|
|
73
|
+
'AUCTION': "auction",
|
|
74
|
+
'PREFERRED': "preferred",
|
|
76
75
|
},
|
|
77
|
-
('
|
|
76
|
+
('view_attribution_scope',): {
|
|
78
77
|
'None': None,
|
|
79
78
|
'UNKNOWN': "unknown",
|
|
80
79
|
'SAMESKU': "sameSku",
|
|
81
80
|
'SAMESKUCATEGORY': "sameSkuCategory",
|
|
82
81
|
'SAMESKUCATEGORYBRAND': "sameSkuCategoryBrand",
|
|
83
82
|
},
|
|
84
|
-
('
|
|
85
|
-
'
|
|
83
|
+
('view_attribution_window',): {
|
|
84
|
+
'NONE': "none",
|
|
86
85
|
'UNKNOWN': "unknown",
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
86
|
+
'1D': "1D",
|
|
87
|
+
'7D': "7D",
|
|
88
|
+
'14D': "14D",
|
|
89
|
+
'30D': "30D",
|
|
90
90
|
},
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -118,21 +118,21 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
118
118
|
and the value is attribute type.
|
|
119
119
|
"""
|
|
120
120
|
return {
|
|
121
|
-
'
|
|
121
|
+
'end_date': (datetime, none_type,), # noqa: E501
|
|
122
122
|
'is_auto_daily_pacing': (bool,), # noqa: E501
|
|
123
|
+
'name': (str,), # noqa: E501
|
|
123
124
|
'start_date': (datetime, none_type,), # noqa: E501
|
|
124
|
-
'end_date': (datetime, none_type,), # noqa: E501
|
|
125
|
-
'type': (str,), # noqa: E501
|
|
126
|
-
'drawable_balance_ids': ([str],), # noqa: E501
|
|
127
|
-
'click_attribution_window': (str,), # noqa: E501
|
|
128
|
-
'view_attribution_window': (str,), # noqa: E501
|
|
129
125
|
'budget': (float, none_type,), # noqa: E501
|
|
130
|
-
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
131
|
-
'daily_pacing': (float, none_type,), # noqa: E501
|
|
132
126
|
'click_attribution_scope': (str, none_type,), # noqa: E501
|
|
133
|
-
'
|
|
127
|
+
'click_attribution_window': (str,), # noqa: E501
|
|
134
128
|
'company_name': (str, none_type,), # noqa: E501
|
|
129
|
+
'daily_pacing': (float, none_type,), # noqa: E501
|
|
130
|
+
'drawable_balance_ids': ([str],), # noqa: E501
|
|
131
|
+
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
135
132
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
133
|
+
'type': (str,), # noqa: E501
|
|
134
|
+
'view_attribution_scope': (str, none_type,), # noqa: E501
|
|
135
|
+
'view_attribution_window': (str,), # noqa: E501
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
@cached_property
|
|
@@ -141,21 +141,21 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
attribute_map = {
|
|
144
|
-
'
|
|
144
|
+
'end_date': 'endDate', # noqa: E501
|
|
145
145
|
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
146
|
+
'name': 'name', # noqa: E501
|
|
146
147
|
'start_date': 'startDate', # noqa: E501
|
|
147
|
-
'end_date': 'endDate', # noqa: E501
|
|
148
|
-
'type': 'type', # noqa: E501
|
|
149
|
-
'drawable_balance_ids': 'drawableBalanceIds', # noqa: E501
|
|
150
|
-
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
151
|
-
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
152
148
|
'budget': 'budget', # noqa: E501
|
|
153
|
-
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
154
|
-
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
155
149
|
'click_attribution_scope': 'clickAttributionScope', # noqa: E501
|
|
156
|
-
'
|
|
150
|
+
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
157
151
|
'company_name': 'companyName', # noqa: E501
|
|
152
|
+
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
153
|
+
'drawable_balance_ids': 'drawableBalanceIds', # noqa: E501
|
|
154
|
+
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
158
155
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
156
|
+
'type': 'type', # noqa: E501
|
|
157
|
+
'view_attribution_scope': 'viewAttributionScope', # noqa: E501
|
|
158
|
+
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
read_only_vars = {
|
|
@@ -165,14 +165,14 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
165
165
|
|
|
166
166
|
@classmethod
|
|
167
167
|
@convert_js_args_to_python_args
|
|
168
|
-
def _from_openapi_data(cls,
|
|
168
|
+
def _from_openapi_data(cls, end_date, is_auto_daily_pacing, name, start_date, *args, **kwargs): # noqa: E501
|
|
169
169
|
"""CampaignAttributesV202301 - a model defined in OpenAPI
|
|
170
170
|
|
|
171
171
|
Args:
|
|
172
|
-
|
|
172
|
+
end_date (datetime, none_type):
|
|
173
173
|
is_auto_daily_pacing (bool):
|
|
174
|
+
name (str):
|
|
174
175
|
start_date (datetime, none_type):
|
|
175
|
-
end_date (datetime, none_type):
|
|
176
176
|
|
|
177
177
|
Keyword Args:
|
|
178
178
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -205,17 +205,17 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
205
205
|
Animal class but this time we won't travel
|
|
206
206
|
through its discriminator because we passed in
|
|
207
207
|
_visited_composed_classes = (Animal,)
|
|
208
|
-
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
209
|
-
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
210
|
-
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
211
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
212
208
|
budget (float, none_type): [optional] # noqa: E501
|
|
213
|
-
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
214
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
215
209
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
216
|
-
|
|
210
|
+
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
217
211
|
company_name (str, none_type): [optional] # noqa: E501
|
|
212
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
213
|
+
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
214
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
218
215
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
216
|
+
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
217
|
+
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
218
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
219
219
|
"""
|
|
220
220
|
|
|
221
221
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -247,10 +247,10 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
247
247
|
self._configuration = _configuration
|
|
248
248
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
249
249
|
|
|
250
|
-
self.
|
|
250
|
+
self.end_date = end_date
|
|
251
251
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
252
|
+
self.name = name
|
|
252
253
|
self.start_date = start_date
|
|
253
|
-
self.end_date = end_date
|
|
254
254
|
for var_name, var_value in kwargs.items():
|
|
255
255
|
if var_name not in self.attribute_map and \
|
|
256
256
|
self._configuration is not None and \
|
|
@@ -271,14 +271,14 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
271
271
|
])
|
|
272
272
|
|
|
273
273
|
@convert_js_args_to_python_args
|
|
274
|
-
def __init__(self,
|
|
274
|
+
def __init__(self, end_date, is_auto_daily_pacing, name, start_date, *args, **kwargs): # noqa: E501
|
|
275
275
|
"""CampaignAttributesV202301 - a model defined in OpenAPI
|
|
276
276
|
|
|
277
277
|
Args:
|
|
278
|
-
|
|
278
|
+
end_date (datetime, none_type):
|
|
279
279
|
is_auto_daily_pacing (bool):
|
|
280
|
+
name (str):
|
|
280
281
|
start_date (datetime, none_type):
|
|
281
|
-
end_date (datetime, none_type):
|
|
282
282
|
|
|
283
283
|
Keyword Args:
|
|
284
284
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -311,17 +311,17 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
311
311
|
Animal class but this time we won't travel
|
|
312
312
|
through its discriminator because we passed in
|
|
313
313
|
_visited_composed_classes = (Animal,)
|
|
314
|
-
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
315
|
-
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
316
|
-
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
317
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
318
314
|
budget (float, none_type): [optional] # noqa: E501
|
|
319
|
-
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
320
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
321
315
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
322
|
-
|
|
316
|
+
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
323
317
|
company_name (str, none_type): [optional] # noqa: E501
|
|
318
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
319
|
+
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
320
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
324
321
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
322
|
+
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
323
|
+
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
324
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
325
325
|
"""
|
|
326
326
|
|
|
327
327
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -351,10 +351,10 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
351
351
|
self._configuration = _configuration
|
|
352
352
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
353
353
|
|
|
354
|
-
self.
|
|
354
|
+
self.end_date = end_date
|
|
355
355
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
356
|
+
self.name = name
|
|
356
357
|
self.start_date = start_date
|
|
357
|
-
self.end_date = end_date
|
|
358
358
|
for var_name, var_value in kwargs.items():
|
|
359
359
|
if var_name not in self.attribute_map and \
|
|
360
360
|
self._configuration is not None and \
|
|
@@ -82,8 +82,8 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
82
82
|
"""
|
|
83
83
|
lazy_import()
|
|
84
84
|
return {
|
|
85
|
-
'monthly_budget_overrides': ([CampaignMonthlyBudgetOverride],), # noqa: E501
|
|
86
85
|
'daily_budget_overrides': ([CampaignDailyBudgetOverride],), # noqa: E501
|
|
86
|
+
'monthly_budget_overrides': ([CampaignMonthlyBudgetOverride],), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -92,8 +92,8 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
-
'monthly_budget_overrides': 'monthlyBudgetOverrides', # noqa: E501
|
|
96
95
|
'daily_budget_overrides': 'dailyBudgetOverrides', # noqa: E501
|
|
96
|
+
'monthly_budget_overrides': 'monthlyBudgetOverrides', # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
read_only_vars = {
|
|
@@ -103,12 +103,12 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
103
103
|
|
|
104
104
|
@classmethod
|
|
105
105
|
@convert_js_args_to_python_args
|
|
106
|
-
def _from_openapi_data(cls,
|
|
106
|
+
def _from_openapi_data(cls, daily_budget_overrides, monthly_budget_overrides, *args, **kwargs): # noqa: E501
|
|
107
107
|
"""CampaignBudgetOverrides - a model defined in OpenAPI
|
|
108
108
|
|
|
109
109
|
Args:
|
|
110
|
-
monthly_budget_overrides ([CampaignMonthlyBudgetOverride]): Campaign budget override monthly part, chronological order restricted.
|
|
111
110
|
daily_budget_overrides ([CampaignDailyBudgetOverride]): Campaign budget override daily part, chronological order restricted.
|
|
111
|
+
monthly_budget_overrides ([CampaignMonthlyBudgetOverride]): Campaign budget override monthly part, chronological order restricted.
|
|
112
112
|
|
|
113
113
|
Keyword Args:
|
|
114
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -172,8 +172,8 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
172
172
|
self._configuration = _configuration
|
|
173
173
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
174
174
|
|
|
175
|
-
self.monthly_budget_overrides = monthly_budget_overrides
|
|
176
175
|
self.daily_budget_overrides = daily_budget_overrides
|
|
176
|
+
self.monthly_budget_overrides = monthly_budget_overrides
|
|
177
177
|
for var_name, var_value in kwargs.items():
|
|
178
178
|
if var_name not in self.attribute_map and \
|
|
179
179
|
self._configuration is not None and \
|
|
@@ -194,12 +194,12 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
194
194
|
])
|
|
195
195
|
|
|
196
196
|
@convert_js_args_to_python_args
|
|
197
|
-
def __init__(self,
|
|
197
|
+
def __init__(self, daily_budget_overrides, monthly_budget_overrides, *args, **kwargs): # noqa: E501
|
|
198
198
|
"""CampaignBudgetOverrides - a model defined in OpenAPI
|
|
199
199
|
|
|
200
200
|
Args:
|
|
201
|
-
monthly_budget_overrides ([CampaignMonthlyBudgetOverride]): Campaign budget override monthly part, chronological order restricted.
|
|
202
201
|
daily_budget_overrides ([CampaignDailyBudgetOverride]): Campaign budget override daily part, chronological order restricted.
|
|
202
|
+
monthly_budget_overrides ([CampaignMonthlyBudgetOverride]): Campaign budget override monthly part, chronological order restricted.
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -261,8 +261,8 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
261
261
|
self._configuration = _configuration
|
|
262
262
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
263
|
|
|
264
|
-
self.monthly_budget_overrides = monthly_budget_overrides
|
|
265
264
|
self.daily_budget_overrides = daily_budget_overrides
|
|
265
|
+
self.monthly_budget_overrides = monthly_budget_overrides
|
|
266
266
|
for var_name, var_value in kwargs.items():
|
|
267
267
|
if var_name not in self.attribute_map and \
|
|
268
268
|
self._configuration is not None and \
|