criteo-api-marketingsolutions-sdk 2025.1.0.250217__py3-none-any.whl → 2025.1.0.250317__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-marketingsolutions-sdk might be problematic. Click here for more details.
- {criteo_api_marketingsolutions_sdk-2025.1.0.250217.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250317.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-2025.1.0.250217.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250317.dist-info}/RECORD +129 -123
- {criteo_api_marketingsolutions_sdk-2025.1.0.250217.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250317.dist-info}/WHEEL +1 -1
- criteo_api_marketingsolutions_v2025_01/__init__.py +1 -1
- criteo_api_marketingsolutions_v2025_01/api_client.py +1 -1
- criteo_api_marketingsolutions_v2025_01/configuration.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/ad.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/ad_set_audience_link_entity_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/ad_set_audience_link_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/ad_set_category_bid.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/ad_set_delivery_limitations_v24_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/ad_set_display_multiplier.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/ad_set_geo_location_v24_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/ad_set_targeting_rule_v24_q1.py +3 -4
- criteo_api_marketingsolutions_v2025_01/model/ad_set_targeting_v24_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/adaptive_attributes.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/algebra_node_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/application_summary_model.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/application_summary_model_resource.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_bulk_create_input_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_bulk_delete_input_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_bulk_update_input_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_compute_size_entity_v1_resource.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/audience_compute_sizes_input_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_create_entity_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_create_entity_v1_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_delete_entity_v1_resource.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/audience_entity_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_estimate_size_entity_v1_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_id_entity_v1_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_name_description.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_search_entity_v1.py +12 -12
- criteo_api_marketingsolutions_v2025_01/model/audience_search_entity_v1_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_search_metadata_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_bulk_create_input_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_bulk_delete_input_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_bulk_update_input_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_compute_size_entity_v1_resource.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_compute_sizes_input_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_create_entity_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_create_entity_v1_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_delete_entity_v1_resource.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_entity_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_id_entity_v1_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_search_entity_v1.py +9 -10
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_search_entity_v1_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_search_metadata_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_size_entity_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_size_estimation_entity_v1_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_size_estimation_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_size_estimation_v1_resource.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_update_entity_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_segment_update_entity_v1_resource.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/audience_size_entity_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_size_estimation_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_size_estimation_v1_resource.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/audience_update_entity_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/audience_update_entity_v1_resource.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/automated_budget_configuration.py +276 -0
- criteo_api_marketingsolutions_v2025_01/model/automated_budget_configuration_v23_q1.py +277 -0
- criteo_api_marketingsolutions_v2025_01/model/behavioral_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/budget_automation.py +273 -0
- criteo_api_marketingsolutions_v2025_01/model/budget_automation_configuration.py +276 -0
- criteo_api_marketingsolutions_v2025_01/model/campaign_budget_automation_v23_q1.py +273 -0
- criteo_api_marketingsolutions_v2025_01/model/campaign_spend_limit_v23_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/campaign_v23_q1.py +7 -1
- criteo_api_marketingsolutions_v2025_01/model/campaign_v23_q1_resource.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/contact_list_statistics_entity_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/contact_list_statistics_entity_v1_resource.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/contact_list_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/contactlist_amendment_attributes.py +6 -7
- criteo_api_marketingsolutions_v2025_01/model/coupon.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/coupon_supported_sizes.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/create_ad_set_budget_v24_q1.py +9 -12
- criteo_api_marketingsolutions_v2025_01/model/create_ad_set_v24_q1.py +6 -8
- criteo_api_marketingsolutions_v2025_01/model/create_ad_set_v24_q1_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/create_campaign.py +6 -0
- criteo_api_marketingsolutions_v2025_01/model/create_campaign_resource.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/create_campaign_spend_limit.py +3 -4
- criteo_api_marketingsolutions_v2025_01/model/create_image_slide.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/creative.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/dynamic_attributes.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/html_tag_attributes.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/image_attributes.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/in_market_audience_segment_brand_entity_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/in_market_audience_segment_interest_entity_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/in_market_create_v1.py +15 -18
- criteo_api_marketingsolutions_v2025_01/model/in_market_size_estimation_v1.py +15 -18
- criteo_api_marketingsolutions_v2025_01/model/in_market_update_v1.py +15 -17
- criteo_api_marketingsolutions_v2025_01/model/in_market_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/location_update_v1.py +9 -10
- criteo_api_marketingsolutions_v2025_01/model/location_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/lookalike_create_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/lookalike_update_v1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/lookalike_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/nillable_ad_set_targeting_rule_v24_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/nillable_ad_set_targeting_rule_v24_q1_value.py +3 -4
- criteo_api_marketingsolutions_v2025_01/model/nillable_date_time.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/nillable_gender_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/nillable_int32.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/nillable_string.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/patch_ad_set_category_bid.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/patch_ad_set_category_bid_resource.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/patch_ad_set_display_multiplier.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/patch_ad_set_display_multiplier_resource.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/patch_campaign.py +6 -0
- criteo_api_marketingsolutions_v2025_01/model/patch_marketing_campaign_budget_automation.py +273 -0
- criteo_api_marketingsolutions_v2025_01/model/placements_report_query_message.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/portfolio_message.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/prospecting_create_v1.py +6 -6
- criteo_api_marketingsolutions_v2025_01/model/prospecting_update_v1.py +3 -4
- criteo_api_marketingsolutions_v2025_01/model/prospecting_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/read_ad_set_bidding_v24_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/read_ad_set_budget_v24_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/read_ad_set_schedule_v24_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/read_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/read_model_ad_set_id_v24_q1.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/read_model_read_ad_set_v24_q1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/resource_of_ad.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/resource_of_coupon.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/resource_of_coupon_supported_sizes.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/resource_of_creative.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/retargeting_update_v1.py +9 -10
- criteo_api_marketingsolutions_v2025_01/model/retargeting_v1.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/size.py +1 -1
- criteo_api_marketingsolutions_v2025_01/model/transparency_query_message.py +3 -3
- criteo_api_marketingsolutions_v2025_01/model/transparency_report.py +1 -1
- criteo_api_marketingsolutions_v2025_01/models/__init__.py +6 -0
- {criteo_api_marketingsolutions_sdk-2025.1.0.250217.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250317.dist-info}/top_level.txt +0 -0
|
@@ -60,7 +60,6 @@ class ContactlistAmendmentAttributes(ModelNormal):
|
|
|
60
60
|
'REMOVE': "remove",
|
|
61
61
|
},
|
|
62
62
|
('identifier_type',): {
|
|
63
|
-
'None': None,
|
|
64
63
|
'EMAIL': "email",
|
|
65
64
|
'MADID': "madid",
|
|
66
65
|
'IDENTITYLINK': "identityLink",
|
|
@@ -95,8 +94,8 @@ class ContactlistAmendmentAttributes(ModelNormal):
|
|
|
95
94
|
return {
|
|
96
95
|
'operation': (str,), # noqa: E501
|
|
97
96
|
'identifiers': ([str],), # noqa: E501
|
|
98
|
-
'identifier_type': (str,
|
|
99
|
-
'gum_caller_id': (int,
|
|
97
|
+
'identifier_type': (str,), # noqa: E501
|
|
98
|
+
'gum_caller_id': (int,), # noqa: E501
|
|
100
99
|
}
|
|
101
100
|
|
|
102
101
|
@cached_property
|
|
@@ -156,8 +155,8 @@ class ContactlistAmendmentAttributes(ModelNormal):
|
|
|
156
155
|
Animal class but this time we won't travel
|
|
157
156
|
through its discriminator because we passed in
|
|
158
157
|
_visited_composed_classes = (Animal,)
|
|
159
|
-
identifier_type (str
|
|
160
|
-
gum_caller_id (int
|
|
158
|
+
identifier_type (str): What type of identifiers are used. [optional] # noqa: E501
|
|
159
|
+
gum_caller_id (int): The Gum caller id of the advertiser patching identifiers of type Gum. [optional] # noqa: E501
|
|
161
160
|
"""
|
|
162
161
|
|
|
163
162
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -249,8 +248,8 @@ class ContactlistAmendmentAttributes(ModelNormal):
|
|
|
249
248
|
Animal class but this time we won't travel
|
|
250
249
|
through its discriminator because we passed in
|
|
251
250
|
_visited_composed_classes = (Animal,)
|
|
252
|
-
identifier_type (str
|
|
253
|
-
gum_caller_id (int
|
|
251
|
+
identifier_type (str): What type of identifiers are used. [optional] # noqa: E501
|
|
252
|
+
gum_caller_id (int): The Gum caller id of the advertiser patching identifiers of type Gum. [optional] # noqa: E501
|
|
254
253
|
"""
|
|
255
254
|
|
|
256
255
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -60,7 +60,6 @@ class CreateAdSetBudgetV24Q1(ModelNormal):
|
|
|
60
60
|
'UNCAPPED': "uncapped",
|
|
61
61
|
},
|
|
62
62
|
('budget_renewal',): {
|
|
63
|
-
'None': None,
|
|
64
63
|
'UNDEFINED': "undefined",
|
|
65
64
|
'DAILY': "daily",
|
|
66
65
|
'MONTHLY': "monthly",
|
|
@@ -68,12 +67,10 @@ class CreateAdSetBudgetV24Q1(ModelNormal):
|
|
|
68
67
|
'WEEKLY': "weekly",
|
|
69
68
|
},
|
|
70
69
|
('budget_delivery_smoothing',): {
|
|
71
|
-
'None': None,
|
|
72
70
|
'ACCELERATED': "accelerated",
|
|
73
71
|
'STANDARD': "standard",
|
|
74
72
|
},
|
|
75
73
|
('budget_delivery_week',): {
|
|
76
|
-
'None': None,
|
|
77
74
|
'UNDEFINED': "undefined",
|
|
78
75
|
'MONDAYTOSUNDAY': "mondayToSunday",
|
|
79
76
|
'TUESDAYTOMONDAY': "tuesdayToMonday",
|
|
@@ -110,9 +107,9 @@ class CreateAdSetBudgetV24Q1(ModelNormal):
|
|
|
110
107
|
"""
|
|
111
108
|
return {
|
|
112
109
|
'budget_strategy': (str,), # noqa: E501
|
|
113
|
-
'budget_renewal': (str,
|
|
114
|
-
'budget_delivery_smoothing': (str,
|
|
115
|
-
'budget_delivery_week': (str,
|
|
110
|
+
'budget_renewal': (str,), # noqa: E501
|
|
111
|
+
'budget_delivery_smoothing': (str,), # noqa: E501
|
|
112
|
+
'budget_delivery_week': (str,), # noqa: E501
|
|
116
113
|
'budget_amount': (float, none_type,), # noqa: E501
|
|
117
114
|
}
|
|
118
115
|
|
|
@@ -173,9 +170,9 @@ class CreateAdSetBudgetV24Q1(ModelNormal):
|
|
|
173
170
|
Animal class but this time we won't travel
|
|
174
171
|
through its discriminator because we passed in
|
|
175
172
|
_visited_composed_classes = (Animal,)
|
|
176
|
-
budget_renewal (str
|
|
177
|
-
budget_delivery_smoothing (str
|
|
178
|
-
budget_delivery_week (str
|
|
173
|
+
budget_renewal (str): [optional] # noqa: E501
|
|
174
|
+
budget_delivery_smoothing (str): [optional] # noqa: E501
|
|
175
|
+
budget_delivery_week (str): [optional] # noqa: E501
|
|
179
176
|
budget_amount (float, none_type): [optional] # noqa: E501
|
|
180
177
|
"""
|
|
181
178
|
|
|
@@ -266,9 +263,9 @@ class CreateAdSetBudgetV24Q1(ModelNormal):
|
|
|
266
263
|
Animal class but this time we won't travel
|
|
267
264
|
through its discriminator because we passed in
|
|
268
265
|
_visited_composed_classes = (Animal,)
|
|
269
|
-
budget_renewal (str
|
|
270
|
-
budget_delivery_smoothing (str
|
|
271
|
-
budget_delivery_week (str
|
|
266
|
+
budget_renewal (str): [optional] # noqa: E501
|
|
267
|
+
budget_delivery_smoothing (str): [optional] # noqa: E501
|
|
268
|
+
budget_delivery_week (str): [optional] # noqa: E501
|
|
272
269
|
budget_amount (float, none_type): [optional] # noqa: E501
|
|
273
270
|
"""
|
|
274
271
|
|
|
@@ -117,9 +117,9 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
117
117
|
'schedule': (CreateAdSetScheduleV24Q1,), # noqa: E501
|
|
118
118
|
'bidding': (CreateAdSetBiddingV24Q1,), # noqa: E501
|
|
119
119
|
'targeting': (CreateAdSetTargetingV24Q1,), # noqa: E501
|
|
120
|
-
'budget': (CreateAdSetBudgetV24Q1,), # noqa: E501
|
|
121
120
|
'tracking_code': (str, none_type,), # noqa: E501
|
|
122
121
|
'media_type': (str,), # noqa: E501
|
|
122
|
+
'budget': (CreateAdSetBudgetV24Q1,), # noqa: E501
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
@cached_property
|
|
@@ -135,9 +135,9 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
135
135
|
'schedule': 'schedule', # noqa: E501
|
|
136
136
|
'bidding': 'bidding', # noqa: E501
|
|
137
137
|
'targeting': 'targeting', # noqa: E501
|
|
138
|
-
'budget': 'budget', # noqa: E501
|
|
139
138
|
'tracking_code': 'trackingCode', # noqa: E501
|
|
140
139
|
'media_type': 'mediaType', # noqa: E501
|
|
140
|
+
'budget': 'budget', # noqa: E501
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
read_only_vars = {
|
|
@@ -147,7 +147,7 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
147
147
|
|
|
148
148
|
@classmethod
|
|
149
149
|
@convert_js_args_to_python_args
|
|
150
|
-
def _from_openapi_data(cls, name, dataset_id, campaign_id, objective, schedule, bidding, targeting,
|
|
150
|
+
def _from_openapi_data(cls, name, dataset_id, campaign_id, objective, schedule, bidding, targeting, tracking_code, media_type, *args, **kwargs): # noqa: E501
|
|
151
151
|
"""CreateAdSetV24Q1 - a model defined in OpenAPI
|
|
152
152
|
|
|
153
153
|
Args:
|
|
@@ -158,7 +158,6 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
158
158
|
schedule (CreateAdSetScheduleV24Q1):
|
|
159
159
|
bidding (CreateAdSetBiddingV24Q1):
|
|
160
160
|
targeting (CreateAdSetTargetingV24Q1):
|
|
161
|
-
budget (CreateAdSetBudgetV24Q1):
|
|
162
161
|
tracking_code (str, none_type): The click tracking code associated to this Ad Set.
|
|
163
162
|
media_type (str): Media type for the ad set
|
|
164
163
|
|
|
@@ -193,6 +192,7 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
193
192
|
Animal class but this time we won't travel
|
|
194
193
|
through its discriminator because we passed in
|
|
195
194
|
_visited_composed_classes = (Animal,)
|
|
195
|
+
budget (CreateAdSetBudgetV24Q1): [optional] # noqa: E501
|
|
196
196
|
"""
|
|
197
197
|
|
|
198
198
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -231,7 +231,6 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
231
231
|
self.schedule = schedule
|
|
232
232
|
self.bidding = bidding
|
|
233
233
|
self.targeting = targeting
|
|
234
|
-
self.budget = budget
|
|
235
234
|
self.tracking_code = tracking_code
|
|
236
235
|
self.media_type = media_type
|
|
237
236
|
for var_name, var_value in kwargs.items():
|
|
@@ -254,7 +253,7 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
254
253
|
])
|
|
255
254
|
|
|
256
255
|
@convert_js_args_to_python_args
|
|
257
|
-
def __init__(self, name, dataset_id, campaign_id, objective, schedule, bidding, targeting,
|
|
256
|
+
def __init__(self, name, dataset_id, campaign_id, objective, schedule, bidding, targeting, tracking_code, media_type, *args, **kwargs): # noqa: E501
|
|
258
257
|
"""CreateAdSetV24Q1 - a model defined in OpenAPI
|
|
259
258
|
|
|
260
259
|
Args:
|
|
@@ -265,7 +264,6 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
265
264
|
schedule (CreateAdSetScheduleV24Q1):
|
|
266
265
|
bidding (CreateAdSetBiddingV24Q1):
|
|
267
266
|
targeting (CreateAdSetTargetingV24Q1):
|
|
268
|
-
budget (CreateAdSetBudgetV24Q1):
|
|
269
267
|
tracking_code (str, none_type): The click tracking code associated to this Ad Set.
|
|
270
268
|
media_type (str): Media type for the ad set
|
|
271
269
|
|
|
@@ -300,6 +298,7 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
300
298
|
Animal class but this time we won't travel
|
|
301
299
|
through its discriminator because we passed in
|
|
302
300
|
_visited_composed_classes = (Animal,)
|
|
301
|
+
budget (CreateAdSetBudgetV24Q1): [optional] # noqa: E501
|
|
303
302
|
"""
|
|
304
303
|
|
|
305
304
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -336,7 +335,6 @@ class CreateAdSetV24Q1(ModelNormal):
|
|
|
336
335
|
self.schedule = schedule
|
|
337
336
|
self.bidding = bidding
|
|
338
337
|
self.targeting = targeting
|
|
339
|
-
self.budget = budget
|
|
340
338
|
self.tracking_code = tracking_code
|
|
341
339
|
self.media_type = media_type
|
|
342
340
|
for var_name, var_value in kwargs.items():
|
|
@@ -88,7 +88,7 @@ class CreateAdSetV24Q1Resource(ModelNormal):
|
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
90
|
'attributes': (CreateAdSetV24Q1,), # noqa: E501
|
|
91
|
-
'type': (str,
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -143,7 +143,7 @@ class CreateAdSetV24Q1Resource(ModelNormal):
|
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
145
|
attributes (CreateAdSetV24Q1): [optional] # noqa: E501
|
|
146
|
-
type (str
|
|
146
|
+
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -230,7 +230,7 @@ class CreateAdSetV24Q1Resource(ModelNormal):
|
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
232
|
attributes (CreateAdSetV24Q1): [optional] # noqa: E501
|
|
233
|
-
type (str
|
|
233
|
+
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,7 +30,9 @@ from criteo_api_marketingsolutions_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
+
from criteo_api_marketingsolutions_v2025_01.model.budget_automation import BudgetAutomation
|
|
33
34
|
from criteo_api_marketingsolutions_v2025_01.model.create_campaign_spend_limit import CreateCampaignSpendLimit
|
|
35
|
+
globals()['BudgetAutomation'] = BudgetAutomation
|
|
34
36
|
globals()['CreateCampaignSpendLimit'] = CreateCampaignSpendLimit
|
|
35
37
|
|
|
36
38
|
|
|
@@ -96,6 +98,7 @@ class CreateCampaign(ModelNormal):
|
|
|
96
98
|
'advertiser_id': (str, none_type,), # noqa: E501
|
|
97
99
|
'goal': (str,), # noqa: E501
|
|
98
100
|
'spend_limit': (CreateCampaignSpendLimit,), # noqa: E501
|
|
101
|
+
'budget_automation': (BudgetAutomation,), # noqa: E501
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
@cached_property
|
|
@@ -108,6 +111,7 @@ class CreateCampaign(ModelNormal):
|
|
|
108
111
|
'advertiser_id': 'advertiserId', # noqa: E501
|
|
109
112
|
'goal': 'goal', # noqa: E501
|
|
110
113
|
'spend_limit': 'spendLimit', # noqa: E501
|
|
114
|
+
'budget_automation': 'budgetAutomation', # noqa: E501
|
|
111
115
|
}
|
|
112
116
|
|
|
113
117
|
read_only_vars = {
|
|
@@ -157,6 +161,7 @@ class CreateCampaign(ModelNormal):
|
|
|
157
161
|
Animal class but this time we won't travel
|
|
158
162
|
through its discriminator because we passed in
|
|
159
163
|
_visited_composed_classes = (Animal,)
|
|
164
|
+
budget_automation (BudgetAutomation): [optional] # noqa: E501
|
|
160
165
|
"""
|
|
161
166
|
|
|
162
167
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -252,6 +257,7 @@ class CreateCampaign(ModelNormal):
|
|
|
252
257
|
Animal class but this time we won't travel
|
|
253
258
|
through its discriminator because we passed in
|
|
254
259
|
_visited_composed_classes = (Animal,)
|
|
260
|
+
budget_automation (BudgetAutomation): [optional] # noqa: E501
|
|
255
261
|
"""
|
|
256
262
|
|
|
257
263
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -88,7 +88,7 @@ class CreateCampaignResource(ModelNormal):
|
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
90
|
'attributes': (CreateCampaign,), # noqa: E501
|
|
91
|
-
'type': (str,
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -143,7 +143,7 @@ class CreateCampaignResource(ModelNormal):
|
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
145
|
attributes (CreateCampaign): [optional] # noqa: E501
|
|
146
|
-
type (str
|
|
146
|
+
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -230,7 +230,7 @@ class CreateCampaignResource(ModelNormal):
|
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
232
|
attributes (CreateCampaign): [optional] # noqa: E501
|
|
233
|
-
type (str
|
|
233
|
+
type (str): Canonical type name of the entity. [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -60,7 +60,6 @@ class CreateCampaignSpendLimit(ModelNormal):
|
|
|
60
60
|
'UNCAPPED': "uncapped",
|
|
61
61
|
},
|
|
62
62
|
('spend_limit_renewal',): {
|
|
63
|
-
'None': None,
|
|
64
63
|
'UNDEFINED': "undefined",
|
|
65
64
|
'DAILY': "daily",
|
|
66
65
|
'MONTHLY': "monthly",
|
|
@@ -93,7 +92,7 @@ class CreateCampaignSpendLimit(ModelNormal):
|
|
|
93
92
|
"""
|
|
94
93
|
return {
|
|
95
94
|
'spend_limit_type': (str,), # noqa: E501
|
|
96
|
-
'spend_limit_renewal': (str,
|
|
95
|
+
'spend_limit_renewal': (str,), # noqa: E501
|
|
97
96
|
'spend_limit_amount': (float, none_type,), # noqa: E501
|
|
98
97
|
}
|
|
99
98
|
|
|
@@ -152,7 +151,7 @@ class CreateCampaignSpendLimit(ModelNormal):
|
|
|
152
151
|
Animal class but this time we won't travel
|
|
153
152
|
through its discriminator because we passed in
|
|
154
153
|
_visited_composed_classes = (Animal,)
|
|
155
|
-
spend_limit_renewal (str
|
|
154
|
+
spend_limit_renewal (str): The pace of the spend limit renewal. [optional] # noqa: E501
|
|
156
155
|
spend_limit_amount (float, none_type): The amount of the spend limit. null if spendLimitType is uncapped.. [optional] # noqa: E501
|
|
157
156
|
"""
|
|
158
157
|
|
|
@@ -243,7 +242,7 @@ class CreateCampaignSpendLimit(ModelNormal):
|
|
|
243
242
|
Animal class but this time we won't travel
|
|
244
243
|
through its discriminator because we passed in
|
|
245
244
|
_visited_composed_classes = (Animal,)
|
|
246
|
-
spend_limit_renewal (str
|
|
245
|
+
spend_limit_renewal (str): The pace of the spend limit renewal. [optional] # noqa: E501
|
|
247
246
|
spend_limit_amount (float, none_type): The amount of the spend limit. null if spendLimitType is uncapped.. [optional] # noqa: E501
|
|
248
247
|
"""
|
|
249
248
|
|
|
@@ -81,8 +81,8 @@ class CreateImageSlide(ModelNormal):
|
|
|
81
81
|
and the value is attribute type.
|
|
82
82
|
"""
|
|
83
83
|
return {
|
|
84
|
-
'width': (int,
|
|
85
|
-
'height': (int,
|
|
84
|
+
'width': (int,), # noqa: E501
|
|
85
|
+
'height': (int,), # noqa: E501
|
|
86
86
|
'slide_base64_strings': ([str], none_type,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -138,8 +138,8 @@ class CreateImageSlide(ModelNormal):
|
|
|
138
138
|
Animal class but this time we won't travel
|
|
139
139
|
through its discriminator because we passed in
|
|
140
140
|
_visited_composed_classes = (Animal,)
|
|
141
|
-
width (int
|
|
142
|
-
height (int
|
|
141
|
+
width (int): Width of the Coupon slide. [optional] # noqa: E501
|
|
142
|
+
height (int): Height of the Coupon slide. [optional] # noqa: E501
|
|
143
143
|
slide_base64_strings ([str], none_type): Array of images of the same size as a base-64 encoded string. [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
@@ -226,8 +226,8 @@ class CreateImageSlide(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
width (int
|
|
230
|
-
height (int
|
|
229
|
+
width (int): Width of the Coupon slide. [optional] # noqa: E501
|
|
230
|
+
height (int): Height of the Coupon slide. [optional] # noqa: E501
|
|
231
231
|
slide_base64_strings ([str], none_type): Array of images of the same size as a base-64 encoded string. [optional] # noqa: E501
|
|
232
232
|
"""
|
|
233
233
|
|
|
@@ -56,19 +56,16 @@ class InMarketCreateV1(ModelNormal):
|
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('buying_power',): {
|
|
59
|
-
'None': None,
|
|
60
59
|
'LOW': "Low",
|
|
61
60
|
'MEDIUM': "Medium",
|
|
62
61
|
'HIGH': "High",
|
|
63
62
|
'VERYHIGH': "VeryHigh",
|
|
64
63
|
},
|
|
65
64
|
('gender',): {
|
|
66
|
-
'None': None,
|
|
67
65
|
'MALE': "Male",
|
|
68
66
|
'FEMALE': "Female",
|
|
69
67
|
},
|
|
70
68
|
('price_range',): {
|
|
71
|
-
'None': None,
|
|
72
69
|
'LOW': "Low",
|
|
73
70
|
'MEDIUM': "Medium",
|
|
74
71
|
'HIGH': "High",
|
|
@@ -108,11 +105,11 @@ class InMarketCreateV1(ModelNormal):
|
|
|
108
105
|
"""
|
|
109
106
|
return {
|
|
110
107
|
'country': (str,), # noqa: E501
|
|
111
|
-
'buying_power': ([str],
|
|
112
|
-
'gender': (str,
|
|
113
|
-
'interest_ids': ([str],
|
|
114
|
-
'brand_ids': ([str],
|
|
115
|
-
'price_range': ([str],
|
|
108
|
+
'buying_power': ([str],), # noqa: E501
|
|
109
|
+
'gender': (str,), # noqa: E501
|
|
110
|
+
'interest_ids': ([str],), # noqa: E501
|
|
111
|
+
'brand_ids': ([str],), # noqa: E501
|
|
112
|
+
'price_range': ([str],), # noqa: E501
|
|
116
113
|
}
|
|
117
114
|
|
|
118
115
|
@cached_property
|
|
@@ -173,11 +170,11 @@ class InMarketCreateV1(ModelNormal):
|
|
|
173
170
|
Animal class but this time we won't travel
|
|
174
171
|
through its discriminator because we passed in
|
|
175
172
|
_visited_composed_classes = (Animal,)
|
|
176
|
-
buying_power ([str]
|
|
177
|
-
gender (str
|
|
178
|
-
interest_ids ([str]
|
|
179
|
-
brand_ids ([str]
|
|
180
|
-
price_range ([str]
|
|
173
|
+
buying_power ([str]): Reach people who frequently purchase high price range items to lower price range items. [optional] # noqa: E501
|
|
174
|
+
gender (str): Reach people who’ve shown interest in products made for a specific gender. [optional] # noqa: E501
|
|
175
|
+
interest_ids ([str]): Reach new people based on their interests. [optional] # noqa: E501
|
|
176
|
+
brand_ids ([str]): Choose the brands your segment might be interested in. [optional] # noqa: E501
|
|
177
|
+
price_range ([str]): Reach people who’ve shown interest in products within a specific price range. [optional] # noqa: E501
|
|
181
178
|
"""
|
|
182
179
|
|
|
183
180
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -267,11 +264,11 @@ class InMarketCreateV1(ModelNormal):
|
|
|
267
264
|
Animal class but this time we won't travel
|
|
268
265
|
through its discriminator because we passed in
|
|
269
266
|
_visited_composed_classes = (Animal,)
|
|
270
|
-
buying_power ([str]
|
|
271
|
-
gender (str
|
|
272
|
-
interest_ids ([str]
|
|
273
|
-
brand_ids ([str]
|
|
274
|
-
price_range ([str]
|
|
267
|
+
buying_power ([str]): Reach people who frequently purchase high price range items to lower price range items. [optional] # noqa: E501
|
|
268
|
+
gender (str): Reach people who’ve shown interest in products made for a specific gender. [optional] # noqa: E501
|
|
269
|
+
interest_ids ([str]): Reach new people based on their interests. [optional] # noqa: E501
|
|
270
|
+
brand_ids ([str]): Choose the brands your segment might be interested in. [optional] # noqa: E501
|
|
271
|
+
price_range ([str]): Reach people who’ve shown interest in products within a specific price range. [optional] # noqa: E501
|
|
275
272
|
"""
|
|
276
273
|
|
|
277
274
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -56,19 +56,16 @@ class InMarketSizeEstimationV1(ModelNormal):
|
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('buying_power',): {
|
|
59
|
-
'None': None,
|
|
60
59
|
'LOW': "Low",
|
|
61
60
|
'MEDIUM': "Medium",
|
|
62
61
|
'HIGH': "High",
|
|
63
62
|
'VERYHIGH': "VeryHigh",
|
|
64
63
|
},
|
|
65
64
|
('gender',): {
|
|
66
|
-
'None': None,
|
|
67
65
|
'MALE': "Male",
|
|
68
66
|
'FEMALE': "Female",
|
|
69
67
|
},
|
|
70
68
|
('price_range',): {
|
|
71
|
-
'None': None,
|
|
72
69
|
'LOW': "Low",
|
|
73
70
|
'MEDIUM': "Medium",
|
|
74
71
|
'HIGH': "High",
|
|
@@ -108,11 +105,11 @@ class InMarketSizeEstimationV1(ModelNormal):
|
|
|
108
105
|
"""
|
|
109
106
|
return {
|
|
110
107
|
'country': (str,), # noqa: E501
|
|
111
|
-
'buying_power': ([str],
|
|
112
|
-
'gender': (str,
|
|
113
|
-
'interest_ids': ([str],
|
|
114
|
-
'brand_ids': ([str],
|
|
115
|
-
'price_range': ([str],
|
|
108
|
+
'buying_power': ([str],), # noqa: E501
|
|
109
|
+
'gender': (str,), # noqa: E501
|
|
110
|
+
'interest_ids': ([str],), # noqa: E501
|
|
111
|
+
'brand_ids': ([str],), # noqa: E501
|
|
112
|
+
'price_range': ([str],), # noqa: E501
|
|
116
113
|
}
|
|
117
114
|
|
|
118
115
|
@cached_property
|
|
@@ -173,11 +170,11 @@ class InMarketSizeEstimationV1(ModelNormal):
|
|
|
173
170
|
Animal class but this time we won't travel
|
|
174
171
|
through its discriminator because we passed in
|
|
175
172
|
_visited_composed_classes = (Animal,)
|
|
176
|
-
buying_power ([str]
|
|
177
|
-
gender (str
|
|
178
|
-
interest_ids ([str]
|
|
179
|
-
brand_ids ([str]
|
|
180
|
-
price_range ([str]
|
|
173
|
+
buying_power ([str]): [optional] # noqa: E501
|
|
174
|
+
gender (str): [optional] # noqa: E501
|
|
175
|
+
interest_ids ([str]): [optional] # noqa: E501
|
|
176
|
+
brand_ids ([str]): [optional] # noqa: E501
|
|
177
|
+
price_range ([str]): [optional] # noqa: E501
|
|
181
178
|
"""
|
|
182
179
|
|
|
183
180
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -267,11 +264,11 @@ class InMarketSizeEstimationV1(ModelNormal):
|
|
|
267
264
|
Animal class but this time we won't travel
|
|
268
265
|
through its discriminator because we passed in
|
|
269
266
|
_visited_composed_classes = (Animal,)
|
|
270
|
-
buying_power ([str]
|
|
271
|
-
gender (str
|
|
272
|
-
interest_ids ([str]
|
|
273
|
-
brand_ids ([str]
|
|
274
|
-
price_range ([str]
|
|
267
|
+
buying_power ([str]): [optional] # noqa: E501
|
|
268
|
+
gender (str): [optional] # noqa: E501
|
|
269
|
+
interest_ids ([str]): [optional] # noqa: E501
|
|
270
|
+
brand_ids ([str]): [optional] # noqa: E501
|
|
271
|
+
price_range ([str]): [optional] # noqa: E501
|
|
275
272
|
"""
|
|
276
273
|
|
|
277
274
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -60,14 +60,12 @@ class InMarketUpdateV1(ModelNormal):
|
|
|
60
60
|
|
|
61
61
|
allowed_values = {
|
|
62
62
|
('buying_power',): {
|
|
63
|
-
'None': None,
|
|
64
63
|
'LOW': "Low",
|
|
65
64
|
'MEDIUM': "Medium",
|
|
66
65
|
'HIGH': "High",
|
|
67
66
|
'VERYHIGH': "VeryHigh",
|
|
68
67
|
},
|
|
69
68
|
('price_range',): {
|
|
70
|
-
'None': None,
|
|
71
69
|
'LOW': "Low",
|
|
72
70
|
'MEDIUM': "Medium",
|
|
73
71
|
'HIGH': "High",
|
|
@@ -108,12 +106,12 @@ class InMarketUpdateV1(ModelNormal):
|
|
|
108
106
|
"""
|
|
109
107
|
lazy_import()
|
|
110
108
|
return {
|
|
111
|
-
'country': (str,
|
|
112
|
-
'buying_power': ([str],
|
|
109
|
+
'country': (str,), # noqa: E501
|
|
110
|
+
'buying_power': ([str],), # noqa: E501
|
|
113
111
|
'gender': (NillableGenderV1,), # noqa: E501
|
|
114
|
-
'interest_ids': ([str],
|
|
115
|
-
'brand_ids': ([str],
|
|
116
|
-
'price_range': ([str],
|
|
112
|
+
'interest_ids': ([str],), # noqa: E501
|
|
113
|
+
'brand_ids': ([str],), # noqa: E501
|
|
114
|
+
'price_range': ([str],), # noqa: E501
|
|
117
115
|
}
|
|
118
116
|
|
|
119
117
|
@cached_property
|
|
@@ -171,12 +169,12 @@ class InMarketUpdateV1(ModelNormal):
|
|
|
171
169
|
Animal class but this time we won't travel
|
|
172
170
|
through its discriminator because we passed in
|
|
173
171
|
_visited_composed_classes = (Animal,)
|
|
174
|
-
country (str
|
|
175
|
-
buying_power ([str]
|
|
172
|
+
country (str): Reach people of a specific country. [optional] # noqa: E501
|
|
173
|
+
buying_power ([str]): Reach people who frequently purchase high price range items to lower price range items. [optional] # noqa: E501
|
|
176
174
|
gender (NillableGenderV1): [optional] # noqa: E501
|
|
177
|
-
interest_ids ([str]
|
|
178
|
-
brand_ids ([str]
|
|
179
|
-
price_range ([str]
|
|
175
|
+
interest_ids ([str]): Reach new people based on their interests. [optional] # noqa: E501
|
|
176
|
+
brand_ids ([str]): Choose the brands your segment might be interested in. [optional] # noqa: E501
|
|
177
|
+
price_range ([str]): Reach people who’ve shown interest in products within a specific price range. [optional] # noqa: E501
|
|
180
178
|
"""
|
|
181
179
|
|
|
182
180
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -262,12 +260,12 @@ class InMarketUpdateV1(ModelNormal):
|
|
|
262
260
|
Animal class but this time we won't travel
|
|
263
261
|
through its discriminator because we passed in
|
|
264
262
|
_visited_composed_classes = (Animal,)
|
|
265
|
-
country (str
|
|
266
|
-
buying_power ([str]
|
|
263
|
+
country (str): Reach people of a specific country. [optional] # noqa: E501
|
|
264
|
+
buying_power ([str]): Reach people who frequently purchase high price range items to lower price range items. [optional] # noqa: E501
|
|
267
265
|
gender (NillableGenderV1): [optional] # noqa: E501
|
|
268
|
-
interest_ids ([str]
|
|
269
|
-
brand_ids ([str]
|
|
270
|
-
price_range ([str]
|
|
266
|
+
interest_ids ([str]): Reach new people based on their interests. [optional] # noqa: E501
|
|
267
|
+
brand_ids ([str]): Choose the brands your segment might be interested in. [optional] # noqa: E501
|
|
268
|
+
price_range ([str]): Reach people who’ve shown interest in products within a specific price range. [optional] # noqa: E501
|
|
271
269
|
"""
|
|
272
270
|
|
|
273
271
|
_check_type = kwargs.pop('_check_type', True)
|