criteo-api-retailmedia-sdk 2025.1.0.250327__py3-none-any.whl → 2025.1.0.250425__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/RECORD +168 -168
- {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/analytics_api.py +2 -2
- criteo_api_retailmedia_v2025_01/api/balance_api.py +12 -12
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +30 -30
- 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 +4 -4
- 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/add_to_basket_target202110_response.py +5 -5
- 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_response.py +7 -7
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +79 -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 +79 -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 +104 -104
- criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
- criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +9 -9
- 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/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +57 -57
- criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +82 -82
- 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 +4 -4
- criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/common_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2025_01/model/common_warning.py +16 -16
- criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +12 -12
- 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 +32 -32
- 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_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item.py +44 -44
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_create_model.py +30 -30
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_update_model.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_audience_target202110.py +8 -8
- 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_common_line_item.py +34 -34
- criteo_api_retailmedia_v2025_01/model/external_line_item_bid_multipliers_v2.py +28 -28
- criteo_api_retailmedia_v2025_01/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_v2025_01/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_v2.py +36 -36
- 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_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 +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- 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/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +5 -5
- 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/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/metadata.py +8 -8
- 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/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- 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/report_outcome.py +5 -5
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +4 -4
- 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 +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +4 -4
- 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 +4 -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 +8 -8
- 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 +4 -4
- 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/store_target202110_response.py +5 -5
- 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 +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
- 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 +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
- {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/top_level.txt +0 -0
|
@@ -55,10 +55,12 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('
|
|
58
|
+
('click_attribution_scope',): {
|
|
59
|
+
'None': None,
|
|
59
60
|
'UNKNOWN': "unknown",
|
|
60
|
-
'
|
|
61
|
-
'
|
|
61
|
+
'SAMESKU': "sameSku",
|
|
62
|
+
'SAMESKUCATEGORY': "sameSkuCategory",
|
|
63
|
+
'SAMESKUCATEGORYBRAND': "sameSkuCategoryBrand",
|
|
62
64
|
},
|
|
63
65
|
('click_attribution_window',): {
|
|
64
66
|
'7D': "7D",
|
|
@@ -66,27 +68,25 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
66
68
|
'30D': "30D",
|
|
67
69
|
'UNKNOWN': "unknown",
|
|
68
70
|
},
|
|
69
|
-
('
|
|
70
|
-
'NONE': "none",
|
|
71
|
+
('type',): {
|
|
71
72
|
'UNKNOWN': "unknown",
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'14D': "14D",
|
|
75
|
-
'30D': "30D",
|
|
73
|
+
'AUCTION': "auction",
|
|
74
|
+
'PREFERRED': "preferred",
|
|
76
75
|
},
|
|
77
|
-
('
|
|
76
|
+
('view_attribution_scope',): {
|
|
78
77
|
'None': None,
|
|
79
78
|
'UNKNOWN': "unknown",
|
|
80
79
|
'SAMESKU': "sameSku",
|
|
81
80
|
'SAMESKUCATEGORY': "sameSkuCategory",
|
|
82
81
|
'SAMESKUCATEGORYBRAND': "sameSkuCategoryBrand",
|
|
83
82
|
},
|
|
84
|
-
('
|
|
85
|
-
'
|
|
83
|
+
('view_attribution_window',): {
|
|
84
|
+
'NONE': "none",
|
|
86
85
|
'UNKNOWN': "unknown",
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
86
|
+
'1D': "1D",
|
|
87
|
+
'7D': "7D",
|
|
88
|
+
'14D': "14D",
|
|
89
|
+
'30D': "30D",
|
|
90
90
|
},
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -118,21 +118,21 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
118
118
|
and the value is attribute type.
|
|
119
119
|
"""
|
|
120
120
|
return {
|
|
121
|
-
'
|
|
121
|
+
'end_date': (datetime, none_type,), # noqa: E501
|
|
122
122
|
'is_auto_daily_pacing': (bool,), # noqa: E501
|
|
123
|
+
'name': (str,), # noqa: E501
|
|
123
124
|
'start_date': (datetime, none_type,), # noqa: E501
|
|
124
|
-
'end_date': (datetime, none_type,), # noqa: E501
|
|
125
|
-
'type': (str,), # noqa: E501
|
|
126
|
-
'drawable_balance_ids': ([str],), # noqa: E501
|
|
127
|
-
'click_attribution_window': (str,), # noqa: E501
|
|
128
|
-
'view_attribution_window': (str,), # noqa: E501
|
|
129
125
|
'budget': (float, none_type,), # noqa: E501
|
|
130
|
-
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
131
|
-
'daily_pacing': (float, none_type,), # noqa: E501
|
|
132
126
|
'click_attribution_scope': (str, none_type,), # noqa: E501
|
|
133
|
-
'
|
|
127
|
+
'click_attribution_window': (str,), # noqa: E501
|
|
134
128
|
'company_name': (str, none_type,), # noqa: E501
|
|
129
|
+
'daily_pacing': (float, none_type,), # noqa: E501
|
|
130
|
+
'drawable_balance_ids': ([str],), # noqa: E501
|
|
131
|
+
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
135
132
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
133
|
+
'type': (str,), # noqa: E501
|
|
134
|
+
'view_attribution_scope': (str, none_type,), # noqa: E501
|
|
135
|
+
'view_attribution_window': (str,), # noqa: E501
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
@cached_property
|
|
@@ -141,21 +141,21 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
attribute_map = {
|
|
144
|
-
'
|
|
144
|
+
'end_date': 'endDate', # noqa: E501
|
|
145
145
|
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
146
|
+
'name': 'name', # noqa: E501
|
|
146
147
|
'start_date': 'startDate', # noqa: E501
|
|
147
|
-
'end_date': 'endDate', # noqa: E501
|
|
148
|
-
'type': 'type', # noqa: E501
|
|
149
|
-
'drawable_balance_ids': 'drawableBalanceIds', # noqa: E501
|
|
150
|
-
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
151
|
-
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
152
148
|
'budget': 'budget', # noqa: E501
|
|
153
|
-
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
154
|
-
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
155
149
|
'click_attribution_scope': 'clickAttributionScope', # noqa: E501
|
|
156
|
-
'
|
|
150
|
+
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
157
151
|
'company_name': 'companyName', # noqa: E501
|
|
152
|
+
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
153
|
+
'drawable_balance_ids': 'drawableBalanceIds', # noqa: E501
|
|
154
|
+
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
158
155
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
156
|
+
'type': 'type', # noqa: E501
|
|
157
|
+
'view_attribution_scope': 'viewAttributionScope', # noqa: E501
|
|
158
|
+
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
read_only_vars = {
|
|
@@ -165,14 +165,14 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
165
165
|
|
|
166
166
|
@classmethod
|
|
167
167
|
@convert_js_args_to_python_args
|
|
168
|
-
def _from_openapi_data(cls,
|
|
168
|
+
def _from_openapi_data(cls, end_date, is_auto_daily_pacing, name, start_date, *args, **kwargs): # noqa: E501
|
|
169
169
|
"""CampaignAttributesV202301 - a model defined in OpenAPI
|
|
170
170
|
|
|
171
171
|
Args:
|
|
172
|
-
|
|
172
|
+
end_date (datetime, none_type):
|
|
173
173
|
is_auto_daily_pacing (bool):
|
|
174
|
+
name (str):
|
|
174
175
|
start_date (datetime, none_type):
|
|
175
|
-
end_date (datetime, none_type):
|
|
176
176
|
|
|
177
177
|
Keyword Args:
|
|
178
178
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -205,17 +205,17 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
205
205
|
Animal class but this time we won't travel
|
|
206
206
|
through its discriminator because we passed in
|
|
207
207
|
_visited_composed_classes = (Animal,)
|
|
208
|
-
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
209
|
-
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
210
|
-
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
211
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
212
208
|
budget (float, none_type): [optional] # noqa: E501
|
|
213
|
-
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
214
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
215
209
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
216
|
-
|
|
210
|
+
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
217
211
|
company_name (str, none_type): [optional] # noqa: E501
|
|
212
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
213
|
+
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
214
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
218
215
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
216
|
+
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
217
|
+
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
218
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
219
219
|
"""
|
|
220
220
|
|
|
221
221
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -247,10 +247,10 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
247
247
|
self._configuration = _configuration
|
|
248
248
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
249
249
|
|
|
250
|
-
self.
|
|
250
|
+
self.end_date = end_date
|
|
251
251
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
252
|
+
self.name = name
|
|
252
253
|
self.start_date = start_date
|
|
253
|
-
self.end_date = end_date
|
|
254
254
|
for var_name, var_value in kwargs.items():
|
|
255
255
|
if var_name not in self.attribute_map and \
|
|
256
256
|
self._configuration is not None and \
|
|
@@ -271,14 +271,14 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
271
271
|
])
|
|
272
272
|
|
|
273
273
|
@convert_js_args_to_python_args
|
|
274
|
-
def __init__(self,
|
|
274
|
+
def __init__(self, end_date, is_auto_daily_pacing, name, start_date, *args, **kwargs): # noqa: E501
|
|
275
275
|
"""CampaignAttributesV202301 - a model defined in OpenAPI
|
|
276
276
|
|
|
277
277
|
Args:
|
|
278
|
-
|
|
278
|
+
end_date (datetime, none_type):
|
|
279
279
|
is_auto_daily_pacing (bool):
|
|
280
|
+
name (str):
|
|
280
281
|
start_date (datetime, none_type):
|
|
281
|
-
end_date (datetime, none_type):
|
|
282
282
|
|
|
283
283
|
Keyword Args:
|
|
284
284
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -311,17 +311,17 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
311
311
|
Animal class but this time we won't travel
|
|
312
312
|
through its discriminator because we passed in
|
|
313
313
|
_visited_composed_classes = (Animal,)
|
|
314
|
-
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
315
|
-
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
316
|
-
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
317
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
318
314
|
budget (float, none_type): [optional] # noqa: E501
|
|
319
|
-
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
320
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
321
315
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
322
|
-
|
|
316
|
+
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
323
317
|
company_name (str, none_type): [optional] # noqa: E501
|
|
318
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
319
|
+
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
320
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
324
321
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
322
|
+
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
323
|
+
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
324
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
325
325
|
"""
|
|
326
326
|
|
|
327
327
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -351,10 +351,10 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
351
351
|
self._configuration = _configuration
|
|
352
352
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
353
353
|
|
|
354
|
-
self.
|
|
354
|
+
self.end_date = end_date
|
|
355
355
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
356
|
+
self.name = name
|
|
356
357
|
self.start_date = start_date
|
|
357
|
-
self.end_date = end_date
|
|
358
358
|
for var_name, var_value in kwargs.items():
|
|
359
359
|
if var_name not in self.attribute_map and \
|
|
360
360
|
self._configuration is not None and \
|
|
@@ -82,8 +82,8 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
82
82
|
"""
|
|
83
83
|
lazy_import()
|
|
84
84
|
return {
|
|
85
|
-
'monthly_budget_overrides': ([CampaignMonthlyBudgetOverride],), # noqa: E501
|
|
86
85
|
'daily_budget_overrides': ([CampaignDailyBudgetOverride],), # noqa: E501
|
|
86
|
+
'monthly_budget_overrides': ([CampaignMonthlyBudgetOverride],), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -92,8 +92,8 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
-
'monthly_budget_overrides': 'monthlyBudgetOverrides', # noqa: E501
|
|
96
95
|
'daily_budget_overrides': 'dailyBudgetOverrides', # noqa: E501
|
|
96
|
+
'monthly_budget_overrides': 'monthlyBudgetOverrides', # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
read_only_vars = {
|
|
@@ -103,12 +103,12 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
103
103
|
|
|
104
104
|
@classmethod
|
|
105
105
|
@convert_js_args_to_python_args
|
|
106
|
-
def _from_openapi_data(cls,
|
|
106
|
+
def _from_openapi_data(cls, daily_budget_overrides, monthly_budget_overrides, *args, **kwargs): # noqa: E501
|
|
107
107
|
"""CampaignBudgetOverrides - a model defined in OpenAPI
|
|
108
108
|
|
|
109
109
|
Args:
|
|
110
|
-
monthly_budget_overrides ([CampaignMonthlyBudgetOverride]): Campaign budget override monthly part, chronological order restricted.
|
|
111
110
|
daily_budget_overrides ([CampaignDailyBudgetOverride]): Campaign budget override daily part, chronological order restricted.
|
|
111
|
+
monthly_budget_overrides ([CampaignMonthlyBudgetOverride]): Campaign budget override monthly part, chronological order restricted.
|
|
112
112
|
|
|
113
113
|
Keyword Args:
|
|
114
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -172,8 +172,8 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
172
172
|
self._configuration = _configuration
|
|
173
173
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
174
174
|
|
|
175
|
-
self.monthly_budget_overrides = monthly_budget_overrides
|
|
176
175
|
self.daily_budget_overrides = daily_budget_overrides
|
|
176
|
+
self.monthly_budget_overrides = monthly_budget_overrides
|
|
177
177
|
for var_name, var_value in kwargs.items():
|
|
178
178
|
if var_name not in self.attribute_map and \
|
|
179
179
|
self._configuration is not None and \
|
|
@@ -194,12 +194,12 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
194
194
|
])
|
|
195
195
|
|
|
196
196
|
@convert_js_args_to_python_args
|
|
197
|
-
def __init__(self,
|
|
197
|
+
def __init__(self, daily_budget_overrides, monthly_budget_overrides, *args, **kwargs): # noqa: E501
|
|
198
198
|
"""CampaignBudgetOverrides - a model defined in OpenAPI
|
|
199
199
|
|
|
200
200
|
Args:
|
|
201
|
-
monthly_budget_overrides ([CampaignMonthlyBudgetOverride]): Campaign budget override monthly part, chronological order restricted.
|
|
202
201
|
daily_budget_overrides ([CampaignDailyBudgetOverride]): Campaign budget override daily part, chronological order restricted.
|
|
202
|
+
monthly_budget_overrides ([CampaignMonthlyBudgetOverride]): Campaign budget override monthly part, chronological order restricted.
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -261,8 +261,8 @@ class CampaignBudgetOverrides(ModelNormal):
|
|
|
261
261
|
self._configuration = _configuration
|
|
262
262
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
263
|
|
|
264
|
-
self.monthly_budget_overrides = monthly_budget_overrides
|
|
265
264
|
self.daily_budget_overrides = daily_budget_overrides
|
|
265
|
+
self.monthly_budget_overrides = monthly_budget_overrides
|
|
266
266
|
for var_name, var_value in kwargs.items():
|
|
267
267
|
if var_name not in self.attribute_map and \
|
|
268
268
|
self._configuration is not None and \
|
|
@@ -55,6 +55,19 @@ class CampaignV202301(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('click_attribution_scope',): {
|
|
59
|
+
'None': None,
|
|
60
|
+
'UNKNOWN': "unknown",
|
|
61
|
+
'SAMESKU': "sameSku",
|
|
62
|
+
'SAMESKUCATEGORY': "sameSkuCategory",
|
|
63
|
+
'SAMESKUCATEGORYBRAND': "sameSkuCategoryBrand",
|
|
64
|
+
},
|
|
65
|
+
('click_attribution_window',): {
|
|
66
|
+
'7D': "7D",
|
|
67
|
+
'14D': "14D",
|
|
68
|
+
'30D': "30D",
|
|
69
|
+
'UNKNOWN': "unknown",
|
|
70
|
+
},
|
|
58
71
|
('status',): {
|
|
59
72
|
'UNKNOWN': "unknown",
|
|
60
73
|
'ACTIVE': "active",
|
|
@@ -67,11 +80,12 @@ class CampaignV202301(ModelNormal):
|
|
|
67
80
|
'AUCTION': "auction",
|
|
68
81
|
'PREFERRED': "preferred",
|
|
69
82
|
},
|
|
70
|
-
('
|
|
71
|
-
'
|
|
72
|
-
'14D': "14D",
|
|
73
|
-
'30D': "30D",
|
|
83
|
+
('view_attribution_scope',): {
|
|
84
|
+
'None': None,
|
|
74
85
|
'UNKNOWN': "unknown",
|
|
86
|
+
'SAMESKU': "sameSku",
|
|
87
|
+
'SAMESKUCATEGORY': "sameSkuCategory",
|
|
88
|
+
'SAMESKUCATEGORYBRAND': "sameSkuCategoryBrand",
|
|
75
89
|
},
|
|
76
90
|
('view_attribution_window',): {
|
|
77
91
|
'NONE': "none",
|
|
@@ -81,20 +95,6 @@ class CampaignV202301(ModelNormal):
|
|
|
81
95
|
'14D': "14D",
|
|
82
96
|
'30D': "30D",
|
|
83
97
|
},
|
|
84
|
-
('click_attribution_scope',): {
|
|
85
|
-
'None': None,
|
|
86
|
-
'UNKNOWN': "unknown",
|
|
87
|
-
'SAMESKU': "sameSku",
|
|
88
|
-
'SAMESKUCATEGORY': "sameSkuCategory",
|
|
89
|
-
'SAMESKUCATEGORYBRAND': "sameSkuCategoryBrand",
|
|
90
|
-
},
|
|
91
|
-
('view_attribution_scope',): {
|
|
92
|
-
'None': None,
|
|
93
|
-
'UNKNOWN': "unknown",
|
|
94
|
-
'SAMESKU': "sameSku",
|
|
95
|
-
'SAMESKUCATEGORY': "sameSkuCategory",
|
|
96
|
-
'SAMESKUCATEGORYBRAND': "sameSkuCategoryBrand",
|
|
97
|
-
},
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
validations = {
|
|
@@ -126,27 +126,27 @@ class CampaignV202301(ModelNormal):
|
|
|
126
126
|
"""
|
|
127
127
|
return {
|
|
128
128
|
'account_id': (str,), # noqa: E501
|
|
129
|
-
'promoted_brand_ids': ([str],), # noqa: E501
|
|
130
|
-
'budget_spent': (float, none_type,), # noqa: E501
|
|
131
129
|
'budget_remaining': (float, none_type,), # noqa: E501
|
|
130
|
+
'budget_spent': (float, none_type,), # noqa: E501
|
|
132
131
|
'created_at': (datetime,), # noqa: E501
|
|
133
|
-
'
|
|
134
|
-
'name': (str,), # noqa: E501
|
|
132
|
+
'end_date': (datetime, none_type,), # noqa: E501
|
|
135
133
|
'is_auto_daily_pacing': (bool,), # noqa: E501
|
|
134
|
+
'name': (str,), # noqa: E501
|
|
135
|
+
'promoted_brand_ids': ([str],), # noqa: E501
|
|
136
136
|
'start_date': (datetime, none_type,), # noqa: E501
|
|
137
|
-
'
|
|
138
|
-
'status': (str,), # noqa: E501
|
|
139
|
-
'type': (str,), # noqa: E501
|
|
140
|
-
'drawable_balance_ids': ([str],), # noqa: E501
|
|
141
|
-
'click_attribution_window': (str,), # noqa: E501
|
|
142
|
-
'view_attribution_window': (str,), # noqa: E501
|
|
137
|
+
'updated_at': (datetime,), # noqa: E501
|
|
143
138
|
'budget': (float, none_type,), # noqa: E501
|
|
144
|
-
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
145
|
-
'daily_pacing': (float, none_type,), # noqa: E501
|
|
146
139
|
'click_attribution_scope': (str, none_type,), # noqa: E501
|
|
147
|
-
'
|
|
140
|
+
'click_attribution_window': (str,), # noqa: E501
|
|
148
141
|
'company_name': (str, none_type,), # noqa: E501
|
|
142
|
+
'daily_pacing': (float, none_type,), # noqa: E501
|
|
143
|
+
'drawable_balance_ids': ([str],), # noqa: E501
|
|
144
|
+
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
149
145
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
146
|
+
'status': (str,), # noqa: E501
|
|
147
|
+
'type': (str,), # noqa: E501
|
|
148
|
+
'view_attribution_scope': (str, none_type,), # noqa: E501
|
|
149
|
+
'view_attribution_window': (str,), # noqa: E501
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
@cached_property
|
|
@@ -156,27 +156,27 @@ class CampaignV202301(ModelNormal):
|
|
|
156
156
|
|
|
157
157
|
attribute_map = {
|
|
158
158
|
'account_id': 'accountId', # noqa: E501
|
|
159
|
-
'promoted_brand_ids': 'promotedBrandIds', # noqa: E501
|
|
160
|
-
'budget_spent': 'budgetSpent', # noqa: E501
|
|
161
159
|
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
160
|
+
'budget_spent': 'budgetSpent', # noqa: E501
|
|
162
161
|
'created_at': 'createdAt', # noqa: E501
|
|
163
|
-
'
|
|
164
|
-
'name': 'name', # noqa: E501
|
|
162
|
+
'end_date': 'endDate', # noqa: E501
|
|
165
163
|
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
164
|
+
'name': 'name', # noqa: E501
|
|
165
|
+
'promoted_brand_ids': 'promotedBrandIds', # noqa: E501
|
|
166
166
|
'start_date': 'startDate', # noqa: E501
|
|
167
|
-
'
|
|
168
|
-
'status': 'status', # noqa: E501
|
|
169
|
-
'type': 'type', # noqa: E501
|
|
170
|
-
'drawable_balance_ids': 'drawableBalanceIds', # noqa: E501
|
|
171
|
-
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
172
|
-
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
167
|
+
'updated_at': 'updatedAt', # noqa: E501
|
|
173
168
|
'budget': 'budget', # noqa: E501
|
|
174
|
-
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
175
|
-
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
176
169
|
'click_attribution_scope': 'clickAttributionScope', # noqa: E501
|
|
177
|
-
'
|
|
170
|
+
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
178
171
|
'company_name': 'companyName', # noqa: E501
|
|
172
|
+
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
173
|
+
'drawable_balance_ids': 'drawableBalanceIds', # noqa: E501
|
|
174
|
+
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
179
175
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
176
|
+
'status': 'status', # noqa: E501
|
|
177
|
+
'type': 'type', # noqa: E501
|
|
178
|
+
'view_attribution_scope': 'viewAttributionScope', # noqa: E501
|
|
179
|
+
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
read_only_vars = {
|
|
@@ -186,20 +186,20 @@ class CampaignV202301(ModelNormal):
|
|
|
186
186
|
|
|
187
187
|
@classmethod
|
|
188
188
|
@convert_js_args_to_python_args
|
|
189
|
-
def _from_openapi_data(cls, account_id,
|
|
189
|
+
def _from_openapi_data(cls, account_id, budget_remaining, budget_spent, created_at, end_date, is_auto_daily_pacing, name, promoted_brand_ids, start_date, updated_at, *args, **kwargs): # noqa: E501
|
|
190
190
|
"""CampaignV202301 - a model defined in OpenAPI
|
|
191
191
|
|
|
192
192
|
Args:
|
|
193
193
|
account_id (str):
|
|
194
|
-
promoted_brand_ids ([str]):
|
|
195
|
-
budget_spent (float, none_type):
|
|
196
194
|
budget_remaining (float, none_type):
|
|
195
|
+
budget_spent (float, none_type):
|
|
197
196
|
created_at (datetime):
|
|
198
|
-
|
|
199
|
-
name (str):
|
|
197
|
+
end_date (datetime, none_type):
|
|
200
198
|
is_auto_daily_pacing (bool):
|
|
199
|
+
name (str):
|
|
200
|
+
promoted_brand_ids ([str]):
|
|
201
201
|
start_date (datetime, none_type):
|
|
202
|
-
|
|
202
|
+
updated_at (datetime):
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -232,18 +232,18 @@ class CampaignV202301(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
status (str): [optional] # noqa: E501
|
|
236
|
-
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
237
|
-
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
238
|
-
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
239
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
240
235
|
budget (float, none_type): [optional] # noqa: E501
|
|
241
|
-
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
242
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
243
236
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
244
|
-
|
|
237
|
+
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
245
238
|
company_name (str, none_type): [optional] # noqa: E501
|
|
239
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
240
|
+
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
241
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
246
242
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
243
|
+
status (str): [optional] # noqa: E501
|
|
244
|
+
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
245
|
+
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
246
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
247
247
|
"""
|
|
248
248
|
|
|
249
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -276,15 +276,15 @@ class CampaignV202301(ModelNormal):
|
|
|
276
276
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
277
277
|
|
|
278
278
|
self.account_id = account_id
|
|
279
|
-
self.promoted_brand_ids = promoted_brand_ids
|
|
280
|
-
self.budget_spent = budget_spent
|
|
281
279
|
self.budget_remaining = budget_remaining
|
|
280
|
+
self.budget_spent = budget_spent
|
|
282
281
|
self.created_at = created_at
|
|
283
|
-
self.
|
|
284
|
-
self.name = name
|
|
282
|
+
self.end_date = end_date
|
|
285
283
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
284
|
+
self.name = name
|
|
285
|
+
self.promoted_brand_ids = promoted_brand_ids
|
|
286
286
|
self.start_date = start_date
|
|
287
|
-
self.
|
|
287
|
+
self.updated_at = updated_at
|
|
288
288
|
for var_name, var_value in kwargs.items():
|
|
289
289
|
if var_name not in self.attribute_map and \
|
|
290
290
|
self._configuration is not None and \
|
|
@@ -305,20 +305,20 @@ class CampaignV202301(ModelNormal):
|
|
|
305
305
|
])
|
|
306
306
|
|
|
307
307
|
@convert_js_args_to_python_args
|
|
308
|
-
def __init__(self, account_id,
|
|
308
|
+
def __init__(self, account_id, budget_remaining, budget_spent, created_at, end_date, is_auto_daily_pacing, name, promoted_brand_ids, start_date, updated_at, *args, **kwargs): # noqa: E501
|
|
309
309
|
"""CampaignV202301 - a model defined in OpenAPI
|
|
310
310
|
|
|
311
311
|
Args:
|
|
312
312
|
account_id (str):
|
|
313
|
-
promoted_brand_ids ([str]):
|
|
314
|
-
budget_spent (float, none_type):
|
|
315
313
|
budget_remaining (float, none_type):
|
|
314
|
+
budget_spent (float, none_type):
|
|
316
315
|
created_at (datetime):
|
|
317
|
-
|
|
318
|
-
name (str):
|
|
316
|
+
end_date (datetime, none_type):
|
|
319
317
|
is_auto_daily_pacing (bool):
|
|
318
|
+
name (str):
|
|
319
|
+
promoted_brand_ids ([str]):
|
|
320
320
|
start_date (datetime, none_type):
|
|
321
|
-
|
|
321
|
+
updated_at (datetime):
|
|
322
322
|
|
|
323
323
|
Keyword Args:
|
|
324
324
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -351,18 +351,18 @@ class CampaignV202301(ModelNormal):
|
|
|
351
351
|
Animal class but this time we won't travel
|
|
352
352
|
through its discriminator because we passed in
|
|
353
353
|
_visited_composed_classes = (Animal,)
|
|
354
|
-
status (str): [optional] # noqa: E501
|
|
355
|
-
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
356
|
-
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
357
|
-
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
358
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
359
354
|
budget (float, none_type): [optional] # noqa: E501
|
|
360
|
-
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
361
|
-
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
362
355
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
363
|
-
|
|
356
|
+
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
364
357
|
company_name (str, none_type): [optional] # noqa: E501
|
|
358
|
+
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
359
|
+
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
360
|
+
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
365
361
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
362
|
+
status (str): [optional] # noqa: E501
|
|
363
|
+
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
364
|
+
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
365
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
366
366
|
"""
|
|
367
367
|
|
|
368
368
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -393,15 +393,15 @@ class CampaignV202301(ModelNormal):
|
|
|
393
393
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
394
394
|
|
|
395
395
|
self.account_id = account_id
|
|
396
|
-
self.promoted_brand_ids = promoted_brand_ids
|
|
397
|
-
self.budget_spent = budget_spent
|
|
398
396
|
self.budget_remaining = budget_remaining
|
|
397
|
+
self.budget_spent = budget_spent
|
|
399
398
|
self.created_at = created_at
|
|
400
|
-
self.
|
|
401
|
-
self.name = name
|
|
399
|
+
self.end_date = end_date
|
|
402
400
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
401
|
+
self.name = name
|
|
402
|
+
self.promoted_brand_ids = promoted_brand_ids
|
|
403
403
|
self.start_date = start_date
|
|
404
|
-
self.
|
|
404
|
+
self.updated_at = updated_at
|
|
405
405
|
for var_name, var_value in kwargs.items():
|
|
406
406
|
if var_name not in self.attribute_map and \
|
|
407
407
|
self._configuration is not None and \
|
|
@@ -81,9 +81,9 @@ class Category202204(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'text': (str,), # noqa: E501
|
|
85
84
|
'name': (str,), # noqa: E501
|
|
86
85
|
'parent_id': (str,), # noqa: E501
|
|
86
|
+
'text': (str,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -92,9 +92,9 @@ class Category202204(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
-
'text': 'text', # noqa: E501
|
|
96
95
|
'name': 'name', # noqa: E501
|
|
97
96
|
'parent_id': 'parentId', # noqa: E501
|
|
97
|
+
'text': 'text', # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
read_only_vars = {
|
|
@@ -104,13 +104,13 @@ class Category202204(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
@classmethod
|
|
106
106
|
@convert_js_args_to_python_args
|
|
107
|
-
def _from_openapi_data(cls,
|
|
107
|
+
def _from_openapi_data(cls, name, parent_id, text, *args, **kwargs): # noqa: E501
|
|
108
108
|
"""Category202204 - a model defined in OpenAPI
|
|
109
109
|
|
|
110
110
|
Args:
|
|
111
|
-
text (str): Category Text
|
|
112
111
|
name (str): Category Name
|
|
113
112
|
parent_id (str): Category ParentId
|
|
113
|
+
text (str): Category Text
|
|
114
114
|
|
|
115
115
|
Keyword Args:
|
|
116
116
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -174,9 +174,9 @@ class Category202204(ModelNormal):
|
|
|
174
174
|
self._configuration = _configuration
|
|
175
175
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
176
|
|
|
177
|
-
self.text = text
|
|
178
177
|
self.name = name
|
|
179
178
|
self.parent_id = parent_id
|
|
179
|
+
self.text = text
|
|
180
180
|
for var_name, var_value in kwargs.items():
|
|
181
181
|
if var_name not in self.attribute_map and \
|
|
182
182
|
self._configuration is not None and \
|
|
@@ -197,13 +197,13 @@ class Category202204(ModelNormal):
|
|
|
197
197
|
])
|
|
198
198
|
|
|
199
199
|
@convert_js_args_to_python_args
|
|
200
|
-
def __init__(self,
|
|
200
|
+
def __init__(self, name, parent_id, text, *args, **kwargs): # noqa: E501
|
|
201
201
|
"""Category202204 - a model defined in OpenAPI
|
|
202
202
|
|
|
203
203
|
Args:
|
|
204
|
-
text (str): Category Text
|
|
205
204
|
name (str): Category Name
|
|
206
205
|
parent_id (str): Category ParentId
|
|
206
|
+
text (str): Category Text
|
|
207
207
|
|
|
208
208
|
Keyword Args:
|
|
209
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -265,9 +265,9 @@ class Category202204(ModelNormal):
|
|
|
265
265
|
self._configuration = _configuration
|
|
266
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
267
267
|
|
|
268
|
-
self.text = text
|
|
269
268
|
self.name = name
|
|
270
269
|
self.parent_id = parent_id
|
|
270
|
+
self.text = text
|
|
271
271
|
for var_name, var_value in kwargs.items():
|
|
272
272
|
if var_name not in self.attribute_map and \
|
|
273
273
|
self._configuration is not None and \
|