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
|
@@ -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': (str,), # noqa: E501
|
|
111
|
+
'created_at': (datetime,), # noqa: E501
|
|
113
112
|
'deposited': (float, none_type,), # noqa: E501
|
|
114
|
-
'
|
|
113
|
+
'end_date': (str, none_type,), # noqa: E501
|
|
114
|
+
'memo': (str, none_type,), # noqa: E501
|
|
115
|
+
'po_number': (str, none_type,), # noqa: E501
|
|
115
116
|
'remaining': (float, none_type,), # noqa: E501
|
|
116
|
-
'
|
|
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 (str): 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
|
-
|
|
194
|
+
end_date (str, 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
|
|
196
197
|
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
197
|
-
|
|
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 (str): 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
|
-
|
|
300
|
+
end_date (str, 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
|
|
302
303
|
remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
|
|
303
|
-
|
|
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 \
|
|
@@ -38,7 +38,7 @@ def lazy_import():
|
|
|
38
38
|
globals()['ResourceOfBalanceResponseV2'] = ResourceOfBalanceResponseV2
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
class
|
|
41
|
+
class BalanceResponseV2PagedListResponse(ModelNormal):
|
|
42
42
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
43
43
|
Ref: https://openapi-generator.tech
|
|
44
44
|
|
|
@@ -91,10 +91,10 @@ class PagedResourceCollectionOutcomeOfBalanceResponseV2(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
|
-
'metadata': (PageMetadata,), # noqa: E501
|
|
95
94
|
'data': ([ResourceOfBalanceResponseV2],), # noqa: E501
|
|
96
|
-
'warnings': ([CommonProblem],), # noqa: E501
|
|
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 PagedResourceCollectionOutcomeOfBalanceResponseV2(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 = {}
|
|
@@ -119,7 +119,7 @@ class PagedResourceCollectionOutcomeOfBalanceResponseV2(ModelNormal):
|
|
|
119
119
|
@classmethod
|
|
120
120
|
@convert_js_args_to_python_args
|
|
121
121
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
122
|
-
"""
|
|
122
|
+
"""BalanceResponseV2PagedListResponse - a model defined in OpenAPI
|
|
123
123
|
|
|
124
124
|
Keyword Args:
|
|
125
125
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -152,10 +152,10 @@ class PagedResourceCollectionOutcomeOfBalanceResponseV2(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 ([ResourceOfBalanceResponseV2]): [optional] # noqa: E501
|
|
157
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
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)
|
|
@@ -208,7 +208,7 @@ class PagedResourceCollectionOutcomeOfBalanceResponseV2(ModelNormal):
|
|
|
208
208
|
|
|
209
209
|
@convert_js_args_to_python_args
|
|
210
210
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
211
|
-
"""
|
|
211
|
+
"""BalanceResponseV2PagedListResponse - a model defined in OpenAPI
|
|
212
212
|
|
|
213
213
|
Keyword Args:
|
|
214
214
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -241,10 +241,10 @@ class PagedResourceCollectionOutcomeOfBalanceResponseV2(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 ([ResourceOfBalanceResponseV2]): [optional] # noqa: E501
|
|
246
|
-
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
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)
|
|
@@ -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",
|
|
85
|
+
'1D': "1D",
|
|
86
|
+
'7D': "7D",
|
|
87
|
+
'14D': "14D",
|
|
88
|
+
'30D': "30D",
|
|
86
89
|
'UNKNOWN': "unknown",
|
|
87
|
-
'SAMESKU': "sameSku",
|
|
88
|
-
'SAMESKUCATEGORY': "sameSkuCategory",
|
|
89
|
-
'SAMESKUCATEGORYBRAND': "sameSkuCategoryBrand",
|
|
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
|
-
'name': (str,), # noqa: E501
|
|
122
121
|
'is_auto_daily_pacing': (bool,), # noqa: E501
|
|
123
|
-
'
|
|
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
|
|
122
|
+
'name': (str,), # noqa: E501
|
|
129
123
|
'budget': (float, none_type,), # noqa: E501
|
|
130
|
-
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
131
|
-
'daily_pacing': (float, none_type,), # noqa: E501
|
|
132
124
|
'click_attribution_scope': (str, none_type,), # noqa: E501
|
|
133
|
-
'
|
|
125
|
+
'click_attribution_window': (str,), # noqa: E501
|
|
134
126
|
'company_name': (str, none_type,), # noqa: E501
|
|
127
|
+
'daily_pacing': (float, none_type,), # noqa: E501
|
|
128
|
+
'drawable_balance_ids': ([str],), # noqa: E501
|
|
129
|
+
'end_date': (datetime, none_type,), # noqa: E501
|
|
130
|
+
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
135
131
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
132
|
+
'start_date': (datetime, 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
|
-
'name': 'name', # noqa: E501
|
|
145
144
|
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
146
|
-
'
|
|
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
|
|
145
|
+
'name': 'name', # noqa: E501
|
|
152
146
|
'budget': 'budget', # noqa: E501
|
|
153
|
-
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
154
|
-
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
155
147
|
'click_attribution_scope': 'clickAttributionScope', # noqa: E501
|
|
156
|
-
'
|
|
148
|
+
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
157
149
|
'company_name': 'companyName', # noqa: E501
|
|
150
|
+
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
151
|
+
'drawable_balance_ids': 'drawableBalanceIds', # noqa: E501
|
|
152
|
+
'end_date': 'endDate', # noqa: E501
|
|
153
|
+
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
158
154
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
155
|
+
'start_date': 'startDate', # 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,12 @@ 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, is_auto_daily_pacing, name, *args, **kwargs): # noqa: E501
|
|
169
169
|
"""CampaignAttributesV202301 - a model defined in OpenAPI
|
|
170
170
|
|
|
171
171
|
Args:
|
|
172
|
-
name (str):
|
|
173
172
|
is_auto_daily_pacing (bool):
|
|
174
|
-
|
|
175
|
-
end_date (datetime, none_type):
|
|
173
|
+
name (str):
|
|
176
174
|
|
|
177
175
|
Keyword Args:
|
|
178
176
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -205,17 +203,19 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
205
203
|
Animal class but this time we won't travel
|
|
206
204
|
through its discriminator because we passed in
|
|
207
205
|
_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
206
|
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
207
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
216
|
-
|
|
208
|
+
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
217
209
|
company_name (str, none_type): [optional] # noqa: E501
|
|
210
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
211
|
+
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
212
|
+
end_date (datetime, none_type): [optional] # noqa: E501
|
|
213
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
218
214
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
215
|
+
start_date (datetime, 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,8 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
247
247
|
self._configuration = _configuration
|
|
248
248
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
249
249
|
|
|
250
|
-
self.name = name
|
|
251
250
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
252
|
-
self.
|
|
253
|
-
self.end_date = end_date
|
|
251
|
+
self.name = name
|
|
254
252
|
for var_name, var_value in kwargs.items():
|
|
255
253
|
if var_name not in self.attribute_map and \
|
|
256
254
|
self._configuration is not None and \
|
|
@@ -271,14 +269,12 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
271
269
|
])
|
|
272
270
|
|
|
273
271
|
@convert_js_args_to_python_args
|
|
274
|
-
def __init__(self,
|
|
272
|
+
def __init__(self, is_auto_daily_pacing, name, *args, **kwargs): # noqa: E501
|
|
275
273
|
"""CampaignAttributesV202301 - a model defined in OpenAPI
|
|
276
274
|
|
|
277
275
|
Args:
|
|
278
|
-
name (str):
|
|
279
276
|
is_auto_daily_pacing (bool):
|
|
280
|
-
|
|
281
|
-
end_date (datetime, none_type):
|
|
277
|
+
name (str):
|
|
282
278
|
|
|
283
279
|
Keyword Args:
|
|
284
280
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -311,17 +307,19 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
311
307
|
Animal class but this time we won't travel
|
|
312
308
|
through its discriminator because we passed in
|
|
313
309
|
_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
310
|
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
311
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
322
|
-
|
|
312
|
+
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
323
313
|
company_name (str, none_type): [optional] # noqa: E501
|
|
314
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
315
|
+
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
316
|
+
end_date (datetime, none_type): [optional] # noqa: E501
|
|
317
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
324
318
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
319
|
+
start_date (datetime, none_type): [optional] # noqa: E501
|
|
320
|
+
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
321
|
+
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
322
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
325
323
|
"""
|
|
326
324
|
|
|
327
325
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -351,10 +349,8 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
351
349
|
self._configuration = _configuration
|
|
352
350
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
353
351
|
|
|
354
|
-
self.name = name
|
|
355
352
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
356
|
-
self.
|
|
357
|
-
self.end_date = end_date
|
|
353
|
+
self.name = name
|
|
358
354
|
for var_name, var_value in kwargs.items():
|
|
359
355
|
if var_name not in self.attribute_map and \
|
|
360
356
|
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 \
|