criteo-api-retailmedia-sdk 2025.1.0.250317__py3-none-any.whl → 2025.1.0.251112__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.
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/METADATA +4 -4
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/RECORD +184 -183
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/accounts_api.py +10 -15
- criteo_api_retailmedia_v2025_01/api/analytics_api.py +10 -30
- criteo_api_retailmedia_v2025_01/api/audience_api.py +165 -193
- criteo_api_retailmedia_v2025_01/api/balance_api.py +261 -265
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +1571 -1569
- criteo_api_retailmedia_v2025_01/api_client.py +1 -1
- criteo_api_retailmedia_v2025_01/configuration.py +1 -1
- criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +7 -7
- criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +7 -7
- criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +7 -7
- criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/asset.py +0 -4
- criteo_api_retailmedia_v2025_01/model/asset_response.py +5 -9
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +104 -79
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +104 -79
- criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +145 -103
- criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item.py → auction_line_item.py} +43 -49
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +33 -33
- criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +26 -26
- criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_audience_target202110.py → audience_target202110.py} +11 -11
- criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
- criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_v2025_01/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +59 -63
- criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +84 -94
- criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
- criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +10 -10
- criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/common_error.py +18 -18
- criteo_api_retailmedia_v2025_01/model/{external_common_line_item.py → common_line_item.py} +37 -39
- criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2025_01/model/common_warning.py +18 -18
- criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +15 -15
- criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
- criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +35 -39
- criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
- criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
- criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
- criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +22 -22
- criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/files_variable_value.py +0 -3
- criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py → json_api_body_with_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2025_01/model/{external_keyword_target202110.py → keyword_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
- criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_line_item_bid_multipliers_v2.py → line_item_bid_multipliers_v2.py} +31 -31
- criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_line_item_page_v2.py → line_item_page_v2.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/nillable_decimal.py +263 -0
- criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +37 -37
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +30 -30
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +55 -57
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +10 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +14 -8
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_create_v1.py +1 -0
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +5 -4
- criteo_api_retailmedia_v2025_01/model/rm_events_create_v1.py +311 -0
- criteo_api_retailmedia_v2025_01/model/{report_outcome.py → rm_events_update_v1.py} +45 -15
- criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/section.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
- criteo_api_retailmedia_v2025_01/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_store_target202110.py → store_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/template.py +24 -24
- criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_v2025_01/models/__init__.py +23 -22
- criteo_api_retailmedia_v2025_01/model/error_code_response.py +0 -281
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/top_level.txt +0 -0
criteo_api_retailmedia_v2025_01/model/{external_auction_line_item.py → auction_line_item.py}
RENAMED
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class AuctionLineItem(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -102,24 +102,24 @@ class ExternalAuctionLineItem(ModelNormal):
|
|
|
102
102
|
and the value is attribute type.
|
|
103
103
|
"""
|
|
104
104
|
return {
|
|
105
|
+
'campaign_id': (str,), # noqa: E501
|
|
105
106
|
'name': (str,), # noqa: E501
|
|
106
107
|
'start_date': (date,), # noqa: E501
|
|
107
108
|
'target_retailer_id': (str,), # noqa: E501
|
|
108
|
-
'
|
|
109
|
+
'bid_strategy': (str,), # noqa: E501
|
|
110
|
+
'budget': (float, none_type,), # noqa: E501
|
|
109
111
|
'budget_remaining': (float, none_type,), # noqa: E501
|
|
112
|
+
'budget_spent': (float,), # noqa: E501
|
|
110
113
|
'created_at': (datetime,), # noqa: E501
|
|
111
|
-
'
|
|
114
|
+
'daily_pacing': (float, none_type,), # noqa: E501
|
|
112
115
|
'end_date': (date, none_type,), # noqa: E501
|
|
116
|
+
'id': (str, none_type,), # noqa: E501
|
|
117
|
+
'is_auto_daily_pacing': (bool,), # noqa: E501
|
|
113
118
|
'max_bid': (float, none_type,), # noqa: E501
|
|
114
|
-
'budget': (float, none_type,), # noqa: E501
|
|
115
119
|
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
116
|
-
'daily_pacing': (float, none_type,), # noqa: E501
|
|
117
|
-
'bid_strategy': (str,), # noqa: E501
|
|
118
120
|
'status': (str,), # noqa: E501
|
|
119
121
|
'target_bid': (float, none_type,), # noqa: E501
|
|
120
|
-
'
|
|
121
|
-
'budget_spent': (float,), # noqa: E501
|
|
122
|
-
'id': (str, none_type,), # noqa: E501
|
|
122
|
+
'updated_at': (datetime,), # noqa: E501
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
@cached_property
|
|
@@ -128,24 +128,24 @@ class ExternalAuctionLineItem(ModelNormal):
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
attribute_map = {
|
|
131
|
+
'campaign_id': 'campaignId', # noqa: E501
|
|
131
132
|
'name': 'name', # noqa: E501
|
|
132
133
|
'start_date': 'startDate', # noqa: E501
|
|
133
134
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
134
|
-
'
|
|
135
|
+
'bid_strategy': 'bidStrategy', # noqa: E501
|
|
136
|
+
'budget': 'budget', # noqa: E501
|
|
135
137
|
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
138
|
+
'budget_spent': 'budgetSpent', # noqa: E501
|
|
136
139
|
'created_at': 'createdAt', # noqa: E501
|
|
137
|
-
'
|
|
140
|
+
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
138
141
|
'end_date': 'endDate', # noqa: E501
|
|
142
|
+
'id': 'id', # noqa: E501
|
|
143
|
+
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
139
144
|
'max_bid': 'maxBid', # noqa: E501
|
|
140
|
-
'budget': 'budget', # noqa: E501
|
|
141
145
|
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
142
|
-
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
143
|
-
'bid_strategy': 'bidStrategy', # noqa: E501
|
|
144
146
|
'status': 'status', # noqa: E501
|
|
145
147
|
'target_bid': 'targetBid', # noqa: E501
|
|
146
|
-
'
|
|
147
|
-
'budget_spent': 'budgetSpent', # noqa: E501
|
|
148
|
-
'id': 'id', # noqa: E501
|
|
148
|
+
'updated_at': 'updatedAt', # noqa: E501
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
read_only_vars = {
|
|
@@ -155,17 +155,14 @@ class ExternalAuctionLineItem(ModelNormal):
|
|
|
155
155
|
|
|
156
156
|
@classmethod
|
|
157
157
|
@convert_js_args_to_python_args
|
|
158
|
-
def _from_openapi_data(cls, name, start_date, target_retailer_id,
|
|
159
|
-
"""
|
|
158
|
+
def _from_openapi_data(cls, campaign_id, name, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
159
|
+
"""AuctionLineItem - a model defined in OpenAPI
|
|
160
160
|
|
|
161
161
|
Args:
|
|
162
|
+
campaign_id (str):
|
|
162
163
|
name (str):
|
|
163
164
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
164
165
|
target_retailer_id (str):
|
|
165
|
-
campaign_id (str):
|
|
166
|
-
budget_remaining (float, none_type):
|
|
167
|
-
created_at (datetime):
|
|
168
|
-
updated_at (datetime):
|
|
169
166
|
|
|
170
167
|
Keyword Args:
|
|
171
168
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -198,17 +195,20 @@ class ExternalAuctionLineItem(ModelNormal):
|
|
|
198
195
|
Animal class but this time we won't travel
|
|
199
196
|
through its discriminator because we passed in
|
|
200
197
|
_visited_composed_classes = (Animal,)
|
|
198
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
199
|
+
budget (float, none_type): [optional] # noqa: E501
|
|
200
|
+
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
201
|
+
budget_spent (float): [optional] # noqa: E501
|
|
202
|
+
created_at (datetime): [optional] # noqa: E501
|
|
203
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
201
204
|
end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
205
|
+
id (str, none_type): [optional] # noqa: E501
|
|
206
|
+
is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
|
|
202
207
|
max_bid (float, none_type): [optional] # noqa: E501
|
|
203
|
-
budget (float, none_type): [optional] # noqa: E501
|
|
204
208
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
205
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
206
|
-
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
207
209
|
status (str): [optional] # noqa: E501
|
|
208
210
|
target_bid (float, none_type): [optional] # noqa: E501
|
|
209
|
-
|
|
210
|
-
budget_spent (float): [optional] # noqa: E501
|
|
211
|
-
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
211
|
+
updated_at (datetime): [optional] # noqa: E501
|
|
212
212
|
"""
|
|
213
213
|
|
|
214
214
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -240,13 +240,10 @@ class ExternalAuctionLineItem(ModelNormal):
|
|
|
240
240
|
self._configuration = _configuration
|
|
241
241
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
242
242
|
|
|
243
|
+
self.campaign_id = campaign_id
|
|
243
244
|
self.name = name
|
|
244
245
|
self.start_date = start_date
|
|
245
246
|
self.target_retailer_id = target_retailer_id
|
|
246
|
-
self.campaign_id = campaign_id
|
|
247
|
-
self.budget_remaining = budget_remaining
|
|
248
|
-
self.created_at = created_at
|
|
249
|
-
self.updated_at = updated_at
|
|
250
247
|
for var_name, var_value in kwargs.items():
|
|
251
248
|
if var_name not in self.attribute_map and \
|
|
252
249
|
self._configuration is not None and \
|
|
@@ -267,17 +264,14 @@ class ExternalAuctionLineItem(ModelNormal):
|
|
|
267
264
|
])
|
|
268
265
|
|
|
269
266
|
@convert_js_args_to_python_args
|
|
270
|
-
def __init__(self, name, start_date, target_retailer_id,
|
|
271
|
-
"""
|
|
267
|
+
def __init__(self, campaign_id, name, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
268
|
+
"""AuctionLineItem - a model defined in OpenAPI
|
|
272
269
|
|
|
273
270
|
Args:
|
|
271
|
+
campaign_id (str):
|
|
274
272
|
name (str):
|
|
275
273
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
276
274
|
target_retailer_id (str):
|
|
277
|
-
campaign_id (str):
|
|
278
|
-
budget_remaining (float, none_type):
|
|
279
|
-
created_at (datetime):
|
|
280
|
-
updated_at (datetime):
|
|
281
275
|
|
|
282
276
|
Keyword Args:
|
|
283
277
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -310,17 +304,20 @@ class ExternalAuctionLineItem(ModelNormal):
|
|
|
310
304
|
Animal class but this time we won't travel
|
|
311
305
|
through its discriminator because we passed in
|
|
312
306
|
_visited_composed_classes = (Animal,)
|
|
307
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
308
|
+
budget (float, none_type): [optional] # noqa: E501
|
|
309
|
+
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
310
|
+
budget_spent (float): [optional] # noqa: E501
|
|
311
|
+
created_at (datetime): [optional] # noqa: E501
|
|
312
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
313
313
|
end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
314
|
+
id (str, none_type): [optional] # noqa: E501
|
|
315
|
+
is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
|
|
314
316
|
max_bid (float, none_type): [optional] # noqa: E501
|
|
315
|
-
budget (float, none_type): [optional] # noqa: E501
|
|
316
317
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
317
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
318
|
-
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
319
318
|
status (str): [optional] # noqa: E501
|
|
320
319
|
target_bid (float, none_type): [optional] # noqa: E501
|
|
321
|
-
|
|
322
|
-
budget_spent (float): [optional] # noqa: E501
|
|
323
|
-
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
320
|
+
updated_at (datetime): [optional] # noqa: E501
|
|
324
321
|
"""
|
|
325
322
|
|
|
326
323
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -350,13 +347,10 @@ class ExternalAuctionLineItem(ModelNormal):
|
|
|
350
347
|
self._configuration = _configuration
|
|
351
348
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
352
349
|
|
|
350
|
+
self.campaign_id = campaign_id
|
|
353
351
|
self.name = name
|
|
354
352
|
self.start_date = start_date
|
|
355
353
|
self.target_retailer_id = target_retailer_id
|
|
356
|
-
self.campaign_id = campaign_id
|
|
357
|
-
self.budget_remaining = budget_remaining
|
|
358
|
-
self.created_at = created_at
|
|
359
|
-
self.updated_at = updated_at
|
|
360
354
|
for var_name, var_value in kwargs.items():
|
|
361
355
|
if var_name not in self.attribute_map and \
|
|
362
356
|
self._configuration is not None and \
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class AuctionLineItemCreateModel(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -55,6 +55,12 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('bid_strategy',): {
|
|
59
|
+
'UNKNOWN': "unknown",
|
|
60
|
+
'CONVERSION': "conversion",
|
|
61
|
+
'CLICKS': "clicks",
|
|
62
|
+
'REVENUE': "revenue",
|
|
63
|
+
},
|
|
58
64
|
('status',): {
|
|
59
65
|
'UNKNOWN': "unknown",
|
|
60
66
|
'ACTIVE': "active",
|
|
@@ -66,12 +72,6 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
|
|
|
66
72
|
'ARCHIVED': "archived",
|
|
67
73
|
'NOFUNDS': "noFunds",
|
|
68
74
|
},
|
|
69
|
-
('bid_strategy',): {
|
|
70
|
-
'UNKNOWN': "unknown",
|
|
71
|
-
'CONVERSION': "conversion",
|
|
72
|
-
'CLICKS': "clicks",
|
|
73
|
-
'REVENUE': "revenue",
|
|
74
|
-
},
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
validations = {
|
|
@@ -105,15 +105,15 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
|
|
|
105
105
|
'name': (str,), # noqa: E501
|
|
106
106
|
'start_date': (date,), # noqa: E501
|
|
107
107
|
'target_retailer_id': (str,), # noqa: E501
|
|
108
|
-
'
|
|
109
|
-
'status': (str,), # noqa: E501
|
|
108
|
+
'bid_strategy': (str,), # noqa: E501
|
|
110
109
|
'budget': (float, none_type,), # noqa: E501
|
|
111
|
-
'target_bid': (float, none_type,), # noqa: E501
|
|
112
|
-
'max_bid': (float, none_type,), # noqa: E501
|
|
113
|
-
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
114
110
|
'daily_pacing': (float, none_type,), # noqa: E501
|
|
111
|
+
'end_date': (date,), # noqa: E501
|
|
115
112
|
'is_auto_daily_pacing': (bool,), # noqa: E501
|
|
116
|
-
'
|
|
113
|
+
'max_bid': (float, none_type,), # noqa: E501
|
|
114
|
+
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
115
|
+
'status': (str,), # noqa: E501
|
|
116
|
+
'target_bid': (float, none_type,), # noqa: E501
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
@cached_property
|
|
@@ -125,15 +125,15 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
|
|
|
125
125
|
'name': 'name', # noqa: E501
|
|
126
126
|
'start_date': 'startDate', # noqa: E501
|
|
127
127
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
128
|
-
'
|
|
129
|
-
'status': 'status', # noqa: E501
|
|
128
|
+
'bid_strategy': 'bidStrategy', # noqa: E501
|
|
130
129
|
'budget': 'budget', # noqa: E501
|
|
131
|
-
'target_bid': 'targetBid', # noqa: E501
|
|
132
|
-
'max_bid': 'maxBid', # noqa: E501
|
|
133
|
-
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
134
130
|
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
131
|
+
'end_date': 'endDate', # noqa: E501
|
|
135
132
|
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
136
|
-
'
|
|
133
|
+
'max_bid': 'maxBid', # noqa: E501
|
|
134
|
+
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
135
|
+
'status': 'status', # noqa: E501
|
|
136
|
+
'target_bid': 'targetBid', # noqa: E501
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
read_only_vars = {
|
|
@@ -144,7 +144,7 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
|
|
|
144
144
|
@classmethod
|
|
145
145
|
@convert_js_args_to_python_args
|
|
146
146
|
def _from_openapi_data(cls, name, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
147
|
-
"""
|
|
147
|
+
"""AuctionLineItemCreateModel - a model defined in OpenAPI
|
|
148
148
|
|
|
149
149
|
Args:
|
|
150
150
|
name (str):
|
|
@@ -182,15 +182,15 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
|
|
|
182
182
|
Animal class but this time we won't travel
|
|
183
183
|
through its discriminator because we passed in
|
|
184
184
|
_visited_composed_classes = (Animal,)
|
|
185
|
-
|
|
186
|
-
status (str): [optional] # noqa: E501
|
|
185
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
187
186
|
budget (float, none_type): [optional] # noqa: E501
|
|
188
|
-
target_bid (float, none_type): [optional] # noqa: E501
|
|
189
|
-
max_bid (float, none_type): [optional] # noqa: E501
|
|
190
|
-
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
191
187
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
188
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
192
189
|
is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
|
|
193
|
-
|
|
190
|
+
max_bid (float, none_type): [optional] # noqa: E501
|
|
191
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
192
|
+
status (str): [optional] # noqa: E501
|
|
193
|
+
target_bid (float, none_type): [optional] # noqa: E501
|
|
194
194
|
"""
|
|
195
195
|
|
|
196
196
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -246,7 +246,7 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
|
|
|
246
246
|
|
|
247
247
|
@convert_js_args_to_python_args
|
|
248
248
|
def __init__(self, name, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
|
|
249
|
-
"""
|
|
249
|
+
"""AuctionLineItemCreateModel - a model defined in OpenAPI
|
|
250
250
|
|
|
251
251
|
Args:
|
|
252
252
|
name (str):
|
|
@@ -284,15 +284,15 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
|
|
|
284
284
|
Animal class but this time we won't travel
|
|
285
285
|
through its discriminator because we passed in
|
|
286
286
|
_visited_composed_classes = (Animal,)
|
|
287
|
-
|
|
288
|
-
status (str): [optional] # noqa: E501
|
|
287
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
289
288
|
budget (float, none_type): [optional] # noqa: E501
|
|
290
|
-
target_bid (float, none_type): [optional] # noqa: E501
|
|
291
|
-
max_bid (float, none_type): [optional] # noqa: E501
|
|
292
|
-
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
293
289
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
290
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
294
291
|
is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
|
|
295
|
-
|
|
292
|
+
max_bid (float, none_type): [optional] # noqa: E501
|
|
293
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
294
|
+
status (str): [optional] # noqa: E501
|
|
295
|
+
target_bid (float, none_type): [optional] # noqa: E501
|
|
296
296
|
"""
|
|
297
297
|
|
|
298
298
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.common_problem import CommonProblem
|
|
33
34
|
from criteo_api_retailmedia_v2025_01.model.page_metadata import PageMetadata
|
|
34
|
-
from criteo_api_retailmedia_v2025_01.model.problem_details import ProblemDetails
|
|
35
35
|
from criteo_api_retailmedia_v2025_01.model.resource_of_auction_line_item import ResourceOfAuctionLineItem
|
|
36
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
37
|
globals()['PageMetadata'] = PageMetadata
|
|
37
|
-
globals()['ProblemDetails'] = ProblemDetails
|
|
38
38
|
globals()['ResourceOfAuctionLineItem'] = ResourceOfAuctionLineItem
|
|
39
39
|
|
|
40
40
|
|
|
@@ -91,10 +91,10 @@ class AuctionLineItemPagedListResponse(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
|
-
'metadata': (PageMetadata,), # noqa: E501
|
|
95
94
|
'data': ([ResourceOfAuctionLineItem],), # noqa: E501
|
|
96
|
-
'
|
|
97
|
-
'
|
|
95
|
+
'errors': ([CommonProblem],), # noqa: E501
|
|
96
|
+
'metadata': (PageMetadata,), # noqa: E501
|
|
97
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
@cached_property
|
|
@@ -103,15 +103,15 @@ class AuctionLineItemPagedListResponse(ModelNormal):
|
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
attribute_map = {
|
|
106
|
-
'metadata': 'metadata', # noqa: E501
|
|
107
106
|
'data': 'data', # noqa: E501
|
|
108
|
-
'warnings': 'warnings', # noqa: E501
|
|
109
107
|
'errors': 'errors', # noqa: E501
|
|
108
|
+
'metadata': 'metadata', # noqa: E501
|
|
109
|
+
'warnings': 'warnings', # noqa: E501
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
read_only_vars = {
|
|
113
|
-
'warnings', # noqa: E501
|
|
114
113
|
'errors', # noqa: E501
|
|
114
|
+
'warnings', # noqa: E501
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
_composed_schemas = {}
|
|
@@ -152,10 +152,10 @@ class AuctionLineItemPagedListResponse(ModelNormal):
|
|
|
152
152
|
Animal class but this time we won't travel
|
|
153
153
|
through its discriminator because we passed in
|
|
154
154
|
_visited_composed_classes = (Animal,)
|
|
155
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
156
155
|
data ([ResourceOfAuctionLineItem]): [optional] # noqa: E501
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
157
|
+
metadata (PageMetadata): [optional] # noqa: E501
|
|
158
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
159
159
|
"""
|
|
160
160
|
|
|
161
161
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -241,10 +241,10 @@ class AuctionLineItemPagedListResponse(ModelNormal):
|
|
|
241
241
|
Animal class but this time we won't travel
|
|
242
242
|
through its discriminator because we passed in
|
|
243
243
|
_visited_composed_classes = (Animal,)
|
|
244
|
-
metadata (PageMetadata): [optional] # noqa: E501
|
|
245
244
|
data ([ResourceOfAuctionLineItem]): [optional] # noqa: E501
|
|
246
|
-
|
|
247
|
-
|
|
245
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
246
|
+
metadata (PageMetadata): [optional] # noqa: E501
|
|
247
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2025_01.model.
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.common_problem import CommonProblem
|
|
34
34
|
from criteo_api_retailmedia_v2025_01.model.resource_of_auction_line_item import ResourceOfAuctionLineItem
|
|
35
|
-
globals()['
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
36
|
globals()['ResourceOfAuctionLineItem'] = ResourceOfAuctionLineItem
|
|
37
37
|
|
|
38
38
|
|
|
@@ -90,8 +90,8 @@ class AuctionLineItemResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (ResourceOfAuctionLineItem,), # noqa: E501
|
|
93
|
-
'
|
|
94
|
-
'
|
|
93
|
+
'errors': ([CommonProblem],), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -101,13 +101,13 @@ class AuctionLineItemResponse(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 AuctionLineItemResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (ResourceOfAuctionLineItem): [optional] # noqa: E501
|
|
152
|
-
|
|
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 AuctionLineItemResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (ResourceOfAuctionLineItem): [optional] # noqa: E501
|
|
240
|
-
|
|
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)
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class AuctionLineItemUpdateModel(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -102,17 +102,17 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
|
|
|
102
102
|
and the value is attribute type.
|
|
103
103
|
"""
|
|
104
104
|
return {
|
|
105
|
+
'is_auto_daily_pacing': (bool,), # noqa: E501
|
|
105
106
|
'name': (str,), # noqa: E501
|
|
106
107
|
'start_date': (date,), # noqa: E501
|
|
107
108
|
'status': (str,), # noqa: E501
|
|
108
|
-
'target_bid': (float,
|
|
109
|
-
'
|
|
110
|
-
'end_date': (date,), # noqa: E501
|
|
109
|
+
'target_bid': (float,), # noqa: E501
|
|
110
|
+
'bid_strategy': (str,), # noqa: E501
|
|
111
111
|
'budget': (float, none_type,), # noqa: E501
|
|
112
|
+
'daily_pacing': (float, none_type,), # noqa: E501
|
|
113
|
+
'end_date': (date,), # noqa: E501
|
|
112
114
|
'max_bid': (float, none_type,), # noqa: E501
|
|
113
115
|
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
114
|
-
'daily_pacing': (float, none_type,), # noqa: E501
|
|
115
|
-
'bid_strategy': (str,), # noqa: E501
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
@cached_property
|
|
@@ -121,17 +121,17 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
|
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
attribute_map = {
|
|
124
|
+
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
124
125
|
'name': 'name', # noqa: E501
|
|
125
126
|
'start_date': 'startDate', # noqa: E501
|
|
126
127
|
'status': 'status', # noqa: E501
|
|
127
128
|
'target_bid': 'targetBid', # noqa: E501
|
|
128
|
-
'
|
|
129
|
-
'end_date': 'endDate', # noqa: E501
|
|
129
|
+
'bid_strategy': 'bidStrategy', # noqa: E501
|
|
130
130
|
'budget': 'budget', # noqa: E501
|
|
131
|
+
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
132
|
+
'end_date': 'endDate', # noqa: E501
|
|
131
133
|
'max_bid': 'maxBid', # noqa: E501
|
|
132
134
|
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
133
|
-
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
134
|
-
'bid_strategy': 'bidStrategy', # noqa: E501
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
read_only_vars = {
|
|
@@ -141,15 +141,15 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
|
|
|
141
141
|
|
|
142
142
|
@classmethod
|
|
143
143
|
@convert_js_args_to_python_args
|
|
144
|
-
def _from_openapi_data(cls, name, start_date, status, target_bid,
|
|
145
|
-
"""
|
|
144
|
+
def _from_openapi_data(cls, is_auto_daily_pacing, name, start_date, status, target_bid, *args, **kwargs): # noqa: E501
|
|
145
|
+
"""AuctionLineItemUpdateModel - a model defined in OpenAPI
|
|
146
146
|
|
|
147
147
|
Args:
|
|
148
|
+
is_auto_daily_pacing (bool):
|
|
148
149
|
name (str):
|
|
149
150
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
150
151
|
status (str):
|
|
151
|
-
target_bid (float
|
|
152
|
-
is_auto_daily_pacing (bool):
|
|
152
|
+
target_bid (float):
|
|
153
153
|
|
|
154
154
|
Keyword Args:
|
|
155
155
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -182,12 +182,12 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
|
|
|
182
182
|
Animal class but this time we won't travel
|
|
183
183
|
through its discriminator because we passed in
|
|
184
184
|
_visited_composed_classes = (Animal,)
|
|
185
|
-
|
|
185
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
186
186
|
budget (float, none_type): [optional] # noqa: E501
|
|
187
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
188
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
187
189
|
max_bid (float, none_type): [optional] # noqa: E501
|
|
188
190
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
189
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
190
|
-
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
191
191
|
"""
|
|
192
192
|
|
|
193
193
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -219,11 +219,11 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
|
|
|
219
219
|
self._configuration = _configuration
|
|
220
220
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
221
221
|
|
|
222
|
+
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
222
223
|
self.name = name
|
|
223
224
|
self.start_date = start_date
|
|
224
225
|
self.status = status
|
|
225
226
|
self.target_bid = target_bid
|
|
226
|
-
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
227
227
|
for var_name, var_value in kwargs.items():
|
|
228
228
|
if var_name not in self.attribute_map and \
|
|
229
229
|
self._configuration is not None and \
|
|
@@ -244,15 +244,15 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
|
|
|
244
244
|
])
|
|
245
245
|
|
|
246
246
|
@convert_js_args_to_python_args
|
|
247
|
-
def __init__(self, name, start_date, status, target_bid,
|
|
248
|
-
"""
|
|
247
|
+
def __init__(self, is_auto_daily_pacing, name, start_date, status, target_bid, *args, **kwargs): # noqa: E501
|
|
248
|
+
"""AuctionLineItemUpdateModel - a model defined in OpenAPI
|
|
249
249
|
|
|
250
250
|
Args:
|
|
251
|
+
is_auto_daily_pacing (bool):
|
|
251
252
|
name (str):
|
|
252
253
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
253
254
|
status (str):
|
|
254
|
-
target_bid (float
|
|
255
|
-
is_auto_daily_pacing (bool):
|
|
255
|
+
target_bid (float):
|
|
256
256
|
|
|
257
257
|
Keyword Args:
|
|
258
258
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -285,12 +285,12 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
|
|
|
285
285
|
Animal class but this time we won't travel
|
|
286
286
|
through its discriminator because we passed in
|
|
287
287
|
_visited_composed_classes = (Animal,)
|
|
288
|
-
|
|
288
|
+
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
289
289
|
budget (float, none_type): [optional] # noqa: E501
|
|
290
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
291
|
+
end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
290
292
|
max_bid (float, none_type): [optional] # noqa: E501
|
|
291
293
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
292
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
293
|
-
bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
|
|
294
294
|
"""
|
|
295
295
|
|
|
296
296
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -320,11 +320,11 @@ class ExternalAuctionLineItemUpdateModel(ModelNormal):
|
|
|
320
320
|
self._configuration = _configuration
|
|
321
321
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
322
322
|
|
|
323
|
+
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
323
324
|
self.name = name
|
|
324
325
|
self.start_date = start_date
|
|
325
326
|
self.status = status
|
|
326
327
|
self.target_bid = target_bid
|
|
327
|
-
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
328
328
|
for var_name, var_value in kwargs.items():
|
|
329
329
|
if var_name not in self.attribute_map and \
|
|
330
330
|
self._configuration is not None and \
|