From 3df9e0017b081342691b5c14a92165306211864b Mon Sep 17 00:00:00 2001 From: gricher-crto <{actor}@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:40:51 +0000 Subject: [PATCH] [241029] Automatic update of SDK. --- .../.openapi-generator/FILES | 556 --- .../__init__.py | 31 - .../model/ad_set_geo_location.py | 277 -- .../model/ad_set_targeting.py | 281 -- .../model/audience_attributes.py | 303 -- .../model/campaign_spend_limit.py | 289 -- .../model/create_ad_set_geo_location.py | 277 -- .../model/create_ad_set_resource.py | 273 -- .../model/delete_audience_response.py | 291 -- .../model/new_audience_attributes.py | 277 -- .../model/new_audience_response.py | 291 -- .../model/nillable_ad_set_targeting_rule.py | 269 -- .../model/read_ad_set_bidding.py | 302 -- .../model/replace_audience_response.py | 291 -- .../models/__init__.py | 268 -- .../docs/AudienceAttributes.md | 19 - .../docs/CampaignSpendLimit.md | 15 - .../docs/NewAudienceAttributes.md | 14 - .../docs/NewAudienceResponse.md | 15 - .../docs/ReplaceAudience.md | 14 - .../docs/ReplaceAudienceResponse.md | 15 - sdks/marketingsolutions_2023-10/README.md | 8 +- .../__init__.py | 2 +- .../api/analytics_api.py | 14 +- .../api/audience_api.py | 827 +++-- .../api_client.py | 2 +- .../configuration.py | 2 +- .../model/contactlist_amendment_attributes.py | 5 +- .../docs/AnalyticsApi.md | 14 +- .../docs/AudienceApi.md | 496 ++- .../docs/ContactlistAmendmentAttributes.md | 2 +- sdks/marketingsolutions_2023-10/setup.py | 6 +- sdks/marketingsolutions_2024-01/README.md | 8 +- .../__init__.py | 2 +- .../api/analytics_api.py | 14 +- .../api/audience_api.py | 827 +++-- .../api_client.py | 2 +- .../configuration.py | 2 +- .../model/contactlist_amendment_attributes.py | 5 +- .../docs/AnalyticsApi.md | 14 +- .../docs/AudienceApi.md | 496 ++- .../docs/ContactlistAmendmentAttributes.md | 2 +- sdks/marketingsolutions_2024-01/setup.py | 6 +- sdks/marketingsolutions_2024-04/README.md | 8 +- .../__init__.py | 2 +- .../api/analytics_api.py | 14 +- .../api/audience_api.py | 827 +++-- .../api_client.py | 2 +- .../configuration.py | 2 +- .../model/contactlist_amendment_attributes.py | 5 +- .../docs/AnalyticsApi.md | 14 +- .../docs/AudienceApi.md | 496 ++- .../docs/ContactlistAmendmentAttributes.md | 2 +- sdks/marketingsolutions_2024-04/setup.py | 6 +- sdks/marketingsolutions_2024-07/README.md | 8 +- .../__init__.py | 2 +- .../api/analytics_api.py | 14 +- .../api/audience_api.py | 827 +++-- .../api_client.py | 2 +- .../configuration.py | 2 +- .../model/contactlist_amendment_attributes.py | 5 +- .../docs/AnalyticsApi.md | 14 +- .../docs/AudienceApi.md | 496 ++- .../docs/ContactlistAmendmentAttributes.md | 2 +- sdks/marketingsolutions_2024-07/setup.py | 6 +- .../.gitignore | 0 .../.gitlab-ci.yml | 2 +- .../.openapi-generator/FILES | 530 +++ .../.openapi-generator/VERSION | 0 .../README.md | 95 +- .../__init__.py | 31 + .../api/__init__.py | 2 +- .../api/advertiser_api.py | 10 +- .../api/analytics_api.py | 40 +- .../api/audience_api.py | 1001 ++--- .../api/campaign_api.py | 226 +- .../api/creative_api.py | 62 +- .../api/gateway_api.py | 10 +- .../api_client.py | 12 +- .../api_client_builder.py | 6 +- .../apis/__init__.py | 14 +- .../configuration.py | 10 +- .../criteo_api_client.py | 4 +- .../criteo_auth.py | 6 +- .../criteo_rest.py | 6 +- .../exceptions.py | 2 +- .../flow_constants.py | 0 .../model/__init__.py | 2 +- .../model/ad.py | 6 +- .../model/ad_list_response.py | 10 +- .../model/ad_resource.py | 8 +- .../model/ad_response.py | 10 +- .../model/ad_set_audience_link_entity_v1.py | 6 +- ...ad_set_audience_link_entity_v1_resource.py | 8 +- ...ad_set_audience_link_entity_v1_response.py | 10 +- .../ad_set_audience_link_input_entity_v1.py | 8 +- .../model/ad_set_category_bid.py | 6 +- .../ad_set_category_bid_list_response.py | 10 +- .../model/ad_set_category_bid_resource.py | 8 +- .../ad_set_delivery_limitations_v24_q1.py | 6 +- .../model/ad_set_display_multiplier.py | 6 +- ...ad_set_display_multiplier_list_response.py | 10 +- .../ad_set_display_multiplier_resource.py | 8 +- .../model/ad_set_frequency_capping_v24_q1.py | 6 +- .../model/ad_set_geo_location_v24_q1.py | 8 +- .../model/ad_set_search_filter_v24_q1.py | 6 +- .../model/ad_set_search_request_v24_q1.py | 8 +- .../model/ad_set_targeting_rule_v24_q1.py | 6 +- .../model/ad_set_targeting_v24_q1.py | 12 +- .../model/ad_write.py | 6 +- .../model/ad_write_request.py | 8 +- .../model/ad_write_resource.py | 8 +- .../model/adaptive_attributes.py | 14 +- .../model/adaptive_colors.py | 6 +- .../model/adaptive_write_attributes.py | 10 +- .../model/algebra_node_v1.py | 6 +- .../model/application_summary_model.py | 6 +- .../application_summary_model_resource.py | 8 +- .../application_summary_model_response.py | 10 +- .../model/audience_bulk_create_input_v1.py | 8 +- .../model/audience_bulk_delete_input_v1.py | 8 +- .../model/audience_bulk_update_input_v1.py | 8 +- ...udience_compute_size_entity_v1_resource.py | 6 +- .../model/audience_compute_sizes_input_v1.py | 8 +- .../model/audience_create_entity_v1.py | 8 +- .../audience_create_entity_v1_resource.py | 8 +- .../audience_delete_entity_v1_resource.py | 6 +- .../model/audience_entity_v1.py | 8 +- ...dience_search_metadata_v1_list_response.py | 12 +- .../model/audience_entity_v1_list_response.py | 10 +- .../model/audience_entity_v1_resource.py | 8 +- .../model/audience_error.py | 6 +- .../model/audience_estimate_size_entity_v1.py | 8 +- ...dience_estimate_size_entity_v1_resource.py | 8 +- .../model/audience_estimate_size_input_v1.py | 8 +- .../audience_id_entity_v1_list_response.py | 10 +- .../model/audience_id_entity_v1_resource.py | 6 +- .../model/audience_name_description.py | 6 +- .../model/audience_search_entity_v1.py | 6 +- .../audience_search_entity_v1_resource.py | 8 +- .../model/audience_search_input_v1.py | 8 +- .../model/audience_search_metadata_v1.py | 6 +- .../audience_segment_bulk_create_input_v1.py | 8 +- .../audience_segment_bulk_delete_input_v1.py | 8 +- .../audience_segment_bulk_update_input_v1.py | 8 +- ...segment_compute_size_entity_v1_resource.py | 6 +- ...audience_segment_compute_sizes_input_v1.py | 8 +- .../audience_segment_create_entity_v1.py | 16 +- ...ience_segment_create_entity_v1_resource.py | 8 +- ...ience_segment_delete_entity_v1_resource.py | 6 +- .../model/audience_segment_entity_v1.py | 20 +- ...egment_search_metadata_v1_list_response.py | 12 +- ...udience_segment_entity_v1_list_response.py | 10 +- .../audience_segment_entity_v1_resource.py | 8 +- ...audience_segment_estimate_size_input_v1.py | 8 +- ...ence_segment_id_entity_v1_list_response.py | 10 +- .../audience_segment_id_entity_v1_resource.py | 6 +- .../audience_segment_search_entity_v1.py | 6 +- ...ience_segment_search_entity_v1_resource.py | 8 +- .../model/audience_segment_search_input_v1.py | 8 +- .../audience_segment_search_metadata_v1.py | 6 +- .../model/audience_segment_size_entity_v1.py | 6 +- ...ce_segment_size_entity_v1_list_response.py | 10 +- ...udience_segment_size_entity_v1_resource.py | 8 +- ...ience_segment_size_estimation_entity_v1.py | 10 +- ...ment_size_estimation_entity_v1_resource.py | 8 +- .../audience_segment_size_estimation_v1.py | 6 +- ...nce_segment_size_estimation_v1_resource.py | 8 +- ...nce_segment_size_estimation_v1_response.py | 10 +- .../audience_segment_update_entity_v1.py | 18 +- ...ience_segment_update_entity_v1_resource.py | 8 +- .../model/audience_size_entity_v1.py | 6 +- .../audience_size_entity_v1_list_response.py | 10 +- .../model/audience_size_entity_v1_resource.py | 8 +- .../model/audience_size_estimation_v1.py | 6 +- .../audience_size_estimation_v1_resource.py | 8 +- .../audience_size_estimation_v1_response.py | 10 +- .../model/audience_update_entity_v1.py | 10 +- .../audience_update_entity_v1_resource.py | 8 +- .../model/audience_warning.py | 6 +- .../model/basic_audience_definition.py | 8 +- .../model/behavioral_v1.py | 6 +- .../model/campaign_search_filters_v23_q1.py} | 12 +- .../model/campaign_search_request_v23_q1.py} | 22 +- .../model/campaign_spend_limit_v23_q1.py | 8 +- .../model/campaign_v23_q1.py | 8 +- .../model/campaign_v23_q1_list_response.py} | 25 +- .../model/campaign_v23_q1_resource.py | 8 +- .../model/campaign_v23_q1_response.py | 10 +- .../model/common_problem.py | 6 +- .../contact_list_statistics_entity_v1.py | 6 +- ...tact_list_statistics_entity_v1_resource.py | 8 +- ...tact_list_statistics_entity_v1_response.py | 10 +- .../model/contact_list_v1.py | 6 +- .../model/contactlist_amendment.py | 8 +- .../model/contactlist_amendment_attributes.py | 11 +- .../model/contactlist_amendment_request.py | 8 +- .../model/contactlist_operation.py | 8 +- .../model/contactlist_operation_attributes.py | 6 +- .../model/coupon.py | 8 +- .../model/coupon_list_response.py | 10 +- .../model/coupon_resource.py | 8 +- .../model/coupon_response.py | 10 +- .../model/coupon_supported_sizes.py | 6 +- .../model/coupon_supported_sizes_resource.py | 8 +- .../model/coupon_supported_sizes_response.py | 10 +- .../model/create_ad_set_bidding_v24_q1.py | 6 +- .../model/create_ad_set_budget_v24_q1.py | 6 +- .../create_ad_set_geo_location_v24_q1.py | 8 +- .../model/create_ad_set_schedule_v24_q1.py | 6 +- .../model/create_ad_set_targeting_v24_q1.py | 12 +- .../model/create_ad_set_v24_q1.py | 14 +- .../model/create_ad_set_v24_q1_request.py | 8 +- .../model/create_ad_set_v24_q1_resource.py | 8 +- .../model/create_campaign.py | 8 +- .../model/create_campaign_request.py | 8 +- .../model/create_campaign_resource.py | 8 +- .../model/create_campaign_spend_limit.py | 6 +- .../model/create_coupon.py | 8 +- .../model/create_coupon_request.py | 8 +- .../model/create_coupon_resource.py | 8 +- .../model/create_image_slide.py | 6 +- .../model/creative.py | 14 +- .../model/creative_list_response.py | 10 +- .../model/creative_resource.py | 8 +- .../model/creative_response.py | 10 +- .../model/creative_write.py | 14 +- .../model/creative_write_request.py | 8 +- .../model/creative_write_resource.py | 8 +- .../model/criteo_api_error.py | 6 +- .../model/criteo_api_warning.py | 6 +- .../delete_audience_contact_list_response.py | 12 +- .../model/dynamic_attributes.py | 8 +- .../model/dynamic_write_attributes.py | 6 +- .../model/entity_of_portfolio_message.py | 8 +- .../model/error_code_response.py | 10 +- .../model/get_portfolio_response.py | 12 +- .../model/html_tag_attributes.py | 8 +- .../model/html_tag_write_attributes.py | 8 +- .../model/image_attributes.py | 6 +- .../model/image_set.py | 8 +- .../model/image_set_base64.py | 6 +- .../model/image_shape.py | 6 +- .../model/image_slide.py | 6 +- .../model/image_write_attributes.py | 6 +- ...market_audience_segment_brand_entity_v1.py | 6 +- ...e_segment_brand_entity_v1_list_response.py | 10 +- ...dience_segment_brand_entity_v1_resource.py | 8 +- ...ket_audience_segment_interest_entity_v1.py | 6 +- ...egment_interest_entity_v1_list_response.py | 10 +- ...nce_segment_interest_entity_v1_resource.py | 8 +- .../model/in_market_create_v1.py | 6 +- .../model/in_market_size_estimation_v1.py | 6 +- .../model/in_market_update_v1.py | 8 +- .../model/in_market_v1.py | 6 +- .../model/location_create_v1.py | 8 +- .../model/location_size_estimation_v1.py | 8 +- .../model/location_update_v1.py | 8 +- .../model/location_v1.py | 8 +- .../model/lookalike_create_v1.py | 6 +- .../model/lookalike_update_v1.py | 6 +- .../model/lookalike_v1.py | 6 +- .../model/modify_audience_response.py | 12 +- .../nillable_ad_set_targeting_rule_v24_q1.py | 8 +- ...able_ad_set_targeting_rule_v24_q1_value.py | 8 +- .../model/nillable_date_time.py | 6 +- .../model/nillable_decimal.py | 6 +- .../model/nillable_gender_v1.py | 6 +- .../model/nillable_int32.py | 6 +- .../model/nillable_string.py | 6 +- .../model/outcome.py | 8 +- .../model/patch_ad_set_bidding_v24_q1.py | 8 +- .../model/patch_ad_set_budget_v24_q1.py | 8 +- .../model/patch_ad_set_category_bid.py | 6 +- .../patch_ad_set_category_bid_list_request.py | 8 +- .../patch_ad_set_category_bid_resource.py | 8 +- ...d_set_category_bid_result_list_response.py | 10 +- ...tch_ad_set_category_bid_result_resource.py | 6 +- .../model/patch_ad_set_display_multiplier.py | 6 +- ..._ad_set_display_multiplier_list_request.py | 8 +- ...atch_ad_set_display_multiplier_resource.py | 8 +- ...display_multiplier_result_list_response.py | 10 +- ..._set_display_multiplier_result_resource.py | 6 +- .../model/patch_ad_set_scheduling_v24_q1.py | 8 +- .../model/patch_ad_set_v24_q1.py | 14 +- .../model/patch_campaign.py | 8 +- .../model/patch_campaign_list_request.py | 8 +- .../model/patch_campaign_spend_limit.py | 8 +- .../model/patch_campaign_write_resource.py | 8 +- .../patch_result_campaign_list_response.py | 10 +- .../patch_result_campaign_read_resource.py | 6 +- .../model/placements_report_query_message.py | 6 +- ...ments_report_query_message_list_request.py | 8 +- ...lacements_report_query_message_resource.py | 8 +- .../model/point_of_interest_v1.py | 6 +- .../model/portfolio_message.py | 6 +- .../model/prospecting_create_v1.py | 6 +- .../model/prospecting_update_v1.py | 8 +- .../model/prospecting_v1.py | 6 +- .../model/read_ad_set_bidding_v24_q1.py | 6 +- .../model/read_ad_set_budget_v24_q1.py | 6 +- .../model/read_ad_set_schedule_v24_q1.py | 8 +- .../model/read_ad_set_v24_q1.py | 14 +- .../model/read_model_ad_set_id.py | 6 +- .../model/read_model_ad_set_id_v24_q1.py | 6 +- .../model/read_model_read_ad_set_v24_q1.py | 8 +- .../model/requests_ad_set_id.py | 8 +- .../model/requests_patch_ad_set_v24_q1.py | 8 +- .../model/response_read_ad_set_v24_q1.py | 10 +- .../model/responses_ad_set_id.py | 10 +- .../model/responses_ad_set_id_v24_q1.py | 10 +- .../model/responses_read_ad_set_v24_q1.py | 10 +- .../model/retargeting_create_v1.py | 6 +- .../model/retargeting_update_v1.py | 6 +- .../model/retargeting_v1.py | 6 +- .../model/size.py | 6 +- .../model/statistics_report_query_message.py | 6 +- .../model/tag.py | 8 +- .../transactions_report_query_message.py | 6 +- ...tions_report_query_message_list_request.py | 8 +- ...nsactions_report_query_message_resource.py | 8 +- .../model/transparency_query_message.py | 6 +- .../model/transparency_report.py | 8 +- .../model/transparency_report_file.py | 6 +- .../transparency_report_list_response.py | 10 +- .../model/transparency_report_resource.py | 8 +- .../model/update_coupon.py | 6 +- .../model/update_coupon_request.py | 8 +- .../model/update_coupon_resource.py | 8 +- .../model/video_detail.py | 6 +- .../model/write_model_ad_set_id.py | 6 +- .../model/write_model_patch_ad_set_v24_q1.py | 8 +- .../model_utils.py | 4 +- .../models/__init__.py | 255 ++ .../rest.py | 4 +- .../docs/Ad.md | 0 .../docs/AdListResponse.md | 0 .../docs/AdResource.md | 0 .../docs/AdResponse.md | 0 .../docs/AdSetAudienceLinkEntityV1.md | 0 .../docs/AdSetAudienceLinkEntityV1Resource.md | 0 .../docs/AdSetAudienceLinkEntityV1Response.md | 0 .../docs/AdSetAudienceLinkInputEntityV1.md | 0 .../docs/AdSetCategoryBid.md | 0 .../docs/AdSetCategoryBidListResponse.md | 0 .../docs/AdSetCategoryBidResource.md | 0 .../docs/AdSetDeliveryLimitationsV24Q1.md | 0 .../docs/AdSetDisplayMultiplier.md | 0 .../AdSetDisplayMultiplierListResponse.md | 0 .../docs/AdSetDisplayMultiplierResource.md | 0 .../docs/AdSetFrequencyCappingV24Q1.md | 0 .../docs/AdSetGeoLocationV24Q1.md | 0 .../docs/AdSetSearchFilterV24Q1.md | 0 .../docs/AdSetSearchRequestV24Q1.md | 0 .../docs/AdSetTargetingRuleV24Q1.md | 0 .../docs/AdSetTargetingV24Q1.md | 0 .../docs/AdWrite.md | 0 .../docs/AdWriteRequest.md | 0 .../docs/AdWriteResource.md | 0 .../docs/AdaptiveAttributes.md | 0 .../docs/AdaptiveColors.md | 0 .../docs/AdaptiveWriteAttributes.md | 0 .../docs/AdvertiserApi.md | 20 +- .../docs/AlgebraNodeV1.md | 0 .../docs/AnalyticsApi.md | 100 +- .../docs/ApplicationSummaryModel.md | 0 .../docs/ApplicationSummaryModelResource.md | 0 .../docs/ApplicationSummaryModelResponse.md | 0 .../docs/AudienceApi.md | 986 ++--- .../docs/AudienceBulkCreateInputV1.md | 0 .../docs/AudienceBulkDeleteInputV1.md | 0 .../docs/AudienceBulkUpdateInputV1.md | 0 .../AudienceComputeSizeEntityV1Resource.md | 0 .../docs/AudienceComputeSizesInputV1.md | 0 .../docs/AudienceCreateEntityV1.md | 0 .../docs/AudienceCreateEntityV1Resource.md | 0 .../docs/AudienceDeleteEntityV1Resource.md | 0 .../docs/AudienceEntityV1.md | 0 ...yV1AudienceSearchMetadataV1ListResponse.md | 0 .../docs/AudienceEntityV1ListResponse.md | 0 .../docs/AudienceEntityV1Resource.md | 0 .../docs/AudienceError.md | 0 .../docs/AudienceEstimateSizeEntityV1.md | 0 .../AudienceEstimateSizeEntityV1Resource.md | 0 .../docs/AudienceEstimateSizeInputV1.md | 0 .../docs/AudienceIdEntityV1ListResponse.md | 0 .../docs/AudienceIdEntityV1Resource.md | 0 .../docs/AudienceNameDescription.md | 0 .../docs/AudienceSearchEntityV1.md | 0 .../docs/AudienceSearchEntityV1Resource.md | 0 .../docs/AudienceSearchInputV1.md | 0 .../docs/AudienceSearchMetadataV1.md | 0 .../docs/AudienceSegmentBulkCreateInputV1.md | 0 .../docs/AudienceSegmentBulkDeleteInputV1.md | 0 .../docs/AudienceSegmentBulkUpdateInputV1.md | 0 ...ienceSegmentComputeSizeEntityV1Resource.md | 0 .../AudienceSegmentComputeSizesInputV1.md | 0 .../docs/AudienceSegmentCreateEntityV1.md | 0 .../AudienceSegmentCreateEntityV1Resource.md | 0 .../AudienceSegmentDeleteEntityV1Resource.md | 0 .../docs/AudienceSegmentEntityV1.md | 0 ...enceSegmentSearchMetadataV1ListResponse.md | 0 .../AudienceSegmentEntityV1ListResponse.md | 0 .../docs/AudienceSegmentEntityV1Resource.md | 0 .../AudienceSegmentEstimateSizeInputV1.md | 0 .../AudienceSegmentIdEntityV1ListResponse.md | 0 .../docs/AudienceSegmentIdEntityV1Resource.md | 0 .../docs/AudienceSegmentSearchEntityV1.md | 0 .../AudienceSegmentSearchEntityV1Resource.md | 0 .../docs/AudienceSegmentSearchInputV1.md | 0 .../docs/AudienceSegmentSearchMetadataV1.md | 0 .../docs/AudienceSegmentSizeEntityV1.md | 0 ...AudienceSegmentSizeEntityV1ListResponse.md | 0 .../AudienceSegmentSizeEntityV1Resource.md | 0 .../AudienceSegmentSizeEstimationEntityV1.md | 0 ...ceSegmentSizeEstimationEntityV1Resource.md | 0 .../docs/AudienceSegmentSizeEstimationV1.md | 0 ...AudienceSegmentSizeEstimationV1Resource.md | 0 ...AudienceSegmentSizeEstimationV1Response.md | 0 .../docs/AudienceSegmentUpdateEntityV1.md | 0 .../AudienceSegmentUpdateEntityV1Resource.md | 0 .../docs/AudienceSizeEntityV1.md | 0 .../docs/AudienceSizeEntityV1ListResponse.md | 0 .../docs/AudienceSizeEntityV1Resource.md | 0 .../docs/AudienceSizeEstimationV1.md | 0 .../docs/AudienceSizeEstimationV1Resource.md | 0 .../docs/AudienceSizeEstimationV1Response.md | 0 .../docs/AudienceUpdateEntityV1.md | 0 .../docs/AudienceUpdateEntityV1Resource.md | 0 .../docs/AudienceWarning.md | 0 .../docs/BasicAudienceDefinition.md | 0 .../docs/BehavioralV1.md | 0 .../docs/CampaignApi.md | 446 +-- .../docs/CampaignSearchFiltersV23Q1.md} | 2 +- .../docs/CampaignSearchRequestV23Q1.md} | 4 +- .../docs/CampaignSpendLimitV23Q1.md | 0 .../docs/CampaignV23Q1.md | 0 .../docs/CampaignV23Q1ListResponse.md} | 6 +- .../docs/CampaignV23Q1Resource.md | 0 .../docs/CampaignV23Q1Response.md | 0 .../docs/CommonProblem.md | 0 .../docs/ContactListStatisticsEntityV1.md | 0 .../ContactListStatisticsEntityV1Resource.md | 0 .../ContactListStatisticsEntityV1Response.md | 0 .../docs/ContactListV1.md | 0 .../docs/ContactlistAmendment.md | 0 .../docs/ContactlistAmendmentAttributes.md | 2 +- .../docs/ContactlistAmendmentRequest.md | 0 .../docs/ContactlistOperation.md | 0 .../docs/ContactlistOperationAttributes.md | 0 .../docs/Coupon.md | 0 .../docs/CouponListResponse.md | 0 .../docs/CouponResource.md | 0 .../docs/CouponResponse.md | 0 .../docs/CouponSupportedSizes.md | 0 .../docs/CouponSupportedSizesResource.md | 0 .../docs/CouponSupportedSizesResponse.md | 0 .../docs/CreateAdSetBiddingV24Q1.md | 0 .../docs/CreateAdSetBudgetV24Q1.md | 0 .../docs/CreateAdSetGeoLocationV24Q1.md | 0 .../docs/CreateAdSetScheduleV24Q1.md | 0 .../docs/CreateAdSetTargetingV24Q1.md | 0 .../docs/CreateAdSetV24Q1.md | 0 .../docs/CreateAdSetV24Q1Request.md | 0 .../docs/CreateAdSetV24Q1Resource.md | 0 .../docs/CreateCampaign.md | 0 .../docs/CreateCampaignRequest.md | 0 .../docs/CreateCampaignResource.md | 0 .../docs/CreateCampaignSpendLimit.md | 0 .../docs/CreateCoupon.md | 0 .../docs/CreateCouponRequest.md | 0 .../docs/CreateCouponResource.md | 0 .../docs/CreateImageSlide.md | 0 .../docs/Creative.md | 0 .../docs/CreativeApi.md | 320 +- .../docs/CreativeListResponse.md | 0 .../docs/CreativeResource.md | 0 .../docs/CreativeResponse.md | 0 .../docs/CreativeWrite.md | 0 .../docs/CreativeWriteRequest.md | 0 .../docs/CreativeWriteResource.md | 0 .../docs/CriteoApiError.md | 0 .../docs/CriteoApiWarning.md | 0 .../docs/DeleteAudienceContactListResponse.md | 0 .../docs/DynamicAttributes.md | 0 .../docs/DynamicWriteAttributes.md | 0 .../docs/EntityOfPortfolioMessage.md | 0 .../docs/ErrorCodeResponse.md | 0 .../docs/GatewayApi.md | 20 +- .../docs/GetPortfolioResponse.md | 0 .../docs/HtmlTagAttributes.md | 0 .../docs/HtmlTagWriteAttributes.md | 0 .../docs/ImageAttributes.md | 0 .../docs/ImageSet.md | 0 .../docs/ImageSetBase64.md | 0 .../docs/ImageShape.md | 0 .../docs/ImageSlide.md | 0 .../docs/ImageWriteAttributes.md | 0 .../InMarketAudienceSegmentBrandEntityV1.md | 0 ...udienceSegmentBrandEntityV1ListResponse.md | 0 ...ketAudienceSegmentBrandEntityV1Resource.md | 0 ...InMarketAudienceSegmentInterestEntityV1.md | 0 ...enceSegmentInterestEntityV1ListResponse.md | 0 ...AudienceSegmentInterestEntityV1Resource.md | 0 .../docs/InMarketCreateV1.md | 0 .../docs/InMarketSizeEstimationV1.md | 0 .../docs/InMarketUpdateV1.md | 0 .../docs/InMarketV1.md | 0 .../docs/LocationCreateV1.md | 0 .../docs/LocationSizeEstimationV1.md | 0 .../docs/LocationUpdateV1.md | 0 .../docs/LocationV1.md | 0 .../docs/LookalikeCreateV1.md | 0 .../docs/LookalikeUpdateV1.md | 0 .../docs/LookalikeV1.md | 0 .../docs/ModifyAudienceResponse.md | 0 .../docs/NillableAdSetTargetingRuleV24Q1.md | 0 .../NillableAdSetTargetingRuleV24Q1Value.md | 0 .../docs/NillableDateTime.md | 0 .../docs/NillableDecimal.md | 0 .../docs/NillableGenderV1.md | 0 .../docs/NillableInt32.md | 0 .../docs/NillableString.md | 0 .../docs/Outcome.md | 0 .../docs/PatchAdSetBiddingV24Q1.md | 0 .../docs/PatchAdSetBudgetV24Q1.md | 0 .../docs/PatchAdSetCategoryBid.md | 0 .../docs/PatchAdSetCategoryBidListRequest.md | 0 .../docs/PatchAdSetCategoryBidResource.md | 0 ...PatchAdSetCategoryBidResultListResponse.md | 0 .../PatchAdSetCategoryBidResultResource.md | 0 .../docs/PatchAdSetDisplayMultiplier.md | 0 .../PatchAdSetDisplayMultiplierListRequest.md | 0 .../PatchAdSetDisplayMultiplierResource.md | 0 ...dSetDisplayMultiplierResultListResponse.md | 0 ...tchAdSetDisplayMultiplierResultResource.md | 0 .../docs/PatchAdSetSchedulingV24Q1.md | 0 .../docs/PatchAdSetV24Q1.md | 0 .../docs/PatchCampaign.md | 0 .../docs/PatchCampaignListRequest.md | 0 .../docs/PatchCampaignSpendLimit.md | 0 .../docs/PatchCampaignWriteResource.md | 0 .../docs/PatchResultCampaignListResponse.md | 0 .../docs/PatchResultCampaignReadResource.md | 0 .../docs/PlacementsReportQueryMessage.md | 0 ...PlacementsReportQueryMessageListRequest.md | 0 .../PlacementsReportQueryMessageResource.md | 0 .../docs/PointOfInterestV1.md | 0 .../docs/PortfolioMessage.md | 0 .../docs/ProspectingCreateV1.md | 0 .../docs/ProspectingUpdateV1.md | 0 .../docs/ProspectingV1.md | 0 .../docs/ReadAdSetBiddingV24Q1.md | 0 .../docs/ReadAdSetBudgetV24Q1.md | 0 .../docs/ReadAdSetScheduleV24Q1.md | 0 .../docs/ReadAdSetV24Q1.md | 0 .../docs/ReadModelAdSetId.md | 0 .../docs/ReadModelAdSetIdV24Q1.md | 0 .../docs/ReadModelReadAdSetV24Q1.md | 0 .../docs/RequestsAdSetId.md | 0 .../docs/RequestsPatchAdSetV24Q1.md | 0 .../docs/ResponseReadAdSetV24Q1.md | 0 .../docs/ResponsesAdSetId.md | 0 .../docs/ResponsesAdSetIdV24Q1.md | 0 .../docs/ResponsesReadAdSetV24Q1.md | 0 .../docs/RetargetingCreateV1.md | 0 .../docs/RetargetingUpdateV1.md | 0 .../docs/RetargetingV1.md | 0 .../docs/Size.md | 0 .../docs/StatisticsReportQueryMessage.md | 0 .../docs/Tag.md | 0 .../docs/TransactionsReportQueryMessage.md | 0 ...ansactionsReportQueryMessageListRequest.md | 0 .../TransactionsReportQueryMessageResource.md | 0 .../docs/TransparencyQueryMessage.md | 0 .../docs/TransparencyReport.md | 0 .../docs/TransparencyReportFile.md | 0 .../docs/TransparencyReportListResponse.md | 0 .../docs/TransparencyReportResource.md | 0 .../docs/UpdateCoupon.md | 0 .../docs/UpdateCouponRequest.md | 0 .../docs/UpdateCouponResource.md | 0 .../docs/VideoDetail.md | 0 .../docs/WriteModelAdSetId.md | 0 .../docs/WriteModelPatchAdSetV24Q1.md | 0 .../requirements.txt | 0 .../setup.cfg | 0 .../setup.py | 8 +- .../test-requirements.txt | 0 .../example_application_with_auth_code.py | 4 +- ...ple_application_with_client_credentials.py | 4 +- .../example_application_with_refresh_token.py | 4 +- .../test/test_gateway_api.py | 6 +- .../tox.ini | 2 +- .../.openapi-generator/FILES | 148 +- sdks/marketingsolutions_preview/README.md | 82 +- .../__init__.py | 2 +- .../api/analytics_api.py | 18 +- .../api/audience_api.py | 570 +-- .../api/campaign_api.py | 114 +- .../api_client.py | 2 +- .../configuration.py | 2 +- .../ad_set_delivery_limitations_v24_q3.py} | 12 +- .../model/ad_set_frequency_capping_v24_q3.py} | 12 +- .../model/ad_set_geo_location_v24_q3.py | 277 ++ .../model/ad_set_search_filter_v24_q3.py} | 12 +- .../model/ad_set_search_request_v24_q3.py} | 22 +- .../model/ad_set_targeting_rule_v24_q3.py} | 12 +- .../model/ad_set_targeting_v24_q3.py | 281 ++ .../ad_set_targeting_video_positioning.py | 13 + .../model/contactlist_amendment_attributes.py | 5 +- ...st_with_attributes_amendment_attributes.py | 1 - .../model/create_ad_set_bidding_v24_q3.py} | 15 +- .../model/create_ad_set_budget_v24_q3.py} | 13 +- .../create_ad_set_geo_location_v24_q3.py | 277 ++ .../model/create_ad_set_schedule_v24_q3.py} | 12 +- .../model/create_ad_set_targeting_v24_q3.py} | 42 +- .../model/create_ad_set_v24_q3.py} | 52 +- ...est.py => create_ad_set_v24_q3_request.py} | 18 +- ...ce.py => create_ad_set_v24_q3_resource.py} | 22 +- .../model/delete_user_profile_model.py | 273 -- .../nillable_ad_set_targeting_rule_v24_q3.py | 269 ++ ...ble_ad_set_targeting_rule_v24_q3_value.py} | 18 +- .../model/patch_ad_set_bidding_v24_q3.py} | 14 +- .../model/patch_ad_set_budget_v24_q3.py} | 15 +- .../model/patch_ad_set_scheduling_v24_q3.py} | 14 +- .../model/patch_ad_set_v24_q3.py} | 52 +- .../model/product.py | 4 + .../model/read_ad_set_bidding_v24_q3.py | 279 ++ .../model/read_ad_set_budget_v24_q3.py} | 25 +- .../model/read_ad_set_schedule_v24_q3.py} | 14 +- .../model/read_ad_set_v24_q3.py} | 79 +- .../model/read_model_ad_set_id_v24_q3.py} | 24 +- .../model/read_model_read_ad_set_v24_q3.py} | 22 +- ...fier_model.py => report_detail_warning.py} | 32 +- .../model/report_detail_warnings.py | 281 ++ .../model/report_ok_response.py | 18 +- ...est.py => requests_patch_ad_set_v24_q3.py} | 18 +- .../model/response_read_ad_set_v24_q3.py} | 24 +- .../model/responses_ad_set_id_v24_q3.py} | 24 +- .../model/responses_read_ad_set_v24_q3.py | 282 ++ .../set_ad_set_targeting_video_positioning.py | 13 + .../model/set_user_profile_model.py | 293 -- .../model/write_model_patch_ad_set_v24_q3.py} | 22 +- .../models/__init__.py | 74 +- .../docs/AdSetDeliveryLimitationsV24Q3.md} | 2 +- .../docs/AdSetFrequencyCappingV24Q3.md} | 2 +- .../docs/AdSetGeoLocationV24Q3.md} | 8 +- .../docs/AdSetSearchFilterV24Q3.md} | 2 +- .../docs/AdSetSearchRequestV24Q3.md} | 4 +- .../docs/AdSetTargetingRuleV24Q3.md} | 2 +- .../docs/AdSetTargetingV24Q3.md} | 8 +- .../docs/AdSetTargetingVideoPositioning.md | 1 + .../docs/AnalyticsApi.md | 18 +- .../docs/AudienceApi.md | 464 +-- .../docs/CampaignApi.md | 141 +- .../docs/CatalogApi.md | 1 + .../docs/ContactlistAmendmentAttributes.md | 2 +- .../docs/CreateAdSetBiddingV24Q3.md} | 2 +- .../docs/CreateAdSetBudgetV24Q3.md} | 2 +- .../docs/CreateAdSetGeoLocationV24Q3.md} | 8 +- .../docs/CreateAdSetScheduleV24Q3.md} | 2 +- .../docs/CreateAdSetTargetingV24Q3.md} | 8 +- .../docs/CreateAdSetV24Q3.md} | 10 +- .../docs/CreateAdSetV24Q3Request.md} | 4 +- .../docs/CreateAdSetV24Q3Resource.md} | 4 +- .../docs/DeleteUserProfileModel.md | 14 - .../docs/NillableAdSetTargetingRuleV24Q3.md} | 4 +- .../NillableAdSetTargetingRuleV24Q3Value.md} | 2 +- .../docs/PatchAdSetBiddingV24Q3.md} | 2 +- .../docs/PatchAdSetBudgetV24Q3.md} | 2 +- .../docs/PatchAdSetSchedulingV24Q3.md} | 2 +- .../docs/PatchAdSetV24Q3.md} | 12 +- .../docs/Product.md | 1 + .../docs/ReadAdSetBiddingV24Q3.md} | 5 +- .../docs/ReadAdSetBudgetV24Q3.md} | 4 +- .../docs/ReadAdSetScheduleV24Q3.md} | 2 +- .../docs/ReadAdSetV24Q3.md} | 12 +- .../docs/ReadModelAdSetIdV24Q3.md} | 4 +- .../docs/ReadModelReadAdSetV24Q3.md} | 4 +- .../docs/ReportDetailWarning.md} | 7 +- .../docs/ReportDetailWarnings.md | 14 + .../docs/ReportOkResponse.md | 2 + .../docs/RequestsPatchAdSetV24Q3.md} | 4 +- .../docs/ResponseReadAdSetV24Q3.md} | 4 +- .../docs/ResponsesAdSetIdV24Q3.md} | 4 +- .../docs/ResponsesReadAdSetV24Q3.md} | 4 +- .../docs/SetAdSetTargetingVideoPositioning.md | 1 + .../docs/SetUserProfileModel.md | 16 - .../docs/WriteModelPatchAdSetV24Q3.md} | 4 +- sdks/marketingsolutions_preview/setup.py | 6 +- .../.openapi-generator/FILES | 414 --- .../__init__.py | 31 - .../api/balance_api.py | 347 -- .../apis/__init__.py | 22 - ...red_line_item202110_paged_list_response.py | 287 -- ..._preferred_line_item_update_model202110.py | 277 -- .../rm_legacy_audience_create_entity_v1.py | 315 -- ..._legacy_segment_user_behavior_create_v2.py | 303 -- .../rm_legacy_segment_user_behavior_v1.py | 306 -- .../models/__init__.py | 197 - sdks/retailmedia_2023-07/docs/AccountsApi.md | 100 - sdks/retailmedia_2023-07/docs/AudienceApi.md | 448 --- sdks/retailmedia_2023-07/docs/BalanceApi.md | 210 -- .../docs/Creative202210ListResponse.md | 15 - .../docs/ExternalBalance202110.md | 24 - .../docs/ExternalPromotedProduct202110.md | 13 - ...iSingleResponseOfLineItemBidMultipliers.md | 15 - .../docs/LineItemBidMultipliers.md | 20 - .../docs/LineItemBidMultipliersResponse.md | 15 - ...referredLineItem202110PagedListResponse.md | 16 - .../docs/PreferredLineItem202110Response.md | 15 - ...eferredLineItemUpdateModel202110Request.md | 13 - .../docs/PromotedProduct202110ListRequest.md | 13 - .../docs/RmLegacyAudienceCreateEntityV1.md | 18 - .../docs/RmLegacyAudienceCreateEntityV2.md | 15 - .../RmLegacyAudienceCreateInputEntityV1.md | 13 - .../RmLegacyAudienceCreateInputEntityV2.md | 13 - .../docs/RmLegacyAudienceGetEntityV1.md | 16 - .../docs/RmLegacyAudienceGetEntityV2.md | 16 - .../RmLegacyAudienceUserBehaviorCreateV2.md | 14 - .../RmLegacyAudienceUserBehaviorDetailsV2.md | 14 - .../docs/RmLegacySegmentCustomerList.md | 14 - .../RmLegacySegmentUserBehaviorCreateV2.md | 16 - .../docs/RmLegacySegmentUserBehaviorV1.md | 16 - .../docs/RmLegacySegmentUserBehaviorV2.md | 18 - sdks/retailmedia_2023-10/README.md | 8 +- .../__init__.py | 2 +- .../api/analytics_api.py | 6 +- .../api_client.py | 2 +- .../configuration.py | 2 +- .../model/campaign_attributes_v202301.py | 4 + .../model/campaign_v202301.py | 4 + .../editable_campaign_attributes_v202301.py | 4 + .../model/external_account.py | 4 + ..._legacy_audience_get_entity_v1_resource.py | 8 +- .../model/section.py | 14 +- sdks/retailmedia_2023-10/docs/AnalyticsApi.md | 6 +- sdks/retailmedia_2023-10/docs/CampaignApi.md | 2 + .../docs/CampaignAttributesV202301.md | 1 + .../docs/CampaignV202301.md | 1 + .../docs/EditableCampaignAttributesV202301.md | 1 + .../docs/ExternalAccount.md | 1 + .../RmLegacyAudienceCreateInputEntityV1.md | 2 +- .../RmLegacyAudienceCreateInputEntityV2.md | 2 +- ...RmLegacyAudienceGetEntityV1ListResponse.md | 2 +- .../RmLegacyAudienceGetEntityV1Resource.md | 4 +- sdks/retailmedia_2023-10/docs/Section.md | 2 +- sdks/retailmedia_2023-10/setup.py | 6 +- sdks/retailmedia_2024-01/README.md | 8 +- .../__init__.py | 2 +- .../api/analytics_api.py | 6 +- .../api_client.py | 2 +- .../configuration.py | 2 +- .../model/campaign_attributes_v202301.py | 4 + .../model/campaign_v202301.py | 4 + .../editable_campaign_attributes_v202301.py | 4 + .../model/external_account.py | 4 + ..._legacy_audience_get_entity_v1_resource.py | 8 +- .../model/section.py | 14 +- sdks/retailmedia_2024-01/docs/AnalyticsApi.md | 6 +- sdks/retailmedia_2024-01/docs/CampaignApi.md | 2 + .../docs/CampaignAttributesV202301.md | 1 + .../docs/CampaignV202301.md | 1 + .../docs/EditableCampaignAttributesV202301.md | 1 + .../docs/ExternalAccount.md | 1 + .../RmLegacyAudienceCreateInputEntityV1.md | 2 +- .../RmLegacyAudienceCreateInputEntityV2.md | 2 +- ...RmLegacyAudienceGetEntityV1ListResponse.md | 2 +- .../RmLegacyAudienceGetEntityV1Resource.md | 4 +- sdks/retailmedia_2024-01/docs/Section.md | 2 +- sdks/retailmedia_2024-01/setup.py | 6 +- sdks/retailmedia_2024-04/README.md | 8 +- .../__init__.py | 2 +- .../api/analytics_api.py | 6 +- .../api_client.py | 2 +- .../configuration.py | 2 +- .../model/campaign_attributes_v202301.py | 4 + .../model/campaign_v202301.py | 4 + .../editable_campaign_attributes_v202301.py | 4 + .../model/external_account.py | 4 + .../model/retail_media_account.py | 8 +- .../retail_media_brand_account_creation.py | 8 +- ..._legacy_audience_get_entity_v1_resource.py | 8 +- .../model/section.py | 14 +- sdks/retailmedia_2024-04/docs/AccountsApi.md | 1 + sdks/retailmedia_2024-04/docs/AnalyticsApi.md | 6 +- sdks/retailmedia_2024-04/docs/CampaignApi.md | 2 + .../docs/CampaignAttributesV202301.md | 1 + .../docs/CampaignV202301.md | 1 + .../docs/EditableCampaignAttributesV202301.md | 1 + .../docs/ExternalAccount.md | 1 + .../docs/RetailMediaAccount.md | 3 +- .../docs/RetailMediaBrandAccountCreation.md | 3 +- .../RmLegacyAudienceCreateInputEntityV1.md | 2 +- .../RmLegacyAudienceCreateInputEntityV2.md | 2 +- ...RmLegacyAudienceGetEntityV1ListResponse.md | 2 +- .../RmLegacyAudienceGetEntityV1Resource.md | 4 +- sdks/retailmedia_2024-04/docs/Section.md | 2 +- sdks/retailmedia_2024-04/setup.py | 6 +- sdks/retailmedia_2024-07/README.md | 8 +- .../__init__.py | 2 +- .../api/analytics_api.py | 6 +- .../api_client.py | 2 +- .../configuration.py | 2 +- .../model/campaign_attributes_v202301.py | 4 + .../model/campaign_v202301.py | 4 + .../editable_campaign_attributes_v202301.py | 4 + .../model/external_account.py | 4 + .../model/retail_media_account.py | 8 +- .../retail_media_brand_account_creation.py | 8 +- .../retail_media_seller_account_creation.py | 8 +- ..._legacy_audience_get_entity_v1_resource.py | 8 +- .../model/section.py | 14 +- sdks/retailmedia_2024-07/docs/AccountsApi.md | 2 + sdks/retailmedia_2024-07/docs/AnalyticsApi.md | 6 +- sdks/retailmedia_2024-07/docs/CampaignApi.md | 2 + .../docs/CampaignAttributesV202301.md | 1 + .../docs/CampaignV202301.md | 1 + .../docs/EditableCampaignAttributesV202301.md | 1 + .../docs/ExternalAccount.md | 1 + .../docs/RetailMediaAccount.md | 3 +- .../docs/RetailMediaBrandAccountCreation.md | 3 +- .../docs/RetailMediaSellerAccountCreation.md | 3 +- .../RmLegacyAudienceCreateInputEntityV1.md | 2 +- .../RmLegacyAudienceCreateInputEntityV2.md | 2 +- ...RmLegacyAudienceGetEntityV1ListResponse.md | 2 +- .../RmLegacyAudienceGetEntityV1Resource.md | 4 +- sdks/retailmedia_2024-07/docs/Section.md | 2 +- sdks/retailmedia_2024-07/setup.py | 6 +- .../.gitignore | 0 .../.gitlab-ci.yml | 2 +- .../.openapi-generator/FILES | 582 +++ .../.openapi-generator/VERSION | 0 .../README.md | 190 +- .../__init__.py | 31 + .../api/__init__.py | 2 +- .../api/accounts_api.py} | 495 ++- .../api/analytics_api.py | 168 +- .../api/audience_api.py | 1269 +++++++ .../api/balance_api.py | 1289 +++++++ .../api/campaign_api.py | 2705 ++++++++------ .../api/gateway_api.py | 10 +- .../api_client.py | 18 +- .../api_client_builder.py | 6 +- .../apis/__init__.py | 22 + .../configuration.py | 10 +- .../criteo_api_client.py | 4 +- .../criteo_auth.py | 6 +- .../criteo_rest.py | 6 +- .../exceptions.py | 2 +- .../flow_constants.py | 0 .../model/__init__.py | 2 +- .../model/add_funds_to_balance_v2.py} | 42 +- .../model/add_funds_to_balance_v2_request.py | 269 ++ .../model/add_remove_keyword_model.py | 8 +- .../model/add_remove_keywords_model.py | 8 +- .../add_remove_keywords_model_request.py | 8 +- .../add_remove_keywords_model_resource.py | 8 +- ...o_basket_ids_update_model202110_request.py | 8 +- .../add_to_basket_target202110_request.py | 8 +- .../add_to_basket_target202110_response.py | 10 +- .../model/application_summary_model.py | 6 +- .../application_summary_model_resource.py | 8 +- .../application_summary_model_response.py | 10 +- .../model/approval_status_model.py | 6 +- .../model/asset.py | 6 +- .../model/asset_resource.py | 8 +- .../model/asset_response.py | 10 +- .../model/async_campaigns_report.py | 6 +- .../model/async_campaigns_report_request.py | 8 +- .../model/async_campaigns_report_resource.py | 8 +- .../model/async_line_items_report.py | 6 +- .../model/async_line_items_report_request.py | 8 +- .../model/async_line_items_report_resource.py | 8 +- .../model/async_report_response.py | 10 +- .../model/async_revenue_report.py | 506 +++ .../model/async_revenue_report_request.py} | 22 +- .../model/async_revenue_report_resource.py} | 24 +- .../auction_line_item_create_model_request.py | 8 +- .../auction_line_item_paged_list_response.py | 12 +- .../model/auction_line_item_response.py | 10 +- .../auction_line_item_update_model_request.py | 8 +- .../model/audience_error.py | 310 ++ ...audience_ids_update_model202110_request.py | 8 +- .../model/audience_target202110_request.py | 8 +- .../model/audience_target202110_response.py | 10 +- .../model/audience_warning.py | 312 ++ .../balance_campaign202110_list_request.py | 8 +- ...ance_campaign202110_paged_list_response.py | 12 +- .../balance_history_change_data_capture_v1.py | 303 ++ .../model/balance_response_v2.py} | 126 +- .../model/balance_response_v2_response.py} | 38 +- .../model/campaign_attributes_v202301.py | 10 +- .../model/campaign_budget_overrides.py | 10 +- .../model/campaign_daily_budget_override.py | 6 +- .../model/campaign_monthly_budget_override.py | 6 +- .../model/campaign_v202301.py | 10 +- .../model/category202204.py | 6 +- .../model/category202204_list_response.py | 10 +- .../model/change_dates_of_balance_v2.py | 271 ++ .../change_dates_of_balance_v2_request.py} | 22 +- .../model/change_details_v1.py | 275 ++ .../model/choice_option.py | 8 +- .../model/choice_variable_specification.py | 8 +- .../model/choice_variable_value.py | 6 +- .../model/color_variable_value.py | 6 +- .../model/common_error.py | 6 +- .../common_line_item_paged_list_response.py | 12 +- .../model/common_line_item_response.py | 10 +- .../model/common_problem.py | 6 +- .../model/common_warning.py | 6 +- .../model/create_balance_v2.py} | 75 +- .../model/create_balance_v2_request.py} | 24 +- .../model/creative202110.py | 6 +- .../model/creative202110_list_response.py | 10 +- .../model/creative202210.py | 10 +- .../model/creative202210_response.py | 10 +- .../model/creative_create_model202207.py | 8 +- .../model/creative_update_model202207.py | 8 +- .../model/creative_v2_list_response.py | 281 ++ .../model/creative_v2_response.py} | 26 +- .../model/daily_line_item_budget_override.py | 6 +- .../editable_campaign_attributes_v202301.py | 10 +- .../model/error_code_response.py | 281 ++ .../model/external_account.py | 10 +- ...al_add_to_basket_ids_update_model202110.py | 6 +- .../external_add_to_basket_target202110.py | 6 +- .../model/external_auction_line_item.py | 6 +- ...external_auction_line_item_create_model.py | 6 +- ...external_auction_line_item_update_model.py | 6 +- ...xternal_audience_ids_update_model202110.py | 6 +- .../model/external_audience_target202110.py | 6 +- .../model/external_brand.py | 6 +- .../model/external_catalog_request.py | 6 +- .../model/external_catalog_status.py | 6 +- .../model/external_choice_variable_value.py} | 36 +- .../model/external_color_variable_value.py | 268 ++ .../model/external_common_line_item.py | 6 +- .../model/external_creative_v2.py | 361 ++ .../model/external_files_variable_value.py | 272 ++ .../external_hyperlink_variable_value.py | 263 ++ .../model/external_keyword_target202110.py | 6 +- .../external_line_item_bid_multipliers_v2.py} | 76 +- .../model/external_line_item_capping_v2.py} | 16 +- .../external_line_item_page_category_v2.py} | 12 +- .../model/external_line_item_page_v2.py} | 31 +- .../model/external_page_type_environment.py | 293 ++ ...al_preferred_line_item_create_model_v2.py} | 40 +- ...al_preferred_line_item_update_model_v2.py} | 36 +- .../model/external_preferred_line_item_v2.py} | 81 +- .../model/external_retailer.py | 6 +- .../model/external_retailer_pages202110.py | 6 +- .../external_store_ids_update_model202110.py | 6 +- .../model/external_store_target202110.py | 6 +- .../external_template_variable_value.py} | 74 +- .../model/external_text_variable_value.py} | 20 +- .../model/external_video_variable_value.py} | 62 +- .../model/files_variable_value.py | 6 +- .../model/files_variables_specification.py | 6 +- .../model/hyperlink_variable_value.py | 6 +- .../model/input_keywords_model.py | 6 +- ...ource_of_auction_line_item_create_model.py | 8 +- ...of_preferred_line_item_create_model_v2.py} | 22 +- ...attributes_v202301_and_campaign_v202301.py | 8 +- ...ith_id_of_int64_and_account_and_account.py | 8 +- ...dy_with_id_of_int64_and_brand_and_brand.py | 8 +- ...d_campaign_v202301_and_campaign_v202301.py | 8 +- ...4_and_catalog_status_and_catalog_status.py | 8 +- ...rs_v2_and_line_item_bid_multipliers_v2.py} | 22 +- ...h_id_of_int64_and_retailer_and_retailer.py | 8 +- ...attributes_v202301_and_campaign_v202301.py | 8 +- ..._of_catalog_request_and_catalog_request.py | 8 +- .../json_api_page_response_of_account.py | 14 +- .../model/json_api_page_response_of_brand.py | 14 +- ...n_api_page_response_of_campaign_v202301.py | 14 +- .../json_api_page_response_of_retailer.py | 14 +- .../json_api_request_of_catalog_request.py | 8 +- ...api_single_response_of_campaign_v202301.py | 12 +- ...n_api_single_response_of_catalog_status.py | 12 +- ...sponse_of_line_item_bid_multipliers_v2.py} | 38 +- .../model/keyword_data_model.py | 12 +- .../model/keyword_target202110_request.py | 8 +- .../model/keyword_target202110_response.py | 10 +- .../model/keywords_model.py | 8 +- .../model/keywords_model_resource.py | 8 +- .../model/keywords_model_response.py | 10 +- .../line_item_bid_multipliers_v2_request.py} | 22 +- .../line_item_bid_multipliers_v2_response.py} | 24 +- .../model/line_item_budget_overrides.py | 10 +- .../model/line_item_product_status.py | 291 ++ .../model/match_type_model.py | 6 +- .../model/metadata.py | 273 ++ .../monthly_line_item_budeget_override.py | 6 +- .../model/negotiation_state_model.py | 6 +- .../model/nillable_string.py | 263 ++ .../model/page_metadata.py | 6 +- ..._balance_history_change_data_capture_v1.py | 276 ++ .../model/page_type_environment.py | 6 +- ...lection_outcome_of_balance_response_v2.py} | 40 +- .../model/post_campaign_v202301.py | 8 +- ...rred_line_item_create_model_v2_request.py} | 22 +- ...erred_line_item_update_model_v2_request.py | 269 ++ ...erred_line_item_v2_paged_list_response.py} | 40 +- .../model/preferred_line_item_v2_response.py | 281 ++ .../model/problem_details.py | 6 +- .../model/product_metadata.py | 269 ++ .../model/product_resource_outcome.py | 266 ++ .../model/promoted_product.py | 270 ++ .../model/promoted_product_resource.py | 270 ++ ...moted_product_resource_collection_input.py | 262 ++ ...ed_product_resource_collection_outcome.py} | 59 +- .../model/proposal_status_model.py | 10 +- .../model/proposal_status_model_resource.py | 8 +- .../model/proposal_status_model_response.py | 10 +- .../model/put_campaign_v202301.py | 8 +- .../model/report_outcome.py | 8 +- .../resource_of_add_funds_to_balance_v2.py} | 24 +- .../model/resource_of_auction_line_item.py | 8 +- ...ource_of_auction_line_item_update_model.py | 8 +- .../resource_of_balance_campaign202110.py | 6 +- .../model/resource_of_balance_response_v2.py} | 24 +- .../model/resource_of_category202204.py | 8 +- ...resource_of_change_dates_of_balance_v2.py} | 22 +- .../model/resource_of_common_line_item.py | 8 +- .../model/resource_of_create_balance_v2.py | 277 ++ .../model/resource_of_creative202110.py | 8 +- .../model/resource_of_creative202210.py | 8 +- .../model/resource_of_creative_v2.py | 277 ++ ...esource_of_line_item_bid_multipliers_v2.py | 277 ++ ..._of_preferred_line_item_update_model_v2.py | 277 ++ .../resource_of_preferred_line_item_v2.py} | 22 +- .../model/resource_of_retail_media_account.py | 270 ++ .../model/resource_of_template.py | 8 +- .../resource_of_update_balance_model_v2.py | 277 ++ .../model/resource_outcome.py | 8 +- ...esource_outcome_of_retail_media_account.py | 274 ++ .../model/retail_media_account.py | 301 ++ .../retail_media_brand_account_creation.py | 269 ++ .../model/retail_media_brands.py | 257 ++ .../retail_media_contactlist_amendment.py} | 44 +- ..._media_contactlist_amendment_attributes.py | 292 ++ ...ail_media_contactlist_amendment_request.py | 275 ++ .../retail_media_contactlist_operation.py} | 28 +- ...tactlist_operation_response_attributes.py} | 24 +- ...eration_response_attributes_attributes.py} | 78 +- .../model/retail_media_seller.py | 261 ++ .../retail_media_seller_account_creation.py | 274 ++ .../model/review_state_model.py | 6 +- .../model/rm_algebra_node_v1.py | 275 ++ .../model/rm_audience_entity_v1.py} | 78 +- .../model/rm_audience_entity_v1_resource.py} | 22 +- ...dience_search_metadata_v1_list_response.py | 287 ++ .../model/rm_audience_search_entity_v1.py | 271 ++ .../rm_audience_search_entity_v1_resource.py | 273 ++ .../model/rm_audience_search_input_v1.py} | 24 +- .../model/rm_audience_search_metadata_v1.py | 271 ++ ...m_audience_segment_bulk_create_input_v1.py | 269 ++ ...m_audience_segment_bulk_delete_input_v1.py | 269 ++ ...m_audience_segment_bulk_update_input_v1.py | 269 ++ .../rm_audience_segment_create_entity_v1.py} | 50 +- ...ience_segment_create_entity_v1_resource.py | 273 ++ ...ience_segment_delete_entity_v1_resource.py | 271 ++ .../model/rm_audience_segment_entity_v1.py | 323 ++ ...dience_segment_entity_v1_list_response.py} | 24 +- ...rm_audience_segment_entity_v1_resource.py} | 22 +- ...egment_search_metadata_v1_list_response.py | 287 ++ ...nce_segment_id_entity_v1_list_response.py} | 24 +- ..._audience_segment_id_entity_v1_resource.py | 271 ++ .../rm_audience_segment_search_entity_v1.py | 277 ++ ...ience_segment_search_entity_v1_resource.py | 273 ++ .../rm_audience_segment_search_input_v1.py} | 22 +- .../rm_audience_segment_search_metadata_v1.py | 271 ++ .../rm_audience_segment_update_entity_v1.py} | 44 +- ...ence_segment_update_entity_v1_resource.py} | 22 +- .../model/rm_contact_list_create_v1.py | 270 ++ .../rm_contact_list_statistics_entity_v1.py | 271 ++ ...tact_list_statistics_entity_v1_resource.py | 277 ++ ...act_list_statistics_entity_v1_response.py} | 24 +- .../model/rm_contact_list_v1.py} | 62 +- .../model/rm_events_v1.py} | 96 +- .../model/rmca_common_problem.py | 6 +- .../model/section.py | 22 +- .../model/set_bid_model.py | 6 +- .../model/set_bids_model.py | 8 +- .../model/set_bids_model_request.py | 8 +- .../model/set_bids_model_resource.py | 8 +- .../model/status_response.py | 6 +- .../model/status_response_resource.py | 8 +- .../store_ids_update_model202110_request.py | 8 +- .../model/store_target202110_request.py | 8 +- .../model/store_target202110_response.py | 10 +- .../model/template.py | 8 +- .../model/template_list_response.py | 10 +- .../model/template_response.py | 10 +- .../model/template_variable.py | 12 +- .../model/template_variable_value.py | 16 +- .../model/text_variable_specification.py | 6 +- .../model/text_variable_value.py | 6 +- .../model/update_balance_model_v2.py | 279 ++ .../model/update_balance_model_v2_request.py | 269 ++ ...collection_input_of_retail_media_seller.py | 262 ++ ...llection_outcome_of_retail_media_seller.py | 274 ++ ...urce_input_of_campaign_budget_overrides.py | 8 +- ...rce_input_of_line_item_budget_overrides.py | 8 +- ..._of_retail_media_brand_account_creation.py | 262 ++ ...e_resource_input_of_retail_media_brands.py | 262 ++ ...of_retail_media_seller_account_creation.py | 262 ++ ...e_resource_of_campaign_budget_overrides.py | 8 +- ..._resource_of_line_item_budget_overrides.py | 8 +- ..._of_retail_media_brand_account_creation.py | 266 ++ .../value_resource_of_retail_media_brands.py | 266 ++ .../value_resource_of_retail_media_seller.py | 266 ++ ...of_retail_media_seller_account_creation.py | 266 ++ ...ce_outcome_of_campaign_budget_overrides.py | 10 +- ...e_outcome_of_line_item_budget_overrides.py | 10 +- ...of_add_to_basket_ids_update_model202110.py | 8 +- ..._resource_of_add_to_basket_target202110.py | 8 +- ...urce_of_audience_ids_update_model202110.py | 8 +- ..._type_resource_of_audience_target202110.py | 8 +- ...e_type_resource_of_keyword_target202110.py | 8 +- ...esource_of_store_ids_update_model202110.py | 8 +- ...lue_type_resource_of_store_target202110.py | 8 +- .../model_utils.py | 4 +- .../models/__init__.py | 281 ++ .../criteo_api_retailmedia_v2024_10}/rest.py | 4 +- sdks/retailmedia_2024-10/docs/AccountsApi.md | 635 ++++ .../docs/AddFundsToBalanceV2.md | 15 + .../docs/AddFundsToBalanceV2Request.md | 13 + .../docs/AddRemoveKeywordModel.md | 0 .../docs/AddRemoveKeywordsModel.md | 0 .../docs/AddRemoveKeywordsModelRequest.md | 0 .../docs/AddRemoveKeywordsModelResource.md | 0 .../AddToBasketIdsUpdateModel202110Request.md | 0 .../docs/AddToBasketTarget202110Request.md | 0 .../docs/AddToBasketTarget202110Response.md | 0 .../docs/AnalyticsApi.md | 211 +- .../docs/ApplicationSummaryModel.md | 0 .../docs/ApplicationSummaryModelResource.md | 0 .../docs/ApplicationSummaryModelResponse.md | 0 .../docs/ApprovalStatusModel.md | 0 .../docs/Asset.md | 0 .../docs/AssetResource.md | 0 .../docs/AssetResponse.md | 0 .../docs/AsyncCampaignsReport.md | 0 .../docs/AsyncCampaignsReportRequest.md | 0 .../docs/AsyncCampaignsReportResource.md | 0 .../docs/AsyncLineItemsReport.md | 0 .../docs/AsyncLineItemsReportRequest.md | 0 .../docs/AsyncLineItemsReportResource.md | 0 .../docs/AsyncReportResponse.md | 0 .../docs/AsyncRevenueReport.md | 30 + .../docs/AsyncRevenueReportRequest.md | 13 + .../docs/AsyncRevenueReportResource.md} | 4 +- .../docs/AuctionLineItemCreateModelRequest.md | 0 .../docs/AuctionLineItemPagedListResponse.md | 0 .../docs/AuctionLineItemResponse.md | 0 .../docs/AuctionLineItemUpdateModelRequest.md | 0 sdks/retailmedia_2024-10/docs/AudienceApi.md | 829 +++++ .../retailmedia_2024-10/docs/AudienceError.md | 20 + .../AudienceIdsUpdateModel202110Request.md | 0 .../docs/AudienceTarget202110Request.md | 0 .../docs/AudienceTarget202110Response.md | 0 .../docs/AudienceWarning.md | 20 + sdks/retailmedia_2024-10/docs/BalanceApi.md | 800 ++++ .../docs/BalanceCampaign202110ListRequest.md | 0 .../BalanceCampaign202110PagedListResponse.md | 0 .../docs/BalanceHistoryChangeDataCaptureV1.md | 16 + .../docs/BalanceResponseV2.md | 26 + .../docs/BalanceResponseV2Response.md | 15 + .../docs/CampaignApi.md | 3285 +++++++++-------- .../docs/CampaignAttributesV202301.md | 1 + .../docs/CampaignBudgetOverrides.md | 0 .../docs/CampaignDailyBudgetOverride.md | 0 .../docs/CampaignMonthlyBudgetOverride.md | 0 .../docs/CampaignV202301.md | 1 + .../docs/Category202204.md | 0 .../docs/Category202204ListResponse.md | 0 .../docs/ChangeDatesOfBalanceV2.md | 15 + .../docs/ChangeDatesOfBalanceV2Request.md | 13 + .../docs/ChangeDetailsV1.md | 14 + .../docs/ChoiceOption.md | 0 .../docs/ChoiceVariableSpecification.md | 0 .../docs/ChoiceVariableValue.md | 0 .../docs/ColorVariableValue.md | 0 .../docs/CommonError.md | 0 .../docs/CommonLineItemPagedListResponse.md | 0 .../docs/CommonLineItemResponse.md | 0 .../docs/CommonProblem.md | 0 .../docs/CommonWarning.md | 0 .../docs/CreateBalanceV2.md | 19 + .../docs/CreateBalanceV2Request.md | 13 + .../docs/Creative202110.md | 0 .../docs/Creative202110ListResponse.md | 0 .../docs/Creative202210.md | 0 .../docs/Creative202210Response.md | 0 .../docs/CreativeCreateModel202207.md | 0 .../docs/CreativeUpdateModel202207.md | 0 .../docs/CreativeV2ListResponse.md} | 4 +- .../docs/CreativeV2Response.md} | 4 +- .../docs/DailyLineItemBudgetOverride.md | 0 .../docs/EditableCampaignAttributesV202301.md | 1 + .../docs/ErrorCodeResponse.md} | 7 +- .../docs/ExternalAccount.md | 1 + ...ExternalAddToBasketIdsUpdateModel202110.md | 0 .../docs/ExternalAddToBasketTarget202110.md | 0 .../docs/ExternalAuctionLineItem.md | 0 .../ExternalAuctionLineItemCreateModel.md | 0 .../ExternalAuctionLineItemUpdateModel.md | 0 .../ExternalAudienceIdsUpdateModel202110.md | 0 .../docs/ExternalAudienceTarget202110.md | 0 .../docs/ExternalBrand.md | 0 .../docs/ExternalCatalogRequest.md | 0 .../docs/ExternalCatalogStatus.md | 0 .../docs/ExternalChoiceVariableValue.md | 13 + .../docs/ExternalColorVariableValue.md | 13 + .../docs/ExternalCommonLineItem.md | 0 .../docs/ExternalCreativeV2.md | 24 + .../docs/ExternalFilesVariableValue.md | 13 + .../docs/ExternalHyperlinkVariableValue.md | 13 + .../docs/ExternalKeywordTarget202110.md | 0 .../docs/ExternalLineItemBidMultipliersV2.md | 23 + .../docs/ExternalLineItemCappingV2.md | 14 + .../docs/ExternalLineItemPageCategoryV2.md} | 2 +- .../docs/ExternalLineItemPageV2.md} | 6 +- .../docs/ExternalPageTypeEnvironment.md | 14 + ...ExternalPreferredLineItemCreateModelV2.md} | 10 +- ...ExternalPreferredLineItemUpdateModelV2.md} | 8 +- .../docs/ExternalPreferredLineItemV2.md} | 18 +- .../docs/ExternalRetailer.md | 0 .../docs/ExternalRetailerPages202110.md | 0 .../docs/ExternalStoreIdsUpdateModel202110.md | 0 .../docs/ExternalStoreTarget202110.md | 0 .../docs/ExternalTemplateVariableValue.md | 19 + .../docs/ExternalTextVariableValue.md} | 6 +- .../docs/ExternalVideoVariableValue.md | 16 + .../docs/FilesVariableValue.md | 0 .../docs/FilesVariablesSpecification.md | 0 .../docs/GatewayApi.md | 20 +- .../docs/HyperlinkVariableValue.md | 0 .../docs/InputKeywordsModel.md | 0 ...putResourceOfAuctionLineItemCreateModel.md | 0 ...sourceOfPreferredLineItemCreateModelV2.md} | 4 +- ...aignAttributesV202301AndCampaignV202301.md | 0 ...piBodyWithIdOfInt64AndAccountAndAccount.md | 0 ...sonApiBodyWithIdOfInt64AndBrandAndBrand.md | 0 ...t64AndCampaignV202301AndCampaignV202301.md | 0 ...OfInt64AndCatalogStatusAndCatalogStatus.md | 0 ...ltipliersV2AndLineItemBidMultipliersV2.md} | 6 +- ...BodyWithIdOfInt64AndRetailerAndRetailer.md | 0 ...aignAttributesV202301AndCampaignV202301.md | 0 ...houtIdOfCatalogRequestAndCatalogRequest.md | 0 .../docs/JsonApiPageResponseOfAccount.md | 0 .../docs/JsonApiPageResponseOfBrand.md | 0 .../JsonApiPageResponseOfCampaignV202301.md | 0 .../docs/JsonApiPageResponseOfRetailer.md | 0 .../docs/JsonApiRequestOfCatalogRequest.md | 0 .../JsonApiSingleResponseOfCampaignV202301.md | 0 .../JsonApiSingleResponseOfCatalogStatus.md | 0 ...ingleResponseOfLineItemBidMultipliersV2.md | 15 + .../docs/KeywordDataModel.md | 0 .../docs/KeywordTarget202110Request.md | 0 .../docs/KeywordTarget202110Response.md | 0 .../docs/KeywordsModel.md | 0 .../docs/KeywordsModelResource.md | 0 .../docs/KeywordsModelResponse.md | 0 .../docs/LineItemBidMultipliersV2Request.md | 13 + .../docs/LineItemBidMultipliersV2Response.md} | 4 +- .../docs/LineItemBudgetOverrides.md | 0 .../docs/LineItemProductStatus.md | 12 + .../docs/MatchTypeModel.md | 0 sdks/retailmedia_2024-10/docs/Metadata.md | 14 + .../docs/MonthlyLineItemBudegetOverride.md | 0 .../docs/NegotiationStateModel.md | 0 .../docs/NillableString.md | 13 + .../docs/PageMetadata.md | 0 ...PageOfBalanceHistoryChangeDataCaptureV1.md | 13 + .../docs/PageTypeEnvironment.md | 0 ...ceCollectionOutcomeOfBalanceResponseV2.md} | 8 +- .../docs/PostCampaignV202301.md | 0 .../PreferredLineItemCreateModelV2Request.md} | 4 +- .../PreferredLineItemUpdateModelV2Request.md} | 4 +- .../PreferredLineItemV2PagedListResponse.md} | 8 +- .../docs/PreferredLineItemV2Response.md | 15 + .../docs/ProblemDetails.md | 0 .../docs/ProductMetadata.md | 15 + .../docs/ProductResourceOutcome.md | 13 + .../docs/PromotedProduct.md | 14 + .../docs/PromotedProductResource.md | 14 + .../PromotedProductResourceCollectionInput.md | 12 + ...romotedProductResourceCollectionOutcome.md | 15 + .../docs/ProposalStatusModel.md | 0 .../docs/ProposalStatusModelResource.md | 0 .../docs/ProposalStatusModelResponse.md | 0 .../docs/PutCampaignV202301.md | 0 .../docs/ReportOutcome.md | 0 .../docs/ResourceOfAddFundsToBalanceV2.md} | 6 +- .../docs/ResourceOfAuctionLineItem.md | 0 .../ResourceOfAuctionLineItemUpdateModel.md | 0 .../docs/ResourceOfBalanceCampaign202110.md | 0 .../docs/ResourceOfBalanceResponseV2.md | 15 + .../docs/ResourceOfCategory202204.md | 0 .../docs/ResourceOfChangeDatesOfBalanceV2.md | 15 + .../docs/ResourceOfCommonLineItem.md | 0 .../docs/ResourceOfCreateBalanceV2.md} | 6 +- .../docs/ResourceOfCreative202110.md | 0 .../docs/ResourceOfCreative202210.md | 0 .../docs/ResourceOfCreativeV2.md | 15 + .../ResourceOfLineItemBidMultipliersV2.md | 15 + ...sourceOfPreferredLineItemUpdateModelV2.md} | 4 +- .../docs/ResourceOfPreferredLineItemV2.md} | 4 +- .../docs/ResourceOfRetailMediaAccount.md | 14 + .../docs/ResourceOfTemplate.md | 0 .../docs/ResourceOfUpdateBalanceModelV2.md | 15 + .../docs/ResourceOutcome.md | 0 .../ResourceOutcomeOfRetailMediaAccount.md | 14 + .../docs/RetailMediaAccount.md | 20 + .../docs/RetailMediaBrandAccountCreation.md | 15 + .../docs/RetailMediaBrands.md | 12 + .../docs/RetailMediaContactlistAmendment.md | 14 + ...tailMediaContactlistAmendmentAttributes.md | 15 + .../RetailMediaContactlistAmendmentRequest.md | 13 + .../docs/RetailMediaContactlistOperation.md} | 6 +- ...ContactlistOperationResponseAttributes.md} | 6 +- ...stOperationResponseAttributesAttributes.md | 19 + .../docs/RetailMediaSeller.md | 13 + .../docs/RetailMediaSellerAccountCreation.md | 15 + .../docs/ReviewStateModel.md | 0 .../docs/RmAlgebraNodeV1.md | 16 + .../docs/RmAudienceEntityV1.md | 21 + .../docs/RmAudienceEntityV1Resource.md} | 4 +- ...RmAudienceSearchMetadataV1ListResponse.md} | 5 +- .../docs/RmAudienceSearchEntityV1.md | 15 + .../docs/RmAudienceSearchEntityV1Resource.md} | 4 +- .../docs/RmAudienceSearchInputV1.md | 13 + .../docs/RmAudienceSearchMetadataV1.md | 15 + .../RmAudienceSegmentBulkCreateInputV1.md} | 6 +- .../RmAudienceSegmentBulkDeleteInputV1.md} | 6 +- .../RmAudienceSegmentBulkUpdateInputV1.md | 13 + .../docs/RmAudienceSegmentCreateEntityV1.md | 16 + ...RmAudienceSegmentCreateEntityV1Resource.md | 14 + ...RmAudienceSegmentDeleteEntityV1Resource.md | 15 + .../docs/RmAudienceSegmentEntityV1.md | 23 + .../RmAudienceSegmentEntityV1ListResponse.md} | 4 +- .../RmAudienceSegmentEntityV1Resource.md} | 4 +- ...enceSegmentSearchMetadataV1ListResponse.md | 16 + ...mAudienceSegmentIdEntityV1ListResponse.md} | 6 +- .../RmAudienceSegmentIdEntityV1Resource.md | 15 + .../docs/RmAudienceSegmentSearchEntityV1.md | 15 + ...RmAudienceSegmentSearchEntityV1Resource.md | 14 + .../docs/RmAudienceSegmentSearchInputV1.md} | 8 +- .../docs/RmAudienceSegmentSearchMetadataV1.md | 15 + .../docs/RmAudienceSegmentUpdateEntityV1.md} | 10 +- ...mAudienceSegmentUpdateEntityV1Resource.md} | 4 +- .../docs/RmContactListCreateV1.md | 13 + .../docs/RmContactListStatisticsEntityV1.md | 15 + ...RmContactListStatisticsEntityV1Resource.md | 15 + ...RmContactListStatisticsEntityV1Response.md | 15 + .../docs/RmContactListV1.md | 15 + .../docs/RmEventsV1.md} | 2 +- .../docs/RmcaCommonProblem.md | 0 .../docs/Section.md | 2 +- .../docs/SetBidModel.md | 0 .../docs/SetBidsModel.md | 0 .../docs/SetBidsModelRequest.md | 0 .../docs/SetBidsModelResource.md | 0 .../docs/StatusResponse.md | 0 .../docs/StatusResponseResource.md | 0 .../docs/StoreIdsUpdateModel202110Request.md | 0 .../docs/StoreTarget202110Request.md | 0 .../docs/StoreTarget202110Response.md | 0 .../docs/Template.md | 0 .../docs/TemplateListResponse.md | 0 .../docs/TemplateResponse.md | 0 .../docs/TemplateVariable.md | 0 .../docs/TemplateVariableValue.md | 0 .../docs/TextVariableSpecification.md | 0 .../docs/TextVariableValue.md | 0 .../docs/UpdateBalanceModelV2.md | 17 + .../docs/UpdateBalanceModelV2Request.md | 13 + ...ourceCollectionInputOfRetailMediaSeller.md | 12 + ...rceCollectionOutcomeOfRetailMediaSeller.md | 14 + ...eResourceInputOfCampaignBudgetOverrides.md | 0 ...eResourceInputOfLineItemBudgetOverrides.md | 0 ...eInputOfRetailMediaBrandAccountCreation.md | 12 + .../ValueResourceInputOfRetailMediaBrands.md | 12 + ...InputOfRetailMediaSellerAccountCreation.md | 12 + .../ValueResourceOfCampaignBudgetOverrides.md | 0 .../ValueResourceOfLineItemBudgetOverrides.md | 0 ...sourceOfRetailMediaBrandAccountCreation.md | 13 + .../docs/ValueResourceOfRetailMediaBrands.md | 13 + .../docs/ValueResourceOfRetailMediaSeller.md | 13 + ...ourceOfRetailMediaSellerAccountCreation.md | 13 + ...esourceOutcomeOfCampaignBudgetOverrides.md | 0 ...esourceOutcomeOfLineItemBudgetOverrides.md | 0 ...sourceOfAddToBasketIdsUpdateModel202110.md | 0 ...ueTypeResourceOfAddToBasketTarget202110.md | 0 ...eResourceOfAudienceIdsUpdateModel202110.md | 0 ...ValueTypeResourceOfAudienceTarget202110.md | 0 .../ValueTypeResourceOfKeywordTarget202110.md | 0 ...TypeResourceOfStoreIdsUpdateModel202110.md | 0 .../ValueTypeResourceOfStoreTarget202110.md | 0 .../requirements.txt | 0 .../setup.cfg | 0 .../setup.py | 8 +- .../test-requirements.txt | 0 .../example_application_with_auth_code.py | 4 +- ...ple_application_with_client_credentials.py | 4 +- .../example_application_with_refresh_token.py | 4 +- .../test/test_gateway_api.py | 6 +- .../tox.ini | 2 +- .../.openapi-generator/FILES | 102 +- sdks/retailmedia_preview/README.md | 58 +- .../__init__.py | 2 +- .../api/accounts_api.py | 148 + .../api/analytics_api.py | 6 +- .../api/audience_api.py | 321 +- .../api/campaign_api.py | 564 --- .../api/on_site_recommendation_api.py} | 82 +- .../api_client.py | 2 +- .../apis/__init__.py | 1 + .../configuration.py | 2 +- .../model/bot_message.py | 277 ++ .../model/botmessage.py | 329 ++ ...ection_outcome_of_retail_media_account.py} | 16 +- ...entity_resource_of_retail_media_account.py | 277 ++ .../model/external_account.py | 4 + ...v2.py => external_retail_media_account.py} | 86 +- .../model/http_validation_error.py} | 26 +- .../model/inbot_discussion.py | 272 ++ .../model/inbot_discussion_body_model.py} | 24 +- .../inbot_discussion_data_instance_model.py} | 38 +- .../model/location_inner.py | 259 ++ ...cy_segment_customer_list.py => message.py} | 40 +- .../model/message_body_model.py} | 28 +- .../model/message_data_instance_model.py | 279 ++ .../model/message_error.py | 275 ++ .../model/product.py | 4 + ...havior_v1.py => product_recommendation.py} | 93 +- .../model/report_detail_warning.py | 285 ++ .../model/report_detail_warnings.py | 281 ++ .../model/report_ok_response.py | 18 +- .../model/retail_media_account.py | 8 +- .../retail_media_seller_account_creation.py | 8 +- ...or_details_v2.py => rm_algebra_node_v1.py} | 46 +- ...1_resource.py => rm_audience_entity_v1.py} | 69 +- ...e.py => rm_audience_entity_v1_resource.py} | 16 +- ...ience_search_metadata_v1_list_response.py} | 22 +- .../model/rm_audience_search_entity_v1.py | 271 ++ .../rm_audience_search_entity_v1_resource.py | 273 ++ .../model/rm_audience_search_input_v1.py | 269 ++ .../model/rm_audience_search_metadata_v1.py | 271 ++ .../rm_audience_segment_create_entity_v1.py | 26 +- .../model/rm_audience_segment_entity_v1.py | 14 +- .../rm_audience_segment_search_entity_v1.py | 2 +- .../model/rm_contact_list_v1.py | 10 +- ...rm_user_behavior_v1.py => rm_events_v1.py} | 6 +- .../model/rm_legacy_audience_get_entity_v1.py | 291 -- .../rm_legacy_segment_user_behavior_v2.py | 311 -- .../model/validation_error.py | 287 ++ .../models/__init__.py | 50 +- sdks/retailmedia_preview/docs/AccountsApi.md | 98 + sdks/retailmedia_preview/docs/AnalyticsApi.md | 6 +- sdks/retailmedia_preview/docs/AudienceApi.md | 242 +- sdks/retailmedia_preview/docs/BotMessage.md | 15 + .../docs/Botmessage.md} | 12 +- sdks/retailmedia_preview/docs/CampaignApi.md | 406 -- sdks/retailmedia_preview/docs/CatalogApi.md | 1 + ...ceCollectionOutcomeOfRetailMediaAccount.md | 15 + .../EntityResourceOfRetailMediaAccount.md} | 7 +- .../docs/ExternalAccount.md | 1 + .../docs/ExternalRetailMediaAccount.md | 21 + .../docs/HttpValidationError.md} | 6 +- .../docs/InbotDiscussion.md | 13 + .../docs/InbotDiscussionBodyModel.md | 13 + .../docs/InbotDiscussionDataInstanceModel.md | 14 + .../docs/LocationInner.md} | 5 +- sdks/retailmedia_preview/docs/Message.md | 14 + .../docs/MessageBodyModel.md | 14 + .../docs/MessageDataInstanceModel.md | 14 + sdks/retailmedia_preview/docs/MessageError.md | 16 + .../docs/OnSiteRecommendationApi.md | 113 + sdks/retailmedia_preview/docs/Product.md | 1 + .../docs/ProductRecommendation.md | 20 + .../docs/ReportDetailWarning.md | 15 + .../docs/ReportDetailWarnings.md | 14 + .../docs/ReportOkResponse.md | 2 + .../docs/RetailMediaAccount.md | 3 +- .../docs/RetailMediaSellerAccountCreation.md | 3 +- .../docs/RmAlgebraNodeV1.md | 16 + .../docs/RmAudienceEntityV1.md | 21 + .../docs/RmAudienceEntityV1Resource.md} | 4 +- ...1RmAudienceSearchMetadataV1ListResponse.md | 16 + .../docs/RmAudienceSearchEntityV1.md | 15 + .../docs/RmAudienceSearchEntityV1Resource.md | 14 + .../docs/RmAudienceSearchInputV1.md | 13 + .../docs/RmAudienceSearchMetadataV1.md | 15 + .../RmAudienceSegmentBulkCreateInputV1.md | 2 +- .../RmAudienceSegmentBulkDeleteInputV1.md | 2 +- .../RmAudienceSegmentBulkUpdateInputV1.md | 2 +- .../docs/RmAudienceSegmentCreateEntityV1.md | 4 +- .../docs/RmAudienceSegmentEntityV1.md | 2 +- .../docs/RmAudienceSegmentSearchInputV1.md | 2 +- .../docs/RmContactListV1.md | 2 +- sdks/retailmedia_preview/docs/RmEventsV1.md | 18 + .../docs/RmLegacyAudienceGetEntityV1.md | 16 - .../RmLegacyAudienceGetEntityV1Resource.md | 16 - .../docs/RmLegacyAudienceGetEntityV2.md | 16 - .../RmLegacyAudienceUserBehaviorDetailsV2.md | 14 - .../docs/RmLegacySegmentCustomerList.md | 14 - .../docs/RmLegacySegmentUserBehaviorV1.md | 16 - .../docs/RmLegacySegmentUserBehaviorV2.md | 18 - .../docs/ValidationError.md} | 7 +- sdks/retailmedia_preview/setup.py | 6 +- 1514 files changed, 47980 insertions(+), 21916 deletions(-) delete mode 100644 sdks/marketingsolutions_2023-07/.openapi-generator/FILES delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/__init__.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_geo_location.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_attributes.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_spend_limit.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_geo_location.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_resource.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/delete_audience_response.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_attributes.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_response.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_bidding.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience_response.py delete mode 100644 sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/models/__init__.py delete mode 100644 sdks/marketingsolutions_2023-07/docs/AudienceAttributes.md delete mode 100644 sdks/marketingsolutions_2023-07/docs/CampaignSpendLimit.md delete mode 100644 sdks/marketingsolutions_2023-07/docs/NewAudienceAttributes.md delete mode 100644 sdks/marketingsolutions_2023-07/docs/NewAudienceResponse.md delete mode 100644 sdks/marketingsolutions_2023-07/docs/ReplaceAudience.md delete mode 100644 sdks/marketingsolutions_2023-07/docs/ReplaceAudienceResponse.md rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/.gitignore (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/.gitlab-ci.yml (87%) create mode 100644 sdks/marketingsolutions_2024-10/.openapi-generator/FILES rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/.openapi-generator/VERSION (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/README.md (85%) create mode 100644 sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/__init__.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/api/__init__.py (73%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/api/advertiser_api.py (94%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/api/analytics_api.py (95%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/api/audience_api.py (85%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/api/campaign_api.py (91%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/api/creative_api.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/api/gateway_api.py (94%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/api_client.py (99%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/api_client_builder.py (87%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/apis/__init__.py (52%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/configuration.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/criteo_api_client.py (80%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/criteo_auth.py (95%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/criteo_rest.py (94%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/exceptions.py (99%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/flow_constants.py (100%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/__init__.py (82%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_audience_link_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_audience_link_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_audience_link_entity_v1_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_audience_link_input_entity_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_category_bid.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_category_bid_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_category_bid_resource.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_delivery_limitations_v24_q1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_display_multiplier.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_display_multiplier_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_display_multiplier_resource.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_frequency_capping_v24_q1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_geo_location_v24_q1.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_search_filter_v24_q1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_search_request_v24_q1.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_targeting_rule_v24_q1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_set_targeting_v24_q1.py (95%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_write.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_write_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/ad_write_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/adaptive_attributes.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/adaptive_colors.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/adaptive_write_attributes.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/algebra_node_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/application_summary_model.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/application_summary_model_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/application_summary_model_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_bulk_create_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_bulk_delete_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_bulk_update_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_compute_size_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_compute_sizes_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_create_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_create_entity_v1_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_delete_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_entity_v1_audience_search_metadata_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_entity_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_error.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_estimate_size_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_estimate_size_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_estimate_size_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_id_entity_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_id_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_name_description.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_search_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_search_entity_v1_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_search_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_search_metadata_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_bulk_create_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_bulk_delete_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_bulk_update_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_compute_size_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_compute_sizes_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_create_entity_v1.py (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_create_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_delete_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_entity_v1.py (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_entity_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_estimate_size_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_id_entity_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_id_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_search_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_search_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_search_input_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_search_metadata_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_entity_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_entity_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_size_estimation_v1_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_update_entity_v1.py (95%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_segment_update_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_size_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_size_entity_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_size_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_size_estimation_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_size_estimation_v1_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_size_estimation_v1_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_update_entity_v1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_update_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/audience_warning.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/basic_audience_definition.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/behavioral_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_search_filters.py => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_search_filters_v23_q1.py} (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_search_request.py => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_search_request_v23_q1.py} (93%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/campaign_spend_limit_v23_q1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/campaign_v23_q1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/responses_read_ad_set.py => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_list_response.py} (93%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/campaign_v23_q1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/campaign_v23_q1_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/common_problem.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/contact_list_statistics_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/contact_list_statistics_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/contact_list_statistics_entity_v1_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/contact_list_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/contactlist_amendment.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/contactlist_amendment_attributes.py (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/contactlist_amendment_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/contactlist_operation.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/contactlist_operation_attributes.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/coupon.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/coupon_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/coupon_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/coupon_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/coupon_supported_sizes.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/coupon_supported_sizes_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/coupon_supported_sizes_response.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_bidding_v24_q1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_budget_v24_q1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_geo_location_v24_q1.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_schedule_v24_q1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_targeting_v24_q1.py (95%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_v24_q1.py (95%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_v24_q1_request.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_ad_set_v24_q1_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_campaign.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_campaign_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_campaign_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_campaign_spend_limit.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_coupon.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_coupon_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_coupon_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/create_image_slide.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/creative.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/creative_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/creative_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/creative_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/creative_write.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/creative_write_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/creative_write_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/criteo_api_error.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/criteo_api_warning.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/delete_audience_contact_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/dynamic_attributes.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/dynamic_write_attributes.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/entity_of_portfolio_message.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/error_code_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/get_portfolio_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/html_tag_attributes.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/html_tag_write_attributes.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/image_attributes.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/image_set.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/image_set_base64.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/image_shape.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/image_slide.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/image_write_attributes.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_brand_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_brand_entity_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_brand_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_interest_entity_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_interest_entity_v1_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_audience_segment_interest_entity_v1_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_create_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_size_estimation_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_update_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/in_market_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/location_create_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/location_size_estimation_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/location_update_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/location_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/lookalike_create_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/lookalike_update_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/lookalike_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/modify_audience_response.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/nillable_ad_set_targeting_rule_v24_q1.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/nillable_ad_set_targeting_rule_v24_q1_value.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/nillable_date_time.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/nillable_decimal.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/nillable_gender_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/nillable_int32.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/nillable_string.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/outcome.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_bidding_v24_q1.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_budget_v24_q1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid_list_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid_result_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_category_bid_result_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier_list_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier_result_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_display_multiplier_result_resource.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_scheduling_v24_q1.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_ad_set_v24_q1.py (95%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_campaign.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_campaign_list_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_campaign_spend_limit.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_campaign_write_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_result_campaign_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/patch_result_campaign_read_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/placements_report_query_message.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/placements_report_query_message_list_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/placements_report_query_message_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/point_of_interest_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/portfolio_message.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/prospecting_create_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/prospecting_update_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/prospecting_v1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/read_ad_set_bidding_v24_q1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/read_ad_set_budget_v24_q1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/read_ad_set_schedule_v24_q1.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/read_ad_set_v24_q1.py (95%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/read_model_ad_set_id.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/read_model_ad_set_id_v24_q1.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/read_model_read_ad_set_v24_q1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/requests_ad_set_id.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/requests_patch_ad_set_v24_q1.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/response_read_ad_set_v24_q1.py (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/responses_ad_set_id.py (97%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/responses_ad_set_id_v24_q1.py (96%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/responses_read_ad_set_v24_q1.py (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/retargeting_create_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/retargeting_update_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/retargeting_v1.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/size.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/statistics_report_query_message.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/tag.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/transactions_report_query_message.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/transactions_report_query_message_list_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/transactions_report_query_message_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/transparency_query_message.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/transparency_report.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/transparency_report_file.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/transparency_report_list_response.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/transparency_report_resource.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/update_coupon.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/update_coupon_request.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/update_coupon_resource.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/video_detail.py (98%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/write_model_ad_set_id.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model/write_model_patch_ad_set_v24_q1.py (97%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/model_utils.py (99%) create mode 100644 sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/models/__init__.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07 => marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10}/rest.py (99%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/Ad.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetAudienceLinkEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetAudienceLinkEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetAudienceLinkEntityV1Response.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetAudienceLinkInputEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetCategoryBid.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetCategoryBidListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetCategoryBidResource.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/AdSetDeliveryLimitationsV24Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetDisplayMultiplier.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetDisplayMultiplierListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdSetDisplayMultiplierResource.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/AdSetFrequencyCappingV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/AdSetGeoLocationV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/AdSetSearchFilterV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/AdSetSearchRequestV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/AdSetTargetingRuleV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/AdSetTargetingV24Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdWrite.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdWriteRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdWriteResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdaptiveAttributes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdaptiveColors.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdaptiveWriteAttributes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AdvertiserApi.md (80%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AlgebraNodeV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AnalyticsApi.md (83%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ApplicationSummaryModel.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ApplicationSummaryModelResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ApplicationSummaryModelResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceApi.md (75%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceBulkCreateInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceBulkDeleteInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceBulkUpdateInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceComputeSizeEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceComputeSizesInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceCreateEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceCreateEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceDeleteEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceEntityV1AudienceSearchMetadataV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceEntityV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceError.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceEstimateSizeEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceEstimateSizeEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceEstimateSizeInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceIdEntityV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceIdEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceNameDescription.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSearchEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSearchEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSearchInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSearchMetadataV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentBulkCreateInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentBulkDeleteInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentBulkUpdateInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentComputeSizeEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentComputeSizesInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentCreateEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentCreateEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentDeleteEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentEntityV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentEstimateSizeInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentIdEntityV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentIdEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSearchEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSearchEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSearchInputV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSearchMetadataV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSizeEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSizeEntityV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSizeEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSizeEstimationEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSizeEstimationEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSizeEstimationV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSizeEstimationV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentSizeEstimationV1Response.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentUpdateEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSegmentUpdateEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSizeEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSizeEntityV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSizeEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSizeEstimationV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSizeEstimationV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceSizeEstimationV1Response.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceUpdateEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceUpdateEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/AudienceWarning.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/BasicAudienceDefinition.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/BehavioralV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CampaignApi.md (76%) rename sdks/{marketingsolutions_2023-07/docs/CampaignSearchFilters.md => marketingsolutions_2024-10/docs/CampaignSearchFiltersV23Q1.md} (95%) rename sdks/{marketingsolutions_2023-07/docs/RequestAdSetSearch.md => marketingsolutions_2024-10/docs/CampaignSearchRequestV23Q1.md} (79%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CampaignSpendLimitV23Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CampaignV23Q1.md (100%) rename sdks/{marketingsolutions_2023-07/docs/ResponseReadAdSet.md => marketingsolutions_2024-10/docs/CampaignV23Q1ListResponse.md} (79%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CampaignV23Q1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CampaignV23Q1Response.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CommonProblem.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ContactListStatisticsEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ContactListStatisticsEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ContactListStatisticsEntityV1Response.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ContactListV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ContactlistAmendment.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ContactlistAmendmentAttributes.md (89%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ContactlistAmendmentRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ContactlistOperation.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ContactlistOperationAttributes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/Coupon.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CouponListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CouponResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CouponResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CouponSupportedSizes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CouponSupportedSizesResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CouponSupportedSizesResponse.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/CreateAdSetBiddingV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/CreateAdSetBudgetV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/CreateAdSetGeoLocationV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/CreateAdSetScheduleV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/CreateAdSetTargetingV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/CreateAdSetV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/CreateAdSetV24Q1Request.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/CreateAdSetV24Q1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreateCampaign.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreateCampaignRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreateCampaignResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreateCampaignSpendLimit.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreateCoupon.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreateCouponRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreateCouponResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreateImageSlide.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/Creative.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreativeApi.md (85%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreativeListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreativeResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreativeResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreativeWrite.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreativeWriteRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CreativeWriteResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CriteoApiError.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/CriteoApiWarning.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/DeleteAudienceContactListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/DynamicAttributes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/DynamicWriteAttributes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/EntityOfPortfolioMessage.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ErrorCodeResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/GatewayApi.md (80%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/GetPortfolioResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/HtmlTagAttributes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/HtmlTagWriteAttributes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ImageAttributes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ImageSet.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ImageSetBase64.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ImageShape.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ImageSlide.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ImageWriteAttributes.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketAudienceSegmentBrandEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketAudienceSegmentBrandEntityV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketAudienceSegmentBrandEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketAudienceSegmentInterestEntityV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketAudienceSegmentInterestEntityV1ListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketAudienceSegmentInterestEntityV1Resource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketCreateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketSizeEstimationV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketUpdateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/InMarketV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/LocationCreateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/LocationSizeEstimationV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/LocationUpdateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/LocationV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/LookalikeCreateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/LookalikeUpdateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/LookalikeV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ModifyAudienceResponse.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/NillableAdSetTargetingRuleV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/NillableAdSetTargetingRuleV24Q1Value.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/NillableDateTime.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/NillableDecimal.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/NillableGenderV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/NillableInt32.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/NillableString.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/Outcome.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/PatchAdSetBiddingV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/PatchAdSetBudgetV24Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetCategoryBid.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetCategoryBidListRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetCategoryBidResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetCategoryBidResultListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetCategoryBidResultResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetDisplayMultiplier.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetDisplayMultiplierListRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetDisplayMultiplierResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetDisplayMultiplierResultListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchAdSetDisplayMultiplierResultResource.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/PatchAdSetSchedulingV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/PatchAdSetV24Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchCampaign.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchCampaignListRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchCampaignSpendLimit.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchCampaignWriteResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchResultCampaignListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PatchResultCampaignReadResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PlacementsReportQueryMessage.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PlacementsReportQueryMessageListRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PlacementsReportQueryMessageResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PointOfInterestV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/PortfolioMessage.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ProspectingCreateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ProspectingUpdateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ProspectingV1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/ReadAdSetBiddingV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/ReadAdSetBudgetV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/ReadAdSetScheduleV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/ReadAdSetV24Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ReadModelAdSetId.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/ReadModelAdSetIdV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/ReadModelReadAdSetV24Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/RequestsAdSetId.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/RequestsPatchAdSetV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/ResponseReadAdSetV24Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/ResponsesAdSetId.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/ResponsesAdSetIdV24Q1.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/ResponsesReadAdSetV24Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/RetargetingCreateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/RetargetingUpdateV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/RetargetingV1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/Size.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/StatisticsReportQueryMessage.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/Tag.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/TransactionsReportQueryMessage.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/TransactionsReportQueryMessageListRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/TransactionsReportQueryMessageResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/TransparencyQueryMessage.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/TransparencyReport.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/TransparencyReportFile.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/TransparencyReportListResponse.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/TransparencyReportResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/UpdateCoupon.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/UpdateCouponRequest.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/UpdateCouponResource.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/VideoDetail.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/docs/WriteModelAdSetId.md (100%) rename sdks/{marketingsolutions_preview => marketingsolutions_2024-10}/docs/WriteModelPatchAdSetV24Q1.md (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/requirements.txt (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/setup.cfg (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/setup.py (91%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/test-requirements.txt (100%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/test/example_application_with_auth_code.py (92%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/test/example_application_with_client_credentials.py (90%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/test/example_application_with_refresh_token.py (91%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/test/test_gateway_api.py (91%) rename sdks/{marketingsolutions_2023-07 => marketingsolutions_2024-10}/tox.ini (68%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_delivery_limitations.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q3.py} (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_frequency_capping.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q3.py} (96%) create mode 100644 sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q3.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_search_filter.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q3.py} (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/request_ad_set_search.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q3.py} (93%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting_rule.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q3.py} (96%) create mode 100644 sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q3.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_bidding.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q3.py} (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_budget.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q3.py} (97%) create mode 100644 sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q3.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_schedule.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q3.py} (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_targeting.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q3.py} (87%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3.py} (89%) rename sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/{set_user_profile_model_list_request.py => create_ad_set_v24_q3_request.py} (94%) rename sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/{delete_user_profile_model_resource.py => create_ad_set_v24_q3_resource.py} (94%) delete mode 100644 sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model.py create mode 100644 sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule_value.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3_value.py} (95%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_bidding.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q3.py} (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_budget.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q3.py} (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_scheduling.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q3.py} (95%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q3.py} (85%) create mode 100644 sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q3.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_budget.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q3.py} (94%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_schedule.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q3.py} (96%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q3.py} (81%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_model_read_ad_set.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q3.py} (93%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_read_resource.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q3.py} (94%) rename sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/{user_profile_identifier_model.py => report_detail_warning.py} (91%) create mode 100644 sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_detail_warnings.py rename sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/{delete_user_profile_model_list_request.py => requests_patch_ad_set_v24_q3.py} (94%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/response_read_ad_set.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q3.py} (93%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_list_response.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q3.py} (93%) create mode 100644 sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q3.py delete mode 100644 sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/write_model_patch_ad_set.py => marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py} (94%) rename sdks/{marketingsolutions_2023-07/docs/AdSetDeliveryLimitations.md => marketingsolutions_preview/docs/AdSetDeliveryLimitationsV24Q3.md} (95%) rename sdks/{marketingsolutions_2023-07/docs/AdSetFrequencyCapping.md => marketingsolutions_preview/docs/AdSetFrequencyCappingV24Q3.md} (95%) rename sdks/{marketingsolutions_2023-07/docs/AdSetGeoLocation.md => marketingsolutions_preview/docs/AdSetGeoLocationV24Q3.md} (57%) rename sdks/{marketingsolutions_2023-07/docs/AdSetSearchFilter.md => marketingsolutions_preview/docs/AdSetSearchFilterV24Q3.md} (96%) rename sdks/{marketingsolutions_2023-07/docs/CampaignSearchRequest.md => marketingsolutions_preview/docs/AdSetSearchRequestV24Q3.md} (81%) rename sdks/{marketingsolutions_2023-07/docs/AdSetTargetingRule.md => marketingsolutions_preview/docs/AdSetTargetingRuleV24Q3.md} (95%) rename sdks/{marketingsolutions_2023-07/docs/AdSetTargeting.md => marketingsolutions_preview/docs/AdSetTargetingV24Q3.md} (58%) rename sdks/{marketingsolutions_2023-07/docs/CreateAdSetBidding.md => marketingsolutions_preview/docs/CreateAdSetBiddingV24Q3.md} (96%) rename sdks/{marketingsolutions_2023-07/docs/CreateAdSetBudget.md => marketingsolutions_preview/docs/CreateAdSetBudgetV24Q3.md} (96%) rename sdks/{marketingsolutions_2023-07/docs/CreateAdSetGeoLocation.md => marketingsolutions_preview/docs/CreateAdSetGeoLocationV24Q3.md} (61%) rename sdks/{marketingsolutions_2023-07/docs/CreateAdSetSchedule.md => marketingsolutions_preview/docs/CreateAdSetScheduleV24Q3.md} (95%) rename sdks/{marketingsolutions_2023-07/docs/CreateAdSetTargeting.md => marketingsolutions_preview/docs/CreateAdSetTargetingV24Q3.md} (58%) rename sdks/{marketingsolutions_2023-07/docs/CreateAdSet.md => marketingsolutions_preview/docs/CreateAdSetV24Q3.md} (72%) rename sdks/{marketingsolutions_2023-07/docs/CreateAdSetRequest.md => marketingsolutions_preview/docs/CreateAdSetV24Q3Request.md} (80%) rename sdks/{marketingsolutions_2023-07/docs/CreateAdSetResource.md => marketingsolutions_preview/docs/CreateAdSetV24Q3Resource.md} (83%) delete mode 100644 sdks/marketingsolutions_preview/docs/DeleteUserProfileModel.md rename sdks/{marketingsolutions_2023-07/docs/NillableAdSetTargetingRule.md => marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q3.md} (80%) rename sdks/{marketingsolutions_2023-07/docs/NillableAdSetTargetingRuleValue.md => marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q3Value.md} (93%) rename sdks/{marketingsolutions_2023-07/docs/PatchAdSetBidding.md => marketingsolutions_preview/docs/PatchAdSetBiddingV24Q3.md} (95%) rename sdks/{marketingsolutions_2023-07/docs/PatchAdSetBudget.md => marketingsolutions_preview/docs/PatchAdSetBudgetV24Q3.md} (97%) rename sdks/{marketingsolutions_2023-07/docs/PatchAdSetScheduling.md => marketingsolutions_preview/docs/PatchAdSetSchedulingV24Q3.md} (95%) rename sdks/{marketingsolutions_2023-07/docs/Campaign.md => marketingsolutions_preview/docs/PatchAdSetV24Q3.md} (58%) rename sdks/{marketingsolutions_2023-07/docs/ReadAdSetBidding.md => marketingsolutions_preview/docs/ReadAdSetBiddingV24Q3.md} (65%) rename sdks/{marketingsolutions_2023-07/docs/ReadAdSetBudget.md => marketingsolutions_preview/docs/ReadAdSetBudgetV24Q3.md} (88%) rename sdks/{marketingsolutions_2023-07/docs/ReadAdSetSchedule.md => marketingsolutions_preview/docs/ReadAdSetScheduleV24Q3.md} (96%) rename sdks/{marketingsolutions_2023-07/docs/ReadAdSet.md => marketingsolutions_preview/docs/ReadAdSetV24Q3.md} (63%) rename sdks/{marketingsolutions_2023-07/docs/ReadModelReadAdSet.md => marketingsolutions_preview/docs/ReadModelAdSetIdV24Q3.md} (80%) rename sdks/{marketingsolutions_2023-07/docs/CampaignReadResource.md => marketingsolutions_preview/docs/ReadModelReadAdSetV24Q3.md} (85%) rename sdks/{retailmedia_2023-07/docs/ExternalLineItemCapping202110.md => marketingsolutions_preview/docs/ReportDetailWarning.md} (79%) create mode 100644 sdks/marketingsolutions_preview/docs/ReportDetailWarnings.md rename sdks/{marketingsolutions_2023-07/docs/RequestsPatchAdSet.md => marketingsolutions_preview/docs/RequestsPatchAdSetV24Q3.md} (78%) rename sdks/{marketingsolutions_2023-07/docs/CampaignResponse.md => marketingsolutions_preview/docs/ResponseReadAdSetV24Q3.md} (85%) rename sdks/{marketingsolutions_2023-07/docs/CampaignListResponse.md => marketingsolutions_preview/docs/ResponsesAdSetIdV24Q3.md} (83%) rename sdks/{marketingsolutions_2023-07/docs/ResponsesReadAdSet.md => marketingsolutions_preview/docs/ResponsesReadAdSetV24Q3.md} (82%) delete mode 100644 sdks/marketingsolutions_preview/docs/SetUserProfileModel.md rename sdks/{marketingsolutions_2023-07/docs/WriteModelPatchAdSet.md => marketingsolutions_preview/docs/WriteModelPatchAdSetV24Q3.md} (85%) delete mode 100644 sdks/retailmedia_2023-07/.openapi-generator/FILES delete mode 100644 sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/__init__.py delete mode 100644 sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/balance_api.py delete mode 100644 sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/apis/__init__.py delete mode 100644 sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_paged_list_response.py delete mode 100644 sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item_update_model202110.py delete mode 100644 sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1.py delete mode 100644 sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_create_v2.py delete mode 100644 sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v1.py delete mode 100644 sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/models/__init__.py delete mode 100644 sdks/retailmedia_2023-07/docs/AccountsApi.md delete mode 100644 sdks/retailmedia_2023-07/docs/AudienceApi.md delete mode 100644 sdks/retailmedia_2023-07/docs/BalanceApi.md delete mode 100644 sdks/retailmedia_2023-07/docs/Creative202210ListResponse.md delete mode 100644 sdks/retailmedia_2023-07/docs/ExternalBalance202110.md delete mode 100644 sdks/retailmedia_2023-07/docs/ExternalPromotedProduct202110.md delete mode 100644 sdks/retailmedia_2023-07/docs/JsonApiSingleResponseOfLineItemBidMultipliers.md delete mode 100644 sdks/retailmedia_2023-07/docs/LineItemBidMultipliers.md delete mode 100644 sdks/retailmedia_2023-07/docs/LineItemBidMultipliersResponse.md delete mode 100644 sdks/retailmedia_2023-07/docs/PreferredLineItem202110PagedListResponse.md delete mode 100644 sdks/retailmedia_2023-07/docs/PreferredLineItem202110Response.md delete mode 100644 sdks/retailmedia_2023-07/docs/PreferredLineItemUpdateModel202110Request.md delete mode 100644 sdks/retailmedia_2023-07/docs/PromotedProduct202110ListRequest.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateInputEntityV1.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateInputEntityV2.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacyAudienceUserBehaviorCreateV2.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacyAudienceUserBehaviorDetailsV2.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacySegmentCustomerList.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorCreateV2.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorV1.md delete mode 100644 sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorV2.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/.gitignore (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/.gitlab-ci.yml (88%) create mode 100644 sdks/retailmedia_2024-10/.openapi-generator/FILES rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/.openapi-generator/VERSION (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/README.md (53%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/__init__.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/api/__init__.py (73%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/audience_api.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/accounts_api.py} (51%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/api/analytics_api.py (76%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/audience_api.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/balance_api.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/api/campaign_api.py (88%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/api/gateway_api.py (94%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/api_client.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/api_client_builder.py (87%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/apis/__init__.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/configuration.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/criteo_api_client.py (80%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/criteo_auth.py (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/criteo_rest.py (94%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/exceptions.py (99%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/flow_constants.py (100%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/__init__.py (82%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_customer_list.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2.py} (88%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2_request.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/add_remove_keyword_model.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/add_remove_keywords_model.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/add_remove_keywords_model_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/add_remove_keywords_model_resource.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/add_to_basket_ids_update_model202110_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/add_to_basket_target202110_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/add_to_basket_target202110_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/application_summary_model.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/application_summary_model_resource.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/application_summary_model_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/approval_status_model.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/asset.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/asset_resource.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/asset_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/async_campaigns_report.py (99%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/async_campaigns_report_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/async_campaigns_report_resource.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/async_line_items_report.py (99%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/async_line_items_report_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/async_line_items_report_resource.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/async_report_response.py (97%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/promoted_product202110_list_request.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report_request.py} (93%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model_resource.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report_resource.py} (93%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/auction_line_item_create_model_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/auction_line_item_paged_list_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/auction_line_item_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/auction_line_item_update_model_request.py (97%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_error.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/audience_ids_update_model202110_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/audience_target202110_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/audience_target202110_response.py (97%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_warning.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/balance_campaign202110_list_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/balance_campaign202110_paged_list_response.py (97%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_history_change_data_capture_v1.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_balance202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_response_v2.py} (77%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210_list_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_response_v2_response.py} (89%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/campaign_attributes_v202301.py (97%) rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/campaign_budget_overrides.py (96%) rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/campaign_daily_budget_override.py (98%) rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/campaign_monthly_budget_override.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/campaign_v202301.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/category202204.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/category202204_list_response.py (97%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_request.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2_request.py} (93%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_details_v1.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/choice_option.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/choice_variable_specification.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/choice_variable_value.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/color_variable_value.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/common_error.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/common_line_item_paged_list_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/common_line_item_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/common_problem.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/common_warning.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/create_balance_v2.py} (81%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_request.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/create_balance_v2_request.py} (93%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/creative202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/creative202110_list_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/creative202210.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/creative202210_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/creative_create_model202207.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/creative_update_model202207.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_v2_list_response.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_v2_response.py} (93%) rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/daily_line_item_budget_override.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/editable_campaign_attributes_v202301.py (97%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/error_code_response.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_account.py (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_add_to_basket_ids_update_model202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_add_to_basket_target202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_auction_line_item.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_auction_line_item_create_model.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_auction_line_item_update_model.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_audience_ids_update_model202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_audience_target202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_brand.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_catalog_request.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_catalog_status.py (98%) rename sdks/{marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/user_profile_attribute_model.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_choice_variable_value.py} (92%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_color_variable_value.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_common_line_item.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_creative_v2.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_files_variable_value.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_hyperlink_variable_value.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_keyword_target202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_bid_multipliers_v2.py} (75%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_capping202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_capping_v2.py} (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_page_category202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_page_category_v2.py} (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_page202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_page_v2.py} (91%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_page_type_environment.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_create_model202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_create_model_v2.py} (91%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_update_model202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_update_model_v2.py} (91%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_v2.py} (85%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_retailer.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_retailer_pages202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_store_ids_update_model202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/external_store_target202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_details_v2.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_template_variable_value.py} (74%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_promoted_product202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_text_variable_value.py} (94%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_create_v2.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_video_variable_value.py} (87%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/files_variable_value.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/files_variables_specification.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/hyperlink_variable_value.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/input_keywords_model.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/input_resource_of_auction_line_item_create_model.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_resource_of_preferred_line_item_create_model202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_resource_of_preferred_line_item_create_model_v2.py} (92%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_body_with_id_of_int64_and_account_and_account.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_body_with_id_of_int64_and_brand_and_brand.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py} (92%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_body_without_id_of_catalog_request_and_catalog_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_page_response_of_account.py (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_page_response_of_brand.py (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_page_response_of_campaign_v202301.py (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_page_response_of_retailer.py (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_request_of_catalog_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_single_response_of_campaign_v202301.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/json_api_single_response_of_catalog_status.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_line_item_bid_multipliers.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_line_item_bid_multipliers_v2.py} (88%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/keyword_data_model.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/keyword_target202110_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/keyword_target202110_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/keywords_model.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/keywords_model_resource.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/keywords_model_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v1.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_request.py} (92%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_response.py} (92%) rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/line_item_budget_overrides.py (96%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_product_status.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/match_type_model.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/metadata.py rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/monthly_line_item_budeget_override.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/negotiation_state_model.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/nillable_string.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/page_metadata.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_of_balance_history_change_data_capture_v1.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/page_type_environment.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/promoted_product202110_paged_list_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/paged_resource_collection_outcome_of_balance_response_v2.py} (89%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/post_campaign_v202301.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item_create_model202110_request.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_create_model_v2_request.py} (92%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_update_model_v2_request.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance202110_paged_list_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_paged_list_response.py} (89%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_response.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/problem_details.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/product_metadata.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/product_resource_outcome.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_input.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_outcome.py} (85%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/proposal_status_model.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/proposal_status_model_resource.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/proposal_status_model_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/put_campaign_v202301.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/report_outcome.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_promoted_product202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_add_funds_to_balance_v2.py} (93%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/resource_of_auction_line_item.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/resource_of_auction_line_item_update_model.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/resource_of_balance_campaign202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_balance202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_balance_response_v2.py} (94%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/resource_of_category202204.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_line_item_bid_multipliers.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_change_dates_of_balance_v2.py} (94%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/resource_of_common_line_item.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_create_balance_v2.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/resource_of_creative202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/resource_of_creative202210.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative_v2.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_line_item_bid_multipliers_v2.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_update_model_v2.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item202110.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_v2.py} (93%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_retail_media_account.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/resource_of_template.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_update_balance_model_v2.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/resource_outcome.py (97%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_outcome_of_retail_media_account.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_account.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_brand_account_creation.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_brands.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment.py} (89%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_attributes.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_request.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/get_audiences_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation.py} (91%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes.py} (91%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes_attributes.py} (77%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_seller.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_seller_account_creation.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/review_state_model.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_algebra_node_v1.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1.py} (76%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_resource.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_resource.py} (93%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1_resource.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/requests_patch_ad_set.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_input_v1.py} (92%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_metadata_v1.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_create_input_v1.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_delete_input_v1.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_update_input_v1.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1.py} (87%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1_resource.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_delete_entity_v1_resource.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_list_response.py} (92%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_resource.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_resource.py} (93%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_list_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_list_response.py} (93%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_resource.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1_resource.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v2.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_input_v1.py} (92%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_metadata_v1.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1.py} (87%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_resource.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1_resource.py} (93%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_create_v1.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_resource.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_list_response.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_response.py} (92%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_resource.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_v1.py} (85%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v2.py => retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_events_v1.py} (80%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/rmca_common_problem.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/section.py (95%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/set_bid_model.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/set_bids_model.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/set_bids_model_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/set_bids_model_resource.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/status_response.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/status_response_resource.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/store_ids_update_model202110_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/store_target202110_request.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/store_target202110_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/template.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/template_list_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/template_response.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/template_variable.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/template_variable_value.py (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/text_variable_specification.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/text_variable_value.py (98%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/update_balance_model_v2.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/update_balance_model_v2_request.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_collection_input_of_retail_media_seller.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_collection_outcome_of_retail_media_seller.py rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_resource_input_of_campaign_budget_overrides.py (97%) rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_resource_input_of_line_item_budget_overrides.py (97%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brand_account_creation.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brands.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_seller_account_creation.py rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_resource_of_campaign_budget_overrides.py (97%) rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_resource_of_line_item_budget_overrides.py (97%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brand_account_creation.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brands.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller.py create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller_account_creation.py rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_resource_outcome_of_campaign_budget_overrides.py (96%) rename sdks/{retailmedia_preview/criteo_api_retailmedia_preview => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_resource_outcome_of_line_item_budget_overrides.py (96%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_type_resource_of_add_to_basket_ids_update_model202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_type_resource_of_add_to_basket_target202110.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_type_resource_of_audience_ids_update_model202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_type_resource_of_audience_target202110.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_type_resource_of_keyword_target202110.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_type_resource_of_store_ids_update_model202110.py (98%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model/value_type_resource_of_store_target202110.py (97%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/model_utils.py (99%) create mode 100644 sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/models/__init__.py rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07 => retailmedia_2024-10/criteo_api_retailmedia_v2024_10}/rest.py (99%) create mode 100644 sdks/retailmedia_2024-10/docs/AccountsApi.md create mode 100644 sdks/retailmedia_2024-10/docs/AddFundsToBalanceV2.md create mode 100644 sdks/retailmedia_2024-10/docs/AddFundsToBalanceV2Request.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AddRemoveKeywordModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AddRemoveKeywordsModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AddRemoveKeywordsModelRequest.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AddRemoveKeywordsModelResource.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AddToBasketIdsUpdateModel202110Request.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AddToBasketTarget202110Request.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AddToBasketTarget202110Response.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AnalyticsApi.md (62%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ApplicationSummaryModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ApplicationSummaryModelResource.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ApplicationSummaryModelResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ApprovalStatusModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/Asset.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AssetResource.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AssetResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AsyncCampaignsReport.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AsyncCampaignsReportRequest.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AsyncCampaignsReportResource.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AsyncLineItemsReport.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AsyncLineItemsReportRequest.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AsyncLineItemsReportResource.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AsyncReportResponse.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/AsyncRevenueReport.md create mode 100644 sdks/retailmedia_2024-10/docs/AsyncRevenueReportRequest.md rename sdks/{marketingsolutions_preview/docs/SetUserProfileModelResource.md => retailmedia_2024-10/docs/AsyncRevenueReportResource.md} (83%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AuctionLineItemCreateModelRequest.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AuctionLineItemPagedListResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AuctionLineItemResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AuctionLineItemUpdateModelRequest.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/AudienceApi.md create mode 100644 sdks/retailmedia_2024-10/docs/AudienceError.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AudienceIdsUpdateModel202110Request.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AudienceTarget202110Request.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/AudienceTarget202110Response.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/AudienceWarning.md create mode 100644 sdks/retailmedia_2024-10/docs/BalanceApi.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/BalanceCampaign202110ListRequest.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/BalanceCampaign202110PagedListResponse.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/BalanceHistoryChangeDataCaptureV1.md create mode 100644 sdks/retailmedia_2024-10/docs/BalanceResponseV2.md create mode 100644 sdks/retailmedia_2024-10/docs/BalanceResponseV2Response.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CampaignApi.md (73%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CampaignAttributesV202301.md (95%) rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/CampaignBudgetOverrides.md (100%) rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/CampaignDailyBudgetOverride.md (100%) rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/CampaignMonthlyBudgetOverride.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CampaignV202301.md (96%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/Category202204.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/Category202204ListResponse.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ChangeDatesOfBalanceV2.md create mode 100644 sdks/retailmedia_2024-10/docs/ChangeDatesOfBalanceV2Request.md create mode 100644 sdks/retailmedia_2024-10/docs/ChangeDetailsV1.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ChoiceOption.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ChoiceVariableSpecification.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ChoiceVariableValue.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ColorVariableValue.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CommonError.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CommonLineItemPagedListResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CommonLineItemResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CommonProblem.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CommonWarning.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/CreateBalanceV2.md create mode 100644 sdks/retailmedia_2024-10/docs/CreateBalanceV2Request.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/Creative202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/Creative202110ListResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/Creative202210.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/Creative202210Response.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CreativeCreateModel202207.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/CreativeUpdateModel202207.md (100%) rename sdks/{retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2ListResponse.md => retailmedia_2024-10/docs/CreativeV2ListResponse.md} (81%) rename sdks/{retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1Response.md => retailmedia_2024-10/docs/CreativeV2Response.md} (81%) rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/DailyLineItemBudgetOverride.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/EditableCampaignAttributesV202301.md (94%) rename sdks/{marketingsolutions_2023-07/docs/GetAudiencesResponse.md => retailmedia_2024-10/docs/ErrorCodeResponse.md} (74%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalAccount.md (92%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalAddToBasketIdsUpdateModel202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalAddToBasketTarget202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalAuctionLineItem.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalAuctionLineItemCreateModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalAuctionLineItemUpdateModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalAudienceIdsUpdateModel202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalAudienceTarget202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalBrand.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalCatalogRequest.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalCatalogStatus.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ExternalChoiceVariableValue.md create mode 100644 sdks/retailmedia_2024-10/docs/ExternalColorVariableValue.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalCommonLineItem.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ExternalCreativeV2.md create mode 100644 sdks/retailmedia_2024-10/docs/ExternalFilesVariableValue.md create mode 100644 sdks/retailmedia_2024-10/docs/ExternalHyperlinkVariableValue.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalKeywordTarget202110.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ExternalLineItemBidMultipliersV2.md create mode 100644 sdks/retailmedia_2024-10/docs/ExternalLineItemCappingV2.md rename sdks/{retailmedia_2023-07/docs/ExternalLineItemPageCategory202110.md => retailmedia_2024-10/docs/ExternalLineItemPageCategoryV2.md} (94%) rename sdks/{retailmedia_2023-07/docs/ExternalLineItemPage202110.md => retailmedia_2024-10/docs/ExternalLineItemPageV2.md} (75%) create mode 100644 sdks/retailmedia_2024-10/docs/ExternalPageTypeEnvironment.md rename sdks/{retailmedia_2023-07/docs/ExternalPreferredLineItemCreateModel202110.md => retailmedia_2024-10/docs/ExternalPreferredLineItemCreateModelV2.md} (72%) rename sdks/{retailmedia_2023-07/docs/ExternalPreferredLineItemUpdateModel202110.md => retailmedia_2024-10/docs/ExternalPreferredLineItemUpdateModelV2.md} (77%) rename sdks/{retailmedia_2023-07/docs/ExternalPreferredLineItem202110.md => retailmedia_2024-10/docs/ExternalPreferredLineItemV2.md} (62%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalRetailer.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalRetailerPages202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalStoreIdsUpdateModel202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ExternalStoreTarget202110.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ExternalTemplateVariableValue.md rename sdks/{marketingsolutions_2023-07/docs/NewAudienceRequest.md => retailmedia_2024-10/docs/ExternalTextVariableValue.md} (77%) create mode 100644 sdks/retailmedia_2024-10/docs/ExternalVideoVariableValue.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/FilesVariableValue.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/FilesVariablesSpecification.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/GatewayApi.md (80%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/HyperlinkVariableValue.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/InputKeywordsModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/InputResourceOfAuctionLineItemCreateModel.md (100%) rename sdks/{retailmedia_2023-07/docs/InputResourceOfPreferredLineItemCreateModel202110.md => retailmedia_2024-10/docs/InputResourceOfPreferredLineItemCreateModelV2.md} (73%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiBodyWithIdOfInt64AndAccountAndAccount.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiBodyWithIdOfInt64AndBrandAndBrand.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus.md (100%) rename sdks/{retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers.md => retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2.md} (60%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiBodyWithIdOfInt64AndRetailerAndRetailer.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiPageResponseOfAccount.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiPageResponseOfBrand.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiPageResponseOfCampaignV202301.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiPageResponseOfRetailer.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiRequestOfCatalogRequest.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiSingleResponseOfCampaignV202301.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/JsonApiSingleResponseOfCatalogStatus.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/JsonApiSingleResponseOfLineItemBidMultipliersV2.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/KeywordDataModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/KeywordTarget202110Request.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/KeywordTarget202110Response.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/KeywordsModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/KeywordsModelResource.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/KeywordsModelResponse.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/LineItemBidMultipliersV2Request.md rename sdks/{retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2Response.md => retailmedia_2024-10/docs/LineItemBidMultipliersV2Response.md} (81%) rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/LineItemBudgetOverrides.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/LineItemProductStatus.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/MatchTypeModel.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/Metadata.md rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/MonthlyLineItemBudegetOverride.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/NegotiationStateModel.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/NillableString.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/PageMetadata.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/PageOfBalanceHistoryChangeDataCaptureV1.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/PageTypeEnvironment.md (100%) rename sdks/{retailmedia_2023-07/docs/PromotedProduct202110PagedListResponse.md => retailmedia_2024-10/docs/PagedResourceCollectionOutcomeOfBalanceResponseV2.md} (66%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/PostCampaignV202301.md (100%) rename sdks/{retailmedia_2023-07/docs/PreferredLineItemCreateModel202110Request.md => retailmedia_2024-10/docs/PreferredLineItemCreateModelV2Request.md} (72%) rename sdks/{retailmedia_2023-07/docs/LineItemBidMultipliersRequest.md => retailmedia_2024-10/docs/PreferredLineItemUpdateModelV2Request.md} (74%) rename sdks/{retailmedia_2023-07/docs/Balance202110PagedListResponse.md => retailmedia_2024-10/docs/PreferredLineItemV2PagedListResponse.md} (67%) create mode 100644 sdks/retailmedia_2024-10/docs/PreferredLineItemV2Response.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ProblemDetails.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ProductMetadata.md create mode 100644 sdks/retailmedia_2024-10/docs/ProductResourceOutcome.md create mode 100644 sdks/retailmedia_2024-10/docs/PromotedProduct.md create mode 100644 sdks/retailmedia_2024-10/docs/PromotedProductResource.md create mode 100644 sdks/retailmedia_2024-10/docs/PromotedProductResourceCollectionInput.md create mode 100644 sdks/retailmedia_2024-10/docs/PromotedProductResourceCollectionOutcome.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ProposalStatusModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ProposalStatusModelResource.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ProposalStatusModelResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/PutCampaignV202301.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ReportOutcome.md (100%) rename sdks/{retailmedia_2023-07/docs/ResourceOfBalance202110.md => retailmedia_2024-10/docs/ResourceOfAddFundsToBalanceV2.md} (77%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ResourceOfAuctionLineItem.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ResourceOfAuctionLineItemUpdateModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ResourceOfBalanceCampaign202110.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ResourceOfBalanceResponseV2.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ResourceOfCategory202204.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ResourceOfChangeDatesOfBalanceV2.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ResourceOfCommonLineItem.md (100%) rename sdks/{retailmedia_2023-07/docs/ResourceOfPromotedProduct202110.md => retailmedia_2024-10/docs/ResourceOfCreateBalanceV2.md} (78%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ResourceOfCreative202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ResourceOfCreative202210.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ResourceOfCreativeV2.md create mode 100644 sdks/retailmedia_2024-10/docs/ResourceOfLineItemBidMultipliersV2.md rename sdks/{retailmedia_2023-07/docs/ResourceOfPreferredLineItem202110.md => retailmedia_2024-10/docs/ResourceOfPreferredLineItemUpdateModelV2.md} (78%) rename sdks/{retailmedia_2023-07/docs/ResourceOfLineItemBidMultipliers.md => retailmedia_2024-10/docs/ResourceOfPreferredLineItemV2.md} (82%) create mode 100644 sdks/retailmedia_2024-10/docs/ResourceOfRetailMediaAccount.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ResourceOfTemplate.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ResourceOfUpdateBalanceModelV2.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ResourceOutcome.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ResourceOutcomeOfRetailMediaAccount.md create mode 100644 sdks/retailmedia_2024-10/docs/RetailMediaAccount.md create mode 100644 sdks/retailmedia_2024-10/docs/RetailMediaBrandAccountCreation.md create mode 100644 sdks/retailmedia_2024-10/docs/RetailMediaBrands.md create mode 100644 sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendment.md create mode 100644 sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendmentAttributes.md create mode 100644 sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendmentRequest.md rename sdks/{marketingsolutions_2023-07/docs/DeleteAudienceResponse.md => retailmedia_2024-10/docs/RetailMediaContactlistOperation.md} (73%) rename sdks/{marketingsolutions_2023-07/docs/NewAudience.md => retailmedia_2024-10/docs/RetailMediaContactlistOperationResponseAttributes.md} (65%) create mode 100644 sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperationResponseAttributesAttributes.md create mode 100644 sdks/retailmedia_2024-10/docs/RetailMediaSeller.md create mode 100644 sdks/retailmedia_2024-10/docs/RetailMediaSellerAccountCreation.md rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ReviewStateModel.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/RmAlgebraNodeV1.md create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceEntityV1.md rename sdks/{retailmedia_preview/docs/RmLegacyAudienceGetEntityV2Resource.md => retailmedia_2024-10/docs/RmAudienceEntityV1Resource.md} (81%) rename sdks/{retailmedia_preview/docs/RmLegacyAudienceGetEntityV1ListResponse.md => retailmedia_2024-10/docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md} (73%) create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSearchEntityV1.md rename sdks/{marketingsolutions_preview/docs/DeleteUserProfileModelResource.md => retailmedia_2024-10/docs/RmAudienceSearchEntityV1Resource.md} (81%) create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSearchInputV1.md create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSearchMetadataV1.md rename sdks/{marketingsolutions_preview/docs/DeleteUserProfileModelListRequest.md => retailmedia_2024-10/docs/RmAudienceSegmentBulkCreateInputV1.md} (73%) rename sdks/{marketingsolutions_preview/docs/SetUserProfileModelListRequest.md => retailmedia_2024-10/docs/RmAudienceSegmentBulkDeleteInputV1.md} (73%) create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkUpdateInputV1.md create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentCreateEntityV1.md create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentCreateEntityV1Resource.md create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentDeleteEntityV1Resource.md create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1.md rename sdks/{retailmedia_preview/docs/RmLegacyAudienceGetEntityV2ListResponse.md => retailmedia_2024-10/docs/RmAudienceSegmentEntityV1ListResponse.md} (81%) rename sdks/{retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2Resource.md => retailmedia_2024-10/docs/RmAudienceSegmentEntityV1Resource.md} (81%) create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse.md rename sdks/{retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1ListResponse.md => retailmedia_2024-10/docs/RmAudienceSegmentIdEntityV1ListResponse.md} (78%) create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentIdEntityV1Resource.md create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchEntityV1.md create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchEntityV1Resource.md rename sdks/{marketingsolutions_2023-07/docs/Audience.md => retailmedia_2024-10/docs/RmAudienceSegmentSearchInputV1.md} (66%) create mode 100644 sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchMetadataV1.md rename sdks/{retailmedia_2023-07/docs/ResourceOfPreferredLineItemUpdateModel202110.md => retailmedia_2024-10/docs/RmAudienceSegmentUpdateEntityV1.md} (53%) rename sdks/{retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2Resource.md => retailmedia_2024-10/docs/RmAudienceSegmentUpdateEntityV1Resource.md} (80%) create mode 100644 sdks/retailmedia_2024-10/docs/RmContactListCreateV1.md create mode 100644 sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1.md create mode 100644 sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1Resource.md create mode 100644 sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1Response.md create mode 100644 sdks/retailmedia_2024-10/docs/RmContactListV1.md rename sdks/{retailmedia_preview/docs/RmUserBehaviorV1.md => retailmedia_2024-10/docs/RmEventsV1.md} (98%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/RmcaCommonProblem.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/Section.md (92%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/SetBidModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/SetBidsModel.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/SetBidsModelRequest.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/SetBidsModelResource.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/StatusResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/StatusResponseResource.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/StoreIdsUpdateModel202110Request.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/StoreTarget202110Request.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/StoreTarget202110Response.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/Template.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/TemplateListResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/TemplateResponse.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/TemplateVariable.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/TemplateVariableValue.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/TextVariableSpecification.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/TextVariableValue.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/UpdateBalanceModelV2.md create mode 100644 sdks/retailmedia_2024-10/docs/UpdateBalanceModelV2Request.md create mode 100644 sdks/retailmedia_2024-10/docs/ValueResourceCollectionInputOfRetailMediaSeller.md create mode 100644 sdks/retailmedia_2024-10/docs/ValueResourceCollectionOutcomeOfRetailMediaSeller.md rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/ValueResourceInputOfCampaignBudgetOverrides.md (100%) rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/ValueResourceInputOfLineItemBudgetOverrides.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaBrandAccountCreation.md create mode 100644 sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaBrands.md create mode 100644 sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaSellerAccountCreation.md rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/ValueResourceOfCampaignBudgetOverrides.md (100%) rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/ValueResourceOfLineItemBudgetOverrides.md (100%) create mode 100644 sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaBrandAccountCreation.md create mode 100644 sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaBrands.md create mode 100644 sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaSeller.md create mode 100644 sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaSellerAccountCreation.md rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/ValueResourceOutcomeOfCampaignBudgetOverrides.md (100%) rename sdks/{retailmedia_preview => retailmedia_2024-10}/docs/ValueResourceOutcomeOfLineItemBudgetOverrides.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ValueTypeResourceOfAddToBasketIdsUpdateModel202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ValueTypeResourceOfAddToBasketTarget202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ValueTypeResourceOfAudienceIdsUpdateModel202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ValueTypeResourceOfAudienceTarget202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ValueTypeResourceOfKeywordTarget202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ValueTypeResourceOfStoreIdsUpdateModel202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/docs/ValueTypeResourceOfStoreTarget202110.md (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/requirements.txt (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/setup.cfg (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/setup.py (92%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/test-requirements.txt (100%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/test/example_application_with_auth_code.py (92%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/test/example_application_with_client_credentials.py (90%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/test/example_application_with_refresh_token.py (92%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/test/test_gateway_api.py (91%) rename sdks/{retailmedia_2023-07 => retailmedia_2024-10}/tox.ini (71%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/accounts_api.py => retailmedia_preview/criteo_api_retailmedia_preview/api/on_site_recommendation_api.py} (67%) create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/bot_message.py create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/botmessage.py rename sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_list_response.py => entity_resource_collection_outcome_of_retail_media_account.py} (94%) create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_account.py rename sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v2.py => external_retail_media_account.py} (80%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_request.py => retailmedia_preview/criteo_api_retailmedia_preview/model/http_validation_error.py} (93%) create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion.py rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience_request.py => retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion_body_model.py} (93%) rename sdks/{marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience.py => retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion_data_instance_model.py} (90%) create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/location_inner.py rename sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/{rm_legacy_segment_customer_list.py => message.py} (92%) rename sdks/{retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item_update_model202110_request.py => retailmedia_preview/criteo_api_retailmedia_preview/model/message_body_model.py} (90%) create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_data_instance_model.py create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_error.py rename sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/{rm_legacy_segment_user_behavior_v1.py => product_recommendation.py} (79%) create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_detail_warning.py create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_detail_warnings.py rename sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/{rm_legacy_audience_user_behavior_details_v2.py => rm_algebra_node_v1.py} (89%) rename sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_resource.py => rm_audience_entity_v1.py} (77%) rename sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v2_resource.py => rm_audience_entity_v1_resource.py} (94%) rename sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v2_list_response.py => rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py} (91%) create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_input_v1.py create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py rename sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/{rm_user_behavior_v1.py => rm_events_v1.py} (98%) delete mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1.py delete mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v2.py create mode 100644 sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/validation_error.py create mode 100644 sdks/retailmedia_preview/docs/BotMessage.md rename sdks/{marketingsolutions_2023-07/docs/PatchAdSet.md => retailmedia_preview/docs/Botmessage.md} (55%) create mode 100644 sdks/retailmedia_preview/docs/EntityResourceCollectionOutcomeOfRetailMediaAccount.md rename sdks/{retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1Resource.md => retailmedia_preview/docs/EntityResourceOfRetailMediaAccount.md} (68%) create mode 100644 sdks/retailmedia_preview/docs/ExternalRetailMediaAccount.md rename sdks/{marketingsolutions_2023-07/docs/ReplaceAudienceRequest.md => retailmedia_preview/docs/HttpValidationError.md} (77%) create mode 100644 sdks/retailmedia_preview/docs/InbotDiscussion.md create mode 100644 sdks/retailmedia_preview/docs/InbotDiscussionBodyModel.md create mode 100644 sdks/retailmedia_preview/docs/InbotDiscussionDataInstanceModel.md rename sdks/{marketingsolutions_preview/docs/UserProfileAttributeModel.md => retailmedia_preview/docs/LocationInner.md} (80%) create mode 100644 sdks/retailmedia_preview/docs/Message.md create mode 100644 sdks/retailmedia_preview/docs/MessageBodyModel.md create mode 100644 sdks/retailmedia_preview/docs/MessageDataInstanceModel.md create mode 100644 sdks/retailmedia_preview/docs/MessageError.md create mode 100644 sdks/retailmedia_preview/docs/OnSiteRecommendationApi.md create mode 100644 sdks/retailmedia_preview/docs/ProductRecommendation.md create mode 100644 sdks/retailmedia_preview/docs/ReportDetailWarning.md create mode 100644 sdks/retailmedia_preview/docs/ReportDetailWarnings.md create mode 100644 sdks/retailmedia_preview/docs/RmAlgebraNodeV1.md create mode 100644 sdks/retailmedia_preview/docs/RmAudienceEntityV1.md rename sdks/{retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1Resource.md => retailmedia_preview/docs/RmAudienceEntityV1Resource.md} (80%) create mode 100644 sdks/retailmedia_preview/docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md create mode 100644 sdks/retailmedia_preview/docs/RmAudienceSearchEntityV1.md create mode 100644 sdks/retailmedia_preview/docs/RmAudienceSearchEntityV1Resource.md create mode 100644 sdks/retailmedia_preview/docs/RmAudienceSearchInputV1.md create mode 100644 sdks/retailmedia_preview/docs/RmAudienceSearchMetadataV1.md create mode 100644 sdks/retailmedia_preview/docs/RmEventsV1.md delete mode 100644 sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1.md delete mode 100644 sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1Resource.md delete mode 100644 sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2.md delete mode 100644 sdks/retailmedia_preview/docs/RmLegacyAudienceUserBehaviorDetailsV2.md delete mode 100644 sdks/retailmedia_preview/docs/RmLegacySegmentCustomerList.md delete mode 100644 sdks/retailmedia_preview/docs/RmLegacySegmentUserBehaviorV1.md delete mode 100644 sdks/retailmedia_preview/docs/RmLegacySegmentUserBehaviorV2.md rename sdks/{marketingsolutions_preview/docs/UserProfileIdentifierModel.md => retailmedia_preview/docs/ValidationError.md} (80%) diff --git a/sdks/marketingsolutions_2023-07/.openapi-generator/FILES b/sdks/marketingsolutions_2023-07/.openapi-generator/FILES deleted file mode 100644 index 903e07eb..00000000 --- a/sdks/marketingsolutions_2023-07/.openapi-generator/FILES +++ /dev/null @@ -1,556 +0,0 @@ -.gitignore -.gitlab-ci.yml -.openapi-generator-ignore -.travis.yml -README.md -criteo_api_marketingsolutions_v2023_07/__init__.py -criteo_api_marketingsolutions_v2023_07/api/__init__.py -criteo_api_marketingsolutions_v2023_07/api/advertiser_api.py -criteo_api_marketingsolutions_v2023_07/api/analytics_api.py -criteo_api_marketingsolutions_v2023_07/api/audience_api.py -criteo_api_marketingsolutions_v2023_07/api/campaign_api.py -criteo_api_marketingsolutions_v2023_07/api/creative_api.py -criteo_api_marketingsolutions_v2023_07/api/gateway_api.py -criteo_api_marketingsolutions_v2023_07/api_client.py -criteo_api_marketingsolutions_v2023_07/api_client_builder.py -criteo_api_marketingsolutions_v2023_07/apis/__init__.py -criteo_api_marketingsolutions_v2023_07/configuration.py -criteo_api_marketingsolutions_v2023_07/criteo_api_client.py -criteo_api_marketingsolutions_v2023_07/criteo_auth.py -criteo_api_marketingsolutions_v2023_07/criteo_rest.py -criteo_api_marketingsolutions_v2023_07/exceptions.py -criteo_api_marketingsolutions_v2023_07/flow_constants.py -criteo_api_marketingsolutions_v2023_07/model/__init__.py -criteo_api_marketingsolutions_v2023_07/model/ad.py -criteo_api_marketingsolutions_v2023_07/model/ad_list_response.py -criteo_api_marketingsolutions_v2023_07/model/ad_resource.py -criteo_api_marketingsolutions_v2023_07/model/ad_response.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1_response.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_input_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid_list_response.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid_resource.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_delivery_limitations.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier_list_response.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier_resource.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_frequency_capping.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_geo_location.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_search_filter.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting.py -criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting_rule.py -criteo_api_marketingsolutions_v2023_07/model/ad_write.py -criteo_api_marketingsolutions_v2023_07/model/ad_write_request.py -criteo_api_marketingsolutions_v2023_07/model/ad_write_resource.py -criteo_api_marketingsolutions_v2023_07/model/adaptive_attributes.py -criteo_api_marketingsolutions_v2023_07/model/adaptive_colors.py -criteo_api_marketingsolutions_v2023_07/model/adaptive_write_attributes.py -criteo_api_marketingsolutions_v2023_07/model/algebra_node_v1.py -criteo_api_marketingsolutions_v2023_07/model/application_summary_model.py -criteo_api_marketingsolutions_v2023_07/model/application_summary_model_resource.py -criteo_api_marketingsolutions_v2023_07/model/application_summary_model_response.py -criteo_api_marketingsolutions_v2023_07/model/audience.py -criteo_api_marketingsolutions_v2023_07/model/audience_attributes.py -criteo_api_marketingsolutions_v2023_07/model/audience_bulk_create_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_bulk_delete_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_bulk_update_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_compute_size_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_compute_sizes_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_create_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_create_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_delete_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_audience_search_metadata_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_error.py -criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_id_entity_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_id_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_name_description.py -criteo_api_marketingsolutions_v2023_07/model/audience_search_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_search_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_search_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_search_metadata_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_create_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_delete_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_update_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_compute_size_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_compute_sizes_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_create_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_create_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_delete_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_estimate_size_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_id_entity_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_id_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_input_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_metadata_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_update_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_segment_update_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1_response.py -criteo_api_marketingsolutions_v2023_07/model/audience_update_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/audience_update_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/audience_warning.py -criteo_api_marketingsolutions_v2023_07/model/basic_audience_definition.py -criteo_api_marketingsolutions_v2023_07/model/behavioral_v1.py -criteo_api_marketingsolutions_v2023_07/model/campaign.py -criteo_api_marketingsolutions_v2023_07/model/campaign_list_response.py -criteo_api_marketingsolutions_v2023_07/model/campaign_read_resource.py -criteo_api_marketingsolutions_v2023_07/model/campaign_response.py -criteo_api_marketingsolutions_v2023_07/model/campaign_search_filters.py -criteo_api_marketingsolutions_v2023_07/model/campaign_search_request.py -criteo_api_marketingsolutions_v2023_07/model/campaign_spend_limit.py -criteo_api_marketingsolutions_v2023_07/model/campaign_spend_limit_v23_q1.py -criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1.py -criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1_resource.py -criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1_response.py -criteo_api_marketingsolutions_v2023_07/model/common_problem.py -criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1_response.py -criteo_api_marketingsolutions_v2023_07/model/contact_list_v1.py -criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment.py -criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment_attributes.py -criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment_request.py -criteo_api_marketingsolutions_v2023_07/model/contactlist_operation.py -criteo_api_marketingsolutions_v2023_07/model/contactlist_operation_attributes.py -criteo_api_marketingsolutions_v2023_07/model/coupon.py -criteo_api_marketingsolutions_v2023_07/model/coupon_list_response.py -criteo_api_marketingsolutions_v2023_07/model/coupon_resource.py -criteo_api_marketingsolutions_v2023_07/model/coupon_response.py -criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes.py -criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes_resource.py -criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes_response.py -criteo_api_marketingsolutions_v2023_07/model/create_ad_set.py -criteo_api_marketingsolutions_v2023_07/model/create_ad_set_bidding.py -criteo_api_marketingsolutions_v2023_07/model/create_ad_set_budget.py -criteo_api_marketingsolutions_v2023_07/model/create_ad_set_geo_location.py -criteo_api_marketingsolutions_v2023_07/model/create_ad_set_request.py -criteo_api_marketingsolutions_v2023_07/model/create_ad_set_resource.py -criteo_api_marketingsolutions_v2023_07/model/create_ad_set_schedule.py -criteo_api_marketingsolutions_v2023_07/model/create_ad_set_targeting.py -criteo_api_marketingsolutions_v2023_07/model/create_campaign.py -criteo_api_marketingsolutions_v2023_07/model/create_campaign_request.py -criteo_api_marketingsolutions_v2023_07/model/create_campaign_resource.py -criteo_api_marketingsolutions_v2023_07/model/create_campaign_spend_limit.py -criteo_api_marketingsolutions_v2023_07/model/create_coupon.py -criteo_api_marketingsolutions_v2023_07/model/create_coupon_request.py -criteo_api_marketingsolutions_v2023_07/model/create_coupon_resource.py -criteo_api_marketingsolutions_v2023_07/model/create_image_slide.py -criteo_api_marketingsolutions_v2023_07/model/creative.py -criteo_api_marketingsolutions_v2023_07/model/creative_list_response.py -criteo_api_marketingsolutions_v2023_07/model/creative_resource.py -criteo_api_marketingsolutions_v2023_07/model/creative_response.py -criteo_api_marketingsolutions_v2023_07/model/creative_write.py -criteo_api_marketingsolutions_v2023_07/model/creative_write_request.py -criteo_api_marketingsolutions_v2023_07/model/creative_write_resource.py -criteo_api_marketingsolutions_v2023_07/model/criteo_api_error.py -criteo_api_marketingsolutions_v2023_07/model/criteo_api_warning.py -criteo_api_marketingsolutions_v2023_07/model/delete_audience_contact_list_response.py -criteo_api_marketingsolutions_v2023_07/model/delete_audience_response.py -criteo_api_marketingsolutions_v2023_07/model/dynamic_attributes.py -criteo_api_marketingsolutions_v2023_07/model/dynamic_write_attributes.py -criteo_api_marketingsolutions_v2023_07/model/entity_of_portfolio_message.py -criteo_api_marketingsolutions_v2023_07/model/error_code_response.py -criteo_api_marketingsolutions_v2023_07/model/get_audiences_response.py -criteo_api_marketingsolutions_v2023_07/model/get_portfolio_response.py -criteo_api_marketingsolutions_v2023_07/model/html_tag_attributes.py -criteo_api_marketingsolutions_v2023_07/model/html_tag_write_attributes.py -criteo_api_marketingsolutions_v2023_07/model/image_attributes.py -criteo_api_marketingsolutions_v2023_07/model/image_set.py -criteo_api_marketingsolutions_v2023_07/model/image_set_base64.py -criteo_api_marketingsolutions_v2023_07/model/image_shape.py -criteo_api_marketingsolutions_v2023_07/model/image_slide.py -criteo_api_marketingsolutions_v2023_07/model/image_write_attributes.py -criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1.py -criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1_list_response.py -criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1_resource.py -criteo_api_marketingsolutions_v2023_07/model/in_market_create_v1.py -criteo_api_marketingsolutions_v2023_07/model/in_market_size_estimation_v1.py -criteo_api_marketingsolutions_v2023_07/model/in_market_update_v1.py -criteo_api_marketingsolutions_v2023_07/model/in_market_v1.py -criteo_api_marketingsolutions_v2023_07/model/location_create_v1.py -criteo_api_marketingsolutions_v2023_07/model/location_size_estimation_v1.py -criteo_api_marketingsolutions_v2023_07/model/location_update_v1.py -criteo_api_marketingsolutions_v2023_07/model/location_v1.py -criteo_api_marketingsolutions_v2023_07/model/lookalike_create_v1.py -criteo_api_marketingsolutions_v2023_07/model/lookalike_update_v1.py -criteo_api_marketingsolutions_v2023_07/model/lookalike_v1.py -criteo_api_marketingsolutions_v2023_07/model/modify_audience_response.py -criteo_api_marketingsolutions_v2023_07/model/new_audience.py -criteo_api_marketingsolutions_v2023_07/model/new_audience_attributes.py -criteo_api_marketingsolutions_v2023_07/model/new_audience_request.py -criteo_api_marketingsolutions_v2023_07/model/new_audience_response.py -criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule.py -criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule_value.py -criteo_api_marketingsolutions_v2023_07/model/nillable_date_time.py -criteo_api_marketingsolutions_v2023_07/model/nillable_decimal.py -criteo_api_marketingsolutions_v2023_07/model/nillable_gender_v1.py -criteo_api_marketingsolutions_v2023_07/model/nillable_int32.py -criteo_api_marketingsolutions_v2023_07/model/nillable_string.py -criteo_api_marketingsolutions_v2023_07/model/outcome.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_bidding.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_budget.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_list_request.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_resource.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_result_list_response.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_result_resource.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_list_request.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_resource.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_result_list_response.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_result_resource.py -criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_scheduling.py -criteo_api_marketingsolutions_v2023_07/model/patch_campaign.py -criteo_api_marketingsolutions_v2023_07/model/patch_campaign_list_request.py -criteo_api_marketingsolutions_v2023_07/model/patch_campaign_spend_limit.py -criteo_api_marketingsolutions_v2023_07/model/patch_campaign_write_resource.py -criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_list_response.py -criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_read_resource.py -criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message.py -criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_list_request.py -criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_resource.py -criteo_api_marketingsolutions_v2023_07/model/point_of_interest_v1.py -criteo_api_marketingsolutions_v2023_07/model/portfolio_message.py -criteo_api_marketingsolutions_v2023_07/model/prospecting_create_v1.py -criteo_api_marketingsolutions_v2023_07/model/prospecting_update_v1.py -criteo_api_marketingsolutions_v2023_07/model/prospecting_v1.py -criteo_api_marketingsolutions_v2023_07/model/read_ad_set.py -criteo_api_marketingsolutions_v2023_07/model/read_ad_set_bidding.py -criteo_api_marketingsolutions_v2023_07/model/read_ad_set_budget.py -criteo_api_marketingsolutions_v2023_07/model/read_ad_set_schedule.py -criteo_api_marketingsolutions_v2023_07/model/read_model_ad_set_id.py -criteo_api_marketingsolutions_v2023_07/model/read_model_read_ad_set.py -criteo_api_marketingsolutions_v2023_07/model/replace_audience.py -criteo_api_marketingsolutions_v2023_07/model/replace_audience_request.py -criteo_api_marketingsolutions_v2023_07/model/replace_audience_response.py -criteo_api_marketingsolutions_v2023_07/model/request_ad_set_search.py -criteo_api_marketingsolutions_v2023_07/model/requests_ad_set_id.py -criteo_api_marketingsolutions_v2023_07/model/requests_patch_ad_set.py -criteo_api_marketingsolutions_v2023_07/model/response_read_ad_set.py -criteo_api_marketingsolutions_v2023_07/model/responses_ad_set_id.py -criteo_api_marketingsolutions_v2023_07/model/responses_read_ad_set.py -criteo_api_marketingsolutions_v2023_07/model/retargeting_create_v1.py -criteo_api_marketingsolutions_v2023_07/model/retargeting_update_v1.py -criteo_api_marketingsolutions_v2023_07/model/retargeting_v1.py -criteo_api_marketingsolutions_v2023_07/model/size.py -criteo_api_marketingsolutions_v2023_07/model/statistics_report_query_message.py -criteo_api_marketingsolutions_v2023_07/model/tag.py -criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message.py -criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_list_request.py -criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_resource.py -criteo_api_marketingsolutions_v2023_07/model/transparency_query_message.py -criteo_api_marketingsolutions_v2023_07/model/transparency_report.py -criteo_api_marketingsolutions_v2023_07/model/transparency_report_file.py -criteo_api_marketingsolutions_v2023_07/model/transparency_report_list_response.py -criteo_api_marketingsolutions_v2023_07/model/transparency_report_resource.py -criteo_api_marketingsolutions_v2023_07/model/update_coupon.py -criteo_api_marketingsolutions_v2023_07/model/update_coupon_request.py -criteo_api_marketingsolutions_v2023_07/model/update_coupon_resource.py -criteo_api_marketingsolutions_v2023_07/model/video_detail.py -criteo_api_marketingsolutions_v2023_07/model/write_model_ad_set_id.py -criteo_api_marketingsolutions_v2023_07/model/write_model_patch_ad_set.py -criteo_api_marketingsolutions_v2023_07/model_utils.py -criteo_api_marketingsolutions_v2023_07/models/__init__.py -criteo_api_marketingsolutions_v2023_07/rest.py -docs/Ad.md -docs/AdListResponse.md -docs/AdResource.md -docs/AdResponse.md -docs/AdSetAudienceLinkEntityV1.md -docs/AdSetAudienceLinkEntityV1Resource.md -docs/AdSetAudienceLinkEntityV1Response.md -docs/AdSetAudienceLinkInputEntityV1.md -docs/AdSetCategoryBid.md -docs/AdSetCategoryBidListResponse.md -docs/AdSetCategoryBidResource.md -docs/AdSetDeliveryLimitations.md -docs/AdSetDisplayMultiplier.md -docs/AdSetDisplayMultiplierListResponse.md -docs/AdSetDisplayMultiplierResource.md -docs/AdSetFrequencyCapping.md -docs/AdSetGeoLocation.md -docs/AdSetSearchFilter.md -docs/AdSetTargeting.md -docs/AdSetTargetingRule.md -docs/AdWrite.md -docs/AdWriteRequest.md -docs/AdWriteResource.md -docs/AdaptiveAttributes.md -docs/AdaptiveColors.md -docs/AdaptiveWriteAttributes.md -docs/AdvertiserApi.md -docs/AlgebraNodeV1.md -docs/AnalyticsApi.md -docs/ApplicationSummaryModel.md -docs/ApplicationSummaryModelResource.md -docs/ApplicationSummaryModelResponse.md -docs/Audience.md -docs/AudienceApi.md -docs/AudienceAttributes.md -docs/AudienceBulkCreateInputV1.md -docs/AudienceBulkDeleteInputV1.md -docs/AudienceBulkUpdateInputV1.md -docs/AudienceComputeSizeEntityV1Resource.md -docs/AudienceComputeSizesInputV1.md -docs/AudienceCreateEntityV1.md -docs/AudienceCreateEntityV1Resource.md -docs/AudienceDeleteEntityV1Resource.md -docs/AudienceEntityV1.md -docs/AudienceEntityV1AudienceSearchMetadataV1ListResponse.md -docs/AudienceEntityV1ListResponse.md -docs/AudienceEntityV1Resource.md -docs/AudienceError.md -docs/AudienceEstimateSizeEntityV1.md -docs/AudienceEstimateSizeEntityV1Resource.md -docs/AudienceEstimateSizeInputV1.md -docs/AudienceIdEntityV1ListResponse.md -docs/AudienceIdEntityV1Resource.md -docs/AudienceNameDescription.md -docs/AudienceSearchEntityV1.md -docs/AudienceSearchEntityV1Resource.md -docs/AudienceSearchInputV1.md -docs/AudienceSearchMetadataV1.md -docs/AudienceSegmentBulkCreateInputV1.md -docs/AudienceSegmentBulkDeleteInputV1.md -docs/AudienceSegmentBulkUpdateInputV1.md -docs/AudienceSegmentComputeSizeEntityV1Resource.md -docs/AudienceSegmentComputeSizesInputV1.md -docs/AudienceSegmentCreateEntityV1.md -docs/AudienceSegmentCreateEntityV1Resource.md -docs/AudienceSegmentDeleteEntityV1Resource.md -docs/AudienceSegmentEntityV1.md -docs/AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse.md -docs/AudienceSegmentEntityV1ListResponse.md -docs/AudienceSegmentEntityV1Resource.md -docs/AudienceSegmentEstimateSizeInputV1.md -docs/AudienceSegmentIdEntityV1ListResponse.md -docs/AudienceSegmentIdEntityV1Resource.md -docs/AudienceSegmentSearchEntityV1.md -docs/AudienceSegmentSearchEntityV1Resource.md -docs/AudienceSegmentSearchInputV1.md -docs/AudienceSegmentSearchMetadataV1.md -docs/AudienceSegmentSizeEntityV1.md -docs/AudienceSegmentSizeEntityV1ListResponse.md -docs/AudienceSegmentSizeEntityV1Resource.md -docs/AudienceSegmentSizeEstimationEntityV1.md -docs/AudienceSegmentSizeEstimationEntityV1Resource.md -docs/AudienceSegmentSizeEstimationV1.md -docs/AudienceSegmentSizeEstimationV1Resource.md -docs/AudienceSegmentSizeEstimationV1Response.md -docs/AudienceSegmentUpdateEntityV1.md -docs/AudienceSegmentUpdateEntityV1Resource.md -docs/AudienceSizeEntityV1.md -docs/AudienceSizeEntityV1ListResponse.md -docs/AudienceSizeEntityV1Resource.md -docs/AudienceSizeEstimationV1.md -docs/AudienceSizeEstimationV1Resource.md -docs/AudienceSizeEstimationV1Response.md -docs/AudienceUpdateEntityV1.md -docs/AudienceUpdateEntityV1Resource.md -docs/AudienceWarning.md -docs/BasicAudienceDefinition.md -docs/BehavioralV1.md -docs/Campaign.md -docs/CampaignApi.md -docs/CampaignListResponse.md -docs/CampaignReadResource.md -docs/CampaignResponse.md -docs/CampaignSearchFilters.md -docs/CampaignSearchRequest.md -docs/CampaignSpendLimit.md -docs/CampaignSpendLimitV23Q1.md -docs/CampaignV23Q1.md -docs/CampaignV23Q1Resource.md -docs/CampaignV23Q1Response.md -docs/CommonProblem.md -docs/ContactListStatisticsEntityV1.md -docs/ContactListStatisticsEntityV1Resource.md -docs/ContactListStatisticsEntityV1Response.md -docs/ContactListV1.md -docs/ContactlistAmendment.md -docs/ContactlistAmendmentAttributes.md -docs/ContactlistAmendmentRequest.md -docs/ContactlistOperation.md -docs/ContactlistOperationAttributes.md -docs/Coupon.md -docs/CouponListResponse.md -docs/CouponResource.md -docs/CouponResponse.md -docs/CouponSupportedSizes.md -docs/CouponSupportedSizesResource.md -docs/CouponSupportedSizesResponse.md -docs/CreateAdSet.md -docs/CreateAdSetBidding.md -docs/CreateAdSetBudget.md -docs/CreateAdSetGeoLocation.md -docs/CreateAdSetRequest.md -docs/CreateAdSetResource.md -docs/CreateAdSetSchedule.md -docs/CreateAdSetTargeting.md -docs/CreateCampaign.md -docs/CreateCampaignRequest.md -docs/CreateCampaignResource.md -docs/CreateCampaignSpendLimit.md -docs/CreateCoupon.md -docs/CreateCouponRequest.md -docs/CreateCouponResource.md -docs/CreateImageSlide.md -docs/Creative.md -docs/CreativeApi.md -docs/CreativeListResponse.md -docs/CreativeResource.md -docs/CreativeResponse.md -docs/CreativeWrite.md -docs/CreativeWriteRequest.md -docs/CreativeWriteResource.md -docs/CriteoApiError.md -docs/CriteoApiWarning.md -docs/DeleteAudienceContactListResponse.md -docs/DeleteAudienceResponse.md -docs/DynamicAttributes.md -docs/DynamicWriteAttributes.md -docs/EntityOfPortfolioMessage.md -docs/ErrorCodeResponse.md -docs/GatewayApi.md -docs/GetAudiencesResponse.md -docs/GetPortfolioResponse.md -docs/HtmlTagAttributes.md -docs/HtmlTagWriteAttributes.md -docs/ImageAttributes.md -docs/ImageSet.md -docs/ImageSetBase64.md -docs/ImageShape.md -docs/ImageSlide.md -docs/ImageWriteAttributes.md -docs/InMarketAudienceSegmentBrandEntityV1.md -docs/InMarketAudienceSegmentBrandEntityV1ListResponse.md -docs/InMarketAudienceSegmentBrandEntityV1Resource.md -docs/InMarketAudienceSegmentInterestEntityV1.md -docs/InMarketAudienceSegmentInterestEntityV1ListResponse.md -docs/InMarketAudienceSegmentInterestEntityV1Resource.md -docs/InMarketCreateV1.md -docs/InMarketSizeEstimationV1.md -docs/InMarketUpdateV1.md -docs/InMarketV1.md -docs/LocationCreateV1.md -docs/LocationSizeEstimationV1.md -docs/LocationUpdateV1.md -docs/LocationV1.md -docs/LookalikeCreateV1.md -docs/LookalikeUpdateV1.md -docs/LookalikeV1.md -docs/ModifyAudienceResponse.md -docs/NewAudience.md -docs/NewAudienceAttributes.md -docs/NewAudienceRequest.md -docs/NewAudienceResponse.md -docs/NillableAdSetTargetingRule.md -docs/NillableAdSetTargetingRuleValue.md -docs/NillableDateTime.md -docs/NillableDecimal.md -docs/NillableGenderV1.md -docs/NillableInt32.md -docs/NillableString.md -docs/Outcome.md -docs/PatchAdSet.md -docs/PatchAdSetBidding.md -docs/PatchAdSetBudget.md -docs/PatchAdSetCategoryBid.md -docs/PatchAdSetCategoryBidListRequest.md -docs/PatchAdSetCategoryBidResource.md -docs/PatchAdSetCategoryBidResultListResponse.md -docs/PatchAdSetCategoryBidResultResource.md -docs/PatchAdSetDisplayMultiplier.md -docs/PatchAdSetDisplayMultiplierListRequest.md -docs/PatchAdSetDisplayMultiplierResource.md -docs/PatchAdSetDisplayMultiplierResultListResponse.md -docs/PatchAdSetDisplayMultiplierResultResource.md -docs/PatchAdSetScheduling.md -docs/PatchCampaign.md -docs/PatchCampaignListRequest.md -docs/PatchCampaignSpendLimit.md -docs/PatchCampaignWriteResource.md -docs/PatchResultCampaignListResponse.md -docs/PatchResultCampaignReadResource.md -docs/PlacementsReportQueryMessage.md -docs/PlacementsReportQueryMessageListRequest.md -docs/PlacementsReportQueryMessageResource.md -docs/PointOfInterestV1.md -docs/PortfolioMessage.md -docs/ProspectingCreateV1.md -docs/ProspectingUpdateV1.md -docs/ProspectingV1.md -docs/ReadAdSet.md -docs/ReadAdSetBidding.md -docs/ReadAdSetBudget.md -docs/ReadAdSetSchedule.md -docs/ReadModelAdSetId.md -docs/ReadModelReadAdSet.md -docs/ReplaceAudience.md -docs/ReplaceAudienceRequest.md -docs/ReplaceAudienceResponse.md -docs/RequestAdSetSearch.md -docs/RequestsAdSetId.md -docs/RequestsPatchAdSet.md -docs/ResponseReadAdSet.md -docs/ResponsesAdSetId.md -docs/ResponsesReadAdSet.md -docs/RetargetingCreateV1.md -docs/RetargetingUpdateV1.md -docs/RetargetingV1.md -docs/Size.md -docs/StatisticsReportQueryMessage.md -docs/Tag.md -docs/TransactionsReportQueryMessage.md -docs/TransactionsReportQueryMessageListRequest.md -docs/TransactionsReportQueryMessageResource.md -docs/TransparencyQueryMessage.md -docs/TransparencyReport.md -docs/TransparencyReportFile.md -docs/TransparencyReportListResponse.md -docs/TransparencyReportResource.md -docs/UpdateCoupon.md -docs/UpdateCouponRequest.md -docs/UpdateCouponResource.md -docs/VideoDetail.md -docs/WriteModelAdSetId.md -docs/WriteModelPatchAdSet.md -git_push.sh -requirements.txt -setup.cfg -setup.py -test-requirements.txt -test/example_application_with_auth_code.py -test/example_application_with_client_credentials.py -test/example_application_with_refresh_token.py -test/test_gateway_api.py -tox.ini diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/__init__.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/__init__.py deleted file mode 100644 index 499b1bbc..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/__init__.py +++ /dev/null @@ -1,31 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -__version__ = "2023.07.0.240808" - -# import ApiClient -from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient -from criteo_api_marketingsolutions_v2023_07.criteo_api_client import CriteoApiClient -from criteo_api_marketingsolutions_v2023_07.api_client_builder import ApiClientBuilder -from criteo_api_marketingsolutions_v2023_07 import flow_constants - -# import Configuration -from criteo_api_marketingsolutions_v2023_07.configuration import Configuration - -# import exceptions -from criteo_api_marketingsolutions_v2023_07.exceptions import OpenApiException -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiTypeError -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiValueError -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiKeyError -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiException - - - diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_geo_location.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_geo_location.py deleted file mode 100644 index 20e197f1..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_geo_location.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_ad_set_targeting_rule import NillableAdSetTargetingRule - globals()['NillableAdSetTargetingRule'] = NillableAdSetTargetingRule - - -class AdSetGeoLocation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'countries': (NillableAdSetTargetingRule,), # noqa: E501 - 'subdivisions': (NillableAdSetTargetingRule,), # noqa: E501 - 'zip_codes': (NillableAdSetTargetingRule,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'countries': 'countries', # noqa: E501 - 'subdivisions': 'subdivisions', # noqa: E501 - 'zip_codes': 'zipCodes', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AdSetGeoLocation - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - countries (NillableAdSetTargetingRule): [optional] # noqa: E501 - subdivisions (NillableAdSetTargetingRule): [optional] # noqa: E501 - zip_codes (NillableAdSetTargetingRule): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """AdSetGeoLocation - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - countries (NillableAdSetTargetingRule): [optional] # noqa: E501 - subdivisions (NillableAdSetTargetingRule): [optional] # noqa: E501 - zip_codes (NillableAdSetTargetingRule): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting.py deleted file mode 100644 index c7768037..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting.py +++ /dev/null @@ -1,281 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_delivery_limitations import AdSetDeliveryLimitations - from criteo_api_marketingsolutions_v2023_07.model.ad_set_frequency_capping import AdSetFrequencyCapping - from criteo_api_marketingsolutions_v2023_07.model.ad_set_geo_location import AdSetGeoLocation - globals()['AdSetDeliveryLimitations'] = AdSetDeliveryLimitations - globals()['AdSetFrequencyCapping'] = AdSetFrequencyCapping - globals()['AdSetGeoLocation'] = AdSetGeoLocation - - -class AdSetTargeting(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'delivery_limitations': (AdSetDeliveryLimitations,), # noqa: E501 - 'geo_location': (AdSetGeoLocation,), # noqa: E501 - 'frequency_capping': (AdSetFrequencyCapping,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'delivery_limitations': 'deliveryLimitations', # noqa: E501 - 'geo_location': 'geoLocation', # noqa: E501 - 'frequency_capping': 'frequencyCapping', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AdSetTargeting - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - delivery_limitations (AdSetDeliveryLimitations): [optional] # noqa: E501 - geo_location (AdSetGeoLocation): [optional] # noqa: E501 - frequency_capping (AdSetFrequencyCapping): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """AdSetTargeting - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - delivery_limitations (AdSetDeliveryLimitations): [optional] # noqa: E501 - geo_location (AdSetGeoLocation): [optional] # noqa: E501 - frequency_capping (AdSetFrequencyCapping): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_attributes.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_attributes.py deleted file mode 100644 index 524179f7..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_attributes.py +++ /dev/null @@ -1,303 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - - -class AudienceAttributes(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'name': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'created': (datetime,), # noqa: E501 - 'updated': (datetime,), # noqa: E501 - 'advertiser_id': (str, none_type,), # noqa: E501 - 'nb_lines': (int, none_type,), # noqa: E501 - 'nb_lines_email': (int, none_type,), # noqa: E501 - 'nb_matches_email': (int, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'description': 'description', # noqa: E501 - 'created': 'created', # noqa: E501 - 'updated': 'updated', # noqa: E501 - 'advertiser_id': 'advertiserId', # noqa: E501 - 'nb_lines': 'nbLines', # noqa: E501 - 'nb_lines_email': 'nbLinesEmail', # noqa: E501 - 'nb_matches_email': 'nbMatchesEmail', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, description, created, updated, *args, **kwargs): # noqa: E501 - """AudienceAttributes - a model defined in OpenAPI - - Args: - name (str): The name of the Audience - description (str): The string description of the Audience - created (datetime): Date and time ISO 8601 formatted string - updated (datetime): Date and time ISO 8601 formatted string - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - advertiser_id (str, none_type): The advertiser id that owns this Audience. [optional] # noqa: E501 - nb_lines (int, none_type): The number of line in the audience available once processed. [optional] # noqa: E501 - nb_lines_email (int, none_type): The number of email line in the audience available once processed. [optional] # noqa: E501 - nb_matches_email (int, none_type): The number of email matches in the audience available once processed. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.description = description - self.created = created - self.updated = updated - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, description, created, updated, *args, **kwargs): # noqa: E501 - """AudienceAttributes - a model defined in OpenAPI - - Args: - name (str): The name of the Audience - description (str): The string description of the Audience - created (datetime): Date and time ISO 8601 formatted string - updated (datetime): Date and time ISO 8601 formatted string - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - advertiser_id (str, none_type): The advertiser id that owns this Audience. [optional] # noqa: E501 - nb_lines (int, none_type): The number of line in the audience available once processed. [optional] # noqa: E501 - nb_lines_email (int, none_type): The number of email line in the audience available once processed. [optional] # noqa: E501 - nb_matches_email (int, none_type): The number of email matches in the audience available once processed. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.description = description - self.created = created - self.updated = updated - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_spend_limit.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_spend_limit.py deleted file mode 100644 index 52e5cdb4..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_spend_limit.py +++ /dev/null @@ -1,289 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_decimal import NillableDecimal - globals()['NillableDecimal'] = NillableDecimal - - -class CampaignSpendLimit(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('spend_limit_type',): { - 'None': None, - 'CAPPED': "capped", - 'UNCAPPED': "uncapped", - }, - ('spend_limit_renewal',): { - 'None': None, - 'UNDEFINED': "undefined", - 'DAILY': "daily", - 'MONTHLY': "monthly", - 'LIFETIME': "lifetime", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'spend_limit_type': (str, none_type,), # noqa: E501 - 'spend_limit_renewal': (str, none_type,), # noqa: E501 - 'spend_limit_amount': (NillableDecimal,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'spend_limit_type': 'spendLimitType', # noqa: E501 - 'spend_limit_renewal': 'spendLimitRenewal', # noqa: E501 - 'spend_limit_amount': 'spendLimitAmount', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CampaignSpendLimit - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - spend_limit_type (str, none_type): [optional] # noqa: E501 - spend_limit_renewal (str, none_type): [optional] # noqa: E501 - spend_limit_amount (NillableDecimal): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """CampaignSpendLimit - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - spend_limit_type (str, none_type): [optional] # noqa: E501 - spend_limit_renewal (str, none_type): [optional] # noqa: E501 - spend_limit_amount (NillableDecimal): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_geo_location.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_geo_location.py deleted file mode 100644 index 4543ade3..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_geo_location.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_targeting_rule import AdSetTargetingRule - globals()['AdSetTargetingRule'] = AdSetTargetingRule - - -class CreateAdSetGeoLocation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'countries': (AdSetTargetingRule,), # noqa: E501 - 'subdivisions': (AdSetTargetingRule,), # noqa: E501 - 'zip_codes': (AdSetTargetingRule,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'countries': 'countries', # noqa: E501 - 'subdivisions': 'subdivisions', # noqa: E501 - 'zip_codes': 'zipCodes', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CreateAdSetGeoLocation - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - countries (AdSetTargetingRule): [optional] # noqa: E501 - subdivisions (AdSetTargetingRule): [optional] # noqa: E501 - zip_codes (AdSetTargetingRule): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """CreateAdSetGeoLocation - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - countries (AdSetTargetingRule): [optional] # noqa: E501 - subdivisions (AdSetTargetingRule): [optional] # noqa: E501 - zip_codes (AdSetTargetingRule): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_resource.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_resource.py deleted file mode 100644 index f667316e..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_resource.py +++ /dev/null @@ -1,273 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.create_ad_set import CreateAdSet - globals()['CreateAdSet'] = CreateAdSet - - -class CreateAdSetResource(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'attributes': (CreateAdSet,), # noqa: E501 - 'type': (str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'attributes': 'attributes', # noqa: E501 - 'type': 'type', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CreateAdSetResource - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - attributes (CreateAdSet): [optional] # noqa: E501 - type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """CreateAdSetResource - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - attributes (CreateAdSet): [optional] # noqa: E501 - type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/delete_audience_response.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/delete_audience_response.py deleted file mode 100644 index 130b1ad1..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/delete_audience_response.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_error import AudienceError - from criteo_api_marketingsolutions_v2023_07.model.audience_warning import AudienceWarning - from criteo_api_marketingsolutions_v2023_07.model.basic_audience_definition import BasicAudienceDefinition - globals()['AudienceError'] = AudienceError - globals()['AudienceWarning'] = AudienceWarning - globals()['BasicAudienceDefinition'] = BasicAudienceDefinition - - -class DeleteAudienceResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'data': (BasicAudienceDefinition,), # noqa: E501 - 'errors': ([AudienceError],), # noqa: E501 - 'warnings': ([AudienceWarning],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'data': 'data', # noqa: E501 - 'errors': 'errors', # noqa: E501 - 'warnings': 'warnings', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, data, errors, warnings, *args, **kwargs): # noqa: E501 - """DeleteAudienceResponse - a model defined in OpenAPI - - Args: - data (BasicAudienceDefinition): - errors ([AudienceError]): - warnings ([AudienceWarning]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.data = data - self.errors = errors - self.warnings = warnings - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, data, errors, warnings, *args, **kwargs): # noqa: E501 - """DeleteAudienceResponse - a model defined in OpenAPI - - Args: - data (BasicAudienceDefinition): - errors ([AudienceError]): - warnings ([AudienceWarning]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.data = data - self.errors = errors - self.warnings = warnings - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_attributes.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_attributes.py deleted file mode 100644 index c16457d5..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_attributes.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - - -class NewAudienceAttributes(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'name': (str,), # noqa: E501 - 'advertiser_id': (str, none_type,), # noqa: E501 - 'description': (str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'advertiser_id': 'advertiserId', # noqa: E501 - 'description': 'description', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501 - """NewAudienceAttributes - a model defined in OpenAPI - - Args: - name (str): The name of the new audience - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - advertiser_id (str, none_type): The advertiser id to create the audience for. [optional] # noqa: E501 - description (str, none_type): The description of the audience. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, *args, **kwargs): # noqa: E501 - """NewAudienceAttributes - a model defined in OpenAPI - - Args: - name (str): The name of the new audience - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - advertiser_id (str, none_type): The advertiser id to create the audience for. [optional] # noqa: E501 - description (str, none_type): The description of the audience. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_response.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_response.py deleted file mode 100644 index e74dd83b..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_response.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_error import AudienceError - from criteo_api_marketingsolutions_v2023_07.model.audience_warning import AudienceWarning - from criteo_api_marketingsolutions_v2023_07.model.basic_audience_definition import BasicAudienceDefinition - globals()['AudienceError'] = AudienceError - globals()['AudienceWarning'] = AudienceWarning - globals()['BasicAudienceDefinition'] = BasicAudienceDefinition - - -class NewAudienceResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'data': (BasicAudienceDefinition,), # noqa: E501 - 'errors': ([AudienceError],), # noqa: E501 - 'warnings': ([AudienceWarning],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'data': 'data', # noqa: E501 - 'errors': 'errors', # noqa: E501 - 'warnings': 'warnings', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, data, errors, warnings, *args, **kwargs): # noqa: E501 - """NewAudienceResponse - a model defined in OpenAPI - - Args: - data (BasicAudienceDefinition): - errors ([AudienceError]): - warnings ([AudienceWarning]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.data = data - self.errors = errors - self.warnings = warnings - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, data, errors, warnings, *args, **kwargs): # noqa: E501 - """NewAudienceResponse - a model defined in OpenAPI - - Args: - data (BasicAudienceDefinition): - errors ([AudienceError]): - warnings ([AudienceWarning]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.data = data - self.errors = errors - self.warnings = warnings - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule.py deleted file mode 100644 index 3b114c11..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule.py +++ /dev/null @@ -1,269 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_ad_set_targeting_rule_value import NillableAdSetTargetingRuleValue - globals()['NillableAdSetTargetingRuleValue'] = NillableAdSetTargetingRuleValue - - -class NillableAdSetTargetingRule(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'value': (NillableAdSetTargetingRuleValue,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'value': 'value', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """NillableAdSetTargetingRule - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - value (NillableAdSetTargetingRuleValue): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """NillableAdSetTargetingRule - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - value (NillableAdSetTargetingRuleValue): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_bidding.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_bidding.py deleted file mode 100644 index 5f4ca847..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_bidding.py +++ /dev/null @@ -1,302 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_decimal import NillableDecimal - globals()['NillableDecimal'] = NillableDecimal - - -class ReadAdSetBidding(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('bid_strategy',): { - 'None': None, - 'ACTIONS': "actions", - 'CLICKS': "clicks", - 'CONVERSIONS': "conversions", - 'DISPLAYS': "displays", - 'INSTALLS': "installs", - 'REVENUE': "revenue", - 'STORECONVERSIONS': "storeConversions", - 'VALUE': "value", - 'VIEWEDIMPRESSIONS': "viewedImpressions", - 'VISITS': "Visits", - 'COMPLETEDVIDEOVIEWS': "completedVideoViews", - }, - ('cost_controller',): { - 'None': None, - 'COS': "COS", - 'CPC': "CPC", - 'CPI': "CPI", - 'CPM': "CPM", - 'CPO': "CPO", - 'CPSV': "CPSV", - 'CPV': "CPV", - 'DAILYBUDGET': "dailyBudget", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'bid_amount': (NillableDecimal,), # noqa: E501 - 'bid_strategy': (str, none_type,), # noqa: E501 - 'cost_controller': (str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'bid_amount': 'bidAmount', # noqa: E501 - 'bid_strategy': 'bidStrategy', # noqa: E501 - 'cost_controller': 'costController', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReadAdSetBidding - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - bid_amount (NillableDecimal): [optional] # noqa: E501 - bid_strategy (str, none_type): The intended optimization for the Ad Set. [optional] # noqa: E501 - cost_controller (str, none_type): How spend is controlled. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ReadAdSetBidding - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - bid_amount (NillableDecimal): [optional] # noqa: E501 - bid_strategy (str, none_type): The intended optimization for the Ad Set. [optional] # noqa: E501 - cost_controller (str, none_type): How spend is controlled. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience_response.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience_response.py deleted file mode 100644 index 7f578fb2..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience_response.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_error import AudienceError - from criteo_api_marketingsolutions_v2023_07.model.audience_warning import AudienceWarning - from criteo_api_marketingsolutions_v2023_07.model.basic_audience_definition import BasicAudienceDefinition - globals()['AudienceError'] = AudienceError - globals()['AudienceWarning'] = AudienceWarning - globals()['BasicAudienceDefinition'] = BasicAudienceDefinition - - -class ReplaceAudienceResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'data': (BasicAudienceDefinition,), # noqa: E501 - 'errors': ([AudienceError],), # noqa: E501 - 'warnings': ([AudienceWarning],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'data': 'data', # noqa: E501 - 'errors': 'errors', # noqa: E501 - 'warnings': 'warnings', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, data, errors, warnings, *args, **kwargs): # noqa: E501 - """ReplaceAudienceResponse - a model defined in OpenAPI - - Args: - data (BasicAudienceDefinition): - errors ([AudienceError]): - warnings ([AudienceWarning]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.data = data - self.errors = errors - self.warnings = warnings - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, data, errors, warnings, *args, **kwargs): # noqa: E501 - """ReplaceAudienceResponse - a model defined in OpenAPI - - Args: - data (BasicAudienceDefinition): - errors ([AudienceError]): - warnings ([AudienceWarning]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.data = data - self.errors = errors - self.warnings = warnings - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/models/__init__.py b/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/models/__init__.py deleted file mode 100644 index 1eaf9b03..00000000 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/models/__init__.py +++ /dev/null @@ -1,268 +0,0 @@ -# flake8: noqa - -# import all models into this package -# if you have many models here with many references from one model to another this may -# raise a RecursionError -# to avoid this, import only the models that you directly need like: -# from criteo_api_marketingsolutions_v2023_07.model.pet import Pet -# or import this package, but before doing it, use: -# import sys -# sys.setrecursionlimit(n) - -from criteo_api_marketingsolutions_v2023_07.model.ad import Ad -from criteo_api_marketingsolutions_v2023_07.model.ad_list_response import AdListResponse -from criteo_api_marketingsolutions_v2023_07.model.ad_resource import AdResource -from criteo_api_marketingsolutions_v2023_07.model.ad_response import AdResponse -from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_entity_v1 import AdSetAudienceLinkEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_entity_v1_resource import AdSetAudienceLinkEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_entity_v1_response import AdSetAudienceLinkEntityV1Response -from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_input_entity_v1 import AdSetAudienceLinkInputEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.ad_set_category_bid import AdSetCategoryBid -from criteo_api_marketingsolutions_v2023_07.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse -from criteo_api_marketingsolutions_v2023_07.model.ad_set_category_bid_resource import AdSetCategoryBidResource -from criteo_api_marketingsolutions_v2023_07.model.ad_set_delivery_limitations import AdSetDeliveryLimitations -from criteo_api_marketingsolutions_v2023_07.model.ad_set_display_multiplier import AdSetDisplayMultiplier -from criteo_api_marketingsolutions_v2023_07.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse -from criteo_api_marketingsolutions_v2023_07.model.ad_set_display_multiplier_resource import AdSetDisplayMultiplierResource -from criteo_api_marketingsolutions_v2023_07.model.ad_set_frequency_capping import AdSetFrequencyCapping -from criteo_api_marketingsolutions_v2023_07.model.ad_set_geo_location import AdSetGeoLocation -from criteo_api_marketingsolutions_v2023_07.model.ad_set_search_filter import AdSetSearchFilter -from criteo_api_marketingsolutions_v2023_07.model.ad_set_targeting import AdSetTargeting -from criteo_api_marketingsolutions_v2023_07.model.ad_set_targeting_rule import AdSetTargetingRule -from criteo_api_marketingsolutions_v2023_07.model.ad_write import AdWrite -from criteo_api_marketingsolutions_v2023_07.model.ad_write_request import AdWriteRequest -from criteo_api_marketingsolutions_v2023_07.model.ad_write_resource import AdWriteResource -from criteo_api_marketingsolutions_v2023_07.model.adaptive_attributes import AdaptiveAttributes -from criteo_api_marketingsolutions_v2023_07.model.adaptive_colors import AdaptiveColors -from criteo_api_marketingsolutions_v2023_07.model.adaptive_write_attributes import AdaptiveWriteAttributes -from criteo_api_marketingsolutions_v2023_07.model.algebra_node_v1 import AlgebraNodeV1 -from criteo_api_marketingsolutions_v2023_07.model.application_summary_model import ApplicationSummaryModel -from criteo_api_marketingsolutions_v2023_07.model.application_summary_model_resource import ApplicationSummaryModelResource -from criteo_api_marketingsolutions_v2023_07.model.application_summary_model_response import ApplicationSummaryModelResponse -from criteo_api_marketingsolutions_v2023_07.model.audience import Audience -from criteo_api_marketingsolutions_v2023_07.model.audience_attributes import AudienceAttributes -from criteo_api_marketingsolutions_v2023_07.model.audience_bulk_create_input_v1 import AudienceBulkCreateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_bulk_delete_input_v1 import AudienceBulkDeleteInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_bulk_update_input_v1 import AudienceBulkUpdateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_compute_size_entity_v1_resource import AudienceComputeSizeEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_create_entity_v1 import AudienceCreateEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_create_entity_v1_resource import AudienceCreateEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_delete_entity_v1_resource import AudienceDeleteEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1 import AudienceEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_audience_search_metadata_v1_list_response import AudienceEntityV1AudienceSearchMetadataV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_list_response import AudienceEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_resource import AudienceEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_error import AudienceError -from criteo_api_marketingsolutions_v2023_07.model.audience_estimate_size_entity_v1 import AudienceEstimateSizeEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_estimate_size_entity_v1_resource import AudienceEstimateSizeEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_estimate_size_input_v1 import AudienceEstimateSizeInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_id_entity_v1_list_response import AudienceIdEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_id_entity_v1_resource import AudienceIdEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_name_description import AudienceNameDescription -from criteo_api_marketingsolutions_v2023_07.model.audience_search_entity_v1 import AudienceSearchEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_search_entity_v1_resource import AudienceSearchEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_search_input_v1 import AudienceSearchInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_search_metadata_v1 import AudienceSearchMetadataV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_bulk_create_input_v1 import AudienceSegmentBulkCreateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_bulk_delete_input_v1 import AudienceSegmentBulkDeleteInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_bulk_update_input_v1 import AudienceSegmentBulkUpdateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_compute_size_entity_v1_resource import AudienceSegmentComputeSizeEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_create_entity_v1 import AudienceSegmentCreateEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_create_entity_v1_resource import AudienceSegmentCreateEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_delete_entity_v1_resource import AudienceSegmentDeleteEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1 import AudienceSegmentEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response import AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_list_response import AudienceSegmentEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_resource import AudienceSegmentEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_estimate_size_input_v1 import AudienceSegmentEstimateSizeInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_id_entity_v1_list_response import AudienceSegmentIdEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_id_entity_v1_resource import AudienceSegmentIdEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_search_entity_v1 import AudienceSegmentSearchEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_search_entity_v1_resource import AudienceSegmentSearchEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_search_input_v1 import AudienceSegmentSearchInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_search_metadata_v1 import AudienceSegmentSearchMetadataV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_entity_v1 import AudienceSegmentSizeEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_entity_v1_resource import AudienceSegmentSizeEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_entity_v1 import AudienceSegmentSizeEstimationEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_entity_v1_resource import AudienceSegmentSizeEstimationEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_v1 import AudienceSegmentSizeEstimationV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_v1_resource import AudienceSegmentSizeEstimationV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_v1_response import AudienceSegmentSizeEstimationV1Response -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_update_entity_v1 import AudienceSegmentUpdateEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_update_entity_v1_resource import AudienceSegmentUpdateEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_size_entity_v1 import AudienceSizeEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_size_entity_v1_resource import AudienceSizeEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_size_estimation_v1 import AudienceSizeEstimationV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_size_estimation_v1_resource import AudienceSizeEstimationV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_size_estimation_v1_response import AudienceSizeEstimationV1Response -from criteo_api_marketingsolutions_v2023_07.model.audience_update_entity_v1 import AudienceUpdateEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_update_entity_v1_resource import AudienceUpdateEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.audience_warning import AudienceWarning -from criteo_api_marketingsolutions_v2023_07.model.basic_audience_definition import BasicAudienceDefinition -from criteo_api_marketingsolutions_v2023_07.model.behavioral_v1 import BehavioralV1 -from criteo_api_marketingsolutions_v2023_07.model.campaign import Campaign -from criteo_api_marketingsolutions_v2023_07.model.campaign_list_response import CampaignListResponse -from criteo_api_marketingsolutions_v2023_07.model.campaign_read_resource import CampaignReadResource -from criteo_api_marketingsolutions_v2023_07.model.campaign_response import CampaignResponse -from criteo_api_marketingsolutions_v2023_07.model.campaign_search_filters import CampaignSearchFilters -from criteo_api_marketingsolutions_v2023_07.model.campaign_search_request import CampaignSearchRequest -from criteo_api_marketingsolutions_v2023_07.model.campaign_spend_limit import CampaignSpendLimit -from criteo_api_marketingsolutions_v2023_07.model.campaign_spend_limit_v23_q1 import CampaignSpendLimitV23Q1 -from criteo_api_marketingsolutions_v2023_07.model.campaign_v23_q1 import CampaignV23Q1 -from criteo_api_marketingsolutions_v2023_07.model.campaign_v23_q1_resource import CampaignV23Q1Resource -from criteo_api_marketingsolutions_v2023_07.model.campaign_v23_q1_response import CampaignV23Q1Response -from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem -from criteo_api_marketingsolutions_v2023_07.model.contact_list_statistics_entity_v1 import ContactListStatisticsEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.contact_list_statistics_entity_v1_resource import ContactListStatisticsEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.contact_list_statistics_entity_v1_response import ContactListStatisticsEntityV1Response -from criteo_api_marketingsolutions_v2023_07.model.contact_list_v1 import ContactListV1 -from criteo_api_marketingsolutions_v2023_07.model.contactlist_amendment import ContactlistAmendment -from criteo_api_marketingsolutions_v2023_07.model.contactlist_amendment_attributes import ContactlistAmendmentAttributes -from criteo_api_marketingsolutions_v2023_07.model.contactlist_amendment_request import ContactlistAmendmentRequest -from criteo_api_marketingsolutions_v2023_07.model.contactlist_operation import ContactlistOperation -from criteo_api_marketingsolutions_v2023_07.model.contactlist_operation_attributes import ContactlistOperationAttributes -from criteo_api_marketingsolutions_v2023_07.model.coupon import Coupon -from criteo_api_marketingsolutions_v2023_07.model.coupon_list_response import CouponListResponse -from criteo_api_marketingsolutions_v2023_07.model.coupon_resource import CouponResource -from criteo_api_marketingsolutions_v2023_07.model.coupon_response import CouponResponse -from criteo_api_marketingsolutions_v2023_07.model.coupon_supported_sizes import CouponSupportedSizes -from criteo_api_marketingsolutions_v2023_07.model.coupon_supported_sizes_resource import CouponSupportedSizesResource -from criteo_api_marketingsolutions_v2023_07.model.coupon_supported_sizes_response import CouponSupportedSizesResponse -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set import CreateAdSet -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_bidding import CreateAdSetBidding -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_budget import CreateAdSetBudget -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_geo_location import CreateAdSetGeoLocation -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_request import CreateAdSetRequest -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_resource import CreateAdSetResource -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_schedule import CreateAdSetSchedule -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_targeting import CreateAdSetTargeting -from criteo_api_marketingsolutions_v2023_07.model.create_campaign import CreateCampaign -from criteo_api_marketingsolutions_v2023_07.model.create_campaign_request import CreateCampaignRequest -from criteo_api_marketingsolutions_v2023_07.model.create_campaign_resource import CreateCampaignResource -from criteo_api_marketingsolutions_v2023_07.model.create_campaign_spend_limit import CreateCampaignSpendLimit -from criteo_api_marketingsolutions_v2023_07.model.create_coupon import CreateCoupon -from criteo_api_marketingsolutions_v2023_07.model.create_coupon_request import CreateCouponRequest -from criteo_api_marketingsolutions_v2023_07.model.create_coupon_resource import CreateCouponResource -from criteo_api_marketingsolutions_v2023_07.model.create_image_slide import CreateImageSlide -from criteo_api_marketingsolutions_v2023_07.model.creative import Creative -from criteo_api_marketingsolutions_v2023_07.model.creative_list_response import CreativeListResponse -from criteo_api_marketingsolutions_v2023_07.model.creative_resource import CreativeResource -from criteo_api_marketingsolutions_v2023_07.model.creative_response import CreativeResponse -from criteo_api_marketingsolutions_v2023_07.model.creative_write import CreativeWrite -from criteo_api_marketingsolutions_v2023_07.model.creative_write_request import CreativeWriteRequest -from criteo_api_marketingsolutions_v2023_07.model.creative_write_resource import CreativeWriteResource -from criteo_api_marketingsolutions_v2023_07.model.criteo_api_error import CriteoApiError -from criteo_api_marketingsolutions_v2023_07.model.criteo_api_warning import CriteoApiWarning -from criteo_api_marketingsolutions_v2023_07.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse -from criteo_api_marketingsolutions_v2023_07.model.delete_audience_response import DeleteAudienceResponse -from criteo_api_marketingsolutions_v2023_07.model.dynamic_attributes import DynamicAttributes -from criteo_api_marketingsolutions_v2023_07.model.dynamic_write_attributes import DynamicWriteAttributes -from criteo_api_marketingsolutions_v2023_07.model.entity_of_portfolio_message import EntityOfPortfolioMessage -from criteo_api_marketingsolutions_v2023_07.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2023_07.model.get_audiences_response import GetAudiencesResponse -from criteo_api_marketingsolutions_v2023_07.model.get_portfolio_response import GetPortfolioResponse -from criteo_api_marketingsolutions_v2023_07.model.html_tag_attributes import HtmlTagAttributes -from criteo_api_marketingsolutions_v2023_07.model.html_tag_write_attributes import HtmlTagWriteAttributes -from criteo_api_marketingsolutions_v2023_07.model.image_attributes import ImageAttributes -from criteo_api_marketingsolutions_v2023_07.model.image_set import ImageSet -from criteo_api_marketingsolutions_v2023_07.model.image_set_base64 import ImageSetBase64 -from criteo_api_marketingsolutions_v2023_07.model.image_shape import ImageShape -from criteo_api_marketingsolutions_v2023_07.model.image_slide import ImageSlide -from criteo_api_marketingsolutions_v2023_07.model.image_write_attributes import ImageWriteAttributes -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_brand_entity_v1 import InMarketAudienceSegmentBrandEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_brand_entity_v1_list_response import InMarketAudienceSegmentBrandEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_brand_entity_v1_resource import InMarketAudienceSegmentBrandEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_interest_entity_v1 import InMarketAudienceSegmentInterestEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_interest_entity_v1_list_response import InMarketAudienceSegmentInterestEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_interest_entity_v1_resource import InMarketAudienceSegmentInterestEntityV1Resource -from criteo_api_marketingsolutions_v2023_07.model.in_market_create_v1 import InMarketCreateV1 -from criteo_api_marketingsolutions_v2023_07.model.in_market_size_estimation_v1 import InMarketSizeEstimationV1 -from criteo_api_marketingsolutions_v2023_07.model.in_market_update_v1 import InMarketUpdateV1 -from criteo_api_marketingsolutions_v2023_07.model.in_market_v1 import InMarketV1 -from criteo_api_marketingsolutions_v2023_07.model.location_create_v1 import LocationCreateV1 -from criteo_api_marketingsolutions_v2023_07.model.location_size_estimation_v1 import LocationSizeEstimationV1 -from criteo_api_marketingsolutions_v2023_07.model.location_update_v1 import LocationUpdateV1 -from criteo_api_marketingsolutions_v2023_07.model.location_v1 import LocationV1 -from criteo_api_marketingsolutions_v2023_07.model.lookalike_create_v1 import LookalikeCreateV1 -from criteo_api_marketingsolutions_v2023_07.model.lookalike_update_v1 import LookalikeUpdateV1 -from criteo_api_marketingsolutions_v2023_07.model.lookalike_v1 import LookalikeV1 -from criteo_api_marketingsolutions_v2023_07.model.modify_audience_response import ModifyAudienceResponse -from criteo_api_marketingsolutions_v2023_07.model.new_audience import NewAudience -from criteo_api_marketingsolutions_v2023_07.model.new_audience_attributes import NewAudienceAttributes -from criteo_api_marketingsolutions_v2023_07.model.new_audience_request import NewAudienceRequest -from criteo_api_marketingsolutions_v2023_07.model.new_audience_response import NewAudienceResponse -from criteo_api_marketingsolutions_v2023_07.model.nillable_ad_set_targeting_rule import NillableAdSetTargetingRule -from criteo_api_marketingsolutions_v2023_07.model.nillable_ad_set_targeting_rule_value import NillableAdSetTargetingRuleValue -from criteo_api_marketingsolutions_v2023_07.model.nillable_date_time import NillableDateTime -from criteo_api_marketingsolutions_v2023_07.model.nillable_decimal import NillableDecimal -from criteo_api_marketingsolutions_v2023_07.model.nillable_gender_v1 import NillableGenderV1 -from criteo_api_marketingsolutions_v2023_07.model.nillable_int32 import NillableInt32 -from criteo_api_marketingsolutions_v2023_07.model.nillable_string import NillableString -from criteo_api_marketingsolutions_v2023_07.model.outcome import Outcome -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set import PatchAdSet -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_bidding import PatchAdSetBidding -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_budget import PatchAdSetBudget -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid import PatchAdSetCategoryBid -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_list_request import PatchAdSetCategoryBidListRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_resource import PatchAdSetCategoryBidResource -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_result_list_response import PatchAdSetCategoryBidResultListResponse -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_result_resource import PatchAdSetCategoryBidResultResource -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier import PatchAdSetDisplayMultiplier -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_list_request import PatchAdSetDisplayMultiplierListRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_resource import PatchAdSetDisplayMultiplierResource -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_result_list_response import PatchAdSetDisplayMultiplierResultListResponse -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_result_resource import PatchAdSetDisplayMultiplierResultResource -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_scheduling import PatchAdSetScheduling -from criteo_api_marketingsolutions_v2023_07.model.patch_campaign import PatchCampaign -from criteo_api_marketingsolutions_v2023_07.model.patch_campaign_list_request import PatchCampaignListRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_campaign_spend_limit import PatchCampaignSpendLimit -from criteo_api_marketingsolutions_v2023_07.model.patch_campaign_write_resource import PatchCampaignWriteResource -from criteo_api_marketingsolutions_v2023_07.model.patch_result_campaign_list_response import PatchResultCampaignListResponse -from criteo_api_marketingsolutions_v2023_07.model.patch_result_campaign_read_resource import PatchResultCampaignReadResource -from criteo_api_marketingsolutions_v2023_07.model.placements_report_query_message import PlacementsReportQueryMessage -from criteo_api_marketingsolutions_v2023_07.model.placements_report_query_message_list_request import PlacementsReportQueryMessageListRequest -from criteo_api_marketingsolutions_v2023_07.model.placements_report_query_message_resource import PlacementsReportQueryMessageResource -from criteo_api_marketingsolutions_v2023_07.model.point_of_interest_v1 import PointOfInterestV1 -from criteo_api_marketingsolutions_v2023_07.model.portfolio_message import PortfolioMessage -from criteo_api_marketingsolutions_v2023_07.model.prospecting_create_v1 import ProspectingCreateV1 -from criteo_api_marketingsolutions_v2023_07.model.prospecting_update_v1 import ProspectingUpdateV1 -from criteo_api_marketingsolutions_v2023_07.model.prospecting_v1 import ProspectingV1 -from criteo_api_marketingsolutions_v2023_07.model.read_ad_set import ReadAdSet -from criteo_api_marketingsolutions_v2023_07.model.read_ad_set_bidding import ReadAdSetBidding -from criteo_api_marketingsolutions_v2023_07.model.read_ad_set_budget import ReadAdSetBudget -from criteo_api_marketingsolutions_v2023_07.model.read_ad_set_schedule import ReadAdSetSchedule -from criteo_api_marketingsolutions_v2023_07.model.read_model_ad_set_id import ReadModelAdSetId -from criteo_api_marketingsolutions_v2023_07.model.read_model_read_ad_set import ReadModelReadAdSet -from criteo_api_marketingsolutions_v2023_07.model.replace_audience import ReplaceAudience -from criteo_api_marketingsolutions_v2023_07.model.replace_audience_request import ReplaceAudienceRequest -from criteo_api_marketingsolutions_v2023_07.model.replace_audience_response import ReplaceAudienceResponse -from criteo_api_marketingsolutions_v2023_07.model.request_ad_set_search import RequestAdSetSearch -from criteo_api_marketingsolutions_v2023_07.model.requests_ad_set_id import RequestsAdSetId -from criteo_api_marketingsolutions_v2023_07.model.requests_patch_ad_set import RequestsPatchAdSet -from criteo_api_marketingsolutions_v2023_07.model.response_read_ad_set import ResponseReadAdSet -from criteo_api_marketingsolutions_v2023_07.model.responses_ad_set_id import ResponsesAdSetId -from criteo_api_marketingsolutions_v2023_07.model.responses_read_ad_set import ResponsesReadAdSet -from criteo_api_marketingsolutions_v2023_07.model.retargeting_create_v1 import RetargetingCreateV1 -from criteo_api_marketingsolutions_v2023_07.model.retargeting_update_v1 import RetargetingUpdateV1 -from criteo_api_marketingsolutions_v2023_07.model.retargeting_v1 import RetargetingV1 -from criteo_api_marketingsolutions_v2023_07.model.size import Size -from criteo_api_marketingsolutions_v2023_07.model.statistics_report_query_message import StatisticsReportQueryMessage -from criteo_api_marketingsolutions_v2023_07.model.tag import Tag -from criteo_api_marketingsolutions_v2023_07.model.transactions_report_query_message import TransactionsReportQueryMessage -from criteo_api_marketingsolutions_v2023_07.model.transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest -from criteo_api_marketingsolutions_v2023_07.model.transactions_report_query_message_resource import TransactionsReportQueryMessageResource -from criteo_api_marketingsolutions_v2023_07.model.transparency_query_message import TransparencyQueryMessage -from criteo_api_marketingsolutions_v2023_07.model.transparency_report import TransparencyReport -from criteo_api_marketingsolutions_v2023_07.model.transparency_report_file import TransparencyReportFile -from criteo_api_marketingsolutions_v2023_07.model.transparency_report_list_response import TransparencyReportListResponse -from criteo_api_marketingsolutions_v2023_07.model.transparency_report_resource import TransparencyReportResource -from criteo_api_marketingsolutions_v2023_07.model.update_coupon import UpdateCoupon -from criteo_api_marketingsolutions_v2023_07.model.update_coupon_request import UpdateCouponRequest -from criteo_api_marketingsolutions_v2023_07.model.update_coupon_resource import UpdateCouponResource -from criteo_api_marketingsolutions_v2023_07.model.video_detail import VideoDetail -from criteo_api_marketingsolutions_v2023_07.model.write_model_ad_set_id import WriteModelAdSetId -from criteo_api_marketingsolutions_v2023_07.model.write_model_patch_ad_set import WriteModelPatchAdSet diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceAttributes.md b/sdks/marketingsolutions_2023-07/docs/AudienceAttributes.md deleted file mode 100644 index 0c5ac128..00000000 --- a/sdks/marketingsolutions_2023-07/docs/AudienceAttributes.md +++ /dev/null @@ -1,19 +0,0 @@ -# AudienceAttributes - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The name of the Audience | -**description** | **str** | The string description of the Audience | -**created** | **datetime** | Date and time ISO 8601 formatted string | -**updated** | **datetime** | Date and time ISO 8601 formatted string | -**advertiser_id** | **str, none_type** | The advertiser id that owns this Audience | [optional] -**nb_lines** | **int, none_type** | The number of line in the audience available once processed | [optional] -**nb_lines_email** | **int, none_type** | The number of email line in the audience available once processed | [optional] -**nb_matches_email** | **int, none_type** | The number of email matches in the audience available once processed | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignSpendLimit.md b/sdks/marketingsolutions_2023-07/docs/CampaignSpendLimit.md deleted file mode 100644 index 2c2c3130..00000000 --- a/sdks/marketingsolutions_2023-07/docs/CampaignSpendLimit.md +++ /dev/null @@ -1,15 +0,0 @@ -# CampaignSpendLimit - -campaign spend limit model - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**spend_limit_type** | **str, none_type** | | [optional] -**spend_limit_renewal** | **str, none_type** | | [optional] -**spend_limit_amount** | [**NillableDecimal**](NillableDecimal.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/marketingsolutions_2023-07/docs/NewAudienceAttributes.md b/sdks/marketingsolutions_2023-07/docs/NewAudienceAttributes.md deleted file mode 100644 index 083b3d66..00000000 --- a/sdks/marketingsolutions_2023-07/docs/NewAudienceAttributes.md +++ /dev/null @@ -1,14 +0,0 @@ -# NewAudienceAttributes - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The name of the new audience | -**advertiser_id** | **str, none_type** | The advertiser id to create the audience for | [optional] -**description** | **str, none_type** | The description of the audience | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/marketingsolutions_2023-07/docs/NewAudienceResponse.md b/sdks/marketingsolutions_2023-07/docs/NewAudienceResponse.md deleted file mode 100644 index 842c3125..00000000 --- a/sdks/marketingsolutions_2023-07/docs/NewAudienceResponse.md +++ /dev/null @@ -1,15 +0,0 @@ -# NewAudienceResponse - -Response of a newly created audience - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**BasicAudienceDefinition**](BasicAudienceDefinition.md) | | -**errors** | [**[AudienceError]**](AudienceError.md) | | -**warnings** | [**[AudienceWarning]**](AudienceWarning.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/marketingsolutions_2023-07/docs/ReplaceAudience.md b/sdks/marketingsolutions_2023-07/docs/ReplaceAudience.md deleted file mode 100644 index 87863984..00000000 --- a/sdks/marketingsolutions_2023-07/docs/ReplaceAudience.md +++ /dev/null @@ -1,14 +0,0 @@ -# ReplaceAudience - -Parameters required to replace an audience - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | the name of the entity type | -**attributes** | [**AudienceNameDescription**](AudienceNameDescription.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/marketingsolutions_2023-07/docs/ReplaceAudienceResponse.md b/sdks/marketingsolutions_2023-07/docs/ReplaceAudienceResponse.md deleted file mode 100644 index db420997..00000000 --- a/sdks/marketingsolutions_2023-07/docs/ReplaceAudienceResponse.md +++ /dev/null @@ -1,15 +0,0 @@ -# ReplaceAudienceResponse - -Response of an audience replacement - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**BasicAudienceDefinition**](BasicAudienceDefinition.md) | | -**errors** | [**[AudienceError]**](AudienceError.md) | | -**warnings** | [**[AudienceWarning]**](AudienceWarning.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/marketingsolutions_2023-10/README.md b/sdks/marketingsolutions_2023-10/README.md index 410afab6..f8abdf45 100644 --- a/sdks/marketingsolutions_2023-10/README.md +++ b/sdks/marketingsolutions_2023-10/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2023.10.0.240808 +- Package version: 2023.10.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-marketingsolutions-sdk==2023.10.0.240808 +pip install criteo-api-marketingsolutions-sdk==2023.10.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.10.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.10.0.241029`) Then import the package: ```python diff --git a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/__init__.py b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/__init__.py index a06c86f3..0ead7679 100644 --- a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/__init__.py +++ b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "2023.10.0.240808" +__version__ = "2023.10.0.241029" # import ApiClient from criteo_api_marketingsolutions_v2023_10.api_client import ApiClient diff --git a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api/analytics_api.py b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api/analytics_api.py index a4520f08..a79f2954 100644 --- a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api/analytics_api.py +++ b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api/analytics_api.py @@ -42,7 +42,7 @@ def __init__(self, api_client=None): self.api_client = api_client self.get_adset_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -101,7 +101,7 @@ def __init__(self, api_client=None): ) self.get_placements_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -145,7 +145,9 @@ def __init__(self, api_client=None): 'text/plain', 'application/json', 'text/json', + 'text/csv', 'application/xml', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'text/xml' ], 'content_type': [ @@ -159,7 +161,7 @@ def __init__(self, api_client=None): ) self.get_transactions_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -330,7 +332,7 @@ def get_adset_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -409,7 +411,7 @@ def get_placements_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -488,7 +490,7 @@ def get_transactions_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ diff --git a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api/audience_api.py b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api/audience_api.py index 052c6a83..9058fd30 100644 --- a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api/audience_api.py +++ b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api/audience_api.py @@ -411,24 +411,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.compute_audience_segments_sizes_endpoint = _Endpoint( + self.call_10_audiences_audience_segment_id_contactlist_delete_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), + 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-10/marketing-solutions/audience-segments/compute-sizes', - 'operation_id': 'compute_audience_segments_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2023-10/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_10_audiences_audience_segment_id_contactlist_delete', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'required': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'nullable': [ ], @@ -443,50 +443,46 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_segment_compute_sizes_input_v1': - (AudienceSegmentComputeSizesInputV1,), + 'audience_segment_id': + (str,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_segment_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], - 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' - ] + 'content_type': [], }, api_client=api_client ) - self.compute_audiences_sizes_endpoint = _Endpoint( + self.call_10_audiences_audience_segment_id_contactlist_patch_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSizeEntityV1ListResponse,), + 'response_type': (ModifyAudienceResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-10/marketing-solutions/audiences/compute-sizes', - 'operation_id': 'compute_audiences_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2023-10/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_10_audiences_audience_segment_id_contactlist_patch', + 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'required': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'nullable': [ ], @@ -501,33 +497,32 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_compute_sizes_input_v1': - (AudienceComputeSizesInputV1,), + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client ) - self.delete_contact_list_identifiers_endpoint = _Endpoint( + self.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint = _Endpoint( settings={ 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ @@ -535,7 +530,7 @@ def __init__(self, api_client=None): 'oauth' ], 'endpoint_path': '/2023-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'delete_contact_list_identifiers', + 'operation_id': 'call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete', 'http_method': 'DELETE', 'servers': None, }, @@ -579,6 +574,181 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint = _Endpoint( + settings={ + 'response_type': (ModifyAudienceResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2023-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', + 'operation_id': 'call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_id', + 'contactlist_amendment_request', + ], + 'required': [ + 'audience_segment_id', + 'contactlist_amendment_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), + }, + 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', + }, + 'location_map': { + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.compute_audience_segments_sizes_endpoint = _Endpoint( + settings={ + 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2023-10/marketing-solutions/audience-segments/compute-sizes', + 'operation_id': 'compute_audience_segments_sizes', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_compute_sizes_input_v1', + ], + 'required': [ + 'audience_segment_compute_sizes_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_compute_sizes_input_v1': + (AudienceSegmentComputeSizesInputV1,), + }, + 'attribute_map': { + }, + 'location_map': { + 'audience_segment_compute_sizes_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.compute_audiences_sizes_endpoint = _Endpoint( + settings={ + 'response_type': (AudienceSizeEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2023-10/marketing-solutions/audiences/compute-sizes', + 'operation_id': 'compute_audiences_sizes', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_compute_sizes_input_v1', + ], + 'required': [ + 'audience_compute_sizes_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_compute_sizes_input_v1': + (AudienceComputeSizesInputV1,), + }, + 'attribute_map': { + }, + 'location_map': { + 'audience_compute_sizes_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) self.estimate_audience_segment_size_endpoint = _Endpoint( settings={ 'response_type': (AudienceSegmentSizeEstimationV1Response,), @@ -1017,82 +1187,272 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_contact_list_identifiers_endpoint = _Endpoint( - settings={ - 'response_type': (ModifyAudienceResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/2023-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'update_contact_list_identifiers', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'audience_segment_id', - 'contactlist_amendment_request', - ], - 'required': [ - 'audience_segment_id', - 'contactlist_amendment_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'audience_segment_id': - (str,), - 'contactlist_amendment_request': - (ContactlistAmendmentRequest,), - }, - 'attribute_map': { - 'audience_segment_id': 'audience-segment-id', - }, - 'location_map': { - 'audience_segment_id': 'path', - 'contactlist_amendment_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client + + def bulk_create_audience_segments( + self, + audience_segment_bulk_create_input_v1, + **kwargs + ): + """bulk_create_audience_segments # noqa: E501 + + Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceSegmentEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_bulk_create_input_v1'] = \ + audience_segment_bulk_create_input_v1 + return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) + + def bulk_create_audiences( + self, + audience_bulk_create_input_v1, + **kwargs + ): + """bulk_create_audiences # noqa: E501 + + Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_bulk_create_input_v1 (AudienceBulkCreateInputV1): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_bulk_create_input_v1'] = \ + audience_bulk_create_input_v1 + return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) + + def bulk_delete_audience_segments( + self, + audience_segment_bulk_delete_input_v1, + **kwargs + ): + """bulk_delete_audience_segments # noqa: E501 + + Delete the segments associated to the given audience IDs. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceSegmentIdEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_bulk_delete_input_v1'] = \ + audience_segment_bulk_delete_input_v1 + return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_create_audience_segments( + def bulk_delete_audiences( self, - audience_segment_bulk_create_input_v1, + audience_bulk_delete_input_v1, **kwargs ): - """bulk_create_audience_segments # noqa: E501 + """bulk_delete_audiences # noqa: E501 - Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + Deletes the audiences associated to the given audience IDs. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True) + >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter + audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1127,7 +1487,7 @@ def bulk_create_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1ListResponse + AudienceIdEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1156,26 +1516,26 @@ def bulk_create_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_create_input_v1'] = \ - audience_segment_bulk_create_input_v1 - return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_delete_input_v1'] = \ + audience_bulk_delete_input_v1 + return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) - def bulk_create_audiences( + def bulk_update_audience_segments( self, - audience_bulk_create_input_v1, + audience_segment_bulk_update_input_v1, **kwargs ): - """bulk_create_audiences # noqa: E501 + """bulk_update_audience_segments # noqa: E501 - Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True) + >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_bulk_create_input_v1 (AudienceBulkCreateInputV1): + audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request Keyword Args: _return_http_data_only (bool): response data without head status @@ -1210,7 +1570,7 @@ def bulk_create_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1ListResponse + AudienceSegmentEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1239,26 +1599,26 @@ def bulk_create_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_create_input_v1'] = \ - audience_bulk_create_input_v1 - return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_bulk_update_input_v1'] = \ + audience_segment_bulk_update_input_v1 + return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_delete_audience_segments( + def bulk_update_audiences( self, - audience_segment_bulk_delete_input_v1, + audience_bulk_update_input_v1, **kwargs ): - """bulk_delete_audience_segments # noqa: E501 + """bulk_update_audiences # noqa: E501 - Delete the segments associated to the given audience IDs. # noqa: E501 + Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) + >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. + audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1293,7 +1653,7 @@ def bulk_delete_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentIdEntityV1ListResponse + AudienceEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1322,26 +1682,26 @@ def bulk_delete_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_delete_input_v1'] = \ - audience_segment_bulk_delete_input_v1 - return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_update_input_v1'] = \ + audience_bulk_update_input_v1 + return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) - def bulk_delete_audiences( + def call_10_audiences_audience_segment_id_contactlist_delete( self, - audience_bulk_delete_input_v1, + audience_segment_id, **kwargs ): - """bulk_delete_audiences # noqa: E501 + """call_10_audiences_audience_segment_id_contactlist_delete # noqa: E501 - Deletes the audiences associated to the given audience IDs. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) + >>> thread = api.call_10_audiences_audience_segment_id_contactlist_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -1376,7 +1736,7 @@ def bulk_delete_audiences( async_req (bool): execute request asynchronously Returns: - AudienceIdEntityV1ListResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -1405,26 +1765,28 @@ def bulk_delete_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_delete_input_v1'] = \ - audience_bulk_delete_input_v1 - return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_10_audiences_audience_segment_id_contactlist_delete_endpoint.call_with_http_info(**kwargs) - def bulk_update_audience_segments( + def call_10_audiences_audience_segment_id_contactlist_patch( self, - audience_segment_bulk_update_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """bulk_update_audience_segments # noqa: E501 + """call_10_audiences_audience_segment_id_contactlist_patch # noqa: E501 - Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) + >>> thread = api.call_10_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1459,7 +1821,7 @@ def bulk_update_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1ListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -1488,26 +1850,28 @@ def bulk_update_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_update_input_v1'] = \ - audience_segment_bulk_update_input_v1 - return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_10_audiences_audience_segment_id_contactlist_patch_endpoint.call_with_http_info(**kwargs) - def bulk_update_audiences( + def call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete( self, - audience_bulk_update_input_v1, + audience_segment_id, **kwargs ): - """bulk_update_audiences # noqa: E501 + """call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete # noqa: E501 - Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) + >>> thread = api.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -1542,7 +1906,7 @@ def bulk_update_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1ListResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -1571,26 +1935,28 @@ def bulk_update_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_update_input_v1'] = \ - audience_bulk_update_input_v1 - return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint.call_with_http_info(**kwargs) - def compute_audience_segments_sizes( + def call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch( self, - audience_segment_compute_sizes_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """compute_audience_segments_sizes # noqa: E501 + """call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch # noqa: E501 - Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) + >>> thread = api.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1625,7 +1991,7 @@ def compute_audience_segments_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSegmentSizeEntityV1ListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -1654,26 +2020,28 @@ def compute_audience_segments_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_compute_sizes_input_v1'] = \ - audience_segment_compute_sizes_input_v1 - return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs) - def compute_audiences_sizes( + def compute_audience_segments_sizes( self, - audience_compute_sizes_input_v1, + audience_segment_compute_sizes_input_v1, **kwargs ): - """compute_audiences_sizes # noqa: E501 + """compute_audience_segments_sizes # noqa: E501 - Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 + Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) + >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): + audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1708,7 +2076,7 @@ def compute_audiences_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSizeEntityV1ListResponse + AudienceSegmentSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1737,26 +2105,26 @@ def compute_audiences_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_compute_sizes_input_v1'] = \ - audience_compute_sizes_input_v1 - return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_compute_sizes_input_v1'] = \ + audience_segment_compute_sizes_input_v1 + return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) - def delete_contact_list_identifiers( + def compute_audiences_sizes( self, - audience_segment_id, + audience_compute_sizes_input_v1, **kwargs ): - """delete_contact_list_identifiers # noqa: E501 + """compute_audiences_sizes # noqa: E501 - Delete all identifiers from a contact list audience-segment. # noqa: E501 + Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_contact_list_identifiers(audience_segment_id, async_req=True) + >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_id (str): The id of the contact list audience-segment to amend + audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1791,7 +2159,7 @@ def delete_contact_list_identifiers( async_req (bool): execute request asynchronously Returns: - DeleteAudienceContactListResponse + AudienceSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1820,9 +2188,9 @@ def delete_contact_list_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - return self.delete_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) + kwargs['audience_compute_sizes_input_v1'] = \ + audience_compute_sizes_input_v1 + return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) def estimate_audience_segment_size( self, @@ -2417,90 +2785,3 @@ def search_audiences( audience_search_input_v1 return self.search_audiences_endpoint.call_with_http_info(**kwargs) - def update_contact_list_identifiers( - self, - audience_segment_id, - contactlist_amendment_request, - **kwargs - ): - """update_contact_list_identifiers # noqa: E501 - - Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request, async_req=True) - >>> result = thread.get() - - Args: - audience_segment_id (str): The id of the contact list audience-segment to amend - contactlist_amendment_request (ContactlistAmendmentRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ModifyAudienceResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - kwargs['contactlist_amendment_request'] = \ - contactlist_amendment_request - return self.update_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) - diff --git a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api_client.py b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api_client.py index 9e2893a5..10558a0a 100644 --- a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api_client.py +++ b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2023.10.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2023.10.0.241029/python' def __enter__(self): return self diff --git a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/configuration.py b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/configuration.py index aae06a32..b9e24f18 100644 --- a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/configuration.py +++ b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2023-10\n"\ - "SDK Package Version: 2023.10.0.240808".\ + "SDK Package Version: 2023.10.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/model/contactlist_amendment_attributes.py b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/model/contactlist_amendment_attributes.py index 1d32ef2b..2218f58e 100644 --- a/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/model/contactlist_amendment_attributes.py +++ b/sdks/marketingsolutions_2023-10/criteo_api_marketingsolutions_v2023_10/model/contactlist_amendment_attributes.py @@ -65,7 +65,6 @@ class ContactlistAmendmentAttributes(ModelNormal): 'MADID': "madid", 'IDENTITYLINK': "identityLink", 'GUM': "gum", - 'CUSTOMERID': "customerid", 'PHONENUMBER': "phoneNumber", }, } @@ -124,7 +123,7 @@ def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -217,7 +216,7 @@ def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501 Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-10/docs/AnalyticsApi.md b/sdks/marketingsolutions_2023-10/docs/AnalyticsApi.md index 0a4f710d..42c193b0 100644 --- a/sdks/marketingsolutions_2023-10/docs/AnalyticsApi.md +++ b/sdks/marketingsolutions_2023-10/docs/AnalyticsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **get_adset_report** -> str get_adset_report() +> file_type get_adset_report() @@ -98,7 +98,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -121,7 +121,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_placements_report** -> str get_placements_report() +> file_type get_placements_report() @@ -211,7 +211,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -220,7 +220,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json, application/xml, text/xml + - **Accept**: text/plain, application/json, text/json, text/csv, application/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/xml ### HTTP response details @@ -234,7 +234,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_report** -> str get_transactions_report() +> file_type get_transactions_report() @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization diff --git a/sdks/marketingsolutions_2023-10/docs/AudienceApi.md b/sdks/marketingsolutions_2023-10/docs/AudienceApi.md index e7f8e687..5c18b57f 100644 --- a/sdks/marketingsolutions_2023-10/docs/AudienceApi.md +++ b/sdks/marketingsolutions_2023-10/docs/AudienceApi.md @@ -10,9 +10,12 @@ Method | HTTP request | Description [**bulk_delete_audiences**](AudienceApi.md#bulk_delete_audiences) | **POST** /2023-10/marketing-solutions/audiences/delete | [**bulk_update_audience_segments**](AudienceApi.md#bulk_update_audience_segments) | **PATCH** /2023-10/marketing-solutions/audience-segments | [**bulk_update_audiences**](AudienceApi.md#bulk_update_audiences) | **PATCH** /2023-10/marketing-solutions/audiences | +[**call_10_audiences_audience_segment_id_contactlist_delete**](AudienceApi.md#call_10_audiences_audience_segment_id_contactlist_delete) | **DELETE** /2023-10/audiences/{audience-segment-id}/contactlist | +[**call_10_audiences_audience_segment_id_contactlist_patch**](AudienceApi.md#call_10_audiences_audience_segment_id_contactlist_patch) | **PATCH** /2023-10/audiences/{audience-segment-id}/contactlist | +[**call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete**](AudienceApi.md#call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete) | **DELETE** /2023-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | +[**call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch**](AudienceApi.md#call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch) | **PATCH** /2023-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**compute_audience_segments_sizes**](AudienceApi.md#compute_audience_segments_sizes) | **POST** /2023-10/marketing-solutions/audience-segments/compute-sizes | [**compute_audiences_sizes**](AudienceApi.md#compute_audiences_sizes) | **POST** /2023-10/marketing-solutions/audiences/compute-sizes | -[**delete_contact_list_identifiers**](AudienceApi.md#delete_contact_list_identifiers) | **DELETE** /2023-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**estimate_audience_segment_size**](AudienceApi.md#estimate_audience_segment_size) | **POST** /2023-10/marketing-solutions/audience-segments/estimate-size | [**estimate_audience_size**](AudienceApi.md#estimate_audience_size) | **POST** /2023-10/marketing-solutions/audiences/estimate-size | [**get_audience_segment_contact_list_statistics**](AudienceApi.md#get_audience_segment_contact_list_statistics) | **GET** /2023-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list/statistics | @@ -20,7 +23,6 @@ Method | HTTP request | Description [**get_audience_segments_in_market_interests**](AudienceApi.md#get_audience_segments_in_market_interests) | **GET** /2023-10/marketing-solutions/audience-segments/in-market-interests | [**search_audience_segments**](AudienceApi.md#search_audience_segments) | **POST** /2023-10/marketing-solutions/audience-segments/search | [**search_audiences**](AudienceApi.md#search_audiences) | **POST** /2023-10/marketing-solutions/audiences/search | -[**update_contact_list_identifiers**](AudienceApi.md#update_contact_list_identifiers) | **PATCH** /2023-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | # **bulk_create_audience_segments** @@ -723,12 +725,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audience_segments_sizes** -> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) +# **call_10_audiences_audience_segment_id_contactlist_delete** +> DeleteAudienceContactListResponse call_10_audiences_audience_segment_id_contactlist_delete(audience_segment_id) -Gets the size of all segments. An error is returned for those whose size calculation is not supported. +Delete all identifiers from a contact list audience-segment. ### Example @@ -739,8 +741,8 @@ Gets the size of all segments. An error is returned for those whose size calcula import time import criteo_api_marketingsolutions_v2023_10 from criteo_api_marketingsolutions_v2023_10.api import audience_api -from criteo_api_marketingsolutions_v2023_10.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_10.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +from criteo_api_marketingsolutions_v2023_10.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2023_10.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -769,22 +771,114 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( - data=[ - AudienceSegmentComputeSizeEntityV1Resource( - attributes={}, - id="id_example", - type="type_example", + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_10_audiences_audience_segment_id_contactlist_delete(audience_segment_id) + pprint(api_response) + except criteo_api_marketingsolutions_v2023_10.ApiException as e: + print("Exception when calling AudienceApi->call_10_audiences_audience_segment_id_contactlist_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + +### Return type + +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **call_10_audiences_audience_segment_id_contactlist_patch** +> ModifyAudienceResponse call_10_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) + + + +Add/remove identifiers to or from a contact list audience-segment. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2023_10 +from criteo_api_marketingsolutions_v2023_10.api import audience_api +from criteo_api_marketingsolutions_v2023_10.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2023_10.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_v2023_10.model.error_code_response import ErrorCodeResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2023_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2023_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2023_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, ), - ], - ) # AudienceSegmentComputeSizesInputV1 | + ), + ) # ContactlistAmendmentRequest | # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) + api_response = api_instance.call_10_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) pprint(api_response) except criteo_api_marketingsolutions_v2023_10.ApiException as e: - print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) + print("Exception when calling AudienceApi->call_10_audiences_audience_segment_id_contactlist_patch: %s\n" % e) ``` @@ -792,11 +886,12 @@ with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | ### Return type -[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) ### Authorization @@ -804,27 +899,26 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success or partial success | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audiences_sizes** -> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) +# **call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete** +> DeleteAudienceContactListResponse call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) -Gets the size of all audiences. An error is returned for those whose size calculation is not supported. +Delete all identifiers from a contact list audience-segment. ### Example @@ -835,8 +929,8 @@ Gets the size of all audiences. An error is returned for those whose size calcul import time import criteo_api_marketingsolutions_v2023_10 from criteo_api_marketingsolutions_v2023_10.api import audience_api -from criteo_api_marketingsolutions_v2023_10.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_10.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 +from criteo_api_marketingsolutions_v2023_10.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2023_10.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -865,22 +959,210 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) + pprint(api_response) + except criteo_api_marketingsolutions_v2023_10.ApiException as e: + print("Exception when calling AudienceApi->call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + +### Return type + +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch** +> ModifyAudienceResponse call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) + + + +Add/remove identifiers to or from a contact list audience-segment. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2023_10 +from criteo_api_marketingsolutions_v2023_10.api import audience_api +from criteo_api_marketingsolutions_v2023_10.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2023_10.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_v2023_10.model.error_code_response import ErrorCodeResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2023_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2023_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2023_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, + ), + ), + ) # ContactlistAmendmentRequest | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) + pprint(api_response) + except criteo_api_marketingsolutions_v2023_10.ApiException as e: + print("Exception when calling AudienceApi->call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | + +### Return type + +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **compute_audience_segments_sizes** +> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) + + + +Gets the size of all segments. An error is returned for those whose size calculation is not supported. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2023_10 +from criteo_api_marketingsolutions_v2023_10.api import audience_api +from criteo_api_marketingsolutions_v2023_10.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2023_10.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2023_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2023_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2023_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( data=[ - AudienceComputeSizeEntityV1Resource( + AudienceSegmentComputeSizeEntityV1Resource( attributes={}, id="id_example", type="type_example", ), ], - ) # AudienceComputeSizesInputV1 | + ) # AudienceSegmentComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) + api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) pprint(api_response) except criteo_api_marketingsolutions_v2023_10.ApiException as e: - print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) + print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) ``` @@ -888,11 +1170,11 @@ with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | + **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | ### Return type -[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) +[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) ### Authorization @@ -915,12 +1197,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_contact_list_identifiers** -> DeleteAudienceContactListResponse delete_contact_list_identifiers(audience_segment_id) +# **compute_audiences_sizes** +> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) -Delete all identifiers from a contact list audience-segment. +Gets the size of all audiences. An error is returned for those whose size calculation is not supported. ### Example @@ -931,8 +1213,8 @@ Delete all identifiers from a contact list audience-segment. import time import criteo_api_marketingsolutions_v2023_10 from criteo_api_marketingsolutions_v2023_10.api import audience_api -from criteo_api_marketingsolutions_v2023_10.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2023_10.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2023_10.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2023_10.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -961,14 +1243,22 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( + data=[ + AudienceComputeSizeEntityV1Resource( + attributes={}, + id="id_example", + type="type_example", + ), + ], + ) # AudienceComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.delete_contact_list_identifiers(audience_segment_id) + api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) pprint(api_response) except criteo_api_marketingsolutions_v2023_10.ApiException as e: - print("Exception when calling AudienceApi->delete_contact_list_identifiers: %s\n" % e) + print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) ``` @@ -976,11 +1266,11 @@ with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | ### Return type -[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) +[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) ### Authorization @@ -988,16 +1278,18 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | The Contact List was emptied | - | -**403** | Forbidden | - | +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1722,105 +2014,3 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_contact_list_identifiers** -> ModifyAudienceResponse update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) - - - -Add/remove identifiers to or from a contact list audience-segment. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_marketingsolutions_v2023_10 -from criteo_api_marketingsolutions_v2023_10.api import audience_api -from criteo_api_marketingsolutions_v2023_10.model.contactlist_amendment_request import ContactlistAmendmentRequest -from criteo_api_marketingsolutions_v2023_10.model.modify_audience_response import ModifyAudienceResponse -from criteo_api_marketingsolutions_v2023_10.model.error_code_response import ErrorCodeResponse -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_10.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_10.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_10.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_10.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend - contactlist_amendment_request = ContactlistAmendmentRequest( - data=ContactlistAmendment( - type="ContactlistAmendment", - attributes=ContactlistAmendmentAttributes( - operation="add", - identifier_type="email", - identifiers=[ - "identifiers_example", - ], - gum_caller_id=1, - ), - ), - ) # ContactlistAmendmentRequest | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) - pprint(api_response) - except criteo_api_marketingsolutions_v2023_10.ApiException as e: - print("Exception when calling AudienceApi->update_contact_list_identifiers: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | - **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | - -### Return type - -[**ModifyAudienceResponse**](ModifyAudienceResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Summary of created request | - | -**403** | Forbidden | - | -**404** | Audience 123 not found | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/marketingsolutions_2023-10/docs/ContactlistAmendmentAttributes.md b/sdks/marketingsolutions_2023-10/docs/ContactlistAmendmentAttributes.md index a805de72..a99ebe95 100644 --- a/sdks/marketingsolutions_2023-10/docs/ContactlistAmendmentAttributes.md +++ b/sdks/marketingsolutions_2023-10/docs/ContactlistAmendmentAttributes.md @@ -6,7 +6,7 @@ the name of the entity type Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **operation** | **str** | Operation to add or remove users | -**identifiers** | **[str]** | The users tos add or remove, each in the schema specified | +**identifiers** | **[str]** | The users to add or remove, each in the schema specified | **identifier_type** | **str, none_type** | What type of identifiers are used | [optional] **gum_caller_id** | **int, none_type** | The Gum caller id of the advertiser patching identifiers of type Gum | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2023-10/setup.py b/sdks/marketingsolutions_2023-10/setup.py index 97dbc96b..b710b187 100644 --- a/sdks/marketingsolutions_2023-10/setup.py +++ b/sdks/marketingsolutions_2023-10/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-marketingsolutions-sdk" -VERSION = "2023.10.0.240808" +VERSION = "2023.10.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-marketingsolutions-sdk==2023.10.0.240808 +pip install criteo-api-marketingsolutions-sdk==2023.10.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.10.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.10.0.241029`) Then import the package: ```python diff --git a/sdks/marketingsolutions_2024-01/README.md b/sdks/marketingsolutions_2024-01/README.md index bdc810c7..e2306674 100644 --- a/sdks/marketingsolutions_2024-01/README.md +++ b/sdks/marketingsolutions_2024-01/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2024.01.0.240808 +- Package version: 2024.01.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-marketingsolutions-sdk==2024.01.0.240808 +pip install criteo-api-marketingsolutions-sdk==2024.01.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.01.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.01.0.241029`) Then import the package: ```python diff --git a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/__init__.py b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/__init__.py index feef2f76..2073ec80 100644 --- a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/__init__.py +++ b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "2024.01.0.240808" +__version__ = "2024.01.0.241029" # import ApiClient from criteo_api_marketingsolutions_v2024_01.api_client import ApiClient diff --git a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api/analytics_api.py b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api/analytics_api.py index 5bd2a7e5..faf2c123 100644 --- a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api/analytics_api.py +++ b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api/analytics_api.py @@ -42,7 +42,7 @@ def __init__(self, api_client=None): self.api_client = api_client self.get_adset_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -101,7 +101,7 @@ def __init__(self, api_client=None): ) self.get_placements_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -145,7 +145,9 @@ def __init__(self, api_client=None): 'text/plain', 'application/json', 'text/json', + 'text/csv', 'application/xml', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'text/xml' ], 'content_type': [ @@ -159,7 +161,7 @@ def __init__(self, api_client=None): ) self.get_transactions_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -330,7 +332,7 @@ def get_adset_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -409,7 +411,7 @@ def get_placements_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -488,7 +490,7 @@ def get_transactions_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ diff --git a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api/audience_api.py b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api/audience_api.py index 03df8208..b01538ab 100644 --- a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api/audience_api.py +++ b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api/audience_api.py @@ -411,24 +411,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.compute_audience_segments_sizes_endpoint = _Endpoint( + self.call_01_audiences_audience_segment_id_contactlist_delete_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), + 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2024-01/marketing-solutions/audience-segments/compute-sizes', - 'operation_id': 'compute_audience_segments_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2024-01/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_01_audiences_audience_segment_id_contactlist_delete', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'required': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'nullable': [ ], @@ -443,50 +443,46 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_segment_compute_sizes_input_v1': - (AudienceSegmentComputeSizesInputV1,), + 'audience_segment_id': + (str,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_segment_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], - 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' - ] + 'content_type': [], }, api_client=api_client ) - self.compute_audiences_sizes_endpoint = _Endpoint( + self.call_01_audiences_audience_segment_id_contactlist_patch_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSizeEntityV1ListResponse,), + 'response_type': (ModifyAudienceResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2024-01/marketing-solutions/audiences/compute-sizes', - 'operation_id': 'compute_audiences_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2024-01/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_01_audiences_audience_segment_id_contactlist_patch', + 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'required': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'nullable': [ ], @@ -501,33 +497,32 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_compute_sizes_input_v1': - (AudienceComputeSizesInputV1,), + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client ) - self.delete_contact_list_identifiers_endpoint = _Endpoint( + self.call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint = _Endpoint( settings={ 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ @@ -535,7 +530,7 @@ def __init__(self, api_client=None): 'oauth' ], 'endpoint_path': '/2024-01/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'delete_contact_list_identifiers', + 'operation_id': 'call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete', 'http_method': 'DELETE', 'servers': None, }, @@ -579,6 +574,181 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint = _Endpoint( + settings={ + 'response_type': (ModifyAudienceResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-01/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', + 'operation_id': 'call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_id', + 'contactlist_amendment_request', + ], + 'required': [ + 'audience_segment_id', + 'contactlist_amendment_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), + }, + 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', + }, + 'location_map': { + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.compute_audience_segments_sizes_endpoint = _Endpoint( + settings={ + 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-01/marketing-solutions/audience-segments/compute-sizes', + 'operation_id': 'compute_audience_segments_sizes', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_compute_sizes_input_v1', + ], + 'required': [ + 'audience_segment_compute_sizes_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_compute_sizes_input_v1': + (AudienceSegmentComputeSizesInputV1,), + }, + 'attribute_map': { + }, + 'location_map': { + 'audience_segment_compute_sizes_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.compute_audiences_sizes_endpoint = _Endpoint( + settings={ + 'response_type': (AudienceSizeEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-01/marketing-solutions/audiences/compute-sizes', + 'operation_id': 'compute_audiences_sizes', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_compute_sizes_input_v1', + ], + 'required': [ + 'audience_compute_sizes_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_compute_sizes_input_v1': + (AudienceComputeSizesInputV1,), + }, + 'attribute_map': { + }, + 'location_map': { + 'audience_compute_sizes_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) self.estimate_audience_segment_size_endpoint = _Endpoint( settings={ 'response_type': (AudienceSegmentSizeEstimationV1Response,), @@ -1017,82 +1187,272 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_contact_list_identifiers_endpoint = _Endpoint( - settings={ - 'response_type': (ModifyAudienceResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/2024-01/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'update_contact_list_identifiers', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'audience_segment_id', - 'contactlist_amendment_request', - ], - 'required': [ - 'audience_segment_id', - 'contactlist_amendment_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'audience_segment_id': - (str,), - 'contactlist_amendment_request': - (ContactlistAmendmentRequest,), - }, - 'attribute_map': { - 'audience_segment_id': 'audience-segment-id', - }, - 'location_map': { - 'audience_segment_id': 'path', - 'contactlist_amendment_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client + + def bulk_create_audience_segments( + self, + audience_segment_bulk_create_input_v1, + **kwargs + ): + """bulk_create_audience_segments # noqa: E501 + + Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceSegmentEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_bulk_create_input_v1'] = \ + audience_segment_bulk_create_input_v1 + return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) + + def bulk_create_audiences( + self, + audience_bulk_create_input_v1, + **kwargs + ): + """bulk_create_audiences # noqa: E501 + + Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_bulk_create_input_v1 (AudienceBulkCreateInputV1): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_bulk_create_input_v1'] = \ + audience_bulk_create_input_v1 + return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) + + def bulk_delete_audience_segments( + self, + audience_segment_bulk_delete_input_v1, + **kwargs + ): + """bulk_delete_audience_segments # noqa: E501 + + Delete the segments associated to the given audience IDs. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceSegmentIdEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_bulk_delete_input_v1'] = \ + audience_segment_bulk_delete_input_v1 + return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_create_audience_segments( + def bulk_delete_audiences( self, - audience_segment_bulk_create_input_v1, + audience_bulk_delete_input_v1, **kwargs ): - """bulk_create_audience_segments # noqa: E501 + """bulk_delete_audiences # noqa: E501 - Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + Deletes the audiences associated to the given audience IDs. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True) + >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter + audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1127,7 +1487,7 @@ def bulk_create_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1ListResponse + AudienceIdEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1156,26 +1516,26 @@ def bulk_create_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_create_input_v1'] = \ - audience_segment_bulk_create_input_v1 - return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_delete_input_v1'] = \ + audience_bulk_delete_input_v1 + return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) - def bulk_create_audiences( + def bulk_update_audience_segments( self, - audience_bulk_create_input_v1, + audience_segment_bulk_update_input_v1, **kwargs ): - """bulk_create_audiences # noqa: E501 + """bulk_update_audience_segments # noqa: E501 - Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True) + >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_bulk_create_input_v1 (AudienceBulkCreateInputV1): + audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request Keyword Args: _return_http_data_only (bool): response data without head status @@ -1210,7 +1570,7 @@ def bulk_create_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1ListResponse + AudienceSegmentEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1239,26 +1599,26 @@ def bulk_create_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_create_input_v1'] = \ - audience_bulk_create_input_v1 - return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_bulk_update_input_v1'] = \ + audience_segment_bulk_update_input_v1 + return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_delete_audience_segments( + def bulk_update_audiences( self, - audience_segment_bulk_delete_input_v1, + audience_bulk_update_input_v1, **kwargs ): - """bulk_delete_audience_segments # noqa: E501 + """bulk_update_audiences # noqa: E501 - Delete the segments associated to the given audience IDs. # noqa: E501 + Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) + >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. + audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1293,7 +1653,7 @@ def bulk_delete_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentIdEntityV1ListResponse + AudienceEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1322,26 +1682,26 @@ def bulk_delete_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_delete_input_v1'] = \ - audience_segment_bulk_delete_input_v1 - return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_update_input_v1'] = \ + audience_bulk_update_input_v1 + return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) - def bulk_delete_audiences( + def call_01_audiences_audience_segment_id_contactlist_delete( self, - audience_bulk_delete_input_v1, + audience_segment_id, **kwargs ): - """bulk_delete_audiences # noqa: E501 + """call_01_audiences_audience_segment_id_contactlist_delete # noqa: E501 - Deletes the audiences associated to the given audience IDs. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) + >>> thread = api.call_01_audiences_audience_segment_id_contactlist_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -1376,7 +1736,7 @@ def bulk_delete_audiences( async_req (bool): execute request asynchronously Returns: - AudienceIdEntityV1ListResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -1405,26 +1765,28 @@ def bulk_delete_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_delete_input_v1'] = \ - audience_bulk_delete_input_v1 - return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_01_audiences_audience_segment_id_contactlist_delete_endpoint.call_with_http_info(**kwargs) - def bulk_update_audience_segments( + def call_01_audiences_audience_segment_id_contactlist_patch( self, - audience_segment_bulk_update_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """bulk_update_audience_segments # noqa: E501 + """call_01_audiences_audience_segment_id_contactlist_patch # noqa: E501 - Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) + >>> thread = api.call_01_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1459,7 +1821,7 @@ def bulk_update_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1ListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -1488,26 +1850,28 @@ def bulk_update_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_update_input_v1'] = \ - audience_segment_bulk_update_input_v1 - return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_01_audiences_audience_segment_id_contactlist_patch_endpoint.call_with_http_info(**kwargs) - def bulk_update_audiences( + def call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete( self, - audience_bulk_update_input_v1, + audience_segment_id, **kwargs ): - """bulk_update_audiences # noqa: E501 + """call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete # noqa: E501 - Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) + >>> thread = api.call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -1542,7 +1906,7 @@ def bulk_update_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1ListResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -1571,26 +1935,28 @@ def bulk_update_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_update_input_v1'] = \ - audience_bulk_update_input_v1 - return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint.call_with_http_info(**kwargs) - def compute_audience_segments_sizes( + def call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch( self, - audience_segment_compute_sizes_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """compute_audience_segments_sizes # noqa: E501 + """call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch # noqa: E501 - Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) + >>> thread = api.call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1625,7 +1991,7 @@ def compute_audience_segments_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSegmentSizeEntityV1ListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -1654,26 +2020,28 @@ def compute_audience_segments_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_compute_sizes_input_v1'] = \ - audience_segment_compute_sizes_input_v1 - return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs) - def compute_audiences_sizes( + def compute_audience_segments_sizes( self, - audience_compute_sizes_input_v1, + audience_segment_compute_sizes_input_v1, **kwargs ): - """compute_audiences_sizes # noqa: E501 + """compute_audience_segments_sizes # noqa: E501 - Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 + Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) + >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): + audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1708,7 +2076,7 @@ def compute_audiences_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSizeEntityV1ListResponse + AudienceSegmentSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1737,26 +2105,26 @@ def compute_audiences_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_compute_sizes_input_v1'] = \ - audience_compute_sizes_input_v1 - return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_compute_sizes_input_v1'] = \ + audience_segment_compute_sizes_input_v1 + return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) - def delete_contact_list_identifiers( + def compute_audiences_sizes( self, - audience_segment_id, + audience_compute_sizes_input_v1, **kwargs ): - """delete_contact_list_identifiers # noqa: E501 + """compute_audiences_sizes # noqa: E501 - Delete all identifiers from a contact list audience-segment. # noqa: E501 + Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_contact_list_identifiers(audience_segment_id, async_req=True) + >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_id (str): The id of the contact list audience-segment to amend + audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1791,7 +2159,7 @@ def delete_contact_list_identifiers( async_req (bool): execute request asynchronously Returns: - DeleteAudienceContactListResponse + AudienceSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1820,9 +2188,9 @@ def delete_contact_list_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - return self.delete_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) + kwargs['audience_compute_sizes_input_v1'] = \ + audience_compute_sizes_input_v1 + return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) def estimate_audience_segment_size( self, @@ -2417,90 +2785,3 @@ def search_audiences( audience_search_input_v1 return self.search_audiences_endpoint.call_with_http_info(**kwargs) - def update_contact_list_identifiers( - self, - audience_segment_id, - contactlist_amendment_request, - **kwargs - ): - """update_contact_list_identifiers # noqa: E501 - - Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request, async_req=True) - >>> result = thread.get() - - Args: - audience_segment_id (str): The id of the contact list audience-segment to amend - contactlist_amendment_request (ContactlistAmendmentRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ModifyAudienceResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - kwargs['contactlist_amendment_request'] = \ - contactlist_amendment_request - return self.update_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) - diff --git a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api_client.py b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api_client.py index e6e520d5..bd69b8a0 100644 --- a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api_client.py +++ b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2024.01.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2024.01.0.241029/python' def __enter__(self): return self diff --git a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/configuration.py b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/configuration.py index 362d2753..99277c53 100644 --- a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/configuration.py +++ b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2024-01\n"\ - "SDK Package Version: 2024.01.0.240808".\ + "SDK Package Version: 2024.01.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/model/contactlist_amendment_attributes.py b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/model/contactlist_amendment_attributes.py index 12ac2eda..ef7c5a96 100644 --- a/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/model/contactlist_amendment_attributes.py +++ b/sdks/marketingsolutions_2024-01/criteo_api_marketingsolutions_v2024_01/model/contactlist_amendment_attributes.py @@ -65,7 +65,6 @@ class ContactlistAmendmentAttributes(ModelNormal): 'MADID': "madid", 'IDENTITYLINK': "identityLink", 'GUM': "gum", - 'CUSTOMERID': "customerid", 'PHONENUMBER': "phoneNumber", }, } @@ -124,7 +123,7 @@ def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -217,7 +216,7 @@ def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501 Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2024-01/docs/AnalyticsApi.md b/sdks/marketingsolutions_2024-01/docs/AnalyticsApi.md index ccfce2cb..193f6a4a 100644 --- a/sdks/marketingsolutions_2024-01/docs/AnalyticsApi.md +++ b/sdks/marketingsolutions_2024-01/docs/AnalyticsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **get_adset_report** -> str get_adset_report() +> file_type get_adset_report() @@ -98,7 +98,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -121,7 +121,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_placements_report** -> str get_placements_report() +> file_type get_placements_report() @@ -211,7 +211,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -220,7 +220,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json, application/xml, text/xml + - **Accept**: text/plain, application/json, text/json, text/csv, application/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/xml ### HTTP response details @@ -234,7 +234,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_report** -> str get_transactions_report() +> file_type get_transactions_report() @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization diff --git a/sdks/marketingsolutions_2024-01/docs/AudienceApi.md b/sdks/marketingsolutions_2024-01/docs/AudienceApi.md index af961451..71f590fb 100644 --- a/sdks/marketingsolutions_2024-01/docs/AudienceApi.md +++ b/sdks/marketingsolutions_2024-01/docs/AudienceApi.md @@ -10,9 +10,12 @@ Method | HTTP request | Description [**bulk_delete_audiences**](AudienceApi.md#bulk_delete_audiences) | **POST** /2024-01/marketing-solutions/audiences/delete | [**bulk_update_audience_segments**](AudienceApi.md#bulk_update_audience_segments) | **PATCH** /2024-01/marketing-solutions/audience-segments | [**bulk_update_audiences**](AudienceApi.md#bulk_update_audiences) | **PATCH** /2024-01/marketing-solutions/audiences | +[**call_01_audiences_audience_segment_id_contactlist_delete**](AudienceApi.md#call_01_audiences_audience_segment_id_contactlist_delete) | **DELETE** /2024-01/audiences/{audience-segment-id}/contactlist | +[**call_01_audiences_audience_segment_id_contactlist_patch**](AudienceApi.md#call_01_audiences_audience_segment_id_contactlist_patch) | **PATCH** /2024-01/audiences/{audience-segment-id}/contactlist | +[**call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete**](AudienceApi.md#call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete) | **DELETE** /2024-01/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | +[**call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch**](AudienceApi.md#call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch) | **PATCH** /2024-01/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**compute_audience_segments_sizes**](AudienceApi.md#compute_audience_segments_sizes) | **POST** /2024-01/marketing-solutions/audience-segments/compute-sizes | [**compute_audiences_sizes**](AudienceApi.md#compute_audiences_sizes) | **POST** /2024-01/marketing-solutions/audiences/compute-sizes | -[**delete_contact_list_identifiers**](AudienceApi.md#delete_contact_list_identifiers) | **DELETE** /2024-01/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**estimate_audience_segment_size**](AudienceApi.md#estimate_audience_segment_size) | **POST** /2024-01/marketing-solutions/audience-segments/estimate-size | [**estimate_audience_size**](AudienceApi.md#estimate_audience_size) | **POST** /2024-01/marketing-solutions/audiences/estimate-size | [**get_audience_segment_contact_list_statistics**](AudienceApi.md#get_audience_segment_contact_list_statistics) | **GET** /2024-01/marketing-solutions/audience-segments/{audience-segment-id}/contact-list/statistics | @@ -20,7 +23,6 @@ Method | HTTP request | Description [**get_audience_segments_in_market_interests**](AudienceApi.md#get_audience_segments_in_market_interests) | **GET** /2024-01/marketing-solutions/audience-segments/in-market-interests | [**search_audience_segments**](AudienceApi.md#search_audience_segments) | **POST** /2024-01/marketing-solutions/audience-segments/search | [**search_audiences**](AudienceApi.md#search_audiences) | **POST** /2024-01/marketing-solutions/audiences/search | -[**update_contact_list_identifiers**](AudienceApi.md#update_contact_list_identifiers) | **PATCH** /2024-01/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | # **bulk_create_audience_segments** @@ -723,12 +725,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audience_segments_sizes** -> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) +# **call_01_audiences_audience_segment_id_contactlist_delete** +> DeleteAudienceContactListResponse call_01_audiences_audience_segment_id_contactlist_delete(audience_segment_id) -Gets the size of all segments. An error is returned for those whose size calculation is not supported. +Delete all identifiers from a contact list audience-segment. ### Example @@ -739,8 +741,8 @@ Gets the size of all segments. An error is returned for those whose size calcula import time import criteo_api_marketingsolutions_v2024_01 from criteo_api_marketingsolutions_v2024_01.api import audience_api -from criteo_api_marketingsolutions_v2024_01.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2024_01.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_01.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_01.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -769,22 +771,114 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( - data=[ - AudienceSegmentComputeSizeEntityV1Resource( - attributes={}, - id="id_example", - type="type_example", + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_01_audiences_audience_segment_id_contactlist_delete(audience_segment_id) + pprint(api_response) + except criteo_api_marketingsolutions_v2024_01.ApiException as e: + print("Exception when calling AudienceApi->call_01_audiences_audience_segment_id_contactlist_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + +### Return type + +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **call_01_audiences_audience_segment_id_contactlist_patch** +> ModifyAudienceResponse call_01_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) + + + +Add/remove identifiers to or from a contact list audience-segment. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2024_01 +from criteo_api_marketingsolutions_v2024_01.api import audience_api +from criteo_api_marketingsolutions_v2024_01.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_v2024_01.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2024_01.model.contactlist_amendment_request import ContactlistAmendmentRequest +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2024_01.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_01.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_01.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, ), - ], - ) # AudienceSegmentComputeSizesInputV1 | + ), + ) # ContactlistAmendmentRequest | # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) + api_response = api_instance.call_01_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) pprint(api_response) except criteo_api_marketingsolutions_v2024_01.ApiException as e: - print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) + print("Exception when calling AudienceApi->call_01_audiences_audience_segment_id_contactlist_patch: %s\n" % e) ``` @@ -792,11 +886,12 @@ with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | ### Return type -[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) ### Authorization @@ -804,27 +899,26 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success or partial success | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audiences_sizes** -> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) +# **call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete** +> DeleteAudienceContactListResponse call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) -Gets the size of all audiences. An error is returned for those whose size calculation is not supported. +Delete all identifiers from a contact list audience-segment. ### Example @@ -835,8 +929,8 @@ Gets the size of all audiences. An error is returned for those whose size calcul import time import criteo_api_marketingsolutions_v2024_01 from criteo_api_marketingsolutions_v2024_01.api import audience_api -from criteo_api_marketingsolutions_v2024_01.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 -from criteo_api_marketingsolutions_v2024_01.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_01.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_01.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -865,22 +959,210 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) + pprint(api_response) + except criteo_api_marketingsolutions_v2024_01.ApiException as e: + print("Exception when calling AudienceApi->call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + +### Return type + +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch** +> ModifyAudienceResponse call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) + + + +Add/remove identifiers to or from a contact list audience-segment. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2024_01 +from criteo_api_marketingsolutions_v2024_01.api import audience_api +from criteo_api_marketingsolutions_v2024_01.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_v2024_01.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2024_01.model.contactlist_amendment_request import ContactlistAmendmentRequest +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2024_01.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_01.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_01.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, + ), + ), + ) # ContactlistAmendmentRequest | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) + pprint(api_response) + except criteo_api_marketingsolutions_v2024_01.ApiException as e: + print("Exception when calling AudienceApi->call_01_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | + +### Return type + +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **compute_audience_segments_sizes** +> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) + + + +Gets the size of all segments. An error is returned for those whose size calculation is not supported. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2024_01 +from criteo_api_marketingsolutions_v2024_01.api import audience_api +from criteo_api_marketingsolutions_v2024_01.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_01.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2024_01.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_01.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_01.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( data=[ - AudienceComputeSizeEntityV1Resource( + AudienceSegmentComputeSizeEntityV1Resource( attributes={}, id="id_example", type="type_example", ), ], - ) # AudienceComputeSizesInputV1 | + ) # AudienceSegmentComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) + api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) pprint(api_response) except criteo_api_marketingsolutions_v2024_01.ApiException as e: - print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) + print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) ``` @@ -888,11 +1170,11 @@ with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | + **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | ### Return type -[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) +[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) ### Authorization @@ -915,12 +1197,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_contact_list_identifiers** -> DeleteAudienceContactListResponse delete_contact_list_identifiers(audience_segment_id) +# **compute_audiences_sizes** +> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) -Delete all identifiers from a contact list audience-segment. +Gets the size of all audiences. An error is returned for those whose size calculation is not supported. ### Example @@ -931,8 +1213,8 @@ Delete all identifiers from a contact list audience-segment. import time import criteo_api_marketingsolutions_v2024_01 from criteo_api_marketingsolutions_v2024_01.api import audience_api -from criteo_api_marketingsolutions_v2024_01.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse -from criteo_api_marketingsolutions_v2024_01.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2024_01.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_01.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -961,14 +1243,22 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( + data=[ + AudienceComputeSizeEntityV1Resource( + attributes={}, + id="id_example", + type="type_example", + ), + ], + ) # AudienceComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.delete_contact_list_identifiers(audience_segment_id) + api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) pprint(api_response) except criteo_api_marketingsolutions_v2024_01.ApiException as e: - print("Exception when calling AudienceApi->delete_contact_list_identifiers: %s\n" % e) + print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) ``` @@ -976,11 +1266,11 @@ with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | ### Return type -[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) +[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) ### Authorization @@ -988,16 +1278,18 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | The Contact List was emptied | - | -**403** | Forbidden | - | +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1722,105 +2014,3 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_contact_list_identifiers** -> ModifyAudienceResponse update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) - - - -Add/remove identifiers to or from a contact list audience-segment. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_marketingsolutions_v2024_01 -from criteo_api_marketingsolutions_v2024_01.api import audience_api -from criteo_api_marketingsolutions_v2024_01.model.modify_audience_response import ModifyAudienceResponse -from criteo_api_marketingsolutions_v2024_01.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2024_01.model.contactlist_amendment_request import ContactlistAmendmentRequest -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2024_01.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2024_01.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2024_01.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2024_01.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend - contactlist_amendment_request = ContactlistAmendmentRequest( - data=ContactlistAmendment( - type="ContactlistAmendment", - attributes=ContactlistAmendmentAttributes( - operation="add", - identifier_type="email", - identifiers=[ - "identifiers_example", - ], - gum_caller_id=1, - ), - ), - ) # ContactlistAmendmentRequest | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) - pprint(api_response) - except criteo_api_marketingsolutions_v2024_01.ApiException as e: - print("Exception when calling AudienceApi->update_contact_list_identifiers: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | - **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | - -### Return type - -[**ModifyAudienceResponse**](ModifyAudienceResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Summary of created request | - | -**403** | Forbidden | - | -**404** | Audience 123 not found | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/marketingsolutions_2024-01/docs/ContactlistAmendmentAttributes.md b/sdks/marketingsolutions_2024-01/docs/ContactlistAmendmentAttributes.md index a805de72..a99ebe95 100644 --- a/sdks/marketingsolutions_2024-01/docs/ContactlistAmendmentAttributes.md +++ b/sdks/marketingsolutions_2024-01/docs/ContactlistAmendmentAttributes.md @@ -6,7 +6,7 @@ the name of the entity type Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **operation** | **str** | Operation to add or remove users | -**identifiers** | **[str]** | The users tos add or remove, each in the schema specified | +**identifiers** | **[str]** | The users to add or remove, each in the schema specified | **identifier_type** | **str, none_type** | What type of identifiers are used | [optional] **gum_caller_id** | **int, none_type** | The Gum caller id of the advertiser patching identifiers of type Gum | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2024-01/setup.py b/sdks/marketingsolutions_2024-01/setup.py index d765b43a..9a255f13 100644 --- a/sdks/marketingsolutions_2024-01/setup.py +++ b/sdks/marketingsolutions_2024-01/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-marketingsolutions-sdk" -VERSION = "2024.01.0.240808" +VERSION = "2024.01.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-marketingsolutions-sdk==2024.01.0.240808 +pip install criteo-api-marketingsolutions-sdk==2024.01.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.01.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.01.0.241029`) Then import the package: ```python diff --git a/sdks/marketingsolutions_2024-04/README.md b/sdks/marketingsolutions_2024-04/README.md index 653113f4..7a46f7bb 100644 --- a/sdks/marketingsolutions_2024-04/README.md +++ b/sdks/marketingsolutions_2024-04/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2024.04.0.240808 +- Package version: 2024.04.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-marketingsolutions-sdk==2024.04.0.240808 +pip install criteo-api-marketingsolutions-sdk==2024.04.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.04.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.04.0.241029`) Then import the package: ```python diff --git a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/__init__.py b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/__init__.py index 1a168ec0..9775267b 100644 --- a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/__init__.py +++ b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "2024.04.0.240808" +__version__ = "2024.04.0.241029" # import ApiClient from criteo_api_marketingsolutions_v2024_04.api_client import ApiClient diff --git a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api/analytics_api.py b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api/analytics_api.py index 2acf8d8b..a917656d 100644 --- a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api/analytics_api.py +++ b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api/analytics_api.py @@ -42,7 +42,7 @@ def __init__(self, api_client=None): self.api_client = api_client self.get_adset_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -101,7 +101,7 @@ def __init__(self, api_client=None): ) self.get_placements_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -145,7 +145,9 @@ def __init__(self, api_client=None): 'text/plain', 'application/json', 'text/json', + 'text/csv', 'application/xml', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'text/xml' ], 'content_type': [ @@ -159,7 +161,7 @@ def __init__(self, api_client=None): ) self.get_transactions_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -330,7 +332,7 @@ def get_adset_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -409,7 +411,7 @@ def get_placements_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -488,7 +490,7 @@ def get_transactions_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ diff --git a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api/audience_api.py b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api/audience_api.py index f891b9c8..9990e5c9 100644 --- a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api/audience_api.py +++ b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api/audience_api.py @@ -411,24 +411,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.compute_audience_segments_sizes_endpoint = _Endpoint( + self.call_04_audiences_audience_segment_id_contactlist_delete_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), + 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2024-04/marketing-solutions/audience-segments/compute-sizes', - 'operation_id': 'compute_audience_segments_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2024-04/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_04_audiences_audience_segment_id_contactlist_delete', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'required': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'nullable': [ ], @@ -443,50 +443,46 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_segment_compute_sizes_input_v1': - (AudienceSegmentComputeSizesInputV1,), + 'audience_segment_id': + (str,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_segment_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], - 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' - ] + 'content_type': [], }, api_client=api_client ) - self.compute_audiences_sizes_endpoint = _Endpoint( + self.call_04_audiences_audience_segment_id_contactlist_patch_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSizeEntityV1ListResponse,), + 'response_type': (ModifyAudienceResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2024-04/marketing-solutions/audiences/compute-sizes', - 'operation_id': 'compute_audiences_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2024-04/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_04_audiences_audience_segment_id_contactlist_patch', + 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'required': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'nullable': [ ], @@ -501,33 +497,32 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_compute_sizes_input_v1': - (AudienceComputeSizesInputV1,), + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client ) - self.delete_contact_list_identifiers_endpoint = _Endpoint( + self.call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint = _Endpoint( settings={ 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ @@ -535,7 +530,7 @@ def __init__(self, api_client=None): 'oauth' ], 'endpoint_path': '/2024-04/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'delete_contact_list_identifiers', + 'operation_id': 'call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete', 'http_method': 'DELETE', 'servers': None, }, @@ -579,6 +574,181 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint = _Endpoint( + settings={ + 'response_type': (ModifyAudienceResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-04/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', + 'operation_id': 'call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_id', + 'contactlist_amendment_request', + ], + 'required': [ + 'audience_segment_id', + 'contactlist_amendment_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), + }, + 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', + }, + 'location_map': { + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.compute_audience_segments_sizes_endpoint = _Endpoint( + settings={ + 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-04/marketing-solutions/audience-segments/compute-sizes', + 'operation_id': 'compute_audience_segments_sizes', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_compute_sizes_input_v1', + ], + 'required': [ + 'audience_segment_compute_sizes_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_compute_sizes_input_v1': + (AudienceSegmentComputeSizesInputV1,), + }, + 'attribute_map': { + }, + 'location_map': { + 'audience_segment_compute_sizes_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.compute_audiences_sizes_endpoint = _Endpoint( + settings={ + 'response_type': (AudienceSizeEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-04/marketing-solutions/audiences/compute-sizes', + 'operation_id': 'compute_audiences_sizes', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_compute_sizes_input_v1', + ], + 'required': [ + 'audience_compute_sizes_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_compute_sizes_input_v1': + (AudienceComputeSizesInputV1,), + }, + 'attribute_map': { + }, + 'location_map': { + 'audience_compute_sizes_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) self.estimate_audience_segment_size_endpoint = _Endpoint( settings={ 'response_type': (AudienceSegmentSizeEstimationV1Response,), @@ -1017,82 +1187,272 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_contact_list_identifiers_endpoint = _Endpoint( - settings={ - 'response_type': (ModifyAudienceResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/2024-04/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'update_contact_list_identifiers', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'audience_segment_id', - 'contactlist_amendment_request', - ], - 'required': [ - 'audience_segment_id', - 'contactlist_amendment_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'audience_segment_id': - (str,), - 'contactlist_amendment_request': - (ContactlistAmendmentRequest,), - }, - 'attribute_map': { - 'audience_segment_id': 'audience-segment-id', - }, - 'location_map': { - 'audience_segment_id': 'path', - 'contactlist_amendment_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client + + def bulk_create_audience_segments( + self, + audience_segment_bulk_create_input_v1, + **kwargs + ): + """bulk_create_audience_segments # noqa: E501 + + Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceSegmentEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_bulk_create_input_v1'] = \ + audience_segment_bulk_create_input_v1 + return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) + + def bulk_create_audiences( + self, + audience_bulk_create_input_v1, + **kwargs + ): + """bulk_create_audiences # noqa: E501 + + Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_bulk_create_input_v1 (AudienceBulkCreateInputV1): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_bulk_create_input_v1'] = \ + audience_bulk_create_input_v1 + return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) + + def bulk_delete_audience_segments( + self, + audience_segment_bulk_delete_input_v1, + **kwargs + ): + """bulk_delete_audience_segments # noqa: E501 + + Delete the segments associated to the given audience IDs. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceSegmentIdEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_bulk_delete_input_v1'] = \ + audience_segment_bulk_delete_input_v1 + return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_create_audience_segments( + def bulk_delete_audiences( self, - audience_segment_bulk_create_input_v1, + audience_bulk_delete_input_v1, **kwargs ): - """bulk_create_audience_segments # noqa: E501 + """bulk_delete_audiences # noqa: E501 - Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + Deletes the audiences associated to the given audience IDs. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True) + >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter + audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1127,7 +1487,7 @@ def bulk_create_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1ListResponse + AudienceIdEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1156,26 +1516,26 @@ def bulk_create_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_create_input_v1'] = \ - audience_segment_bulk_create_input_v1 - return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_delete_input_v1'] = \ + audience_bulk_delete_input_v1 + return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) - def bulk_create_audiences( + def bulk_update_audience_segments( self, - audience_bulk_create_input_v1, + audience_segment_bulk_update_input_v1, **kwargs ): - """bulk_create_audiences # noqa: E501 + """bulk_update_audience_segments # noqa: E501 - Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True) + >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_bulk_create_input_v1 (AudienceBulkCreateInputV1): + audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request Keyword Args: _return_http_data_only (bool): response data without head status @@ -1210,7 +1570,7 @@ def bulk_create_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1ListResponse + AudienceSegmentEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1239,26 +1599,26 @@ def bulk_create_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_create_input_v1'] = \ - audience_bulk_create_input_v1 - return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_bulk_update_input_v1'] = \ + audience_segment_bulk_update_input_v1 + return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_delete_audience_segments( + def bulk_update_audiences( self, - audience_segment_bulk_delete_input_v1, + audience_bulk_update_input_v1, **kwargs ): - """bulk_delete_audience_segments # noqa: E501 + """bulk_update_audiences # noqa: E501 - Delete the segments associated to the given audience IDs. # noqa: E501 + Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) + >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. + audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1293,7 +1653,7 @@ def bulk_delete_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentIdEntityV1ListResponse + AudienceEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1322,26 +1682,26 @@ def bulk_delete_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_delete_input_v1'] = \ - audience_segment_bulk_delete_input_v1 - return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_update_input_v1'] = \ + audience_bulk_update_input_v1 + return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) - def bulk_delete_audiences( + def call_04_audiences_audience_segment_id_contactlist_delete( self, - audience_bulk_delete_input_v1, + audience_segment_id, **kwargs ): - """bulk_delete_audiences # noqa: E501 + """call_04_audiences_audience_segment_id_contactlist_delete # noqa: E501 - Deletes the audiences associated to the given audience IDs. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) + >>> thread = api.call_04_audiences_audience_segment_id_contactlist_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -1376,7 +1736,7 @@ def bulk_delete_audiences( async_req (bool): execute request asynchronously Returns: - AudienceIdEntityV1ListResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -1405,26 +1765,28 @@ def bulk_delete_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_delete_input_v1'] = \ - audience_bulk_delete_input_v1 - return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_04_audiences_audience_segment_id_contactlist_delete_endpoint.call_with_http_info(**kwargs) - def bulk_update_audience_segments( + def call_04_audiences_audience_segment_id_contactlist_patch( self, - audience_segment_bulk_update_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """bulk_update_audience_segments # noqa: E501 + """call_04_audiences_audience_segment_id_contactlist_patch # noqa: E501 - Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) + >>> thread = api.call_04_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1459,7 +1821,7 @@ def bulk_update_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1ListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -1488,26 +1850,28 @@ def bulk_update_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_update_input_v1'] = \ - audience_segment_bulk_update_input_v1 - return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_04_audiences_audience_segment_id_contactlist_patch_endpoint.call_with_http_info(**kwargs) - def bulk_update_audiences( + def call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete( self, - audience_bulk_update_input_v1, + audience_segment_id, **kwargs ): - """bulk_update_audiences # noqa: E501 + """call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete # noqa: E501 - Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) + >>> thread = api.call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -1542,7 +1906,7 @@ def bulk_update_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1ListResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -1571,26 +1935,28 @@ def bulk_update_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_update_input_v1'] = \ - audience_bulk_update_input_v1 - return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint.call_with_http_info(**kwargs) - def compute_audience_segments_sizes( + def call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch( self, - audience_segment_compute_sizes_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """compute_audience_segments_sizes # noqa: E501 + """call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch # noqa: E501 - Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) + >>> thread = api.call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1625,7 +1991,7 @@ def compute_audience_segments_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSegmentSizeEntityV1ListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -1654,26 +2020,28 @@ def compute_audience_segments_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_compute_sizes_input_v1'] = \ - audience_segment_compute_sizes_input_v1 - return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs) - def compute_audiences_sizes( + def compute_audience_segments_sizes( self, - audience_compute_sizes_input_v1, + audience_segment_compute_sizes_input_v1, **kwargs ): - """compute_audiences_sizes # noqa: E501 + """compute_audience_segments_sizes # noqa: E501 - Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 + Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) + >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): + audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1708,7 +2076,7 @@ def compute_audiences_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSizeEntityV1ListResponse + AudienceSegmentSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1737,26 +2105,26 @@ def compute_audiences_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_compute_sizes_input_v1'] = \ - audience_compute_sizes_input_v1 - return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_compute_sizes_input_v1'] = \ + audience_segment_compute_sizes_input_v1 + return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) - def delete_contact_list_identifiers( + def compute_audiences_sizes( self, - audience_segment_id, + audience_compute_sizes_input_v1, **kwargs ): - """delete_contact_list_identifiers # noqa: E501 + """compute_audiences_sizes # noqa: E501 - Delete all identifiers from a contact list audience-segment. # noqa: E501 + Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_contact_list_identifiers(audience_segment_id, async_req=True) + >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_id (str): The id of the contact list audience-segment to amend + audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1791,7 +2159,7 @@ def delete_contact_list_identifiers( async_req (bool): execute request asynchronously Returns: - DeleteAudienceContactListResponse + AudienceSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1820,9 +2188,9 @@ def delete_contact_list_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - return self.delete_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) + kwargs['audience_compute_sizes_input_v1'] = \ + audience_compute_sizes_input_v1 + return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) def estimate_audience_segment_size( self, @@ -2417,90 +2785,3 @@ def search_audiences( audience_search_input_v1 return self.search_audiences_endpoint.call_with_http_info(**kwargs) - def update_contact_list_identifiers( - self, - audience_segment_id, - contactlist_amendment_request, - **kwargs - ): - """update_contact_list_identifiers # noqa: E501 - - Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request, async_req=True) - >>> result = thread.get() - - Args: - audience_segment_id (str): The id of the contact list audience-segment to amend - contactlist_amendment_request (ContactlistAmendmentRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ModifyAudienceResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - kwargs['contactlist_amendment_request'] = \ - contactlist_amendment_request - return self.update_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) - diff --git a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api_client.py b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api_client.py index 468b9a35..59f71f16 100644 --- a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api_client.py +++ b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2024.04.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2024.04.0.241029/python' def __enter__(self): return self diff --git a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/configuration.py b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/configuration.py index 4cb75a94..da1e1378 100644 --- a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/configuration.py +++ b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2024-04\n"\ - "SDK Package Version: 2024.04.0.240808".\ + "SDK Package Version: 2024.04.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/model/contactlist_amendment_attributes.py b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/model/contactlist_amendment_attributes.py index 6c7701e8..ce951738 100644 --- a/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/model/contactlist_amendment_attributes.py +++ b/sdks/marketingsolutions_2024-04/criteo_api_marketingsolutions_v2024_04/model/contactlist_amendment_attributes.py @@ -65,7 +65,6 @@ class ContactlistAmendmentAttributes(ModelNormal): 'MADID': "madid", 'IDENTITYLINK': "identityLink", 'GUM': "gum", - 'CUSTOMERID': "customerid", 'PHONENUMBER': "phoneNumber", }, } @@ -124,7 +123,7 @@ def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -217,7 +216,7 @@ def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501 Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2024-04/docs/AnalyticsApi.md b/sdks/marketingsolutions_2024-04/docs/AnalyticsApi.md index ef06a31a..21961b99 100644 --- a/sdks/marketingsolutions_2024-04/docs/AnalyticsApi.md +++ b/sdks/marketingsolutions_2024-04/docs/AnalyticsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **get_adset_report** -> str get_adset_report() +> file_type get_adset_report() @@ -98,7 +98,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -121,7 +121,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_placements_report** -> str get_placements_report() +> file_type get_placements_report() @@ -211,7 +211,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -220,7 +220,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json, application/xml, text/xml + - **Accept**: text/plain, application/json, text/json, text/csv, application/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/xml ### HTTP response details @@ -234,7 +234,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_report** -> str get_transactions_report() +> file_type get_transactions_report() @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization diff --git a/sdks/marketingsolutions_2024-04/docs/AudienceApi.md b/sdks/marketingsolutions_2024-04/docs/AudienceApi.md index 361170cd..2f249631 100644 --- a/sdks/marketingsolutions_2024-04/docs/AudienceApi.md +++ b/sdks/marketingsolutions_2024-04/docs/AudienceApi.md @@ -10,9 +10,12 @@ Method | HTTP request | Description [**bulk_delete_audiences**](AudienceApi.md#bulk_delete_audiences) | **POST** /2024-04/marketing-solutions/audiences/delete | [**bulk_update_audience_segments**](AudienceApi.md#bulk_update_audience_segments) | **PATCH** /2024-04/marketing-solutions/audience-segments | [**bulk_update_audiences**](AudienceApi.md#bulk_update_audiences) | **PATCH** /2024-04/marketing-solutions/audiences | +[**call_04_audiences_audience_segment_id_contactlist_delete**](AudienceApi.md#call_04_audiences_audience_segment_id_contactlist_delete) | **DELETE** /2024-04/audiences/{audience-segment-id}/contactlist | +[**call_04_audiences_audience_segment_id_contactlist_patch**](AudienceApi.md#call_04_audiences_audience_segment_id_contactlist_patch) | **PATCH** /2024-04/audiences/{audience-segment-id}/contactlist | +[**call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete**](AudienceApi.md#call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete) | **DELETE** /2024-04/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | +[**call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch**](AudienceApi.md#call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch) | **PATCH** /2024-04/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**compute_audience_segments_sizes**](AudienceApi.md#compute_audience_segments_sizes) | **POST** /2024-04/marketing-solutions/audience-segments/compute-sizes | [**compute_audiences_sizes**](AudienceApi.md#compute_audiences_sizes) | **POST** /2024-04/marketing-solutions/audiences/compute-sizes | -[**delete_contact_list_identifiers**](AudienceApi.md#delete_contact_list_identifiers) | **DELETE** /2024-04/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**estimate_audience_segment_size**](AudienceApi.md#estimate_audience_segment_size) | **POST** /2024-04/marketing-solutions/audience-segments/estimate-size | [**estimate_audience_size**](AudienceApi.md#estimate_audience_size) | **POST** /2024-04/marketing-solutions/audiences/estimate-size | [**get_audience_segment_contact_list_statistics**](AudienceApi.md#get_audience_segment_contact_list_statistics) | **GET** /2024-04/marketing-solutions/audience-segments/{audience-segment-id}/contact-list/statistics | @@ -20,7 +23,6 @@ Method | HTTP request | Description [**get_audience_segments_in_market_interests**](AudienceApi.md#get_audience_segments_in_market_interests) | **GET** /2024-04/marketing-solutions/audience-segments/in-market-interests | [**search_audience_segments**](AudienceApi.md#search_audience_segments) | **POST** /2024-04/marketing-solutions/audience-segments/search | [**search_audiences**](AudienceApi.md#search_audiences) | **POST** /2024-04/marketing-solutions/audiences/search | -[**update_contact_list_identifiers**](AudienceApi.md#update_contact_list_identifiers) | **PATCH** /2024-04/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | # **bulk_create_audience_segments** @@ -723,12 +725,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audience_segments_sizes** -> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) +# **call_04_audiences_audience_segment_id_contactlist_delete** +> DeleteAudienceContactListResponse call_04_audiences_audience_segment_id_contactlist_delete(audience_segment_id) -Gets the size of all segments. An error is returned for those whose size calculation is not supported. +Delete all identifiers from a contact list audience-segment. ### Example @@ -739,8 +741,8 @@ Gets the size of all segments. An error is returned for those whose size calcula import time import criteo_api_marketingsolutions_v2024_04 from criteo_api_marketingsolutions_v2024_04.api import audience_api -from criteo_api_marketingsolutions_v2024_04.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 -from criteo_api_marketingsolutions_v2024_04.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_04.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_04.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -769,22 +771,114 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( - data=[ - AudienceSegmentComputeSizeEntityV1Resource( - attributes={}, - id="id_example", - type="type_example", + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_04_audiences_audience_segment_id_contactlist_delete(audience_segment_id) + pprint(api_response) + except criteo_api_marketingsolutions_v2024_04.ApiException as e: + print("Exception when calling AudienceApi->call_04_audiences_audience_segment_id_contactlist_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + +### Return type + +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **call_04_audiences_audience_segment_id_contactlist_patch** +> ModifyAudienceResponse call_04_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) + + + +Add/remove identifiers to or from a contact list audience-segment. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2024_04 +from criteo_api_marketingsolutions_v2024_04.api import audience_api +from criteo_api_marketingsolutions_v2024_04.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2024_04.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2024_04.model.modify_audience_response import ModifyAudienceResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2024_04.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_04.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_04.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, ), - ], - ) # AudienceSegmentComputeSizesInputV1 | + ), + ) # ContactlistAmendmentRequest | # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) + api_response = api_instance.call_04_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) pprint(api_response) except criteo_api_marketingsolutions_v2024_04.ApiException as e: - print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) + print("Exception when calling AudienceApi->call_04_audiences_audience_segment_id_contactlist_patch: %s\n" % e) ``` @@ -792,11 +886,12 @@ with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | ### Return type -[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) ### Authorization @@ -804,27 +899,26 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success or partial success | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audiences_sizes** -> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) +# **call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete** +> DeleteAudienceContactListResponse call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) -Gets the size of all audiences. An error is returned for those whose size calculation is not supported. +Delete all identifiers from a contact list audience-segment. ### Example @@ -835,8 +929,8 @@ Gets the size of all audiences. An error is returned for those whose size calcul import time import criteo_api_marketingsolutions_v2024_04 from criteo_api_marketingsolutions_v2024_04.api import audience_api -from criteo_api_marketingsolutions_v2024_04.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 -from criteo_api_marketingsolutions_v2024_04.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_04.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_04.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -865,22 +959,210 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) + pprint(api_response) + except criteo_api_marketingsolutions_v2024_04.ApiException as e: + print("Exception when calling AudienceApi->call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + +### Return type + +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch** +> ModifyAudienceResponse call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) + + + +Add/remove identifiers to or from a contact list audience-segment. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2024_04 +from criteo_api_marketingsolutions_v2024_04.api import audience_api +from criteo_api_marketingsolutions_v2024_04.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2024_04.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2024_04.model.modify_audience_response import ModifyAudienceResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2024_04.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_04.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_04.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, + ), + ), + ) # ContactlistAmendmentRequest | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) + pprint(api_response) + except criteo_api_marketingsolutions_v2024_04.ApiException as e: + print("Exception when calling AudienceApi->call_04_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | + +### Return type + +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **compute_audience_segments_sizes** +> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) + + + +Gets the size of all segments. An error is returned for those whose size calculation is not supported. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2024_04 +from criteo_api_marketingsolutions_v2024_04.api import audience_api +from criteo_api_marketingsolutions_v2024_04.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_04.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2024_04.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_04.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_04.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( data=[ - AudienceComputeSizeEntityV1Resource( + AudienceSegmentComputeSizeEntityV1Resource( attributes={}, id="id_example", type="type_example", ), ], - ) # AudienceComputeSizesInputV1 | + ) # AudienceSegmentComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) + api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) pprint(api_response) except criteo_api_marketingsolutions_v2024_04.ApiException as e: - print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) + print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) ``` @@ -888,11 +1170,11 @@ with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | + **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | ### Return type -[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) +[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) ### Authorization @@ -915,12 +1197,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_contact_list_identifiers** -> DeleteAudienceContactListResponse delete_contact_list_identifiers(audience_segment_id) +# **compute_audiences_sizes** +> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) -Delete all identifiers from a contact list audience-segment. +Gets the size of all audiences. An error is returned for those whose size calculation is not supported. ### Example @@ -931,8 +1213,8 @@ Delete all identifiers from a contact list audience-segment. import time import criteo_api_marketingsolutions_v2024_04 from criteo_api_marketingsolutions_v2024_04.api import audience_api -from criteo_api_marketingsolutions_v2024_04.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse -from criteo_api_marketingsolutions_v2024_04.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2024_04.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_04.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -961,14 +1243,22 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( + data=[ + AudienceComputeSizeEntityV1Resource( + attributes={}, + id="id_example", + type="type_example", + ), + ], + ) # AudienceComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.delete_contact_list_identifiers(audience_segment_id) + api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) pprint(api_response) except criteo_api_marketingsolutions_v2024_04.ApiException as e: - print("Exception when calling AudienceApi->delete_contact_list_identifiers: %s\n" % e) + print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) ``` @@ -976,11 +1266,11 @@ with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | ### Return type -[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) +[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) ### Authorization @@ -988,16 +1278,18 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | The Contact List was emptied | - | -**403** | Forbidden | - | +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1722,105 +2014,3 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_contact_list_identifiers** -> ModifyAudienceResponse update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) - - - -Add/remove identifiers to or from a contact list audience-segment. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_marketingsolutions_v2024_04 -from criteo_api_marketingsolutions_v2024_04.api import audience_api -from criteo_api_marketingsolutions_v2024_04.model.contactlist_amendment_request import ContactlistAmendmentRequest -from criteo_api_marketingsolutions_v2024_04.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2024_04.model.modify_audience_response import ModifyAudienceResponse -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2024_04.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2024_04.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2024_04.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2024_04.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend - contactlist_amendment_request = ContactlistAmendmentRequest( - data=ContactlistAmendment( - type="ContactlistAmendment", - attributes=ContactlistAmendmentAttributes( - operation="add", - identifier_type="email", - identifiers=[ - "identifiers_example", - ], - gum_caller_id=1, - ), - ), - ) # ContactlistAmendmentRequest | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) - pprint(api_response) - except criteo_api_marketingsolutions_v2024_04.ApiException as e: - print("Exception when calling AudienceApi->update_contact_list_identifiers: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | - **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | - -### Return type - -[**ModifyAudienceResponse**](ModifyAudienceResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Summary of created request | - | -**403** | Forbidden | - | -**404** | Audience 123 not found | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/marketingsolutions_2024-04/docs/ContactlistAmendmentAttributes.md b/sdks/marketingsolutions_2024-04/docs/ContactlistAmendmentAttributes.md index a805de72..a99ebe95 100644 --- a/sdks/marketingsolutions_2024-04/docs/ContactlistAmendmentAttributes.md +++ b/sdks/marketingsolutions_2024-04/docs/ContactlistAmendmentAttributes.md @@ -6,7 +6,7 @@ the name of the entity type Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **operation** | **str** | Operation to add or remove users | -**identifiers** | **[str]** | The users tos add or remove, each in the schema specified | +**identifiers** | **[str]** | The users to add or remove, each in the schema specified | **identifier_type** | **str, none_type** | What type of identifiers are used | [optional] **gum_caller_id** | **int, none_type** | The Gum caller id of the advertiser patching identifiers of type Gum | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2024-04/setup.py b/sdks/marketingsolutions_2024-04/setup.py index ba6d1b14..f16458d6 100644 --- a/sdks/marketingsolutions_2024-04/setup.py +++ b/sdks/marketingsolutions_2024-04/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-marketingsolutions-sdk" -VERSION = "2024.04.0.240808" +VERSION = "2024.04.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-marketingsolutions-sdk==2024.04.0.240808 +pip install criteo-api-marketingsolutions-sdk==2024.04.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.04.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.04.0.241029`) Then import the package: ```python diff --git a/sdks/marketingsolutions_2024-07/README.md b/sdks/marketingsolutions_2024-07/README.md index e1ca1c47..ac8394d7 100644 --- a/sdks/marketingsolutions_2024-07/README.md +++ b/sdks/marketingsolutions_2024-07/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2024.07.0.240808 +- Package version: 2024.07.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-marketingsolutions-sdk==2024.07.0.240808 +pip install criteo-api-marketingsolutions-sdk==2024.07.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.07.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.07.0.241029`) Then import the package: ```python diff --git a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/__init__.py b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/__init__.py index aa6baffe..15433878 100644 --- a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/__init__.py +++ b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "2024.07.0.240808" +__version__ = "2024.07.0.241029" # import ApiClient from criteo_api_marketingsolutions_v2024_07.api_client import ApiClient diff --git a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api/analytics_api.py b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api/analytics_api.py index 6d7acd13..687ef11d 100644 --- a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api/analytics_api.py +++ b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api/analytics_api.py @@ -42,7 +42,7 @@ def __init__(self, api_client=None): self.api_client = api_client self.get_adset_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -101,7 +101,7 @@ def __init__(self, api_client=None): ) self.get_placements_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -145,7 +145,9 @@ def __init__(self, api_client=None): 'text/plain', 'application/json', 'text/json', + 'text/csv', 'application/xml', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'text/xml' ], 'content_type': [ @@ -159,7 +161,7 @@ def __init__(self, api_client=None): ) self.get_transactions_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -330,7 +332,7 @@ def get_adset_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -409,7 +411,7 @@ def get_placements_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -488,7 +490,7 @@ def get_transactions_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ diff --git a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api/audience_api.py b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api/audience_api.py index 671d12e6..c0aeebed 100644 --- a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api/audience_api.py +++ b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api/audience_api.py @@ -411,24 +411,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.compute_audience_segments_sizes_endpoint = _Endpoint( + self.call_07_audiences_audience_segment_id_contactlist_delete_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), + 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2024-07/marketing-solutions/audience-segments/compute-sizes', - 'operation_id': 'compute_audience_segments_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2024-07/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_07_audiences_audience_segment_id_contactlist_delete', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'required': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'nullable': [ ], @@ -443,50 +443,46 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_segment_compute_sizes_input_v1': - (AudienceSegmentComputeSizesInputV1,), + 'audience_segment_id': + (str,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_segment_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], - 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' - ] + 'content_type': [], }, api_client=api_client ) - self.compute_audiences_sizes_endpoint = _Endpoint( + self.call_07_audiences_audience_segment_id_contactlist_patch_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSizeEntityV1ListResponse,), + 'response_type': (ModifyAudienceResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2024-07/marketing-solutions/audiences/compute-sizes', - 'operation_id': 'compute_audiences_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2024-07/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_07_audiences_audience_segment_id_contactlist_patch', + 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'required': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'nullable': [ ], @@ -501,33 +497,32 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_compute_sizes_input_v1': - (AudienceComputeSizesInputV1,), + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client ) - self.delete_contact_list_identifiers_endpoint = _Endpoint( + self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint = _Endpoint( settings={ 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ @@ -535,7 +530,7 @@ def __init__(self, api_client=None): 'oauth' ], 'endpoint_path': '/2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'delete_contact_list_identifiers', + 'operation_id': 'call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete', 'http_method': 'DELETE', 'servers': None, }, @@ -579,6 +574,181 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint = _Endpoint( + settings={ + 'response_type': (ModifyAudienceResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', + 'operation_id': 'call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_id', + 'contactlist_amendment_request', + ], + 'required': [ + 'audience_segment_id', + 'contactlist_amendment_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), + }, + 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', + }, + 'location_map': { + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.compute_audience_segments_sizes_endpoint = _Endpoint( + settings={ + 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-07/marketing-solutions/audience-segments/compute-sizes', + 'operation_id': 'compute_audience_segments_sizes', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_compute_sizes_input_v1', + ], + 'required': [ + 'audience_segment_compute_sizes_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_compute_sizes_input_v1': + (AudienceSegmentComputeSizesInputV1,), + }, + 'attribute_map': { + }, + 'location_map': { + 'audience_segment_compute_sizes_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.compute_audiences_sizes_endpoint = _Endpoint( + settings={ + 'response_type': (AudienceSizeEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-07/marketing-solutions/audiences/compute-sizes', + 'operation_id': 'compute_audiences_sizes', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_compute_sizes_input_v1', + ], + 'required': [ + 'audience_compute_sizes_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_compute_sizes_input_v1': + (AudienceComputeSizesInputV1,), + }, + 'attribute_map': { + }, + 'location_map': { + 'audience_compute_sizes_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) self.estimate_audience_segment_size_endpoint = _Endpoint( settings={ 'response_type': (AudienceSegmentSizeEstimationV1Response,), @@ -1017,82 +1187,272 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_contact_list_identifiers_endpoint = _Endpoint( - settings={ - 'response_type': (ModifyAudienceResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'update_contact_list_identifiers', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'audience_segment_id', - 'contactlist_amendment_request', - ], - 'required': [ - 'audience_segment_id', - 'contactlist_amendment_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'audience_segment_id': - (str,), - 'contactlist_amendment_request': - (ContactlistAmendmentRequest,), - }, - 'attribute_map': { - 'audience_segment_id': 'audience-segment-id', - }, - 'location_map': { - 'audience_segment_id': 'path', - 'contactlist_amendment_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client + + def bulk_create_audience_segments( + self, + audience_segment_bulk_create_input_v1, + **kwargs + ): + """bulk_create_audience_segments # noqa: E501 + + Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceSegmentEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_bulk_create_input_v1'] = \ + audience_segment_bulk_create_input_v1 + return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) + + def bulk_create_audiences( + self, + audience_bulk_create_input_v1, + **kwargs + ): + """bulk_create_audiences # noqa: E501 + + Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_bulk_create_input_v1 (AudienceBulkCreateInputV1): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_bulk_create_input_v1'] = \ + audience_bulk_create_input_v1 + return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) + + def bulk_delete_audience_segments( + self, + audience_segment_bulk_delete_input_v1, + **kwargs + ): + """bulk_delete_audience_segments # noqa: E501 + + Delete the segments associated to the given audience IDs. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AudienceSegmentIdEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_bulk_delete_input_v1'] = \ + audience_segment_bulk_delete_input_v1 + return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_create_audience_segments( + def bulk_delete_audiences( self, - audience_segment_bulk_create_input_v1, + audience_bulk_delete_input_v1, **kwargs ): - """bulk_create_audience_segments # noqa: E501 + """bulk_delete_audiences # noqa: E501 - Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + Deletes the audiences associated to the given audience IDs. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True) + >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter + audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1127,7 +1487,7 @@ def bulk_create_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1ListResponse + AudienceIdEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1156,26 +1516,26 @@ def bulk_create_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_create_input_v1'] = \ - audience_segment_bulk_create_input_v1 - return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_delete_input_v1'] = \ + audience_bulk_delete_input_v1 + return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) - def bulk_create_audiences( + def bulk_update_audience_segments( self, - audience_bulk_create_input_v1, + audience_segment_bulk_update_input_v1, **kwargs ): - """bulk_create_audiences # noqa: E501 + """bulk_update_audience_segments # noqa: E501 - Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True) + >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_bulk_create_input_v1 (AudienceBulkCreateInputV1): + audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request Keyword Args: _return_http_data_only (bool): response data without head status @@ -1210,7 +1570,7 @@ def bulk_create_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1ListResponse + AudienceSegmentEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1239,26 +1599,26 @@ def bulk_create_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_create_input_v1'] = \ - audience_bulk_create_input_v1 - return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_bulk_update_input_v1'] = \ + audience_segment_bulk_update_input_v1 + return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_delete_audience_segments( + def bulk_update_audiences( self, - audience_segment_bulk_delete_input_v1, + audience_bulk_update_input_v1, **kwargs ): - """bulk_delete_audience_segments # noqa: E501 + """bulk_update_audiences # noqa: E501 - Delete the segments associated to the given audience IDs. # noqa: E501 + Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) + >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. + audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1293,7 +1653,7 @@ def bulk_delete_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentIdEntityV1ListResponse + AudienceEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1322,26 +1682,26 @@ def bulk_delete_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_delete_input_v1'] = \ - audience_segment_bulk_delete_input_v1 - return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_update_input_v1'] = \ + audience_bulk_update_input_v1 + return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) - def bulk_delete_audiences( + def call_07_audiences_audience_segment_id_contactlist_delete( self, - audience_bulk_delete_input_v1, + audience_segment_id, **kwargs ): - """bulk_delete_audiences # noqa: E501 + """call_07_audiences_audience_segment_id_contactlist_delete # noqa: E501 - Deletes the audiences associated to the given audience IDs. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) + >>> thread = api.call_07_audiences_audience_segment_id_contactlist_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -1376,7 +1736,7 @@ def bulk_delete_audiences( async_req (bool): execute request asynchronously Returns: - AudienceIdEntityV1ListResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -1405,26 +1765,28 @@ def bulk_delete_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_delete_input_v1'] = \ - audience_bulk_delete_input_v1 - return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_07_audiences_audience_segment_id_contactlist_delete_endpoint.call_with_http_info(**kwargs) - def bulk_update_audience_segments( + def call_07_audiences_audience_segment_id_contactlist_patch( self, - audience_segment_bulk_update_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """bulk_update_audience_segments # noqa: E501 + """call_07_audiences_audience_segment_id_contactlist_patch # noqa: E501 - Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) + >>> thread = api.call_07_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1459,7 +1821,7 @@ def bulk_update_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1ListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -1488,26 +1850,28 @@ def bulk_update_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_update_input_v1'] = \ - audience_segment_bulk_update_input_v1 - return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_07_audiences_audience_segment_id_contactlist_patch_endpoint.call_with_http_info(**kwargs) - def bulk_update_audiences( + def call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete( self, - audience_bulk_update_input_v1, + audience_segment_id, **kwargs ): - """bulk_update_audiences # noqa: E501 + """call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete # noqa: E501 - Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) + >>> thread = api.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -1542,7 +1906,7 @@ def bulk_update_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1ListResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -1571,26 +1935,28 @@ def bulk_update_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_update_input_v1'] = \ - audience_bulk_update_input_v1 - return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint.call_with_http_info(**kwargs) - def compute_audience_segments_sizes( + def call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch( self, - audience_segment_compute_sizes_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """compute_audience_segments_sizes # noqa: E501 + """call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch # noqa: E501 - Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) + >>> thread = api.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1625,7 +1991,7 @@ def compute_audience_segments_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSegmentSizeEntityV1ListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -1654,26 +2020,28 @@ def compute_audience_segments_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_compute_sizes_input_v1'] = \ - audience_segment_compute_sizes_input_v1 - return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs) - def compute_audiences_sizes( + def compute_audience_segments_sizes( self, - audience_compute_sizes_input_v1, + audience_segment_compute_sizes_input_v1, **kwargs ): - """compute_audiences_sizes # noqa: E501 + """compute_audience_segments_sizes # noqa: E501 - Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 + Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) + >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): + audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1708,7 +2076,7 @@ def compute_audiences_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSizeEntityV1ListResponse + AudienceSegmentSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1737,26 +2105,26 @@ def compute_audiences_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_compute_sizes_input_v1'] = \ - audience_compute_sizes_input_v1 - return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_compute_sizes_input_v1'] = \ + audience_segment_compute_sizes_input_v1 + return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) - def delete_contact_list_identifiers( + def compute_audiences_sizes( self, - audience_segment_id, + audience_compute_sizes_input_v1, **kwargs ): - """delete_contact_list_identifiers # noqa: E501 + """compute_audiences_sizes # noqa: E501 - Delete all identifiers from a contact list audience-segment. # noqa: E501 + Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_contact_list_identifiers(audience_segment_id, async_req=True) + >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_id (str): The id of the contact list audience-segment to amend + audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1791,7 +2159,7 @@ def delete_contact_list_identifiers( async_req (bool): execute request asynchronously Returns: - DeleteAudienceContactListResponse + AudienceSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1820,9 +2188,9 @@ def delete_contact_list_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - return self.delete_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) + kwargs['audience_compute_sizes_input_v1'] = \ + audience_compute_sizes_input_v1 + return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) def estimate_audience_segment_size( self, @@ -2417,90 +2785,3 @@ def search_audiences( audience_search_input_v1 return self.search_audiences_endpoint.call_with_http_info(**kwargs) - def update_contact_list_identifiers( - self, - audience_segment_id, - contactlist_amendment_request, - **kwargs - ): - """update_contact_list_identifiers # noqa: E501 - - Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request, async_req=True) - >>> result = thread.get() - - Args: - audience_segment_id (str): The id of the contact list audience-segment to amend - contactlist_amendment_request (ContactlistAmendmentRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ModifyAudienceResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - kwargs['contactlist_amendment_request'] = \ - contactlist_amendment_request - return self.update_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) - diff --git a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api_client.py b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api_client.py index b1097a9c..cf09976e 100644 --- a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api_client.py +++ b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2024.07.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2024.07.0.241029/python' def __enter__(self): return self diff --git a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/configuration.py b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/configuration.py index 7b3a2f7b..d31e0f4d 100644 --- a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/configuration.py +++ b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2024-07\n"\ - "SDK Package Version: 2024.07.0.240808".\ + "SDK Package Version: 2024.07.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/model/contactlist_amendment_attributes.py b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/model/contactlist_amendment_attributes.py index 286faf26..0b8d6cda 100644 --- a/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/model/contactlist_amendment_attributes.py +++ b/sdks/marketingsolutions_2024-07/criteo_api_marketingsolutions_v2024_07/model/contactlist_amendment_attributes.py @@ -65,7 +65,6 @@ class ContactlistAmendmentAttributes(ModelNormal): 'MADID': "madid", 'IDENTITYLINK': "identityLink", 'GUM': "gum", - 'CUSTOMERID': "customerid", 'PHONENUMBER': "phoneNumber", }, } @@ -124,7 +123,7 @@ def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -217,7 +216,7 @@ def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501 Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2024-07/docs/AnalyticsApi.md b/sdks/marketingsolutions_2024-07/docs/AnalyticsApi.md index 4c42c4bf..30ba3746 100644 --- a/sdks/marketingsolutions_2024-07/docs/AnalyticsApi.md +++ b/sdks/marketingsolutions_2024-07/docs/AnalyticsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **get_adset_report** -> str get_adset_report() +> file_type get_adset_report() @@ -98,7 +98,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -121,7 +121,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_placements_report** -> str get_placements_report() +> file_type get_placements_report() @@ -211,7 +211,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -220,7 +220,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json, application/xml, text/xml + - **Accept**: text/plain, application/json, text/json, text/csv, application/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/xml ### HTTP response details @@ -234,7 +234,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_report** -> str get_transactions_report() +> file_type get_transactions_report() @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization diff --git a/sdks/marketingsolutions_2024-07/docs/AudienceApi.md b/sdks/marketingsolutions_2024-07/docs/AudienceApi.md index 19994b9f..416f357a 100644 --- a/sdks/marketingsolutions_2024-07/docs/AudienceApi.md +++ b/sdks/marketingsolutions_2024-07/docs/AudienceApi.md @@ -10,9 +10,12 @@ Method | HTTP request | Description [**bulk_delete_audiences**](AudienceApi.md#bulk_delete_audiences) | **POST** /2024-07/marketing-solutions/audiences/delete | [**bulk_update_audience_segments**](AudienceApi.md#bulk_update_audience_segments) | **PATCH** /2024-07/marketing-solutions/audience-segments | [**bulk_update_audiences**](AudienceApi.md#bulk_update_audiences) | **PATCH** /2024-07/marketing-solutions/audiences | +[**call_07_audiences_audience_segment_id_contactlist_delete**](AudienceApi.md#call_07_audiences_audience_segment_id_contactlist_delete) | **DELETE** /2024-07/audiences/{audience-segment-id}/contactlist | +[**call_07_audiences_audience_segment_id_contactlist_patch**](AudienceApi.md#call_07_audiences_audience_segment_id_contactlist_patch) | **PATCH** /2024-07/audiences/{audience-segment-id}/contactlist | +[**call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete**](AudienceApi.md#call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete) | **DELETE** /2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | +[**call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch**](AudienceApi.md#call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch) | **PATCH** /2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**compute_audience_segments_sizes**](AudienceApi.md#compute_audience_segments_sizes) | **POST** /2024-07/marketing-solutions/audience-segments/compute-sizes | [**compute_audiences_sizes**](AudienceApi.md#compute_audiences_sizes) | **POST** /2024-07/marketing-solutions/audiences/compute-sizes | -[**delete_contact_list_identifiers**](AudienceApi.md#delete_contact_list_identifiers) | **DELETE** /2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**estimate_audience_segment_size**](AudienceApi.md#estimate_audience_segment_size) | **POST** /2024-07/marketing-solutions/audience-segments/estimate-size | [**estimate_audience_size**](AudienceApi.md#estimate_audience_size) | **POST** /2024-07/marketing-solutions/audiences/estimate-size | [**get_audience_segment_contact_list_statistics**](AudienceApi.md#get_audience_segment_contact_list_statistics) | **GET** /2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list/statistics | @@ -20,7 +23,6 @@ Method | HTTP request | Description [**get_audience_segments_in_market_interests**](AudienceApi.md#get_audience_segments_in_market_interests) | **GET** /2024-07/marketing-solutions/audience-segments/in-market-interests | [**search_audience_segments**](AudienceApi.md#search_audience_segments) | **POST** /2024-07/marketing-solutions/audience-segments/search | [**search_audiences**](AudienceApi.md#search_audiences) | **POST** /2024-07/marketing-solutions/audiences/search | -[**update_contact_list_identifiers**](AudienceApi.md#update_contact_list_identifiers) | **PATCH** /2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | # **bulk_create_audience_segments** @@ -723,12 +725,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audience_segments_sizes** -> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) +# **call_07_audiences_audience_segment_id_contactlist_delete** +> DeleteAudienceContactListResponse call_07_audiences_audience_segment_id_contactlist_delete(audience_segment_id) -Gets the size of all segments. An error is returned for those whose size calculation is not supported. +Delete all identifiers from a contact list audience-segment. ### Example @@ -739,8 +741,8 @@ Gets the size of all segments. An error is returned for those whose size calcula import time import criteo_api_marketingsolutions_v2024_07 from criteo_api_marketingsolutions_v2024_07.api import audience_api -from criteo_api_marketingsolutions_v2024_07.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 -from criteo_api_marketingsolutions_v2024_07.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_07.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_07.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -769,22 +771,114 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( - data=[ - AudienceSegmentComputeSizeEntityV1Resource( - attributes={}, - id="id_example", - type="type_example", + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_07_audiences_audience_segment_id_contactlist_delete(audience_segment_id) + pprint(api_response) + except criteo_api_marketingsolutions_v2024_07.ApiException as e: + print("Exception when calling AudienceApi->call_07_audiences_audience_segment_id_contactlist_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + +### Return type + +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **call_07_audiences_audience_segment_id_contactlist_patch** +> ModifyAudienceResponse call_07_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) + + + +Add/remove identifiers to or from a contact list audience-segment. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2024_07 +from criteo_api_marketingsolutions_v2024_07.api import audience_api +from criteo_api_marketingsolutions_v2024_07.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_v2024_07.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2024_07.model.error_code_response import ErrorCodeResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2024_07.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_07.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_07.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, ), - ], - ) # AudienceSegmentComputeSizesInputV1 | + ), + ) # ContactlistAmendmentRequest | # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) + api_response = api_instance.call_07_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) pprint(api_response) except criteo_api_marketingsolutions_v2024_07.ApiException as e: - print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) + print("Exception when calling AudienceApi->call_07_audiences_audience_segment_id_contactlist_patch: %s\n" % e) ``` @@ -792,11 +886,12 @@ with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | ### Return type -[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) ### Authorization @@ -804,27 +899,26 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success or partial success | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audiences_sizes** -> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) +# **call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete** +> DeleteAudienceContactListResponse call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) -Gets the size of all audiences. An error is returned for those whose size calculation is not supported. +Delete all identifiers from a contact list audience-segment. ### Example @@ -835,8 +929,8 @@ Gets the size of all audiences. An error is returned for those whose size calcul import time import criteo_api_marketingsolutions_v2024_07 from criteo_api_marketingsolutions_v2024_07.api import audience_api -from criteo_api_marketingsolutions_v2024_07.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2024_07.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_07.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_07.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -865,22 +959,210 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) + pprint(api_response) + except criteo_api_marketingsolutions_v2024_07.ApiException as e: + print("Exception when calling AudienceApi->call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + +### Return type + +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch** +> ModifyAudienceResponse call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) + + + +Add/remove identifiers to or from a contact list audience-segment. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2024_07 +from criteo_api_marketingsolutions_v2024_07.api import audience_api +from criteo_api_marketingsolutions_v2024_07.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_v2024_07.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2024_07.model.error_code_response import ErrorCodeResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2024_07.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_07.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_07.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, + ), + ), + ) # ContactlistAmendmentRequest | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) + pprint(api_response) + except criteo_api_marketingsolutions_v2024_07.ApiException as e: + print("Exception when calling AudienceApi->call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | + +### Return type + +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **compute_audience_segments_sizes** +> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) + + + +Gets the size of all segments. An error is returned for those whose size calculation is not supported. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_marketingsolutions_v2024_07 +from criteo_api_marketingsolutions_v2024_07.api import audience_api +from criteo_api_marketingsolutions_v2024_07.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_07.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_marketingsolutions_v2024_07.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_07.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_marketingsolutions_v2024_07.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( data=[ - AudienceComputeSizeEntityV1Resource( + AudienceSegmentComputeSizeEntityV1Resource( attributes={}, id="id_example", type="type_example", ), ], - ) # AudienceComputeSizesInputV1 | + ) # AudienceSegmentComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) + api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) pprint(api_response) except criteo_api_marketingsolutions_v2024_07.ApiException as e: - print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) + print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) ``` @@ -888,11 +1170,11 @@ with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | + **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | ### Return type -[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) +[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) ### Authorization @@ -915,12 +1197,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_contact_list_identifiers** -> DeleteAudienceContactListResponse delete_contact_list_identifiers(audience_segment_id) +# **compute_audiences_sizes** +> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) -Delete all identifiers from a contact list audience-segment. +Gets the size of all audiences. An error is returned for those whose size calculation is not supported. ### Example @@ -931,8 +1213,8 @@ Delete all identifiers from a contact list audience-segment. import time import criteo_api_marketingsolutions_v2024_07 from criteo_api_marketingsolutions_v2024_07.api import audience_api -from criteo_api_marketingsolutions_v2024_07.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse -from criteo_api_marketingsolutions_v2024_07.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2024_07.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_07.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -961,14 +1243,22 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( + data=[ + AudienceComputeSizeEntityV1Resource( + attributes={}, + id="id_example", + type="type_example", + ), + ], + ) # AudienceComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.delete_contact_list_identifiers(audience_segment_id) + api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) pprint(api_response) except criteo_api_marketingsolutions_v2024_07.ApiException as e: - print("Exception when calling AudienceApi->delete_contact_list_identifiers: %s\n" % e) + print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) ``` @@ -976,11 +1266,11 @@ with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | ### Return type -[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) +[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) ### Authorization @@ -988,16 +1278,18 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | The Contact List was emptied | - | -**403** | Forbidden | - | +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1722,105 +2014,3 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_contact_list_identifiers** -> ModifyAudienceResponse update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) - - - -Add/remove identifiers to or from a contact list audience-segment. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_marketingsolutions_v2024_07 -from criteo_api_marketingsolutions_v2024_07.api import audience_api -from criteo_api_marketingsolutions_v2024_07.model.modify_audience_response import ModifyAudienceResponse -from criteo_api_marketingsolutions_v2024_07.model.contactlist_amendment_request import ContactlistAmendmentRequest -from criteo_api_marketingsolutions_v2024_07.model.error_code_response import ErrorCodeResponse -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2024_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2024_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2024_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2024_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend - contactlist_amendment_request = ContactlistAmendmentRequest( - data=ContactlistAmendment( - type="ContactlistAmendment", - attributes=ContactlistAmendmentAttributes( - operation="add", - identifier_type="email", - identifiers=[ - "identifiers_example", - ], - gum_caller_id=1, - ), - ), - ) # ContactlistAmendmentRequest | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) - pprint(api_response) - except criteo_api_marketingsolutions_v2024_07.ApiException as e: - print("Exception when calling AudienceApi->update_contact_list_identifiers: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | - **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | - -### Return type - -[**ModifyAudienceResponse**](ModifyAudienceResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Summary of created request | - | -**403** | Forbidden | - | -**404** | Audience 123 not found | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/marketingsolutions_2024-07/docs/ContactlistAmendmentAttributes.md b/sdks/marketingsolutions_2024-07/docs/ContactlistAmendmentAttributes.md index a805de72..a99ebe95 100644 --- a/sdks/marketingsolutions_2024-07/docs/ContactlistAmendmentAttributes.md +++ b/sdks/marketingsolutions_2024-07/docs/ContactlistAmendmentAttributes.md @@ -6,7 +6,7 @@ the name of the entity type Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **operation** | **str** | Operation to add or remove users | -**identifiers** | **[str]** | The users tos add or remove, each in the schema specified | +**identifiers** | **[str]** | The users to add or remove, each in the schema specified | **identifier_type** | **str, none_type** | What type of identifiers are used | [optional] **gum_caller_id** | **int, none_type** | The Gum caller id of the advertiser patching identifiers of type Gum | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2024-07/setup.py b/sdks/marketingsolutions_2024-07/setup.py index 43b466d6..c3166cd4 100644 --- a/sdks/marketingsolutions_2024-07/setup.py +++ b/sdks/marketingsolutions_2024-07/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-marketingsolutions-sdk" -VERSION = "2024.07.0.240808" +VERSION = "2024.07.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-marketingsolutions-sdk==2024.07.0.240808 +pip install criteo-api-marketingsolutions-sdk==2024.07.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.07.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.07.0.241029`) Then import the package: ```python diff --git a/sdks/marketingsolutions_2023-07/.gitignore b/sdks/marketingsolutions_2024-10/.gitignore similarity index 100% rename from sdks/marketingsolutions_2023-07/.gitignore rename to sdks/marketingsolutions_2024-10/.gitignore diff --git a/sdks/marketingsolutions_2023-07/.gitlab-ci.yml b/sdks/marketingsolutions_2024-10/.gitlab-ci.yml similarity index 87% rename from sdks/marketingsolutions_2023-07/.gitlab-ci.yml rename to sdks/marketingsolutions_2024-10/.gitlab-ci.yml index fedb5b98..f85de565 100644 --- a/sdks/marketingsolutions_2023-07/.gitlab-ci.yml +++ b/sdks/marketingsolutions_2024-10/.gitlab-ci.yml @@ -8,7 +8,7 @@ stages: script: - pip install -r requirements.txt - pip install -r test-requirements.txt - - pytest --cov=criteo_api_marketingsolutions_v2023_07 + - pytest --cov=criteo_api_marketingsolutions_v2024_10 test-3.6: extends: .tests diff --git a/sdks/marketingsolutions_2024-10/.openapi-generator/FILES b/sdks/marketingsolutions_2024-10/.openapi-generator/FILES new file mode 100644 index 00000000..10e25401 --- /dev/null +++ b/sdks/marketingsolutions_2024-10/.openapi-generator/FILES @@ -0,0 +1,530 @@ +.gitignore +.gitlab-ci.yml +.openapi-generator-ignore +.travis.yml +README.md +criteo_api_marketingsolutions_v2024_10/__init__.py +criteo_api_marketingsolutions_v2024_10/api/__init__.py +criteo_api_marketingsolutions_v2024_10/api/advertiser_api.py +criteo_api_marketingsolutions_v2024_10/api/analytics_api.py +criteo_api_marketingsolutions_v2024_10/api/audience_api.py +criteo_api_marketingsolutions_v2024_10/api/campaign_api.py +criteo_api_marketingsolutions_v2024_10/api/creative_api.py +criteo_api_marketingsolutions_v2024_10/api/gateway_api.py +criteo_api_marketingsolutions_v2024_10/api_client.py +criteo_api_marketingsolutions_v2024_10/api_client_builder.py +criteo_api_marketingsolutions_v2024_10/apis/__init__.py +criteo_api_marketingsolutions_v2024_10/configuration.py +criteo_api_marketingsolutions_v2024_10/criteo_api_client.py +criteo_api_marketingsolutions_v2024_10/criteo_auth.py +criteo_api_marketingsolutions_v2024_10/criteo_rest.py +criteo_api_marketingsolutions_v2024_10/exceptions.py +criteo_api_marketingsolutions_v2024_10/flow_constants.py +criteo_api_marketingsolutions_v2024_10/model/__init__.py +criteo_api_marketingsolutions_v2024_10/model/ad.py +criteo_api_marketingsolutions_v2024_10/model/ad_list_response.py +criteo_api_marketingsolutions_v2024_10/model/ad_resource.py +criteo_api_marketingsolutions_v2024_10/model/ad_response.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1_response.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_input_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid_list_response.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid_resource.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_delivery_limitations_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier_list_response.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier_resource.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_frequency_capping_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_geo_location_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_search_filter_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_search_request_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_targeting_rule_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/ad_set_targeting_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/ad_write.py +criteo_api_marketingsolutions_v2024_10/model/ad_write_request.py +criteo_api_marketingsolutions_v2024_10/model/ad_write_resource.py +criteo_api_marketingsolutions_v2024_10/model/adaptive_attributes.py +criteo_api_marketingsolutions_v2024_10/model/adaptive_colors.py +criteo_api_marketingsolutions_v2024_10/model/adaptive_write_attributes.py +criteo_api_marketingsolutions_v2024_10/model/algebra_node_v1.py +criteo_api_marketingsolutions_v2024_10/model/application_summary_model.py +criteo_api_marketingsolutions_v2024_10/model/application_summary_model_resource.py +criteo_api_marketingsolutions_v2024_10/model/application_summary_model_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_bulk_create_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_bulk_delete_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_bulk_update_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_compute_size_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_compute_sizes_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_create_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_create_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_delete_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_error.py +criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_id_entity_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_id_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_name_description.py +criteo_api_marketingsolutions_v2024_10/model/audience_search_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_search_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_search_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_search_metadata_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_create_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_delete_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_update_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_compute_size_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_compute_sizes_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_create_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_create_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_delete_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_estimate_size_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_id_entity_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_id_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_input_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_metadata_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_update_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_segment_update_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1_response.py +criteo_api_marketingsolutions_v2024_10/model/audience_update_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/audience_update_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/audience_warning.py +criteo_api_marketingsolutions_v2024_10/model/basic_audience_definition.py +criteo_api_marketingsolutions_v2024_10/model/behavioral_v1.py +criteo_api_marketingsolutions_v2024_10/model/campaign_search_filters_v23_q1.py +criteo_api_marketingsolutions_v2024_10/model/campaign_search_request_v23_q1.py +criteo_api_marketingsolutions_v2024_10/model/campaign_spend_limit_v23_q1.py +criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1.py +criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_resource.py +criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_response.py +criteo_api_marketingsolutions_v2024_10/model/common_problem.py +criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1_response.py +criteo_api_marketingsolutions_v2024_10/model/contact_list_v1.py +criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment.py +criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment_attributes.py +criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment_request.py +criteo_api_marketingsolutions_v2024_10/model/contactlist_operation.py +criteo_api_marketingsolutions_v2024_10/model/contactlist_operation_attributes.py +criteo_api_marketingsolutions_v2024_10/model/coupon.py +criteo_api_marketingsolutions_v2024_10/model/coupon_list_response.py +criteo_api_marketingsolutions_v2024_10/model/coupon_resource.py +criteo_api_marketingsolutions_v2024_10/model/coupon_response.py +criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes.py +criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_resource.py +criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_response.py +criteo_api_marketingsolutions_v2024_10/model/create_ad_set_bidding_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/create_ad_set_budget_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/create_ad_set_geo_location_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/create_ad_set_schedule_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/create_ad_set_targeting_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1_request.py +criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1_resource.py +criteo_api_marketingsolutions_v2024_10/model/create_campaign.py +criteo_api_marketingsolutions_v2024_10/model/create_campaign_request.py +criteo_api_marketingsolutions_v2024_10/model/create_campaign_resource.py +criteo_api_marketingsolutions_v2024_10/model/create_campaign_spend_limit.py +criteo_api_marketingsolutions_v2024_10/model/create_coupon.py +criteo_api_marketingsolutions_v2024_10/model/create_coupon_request.py +criteo_api_marketingsolutions_v2024_10/model/create_coupon_resource.py +criteo_api_marketingsolutions_v2024_10/model/create_image_slide.py +criteo_api_marketingsolutions_v2024_10/model/creative.py +criteo_api_marketingsolutions_v2024_10/model/creative_list_response.py +criteo_api_marketingsolutions_v2024_10/model/creative_resource.py +criteo_api_marketingsolutions_v2024_10/model/creative_response.py +criteo_api_marketingsolutions_v2024_10/model/creative_write.py +criteo_api_marketingsolutions_v2024_10/model/creative_write_request.py +criteo_api_marketingsolutions_v2024_10/model/creative_write_resource.py +criteo_api_marketingsolutions_v2024_10/model/criteo_api_error.py +criteo_api_marketingsolutions_v2024_10/model/criteo_api_warning.py +criteo_api_marketingsolutions_v2024_10/model/delete_audience_contact_list_response.py +criteo_api_marketingsolutions_v2024_10/model/dynamic_attributes.py +criteo_api_marketingsolutions_v2024_10/model/dynamic_write_attributes.py +criteo_api_marketingsolutions_v2024_10/model/entity_of_portfolio_message.py +criteo_api_marketingsolutions_v2024_10/model/error_code_response.py +criteo_api_marketingsolutions_v2024_10/model/get_portfolio_response.py +criteo_api_marketingsolutions_v2024_10/model/html_tag_attributes.py +criteo_api_marketingsolutions_v2024_10/model/html_tag_write_attributes.py +criteo_api_marketingsolutions_v2024_10/model/image_attributes.py +criteo_api_marketingsolutions_v2024_10/model/image_set.py +criteo_api_marketingsolutions_v2024_10/model/image_set_base64.py +criteo_api_marketingsolutions_v2024_10/model/image_shape.py +criteo_api_marketingsolutions_v2024_10/model/image_slide.py +criteo_api_marketingsolutions_v2024_10/model/image_write_attributes.py +criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1.py +criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1_list_response.py +criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1_resource.py +criteo_api_marketingsolutions_v2024_10/model/in_market_create_v1.py +criteo_api_marketingsolutions_v2024_10/model/in_market_size_estimation_v1.py +criteo_api_marketingsolutions_v2024_10/model/in_market_update_v1.py +criteo_api_marketingsolutions_v2024_10/model/in_market_v1.py +criteo_api_marketingsolutions_v2024_10/model/location_create_v1.py +criteo_api_marketingsolutions_v2024_10/model/location_size_estimation_v1.py +criteo_api_marketingsolutions_v2024_10/model/location_update_v1.py +criteo_api_marketingsolutions_v2024_10/model/location_v1.py +criteo_api_marketingsolutions_v2024_10/model/lookalike_create_v1.py +criteo_api_marketingsolutions_v2024_10/model/lookalike_update_v1.py +criteo_api_marketingsolutions_v2024_10/model/lookalike_v1.py +criteo_api_marketingsolutions_v2024_10/model/modify_audience_response.py +criteo_api_marketingsolutions_v2024_10/model/nillable_ad_set_targeting_rule_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/nillable_ad_set_targeting_rule_v24_q1_value.py +criteo_api_marketingsolutions_v2024_10/model/nillable_date_time.py +criteo_api_marketingsolutions_v2024_10/model/nillable_decimal.py +criteo_api_marketingsolutions_v2024_10/model/nillable_gender_v1.py +criteo_api_marketingsolutions_v2024_10/model/nillable_int32.py +criteo_api_marketingsolutions_v2024_10/model/nillable_string.py +criteo_api_marketingsolutions_v2024_10/model/outcome.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_bidding_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_budget_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_list_request.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_resource.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_result_list_response.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_result_resource.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_list_request.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_resource.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_result_list_response.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_result_resource.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_scheduling_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/patch_campaign.py +criteo_api_marketingsolutions_v2024_10/model/patch_campaign_list_request.py +criteo_api_marketingsolutions_v2024_10/model/patch_campaign_spend_limit.py +criteo_api_marketingsolutions_v2024_10/model/patch_campaign_write_resource.py +criteo_api_marketingsolutions_v2024_10/model/patch_result_campaign_list_response.py +criteo_api_marketingsolutions_v2024_10/model/patch_result_campaign_read_resource.py +criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message.py +criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message_list_request.py +criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message_resource.py +criteo_api_marketingsolutions_v2024_10/model/point_of_interest_v1.py +criteo_api_marketingsolutions_v2024_10/model/portfolio_message.py +criteo_api_marketingsolutions_v2024_10/model/prospecting_create_v1.py +criteo_api_marketingsolutions_v2024_10/model/prospecting_update_v1.py +criteo_api_marketingsolutions_v2024_10/model/prospecting_v1.py +criteo_api_marketingsolutions_v2024_10/model/read_ad_set_bidding_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/read_ad_set_budget_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/read_ad_set_schedule_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/read_ad_set_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/read_model_ad_set_id.py +criteo_api_marketingsolutions_v2024_10/model/read_model_ad_set_id_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/read_model_read_ad_set_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/requests_ad_set_id.py +criteo_api_marketingsolutions_v2024_10/model/requests_patch_ad_set_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/response_read_ad_set_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/responses_ad_set_id.py +criteo_api_marketingsolutions_v2024_10/model/responses_ad_set_id_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/responses_read_ad_set_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model/retargeting_create_v1.py +criteo_api_marketingsolutions_v2024_10/model/retargeting_update_v1.py +criteo_api_marketingsolutions_v2024_10/model/retargeting_v1.py +criteo_api_marketingsolutions_v2024_10/model/size.py +criteo_api_marketingsolutions_v2024_10/model/statistics_report_query_message.py +criteo_api_marketingsolutions_v2024_10/model/tag.py +criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message.py +criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message_list_request.py +criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message_resource.py +criteo_api_marketingsolutions_v2024_10/model/transparency_query_message.py +criteo_api_marketingsolutions_v2024_10/model/transparency_report.py +criteo_api_marketingsolutions_v2024_10/model/transparency_report_file.py +criteo_api_marketingsolutions_v2024_10/model/transparency_report_list_response.py +criteo_api_marketingsolutions_v2024_10/model/transparency_report_resource.py +criteo_api_marketingsolutions_v2024_10/model/update_coupon.py +criteo_api_marketingsolutions_v2024_10/model/update_coupon_request.py +criteo_api_marketingsolutions_v2024_10/model/update_coupon_resource.py +criteo_api_marketingsolutions_v2024_10/model/video_detail.py +criteo_api_marketingsolutions_v2024_10/model/write_model_ad_set_id.py +criteo_api_marketingsolutions_v2024_10/model/write_model_patch_ad_set_v24_q1.py +criteo_api_marketingsolutions_v2024_10/model_utils.py +criteo_api_marketingsolutions_v2024_10/models/__init__.py +criteo_api_marketingsolutions_v2024_10/rest.py +docs/Ad.md +docs/AdListResponse.md +docs/AdResource.md +docs/AdResponse.md +docs/AdSetAudienceLinkEntityV1.md +docs/AdSetAudienceLinkEntityV1Resource.md +docs/AdSetAudienceLinkEntityV1Response.md +docs/AdSetAudienceLinkInputEntityV1.md +docs/AdSetCategoryBid.md +docs/AdSetCategoryBidListResponse.md +docs/AdSetCategoryBidResource.md +docs/AdSetDeliveryLimitationsV24Q1.md +docs/AdSetDisplayMultiplier.md +docs/AdSetDisplayMultiplierListResponse.md +docs/AdSetDisplayMultiplierResource.md +docs/AdSetFrequencyCappingV24Q1.md +docs/AdSetGeoLocationV24Q1.md +docs/AdSetSearchFilterV24Q1.md +docs/AdSetSearchRequestV24Q1.md +docs/AdSetTargetingRuleV24Q1.md +docs/AdSetTargetingV24Q1.md +docs/AdWrite.md +docs/AdWriteRequest.md +docs/AdWriteResource.md +docs/AdaptiveAttributes.md +docs/AdaptiveColors.md +docs/AdaptiveWriteAttributes.md +docs/AdvertiserApi.md +docs/AlgebraNodeV1.md +docs/AnalyticsApi.md +docs/ApplicationSummaryModel.md +docs/ApplicationSummaryModelResource.md +docs/ApplicationSummaryModelResponse.md +docs/AudienceApi.md +docs/AudienceBulkCreateInputV1.md +docs/AudienceBulkDeleteInputV1.md +docs/AudienceBulkUpdateInputV1.md +docs/AudienceComputeSizeEntityV1Resource.md +docs/AudienceComputeSizesInputV1.md +docs/AudienceCreateEntityV1.md +docs/AudienceCreateEntityV1Resource.md +docs/AudienceDeleteEntityV1Resource.md +docs/AudienceEntityV1.md +docs/AudienceEntityV1AudienceSearchMetadataV1ListResponse.md +docs/AudienceEntityV1ListResponse.md +docs/AudienceEntityV1Resource.md +docs/AudienceError.md +docs/AudienceEstimateSizeEntityV1.md +docs/AudienceEstimateSizeEntityV1Resource.md +docs/AudienceEstimateSizeInputV1.md +docs/AudienceIdEntityV1ListResponse.md +docs/AudienceIdEntityV1Resource.md +docs/AudienceNameDescription.md +docs/AudienceSearchEntityV1.md +docs/AudienceSearchEntityV1Resource.md +docs/AudienceSearchInputV1.md +docs/AudienceSearchMetadataV1.md +docs/AudienceSegmentBulkCreateInputV1.md +docs/AudienceSegmentBulkDeleteInputV1.md +docs/AudienceSegmentBulkUpdateInputV1.md +docs/AudienceSegmentComputeSizeEntityV1Resource.md +docs/AudienceSegmentComputeSizesInputV1.md +docs/AudienceSegmentCreateEntityV1.md +docs/AudienceSegmentCreateEntityV1Resource.md +docs/AudienceSegmentDeleteEntityV1Resource.md +docs/AudienceSegmentEntityV1.md +docs/AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse.md +docs/AudienceSegmentEntityV1ListResponse.md +docs/AudienceSegmentEntityV1Resource.md +docs/AudienceSegmentEstimateSizeInputV1.md +docs/AudienceSegmentIdEntityV1ListResponse.md +docs/AudienceSegmentIdEntityV1Resource.md +docs/AudienceSegmentSearchEntityV1.md +docs/AudienceSegmentSearchEntityV1Resource.md +docs/AudienceSegmentSearchInputV1.md +docs/AudienceSegmentSearchMetadataV1.md +docs/AudienceSegmentSizeEntityV1.md +docs/AudienceSegmentSizeEntityV1ListResponse.md +docs/AudienceSegmentSizeEntityV1Resource.md +docs/AudienceSegmentSizeEstimationEntityV1.md +docs/AudienceSegmentSizeEstimationEntityV1Resource.md +docs/AudienceSegmentSizeEstimationV1.md +docs/AudienceSegmentSizeEstimationV1Resource.md +docs/AudienceSegmentSizeEstimationV1Response.md +docs/AudienceSegmentUpdateEntityV1.md +docs/AudienceSegmentUpdateEntityV1Resource.md +docs/AudienceSizeEntityV1.md +docs/AudienceSizeEntityV1ListResponse.md +docs/AudienceSizeEntityV1Resource.md +docs/AudienceSizeEstimationV1.md +docs/AudienceSizeEstimationV1Resource.md +docs/AudienceSizeEstimationV1Response.md +docs/AudienceUpdateEntityV1.md +docs/AudienceUpdateEntityV1Resource.md +docs/AudienceWarning.md +docs/BasicAudienceDefinition.md +docs/BehavioralV1.md +docs/CampaignApi.md +docs/CampaignSearchFiltersV23Q1.md +docs/CampaignSearchRequestV23Q1.md +docs/CampaignSpendLimitV23Q1.md +docs/CampaignV23Q1.md +docs/CampaignV23Q1ListResponse.md +docs/CampaignV23Q1Resource.md +docs/CampaignV23Q1Response.md +docs/CommonProblem.md +docs/ContactListStatisticsEntityV1.md +docs/ContactListStatisticsEntityV1Resource.md +docs/ContactListStatisticsEntityV1Response.md +docs/ContactListV1.md +docs/ContactlistAmendment.md +docs/ContactlistAmendmentAttributes.md +docs/ContactlistAmendmentRequest.md +docs/ContactlistOperation.md +docs/ContactlistOperationAttributes.md +docs/Coupon.md +docs/CouponListResponse.md +docs/CouponResource.md +docs/CouponResponse.md +docs/CouponSupportedSizes.md +docs/CouponSupportedSizesResource.md +docs/CouponSupportedSizesResponse.md +docs/CreateAdSetBiddingV24Q1.md +docs/CreateAdSetBudgetV24Q1.md +docs/CreateAdSetGeoLocationV24Q1.md +docs/CreateAdSetScheduleV24Q1.md +docs/CreateAdSetTargetingV24Q1.md +docs/CreateAdSetV24Q1.md +docs/CreateAdSetV24Q1Request.md +docs/CreateAdSetV24Q1Resource.md +docs/CreateCampaign.md +docs/CreateCampaignRequest.md +docs/CreateCampaignResource.md +docs/CreateCampaignSpendLimit.md +docs/CreateCoupon.md +docs/CreateCouponRequest.md +docs/CreateCouponResource.md +docs/CreateImageSlide.md +docs/Creative.md +docs/CreativeApi.md +docs/CreativeListResponse.md +docs/CreativeResource.md +docs/CreativeResponse.md +docs/CreativeWrite.md +docs/CreativeWriteRequest.md +docs/CreativeWriteResource.md +docs/CriteoApiError.md +docs/CriteoApiWarning.md +docs/DeleteAudienceContactListResponse.md +docs/DynamicAttributes.md +docs/DynamicWriteAttributes.md +docs/EntityOfPortfolioMessage.md +docs/ErrorCodeResponse.md +docs/GatewayApi.md +docs/GetPortfolioResponse.md +docs/HtmlTagAttributes.md +docs/HtmlTagWriteAttributes.md +docs/ImageAttributes.md +docs/ImageSet.md +docs/ImageSetBase64.md +docs/ImageShape.md +docs/ImageSlide.md +docs/ImageWriteAttributes.md +docs/InMarketAudienceSegmentBrandEntityV1.md +docs/InMarketAudienceSegmentBrandEntityV1ListResponse.md +docs/InMarketAudienceSegmentBrandEntityV1Resource.md +docs/InMarketAudienceSegmentInterestEntityV1.md +docs/InMarketAudienceSegmentInterestEntityV1ListResponse.md +docs/InMarketAudienceSegmentInterestEntityV1Resource.md +docs/InMarketCreateV1.md +docs/InMarketSizeEstimationV1.md +docs/InMarketUpdateV1.md +docs/InMarketV1.md +docs/LocationCreateV1.md +docs/LocationSizeEstimationV1.md +docs/LocationUpdateV1.md +docs/LocationV1.md +docs/LookalikeCreateV1.md +docs/LookalikeUpdateV1.md +docs/LookalikeV1.md +docs/ModifyAudienceResponse.md +docs/NillableAdSetTargetingRuleV24Q1.md +docs/NillableAdSetTargetingRuleV24Q1Value.md +docs/NillableDateTime.md +docs/NillableDecimal.md +docs/NillableGenderV1.md +docs/NillableInt32.md +docs/NillableString.md +docs/Outcome.md +docs/PatchAdSetBiddingV24Q1.md +docs/PatchAdSetBudgetV24Q1.md +docs/PatchAdSetCategoryBid.md +docs/PatchAdSetCategoryBidListRequest.md +docs/PatchAdSetCategoryBidResource.md +docs/PatchAdSetCategoryBidResultListResponse.md +docs/PatchAdSetCategoryBidResultResource.md +docs/PatchAdSetDisplayMultiplier.md +docs/PatchAdSetDisplayMultiplierListRequest.md +docs/PatchAdSetDisplayMultiplierResource.md +docs/PatchAdSetDisplayMultiplierResultListResponse.md +docs/PatchAdSetDisplayMultiplierResultResource.md +docs/PatchAdSetSchedulingV24Q1.md +docs/PatchAdSetV24Q1.md +docs/PatchCampaign.md +docs/PatchCampaignListRequest.md +docs/PatchCampaignSpendLimit.md +docs/PatchCampaignWriteResource.md +docs/PatchResultCampaignListResponse.md +docs/PatchResultCampaignReadResource.md +docs/PlacementsReportQueryMessage.md +docs/PlacementsReportQueryMessageListRequest.md +docs/PlacementsReportQueryMessageResource.md +docs/PointOfInterestV1.md +docs/PortfolioMessage.md +docs/ProspectingCreateV1.md +docs/ProspectingUpdateV1.md +docs/ProspectingV1.md +docs/ReadAdSetBiddingV24Q1.md +docs/ReadAdSetBudgetV24Q1.md +docs/ReadAdSetScheduleV24Q1.md +docs/ReadAdSetV24Q1.md +docs/ReadModelAdSetId.md +docs/ReadModelAdSetIdV24Q1.md +docs/ReadModelReadAdSetV24Q1.md +docs/RequestsAdSetId.md +docs/RequestsPatchAdSetV24Q1.md +docs/ResponseReadAdSetV24Q1.md +docs/ResponsesAdSetId.md +docs/ResponsesAdSetIdV24Q1.md +docs/ResponsesReadAdSetV24Q1.md +docs/RetargetingCreateV1.md +docs/RetargetingUpdateV1.md +docs/RetargetingV1.md +docs/Size.md +docs/StatisticsReportQueryMessage.md +docs/Tag.md +docs/TransactionsReportQueryMessage.md +docs/TransactionsReportQueryMessageListRequest.md +docs/TransactionsReportQueryMessageResource.md +docs/TransparencyQueryMessage.md +docs/TransparencyReport.md +docs/TransparencyReportFile.md +docs/TransparencyReportListResponse.md +docs/TransparencyReportResource.md +docs/UpdateCoupon.md +docs/UpdateCouponRequest.md +docs/UpdateCouponResource.md +docs/VideoDetail.md +docs/WriteModelAdSetId.md +docs/WriteModelPatchAdSetV24Q1.md +git_push.sh +requirements.txt +setup.cfg +setup.py +test-requirements.txt +test/example_application_with_auth_code.py +test/example_application_with_client_credentials.py +test/example_application_with_refresh_token.py +test/test_gateway_api.py +tox.ini diff --git a/sdks/marketingsolutions_2023-07/.openapi-generator/VERSION b/sdks/marketingsolutions_2024-10/.openapi-generator/VERSION similarity index 100% rename from sdks/marketingsolutions_2023-07/.openapi-generator/VERSION rename to sdks/marketingsolutions_2024-10/.openapi-generator/VERSION diff --git a/sdks/marketingsolutions_2023-07/README.md b/sdks/marketingsolutions_2024-10/README.md similarity index 85% rename from sdks/marketingsolutions_2023-07/README.md rename to sdks/marketingsolutions_2024-10/README.md index e55020b4..96ab05ac 100644 --- a/sdks/marketingsolutions_2023-07/README.md +++ b/sdks/marketingsolutions_2024-10/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2023.07.0.240808 +- Package version: 2024.10.0.241029 ## Requirements @@ -18,13 +18,13 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-marketingsolutions-sdk==2023.07.0.240808 +pip install criteo-api-marketingsolutions-sdk==2024.10.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.07.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.10.0.241029`) Then import the package: ```python -import criteo_api_marketingsolutions_v2023_07 +import criteo_api_marketingsolutions_v2024_10 ``` ### Manual Installation using [Setuptools](http://pypi.python.org/pypi/setuptools) @@ -38,7 +38,7 @@ python setup.py install --user Then import the package: ```python -import criteo_api_marketingsolutions_v2023_07 +import criteo_api_marketingsolutions_v2024_10 ``` ## Example @@ -71,15 +71,16 @@ Class | Method | HTTP request | Description - [AdSetCategoryBid](docs/AdSetCategoryBid.md) - [AdSetCategoryBidListResponse](docs/AdSetCategoryBidListResponse.md) - [AdSetCategoryBidResource](docs/AdSetCategoryBidResource.md) - - [AdSetDeliveryLimitations](docs/AdSetDeliveryLimitations.md) + - [AdSetDeliveryLimitationsV24Q1](docs/AdSetDeliveryLimitationsV24Q1.md) - [AdSetDisplayMultiplier](docs/AdSetDisplayMultiplier.md) - [AdSetDisplayMultiplierListResponse](docs/AdSetDisplayMultiplierListResponse.md) - [AdSetDisplayMultiplierResource](docs/AdSetDisplayMultiplierResource.md) - - [AdSetFrequencyCapping](docs/AdSetFrequencyCapping.md) - - [AdSetGeoLocation](docs/AdSetGeoLocation.md) - - [AdSetSearchFilter](docs/AdSetSearchFilter.md) - - [AdSetTargeting](docs/AdSetTargeting.md) - - [AdSetTargetingRule](docs/AdSetTargetingRule.md) + - [AdSetFrequencyCappingV24Q1](docs/AdSetFrequencyCappingV24Q1.md) + - [AdSetGeoLocationV24Q1](docs/AdSetGeoLocationV24Q1.md) + - [AdSetSearchFilterV24Q1](docs/AdSetSearchFilterV24Q1.md) + - [AdSetSearchRequestV24Q1](docs/AdSetSearchRequestV24Q1.md) + - [AdSetTargetingRuleV24Q1](docs/AdSetTargetingRuleV24Q1.md) + - [AdSetTargetingV24Q1](docs/AdSetTargetingV24Q1.md) - [AdWrite](docs/AdWrite.md) - [AdWriteRequest](docs/AdWriteRequest.md) - [AdWriteResource](docs/AdWriteResource.md) @@ -90,8 +91,6 @@ Class | Method | HTTP request | Description - [ApplicationSummaryModel](docs/ApplicationSummaryModel.md) - [ApplicationSummaryModelResource](docs/ApplicationSummaryModelResource.md) - [ApplicationSummaryModelResponse](docs/ApplicationSummaryModelResponse.md) - - [Audience](docs/Audience.md) - - [AudienceAttributes](docs/AudienceAttributes.md) - [AudienceBulkCreateInputV1](docs/AudienceBulkCreateInputV1.md) - [AudienceBulkDeleteInputV1](docs/AudienceBulkDeleteInputV1.md) - [AudienceBulkUpdateInputV1](docs/AudienceBulkUpdateInputV1.md) @@ -155,15 +154,11 @@ Class | Method | HTTP request | Description - [AudienceWarning](docs/AudienceWarning.md) - [BasicAudienceDefinition](docs/BasicAudienceDefinition.md) - [BehavioralV1](docs/BehavioralV1.md) - - [Campaign](docs/Campaign.md) - - [CampaignListResponse](docs/CampaignListResponse.md) - - [CampaignReadResource](docs/CampaignReadResource.md) - - [CampaignResponse](docs/CampaignResponse.md) - - [CampaignSearchFilters](docs/CampaignSearchFilters.md) - - [CampaignSearchRequest](docs/CampaignSearchRequest.md) - - [CampaignSpendLimit](docs/CampaignSpendLimit.md) + - [CampaignSearchFiltersV23Q1](docs/CampaignSearchFiltersV23Q1.md) + - [CampaignSearchRequestV23Q1](docs/CampaignSearchRequestV23Q1.md) - [CampaignSpendLimitV23Q1](docs/CampaignSpendLimitV23Q1.md) - [CampaignV23Q1](docs/CampaignV23Q1.md) + - [CampaignV23Q1ListResponse](docs/CampaignV23Q1ListResponse.md) - [CampaignV23Q1Resource](docs/CampaignV23Q1Resource.md) - [CampaignV23Q1Response](docs/CampaignV23Q1Response.md) - [CommonProblem](docs/CommonProblem.md) @@ -183,14 +178,14 @@ Class | Method | HTTP request | Description - [CouponSupportedSizes](docs/CouponSupportedSizes.md) - [CouponSupportedSizesResource](docs/CouponSupportedSizesResource.md) - [CouponSupportedSizesResponse](docs/CouponSupportedSizesResponse.md) - - [CreateAdSet](docs/CreateAdSet.md) - - [CreateAdSetBidding](docs/CreateAdSetBidding.md) - - [CreateAdSetBudget](docs/CreateAdSetBudget.md) - - [CreateAdSetGeoLocation](docs/CreateAdSetGeoLocation.md) - - [CreateAdSetRequest](docs/CreateAdSetRequest.md) - - [CreateAdSetResource](docs/CreateAdSetResource.md) - - [CreateAdSetSchedule](docs/CreateAdSetSchedule.md) - - [CreateAdSetTargeting](docs/CreateAdSetTargeting.md) + - [CreateAdSetBiddingV24Q1](docs/CreateAdSetBiddingV24Q1.md) + - [CreateAdSetBudgetV24Q1](docs/CreateAdSetBudgetV24Q1.md) + - [CreateAdSetGeoLocationV24Q1](docs/CreateAdSetGeoLocationV24Q1.md) + - [CreateAdSetScheduleV24Q1](docs/CreateAdSetScheduleV24Q1.md) + - [CreateAdSetTargetingV24Q1](docs/CreateAdSetTargetingV24Q1.md) + - [CreateAdSetV24Q1](docs/CreateAdSetV24Q1.md) + - [CreateAdSetV24Q1Request](docs/CreateAdSetV24Q1Request.md) + - [CreateAdSetV24Q1Resource](docs/CreateAdSetV24Q1Resource.md) - [CreateCampaign](docs/CreateCampaign.md) - [CreateCampaignRequest](docs/CreateCampaignRequest.md) - [CreateCampaignResource](docs/CreateCampaignResource.md) @@ -209,12 +204,10 @@ Class | Method | HTTP request | Description - [CriteoApiError](docs/CriteoApiError.md) - [CriteoApiWarning](docs/CriteoApiWarning.md) - [DeleteAudienceContactListResponse](docs/DeleteAudienceContactListResponse.md) - - [DeleteAudienceResponse](docs/DeleteAudienceResponse.md) - [DynamicAttributes](docs/DynamicAttributes.md) - [DynamicWriteAttributes](docs/DynamicWriteAttributes.md) - [EntityOfPortfolioMessage](docs/EntityOfPortfolioMessage.md) - [ErrorCodeResponse](docs/ErrorCodeResponse.md) - - [GetAudiencesResponse](docs/GetAudiencesResponse.md) - [GetPortfolioResponse](docs/GetPortfolioResponse.md) - [HtmlTagAttributes](docs/HtmlTagAttributes.md) - [HtmlTagWriteAttributes](docs/HtmlTagWriteAttributes.md) @@ -242,21 +235,16 @@ Class | Method | HTTP request | Description - [LookalikeUpdateV1](docs/LookalikeUpdateV1.md) - [LookalikeV1](docs/LookalikeV1.md) - [ModifyAudienceResponse](docs/ModifyAudienceResponse.md) - - [NewAudience](docs/NewAudience.md) - - [NewAudienceAttributes](docs/NewAudienceAttributes.md) - - [NewAudienceRequest](docs/NewAudienceRequest.md) - - [NewAudienceResponse](docs/NewAudienceResponse.md) - - [NillableAdSetTargetingRule](docs/NillableAdSetTargetingRule.md) - - [NillableAdSetTargetingRuleValue](docs/NillableAdSetTargetingRuleValue.md) + - [NillableAdSetTargetingRuleV24Q1](docs/NillableAdSetTargetingRuleV24Q1.md) + - [NillableAdSetTargetingRuleV24Q1Value](docs/NillableAdSetTargetingRuleV24Q1Value.md) - [NillableDateTime](docs/NillableDateTime.md) - [NillableDecimal](docs/NillableDecimal.md) - [NillableGenderV1](docs/NillableGenderV1.md) - [NillableInt32](docs/NillableInt32.md) - [NillableString](docs/NillableString.md) - [Outcome](docs/Outcome.md) - - [PatchAdSet](docs/PatchAdSet.md) - - [PatchAdSetBidding](docs/PatchAdSetBidding.md) - - [PatchAdSetBudget](docs/PatchAdSetBudget.md) + - [PatchAdSetBiddingV24Q1](docs/PatchAdSetBiddingV24Q1.md) + - [PatchAdSetBudgetV24Q1](docs/PatchAdSetBudgetV24Q1.md) - [PatchAdSetCategoryBid](docs/PatchAdSetCategoryBid.md) - [PatchAdSetCategoryBidListRequest](docs/PatchAdSetCategoryBidListRequest.md) - [PatchAdSetCategoryBidResource](docs/PatchAdSetCategoryBidResource.md) @@ -267,7 +255,8 @@ Class | Method | HTTP request | Description - [PatchAdSetDisplayMultiplierResource](docs/PatchAdSetDisplayMultiplierResource.md) - [PatchAdSetDisplayMultiplierResultListResponse](docs/PatchAdSetDisplayMultiplierResultListResponse.md) - [PatchAdSetDisplayMultiplierResultResource](docs/PatchAdSetDisplayMultiplierResultResource.md) - - [PatchAdSetScheduling](docs/PatchAdSetScheduling.md) + - [PatchAdSetSchedulingV24Q1](docs/PatchAdSetSchedulingV24Q1.md) + - [PatchAdSetV24Q1](docs/PatchAdSetV24Q1.md) - [PatchCampaign](docs/PatchCampaign.md) - [PatchCampaignListRequest](docs/PatchCampaignListRequest.md) - [PatchCampaignSpendLimit](docs/PatchCampaignSpendLimit.md) @@ -282,21 +271,19 @@ Class | Method | HTTP request | Description - [ProspectingCreateV1](docs/ProspectingCreateV1.md) - [ProspectingUpdateV1](docs/ProspectingUpdateV1.md) - [ProspectingV1](docs/ProspectingV1.md) - - [ReadAdSet](docs/ReadAdSet.md) - - [ReadAdSetBidding](docs/ReadAdSetBidding.md) - - [ReadAdSetBudget](docs/ReadAdSetBudget.md) - - [ReadAdSetSchedule](docs/ReadAdSetSchedule.md) + - [ReadAdSetBiddingV24Q1](docs/ReadAdSetBiddingV24Q1.md) + - [ReadAdSetBudgetV24Q1](docs/ReadAdSetBudgetV24Q1.md) + - [ReadAdSetScheduleV24Q1](docs/ReadAdSetScheduleV24Q1.md) + - [ReadAdSetV24Q1](docs/ReadAdSetV24Q1.md) - [ReadModelAdSetId](docs/ReadModelAdSetId.md) - - [ReadModelReadAdSet](docs/ReadModelReadAdSet.md) - - [ReplaceAudience](docs/ReplaceAudience.md) - - [ReplaceAudienceRequest](docs/ReplaceAudienceRequest.md) - - [ReplaceAudienceResponse](docs/ReplaceAudienceResponse.md) - - [RequestAdSetSearch](docs/RequestAdSetSearch.md) + - [ReadModelAdSetIdV24Q1](docs/ReadModelAdSetIdV24Q1.md) + - [ReadModelReadAdSetV24Q1](docs/ReadModelReadAdSetV24Q1.md) - [RequestsAdSetId](docs/RequestsAdSetId.md) - - [RequestsPatchAdSet](docs/RequestsPatchAdSet.md) - - [ResponseReadAdSet](docs/ResponseReadAdSet.md) + - [RequestsPatchAdSetV24Q1](docs/RequestsPatchAdSetV24Q1.md) + - [ResponseReadAdSetV24Q1](docs/ResponseReadAdSetV24Q1.md) - [ResponsesAdSetId](docs/ResponsesAdSetId.md) - - [ResponsesReadAdSet](docs/ResponsesReadAdSet.md) + - [ResponsesAdSetIdV24Q1](docs/ResponsesAdSetIdV24Q1.md) + - [ResponsesReadAdSetV24Q1](docs/ResponsesReadAdSetV24Q1.md) - [RetargetingCreateV1](docs/RetargetingCreateV1.md) - [RetargetingUpdateV1](docs/RetargetingUpdateV1.md) - [RetargetingV1](docs/RetargetingV1.md) @@ -316,7 +303,7 @@ Class | Method | HTTP request | Description - [UpdateCouponResource](docs/UpdateCouponResource.md) - [VideoDetail](docs/VideoDetail.md) - [WriteModelAdSetId](docs/WriteModelAdSetId.md) - - [WriteModelPatchAdSet](docs/WriteModelPatchAdSet.md) + - [WriteModelPatchAdSetV24Q1](docs/WriteModelPatchAdSetV24Q1.md) ## Disclaimer diff --git a/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/__init__.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/__init__.py new file mode 100644 index 00000000..b5c1b387 --- /dev/null +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/__init__.py @@ -0,0 +1,31 @@ +""" + Criteo API + + Criteo API - MarketingSolutions # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +__version__ = "2024.10.0.241029" + +# import ApiClient +from criteo_api_marketingsolutions_v2024_10.api_client import ApiClient +from criteo_api_marketingsolutions_v2024_10.criteo_api_client import CriteoApiClient +from criteo_api_marketingsolutions_v2024_10.api_client_builder import ApiClientBuilder +from criteo_api_marketingsolutions_v2024_10 import flow_constants + +# import Configuration +from criteo_api_marketingsolutions_v2024_10.configuration import Configuration + +# import exceptions +from criteo_api_marketingsolutions_v2024_10.exceptions import OpenApiException +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiTypeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiValueError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiKeyError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiException + + + diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/__init__.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/__init__.py similarity index 73% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/__init__.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/__init__.py index cba0f655..92c93e76 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/__init__.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/__init__.py @@ -1,3 +1,3 @@ # do not import all apis into this module because that uses a lot of memory and stack frames # if you need the ability to import all apis from one package, import them with -# from criteo_api_marketingsolutions_v2023_07.apis import AdvertiserApi +# from criteo_api_marketingsolutions_v2024_10.apis import AdvertiserApi diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/advertiser_api.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/advertiser_api.py similarity index 94% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/advertiser_api.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/advertiser_api.py index 7f2e4784..f1bc2768 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/advertiser_api.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/advertiser_api.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,7 +21,7 @@ none_type, validate_and_convert_types ) -from criteo_api_marketingsolutions_v2023_07.model.get_portfolio_response import GetPortfolioResponse +from criteo_api_marketingsolutions_v2024_10.model.get_portfolio_response import GetPortfolioResponse class AdvertiserApi(object): @@ -42,7 +42,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/advertisers/me', + 'endpoint_path': '/2024-10/advertisers/me', 'operation_id': 'api_portfolio_get', 'http_method': 'GET', 'servers': None, diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/analytics_api.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/analytics_api.py similarity index 95% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/analytics_api.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/analytics_api.py index aab25b02..dd102bcc 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/analytics_api.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/analytics_api.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,12 +21,12 @@ none_type, validate_and_convert_types ) -from criteo_api_marketingsolutions_v2023_07.model.outcome import Outcome -from criteo_api_marketingsolutions_v2023_07.model.placements_report_query_message_list_request import PlacementsReportQueryMessageListRequest -from criteo_api_marketingsolutions_v2023_07.model.statistics_report_query_message import StatisticsReportQueryMessage -from criteo_api_marketingsolutions_v2023_07.model.transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest -from criteo_api_marketingsolutions_v2023_07.model.transparency_query_message import TransparencyQueryMessage -from criteo_api_marketingsolutions_v2023_07.model.transparency_report_list_response import TransparencyReportListResponse +from criteo_api_marketingsolutions_v2024_10.model.outcome import Outcome +from criteo_api_marketingsolutions_v2024_10.model.placements_report_query_message_list_request import PlacementsReportQueryMessageListRequest +from criteo_api_marketingsolutions_v2024_10.model.statistics_report_query_message import StatisticsReportQueryMessage +from criteo_api_marketingsolutions_v2024_10.model.transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest +from criteo_api_marketingsolutions_v2024_10.model.transparency_query_message import TransparencyQueryMessage +from criteo_api_marketingsolutions_v2024_10.model.transparency_report_list_response import TransparencyReportListResponse class AnalyticsApi(object): @@ -42,12 +42,12 @@ def __init__(self, api_client=None): self.api_client = api_client self.get_adset_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/statistics/report', + 'endpoint_path': '/2024-10/statistics/report', 'operation_id': 'get_adset_report', 'http_method': 'POST', 'servers': None, @@ -101,12 +101,12 @@ def __init__(self, api_client=None): ) self.get_placements_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/placements/report', + 'endpoint_path': '/2024-10/placements/report', 'operation_id': 'get_placements_report', 'http_method': 'POST', 'servers': None, @@ -145,7 +145,9 @@ def __init__(self, api_client=None): 'text/plain', 'application/json', 'text/json', + 'text/csv', 'application/xml', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'text/xml' ], 'content_type': [ @@ -159,12 +161,12 @@ def __init__(self, api_client=None): ) self.get_transactions_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/transactions/report', + 'endpoint_path': '/2024-10/transactions/report', 'operation_id': 'get_transactions_report', 'http_method': 'POST', 'servers': None, @@ -223,7 +225,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/log-level/advertisers/{advertiser-id}/report', + 'endpoint_path': '/2024-10/log-level/advertisers/{advertiser-id}/report', 'operation_id': 'get_transparency_report', 'http_method': 'POST', 'servers': None, @@ -330,7 +332,7 @@ def get_adset_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -409,7 +411,7 @@ def get_placements_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -488,7 +490,7 @@ def get_transactions_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/audience_api.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/audience_api.py similarity index 85% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/audience_api.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/audience_api.py index 39b096a3..685fa99c 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/audience_api.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/audience_api.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,41 +21,35 @@ none_type, validate_and_convert_types ) -from criteo_api_marketingsolutions_v2023_07.model.audience_bulk_create_input_v1 import AudienceBulkCreateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_bulk_delete_input_v1 import AudienceBulkDeleteInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_bulk_update_input_v1 import AudienceBulkUpdateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_audience_search_metadata_v1_list_response import AudienceEntityV1AudienceSearchMetadataV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_list_response import AudienceEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_estimate_size_input_v1 import AudienceEstimateSizeInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_id_entity_v1_list_response import AudienceIdEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_search_input_v1 import AudienceSearchInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_bulk_create_input_v1 import AudienceSegmentBulkCreateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_bulk_delete_input_v1 import AudienceSegmentBulkDeleteInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_bulk_update_input_v1 import AudienceSegmentBulkUpdateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response import AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_list_response import AudienceSegmentEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_estimate_size_input_v1 import AudienceSegmentEstimateSizeInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_id_entity_v1_list_response import AudienceSegmentIdEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_search_input_v1 import AudienceSegmentSearchInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_v1_response import AudienceSegmentSizeEstimationV1Response -from criteo_api_marketingsolutions_v2023_07.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_size_estimation_v1_response import AudienceSizeEstimationV1Response -from criteo_api_marketingsolutions_v2023_07.model.contact_list_statistics_entity_v1_response import ContactListStatisticsEntityV1Response -from criteo_api_marketingsolutions_v2023_07.model.contactlist_amendment_request import ContactlistAmendmentRequest -from criteo_api_marketingsolutions_v2023_07.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse -from criteo_api_marketingsolutions_v2023_07.model.delete_audience_response import DeleteAudienceResponse -from criteo_api_marketingsolutions_v2023_07.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2023_07.model.get_audiences_response import GetAudiencesResponse -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_brand_entity_v1_list_response import InMarketAudienceSegmentBrandEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_interest_entity_v1_list_response import InMarketAudienceSegmentInterestEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.modify_audience_response import ModifyAudienceResponse -from criteo_api_marketingsolutions_v2023_07.model.new_audience_request import NewAudienceRequest -from criteo_api_marketingsolutions_v2023_07.model.new_audience_response import NewAudienceResponse -from criteo_api_marketingsolutions_v2023_07.model.replace_audience_request import ReplaceAudienceRequest -from criteo_api_marketingsolutions_v2023_07.model.replace_audience_response import ReplaceAudienceResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_bulk_create_input_v1 import AudienceBulkCreateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_bulk_delete_input_v1 import AudienceBulkDeleteInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_bulk_update_input_v1 import AudienceBulkUpdateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_audience_search_metadata_v1_list_response import AudienceEntityV1AudienceSearchMetadataV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_list_response import AudienceEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_estimate_size_input_v1 import AudienceEstimateSizeInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_id_entity_v1_list_response import AudienceIdEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_search_input_v1 import AudienceSearchInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_bulk_create_input_v1 import AudienceSegmentBulkCreateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_bulk_delete_input_v1 import AudienceSegmentBulkDeleteInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_bulk_update_input_v1 import AudienceSegmentBulkUpdateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response import AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_list_response import AudienceSegmentEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_estimate_size_input_v1 import AudienceSegmentEstimateSizeInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_id_entity_v1_list_response import AudienceSegmentIdEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_search_input_v1 import AudienceSegmentSearchInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_v1_response import AudienceSegmentSizeEstimationV1Response +from criteo_api_marketingsolutions_v2024_10.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_size_estimation_v1_response import AudienceSizeEstimationV1Response +from criteo_api_marketingsolutions_v2024_10.model.contact_list_statistics_entity_v1_response import ContactListStatisticsEntityV1Response +from criteo_api_marketingsolutions_v2024_10.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2024_10.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_10.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_brand_entity_v1_list_response import InMarketAudienceSegmentBrandEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_interest_entity_v1_list_response import InMarketAudienceSegmentInterestEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.modify_audience_response import ModifyAudienceResponse class AudienceApi(object): @@ -76,7 +70,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audience-segments/create', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/create', 'operation_id': 'bulk_create_audience_segments', 'http_method': 'POST', 'servers': None, @@ -134,7 +128,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audiences/create', + 'endpoint_path': '/2024-10/marketing-solutions/audiences/create', 'operation_id': 'bulk_create_audiences', 'http_method': 'POST', 'servers': None, @@ -192,7 +186,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audience-segments/delete', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/delete', 'operation_id': 'bulk_delete_audience_segments', 'http_method': 'POST', 'servers': None, @@ -250,7 +244,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audiences/delete', + 'endpoint_path': '/2024-10/marketing-solutions/audiences/delete', 'operation_id': 'bulk_delete_audiences', 'http_method': 'POST', 'servers': None, @@ -308,7 +302,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audience-segments', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments', 'operation_id': 'bulk_update_audience_segments', 'http_method': 'PATCH', 'servers': None, @@ -366,7 +360,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audiences', + 'endpoint_path': '/2024-10/marketing-solutions/audiences', 'operation_id': 'bulk_update_audiences', 'http_method': 'PATCH', 'servers': None, @@ -417,24 +411,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.compute_audience_segments_sizes_endpoint = _Endpoint( + self.call_10_audiences_audience_segment_id_contactlist_delete_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), + 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audience-segments/compute-sizes', - 'operation_id': 'compute_audience_segments_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2024-10/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_10_audiences_audience_segment_id_contactlist_delete', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'required': [ - 'audience_segment_compute_sizes_input_v1', + 'audience_segment_id', ], 'nullable': [ ], @@ -449,50 +443,46 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_segment_compute_sizes_input_v1': - (AudienceSegmentComputeSizesInputV1,), + 'audience_segment_id': + (str,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_segment_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], - 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' - ] + 'content_type': [], }, api_client=api_client ) - self.compute_audiences_sizes_endpoint = _Endpoint( + self.call_10_audiences_audience_segment_id_contactlist_patch_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSizeEntityV1ListResponse,), + 'response_type': (ModifyAudienceResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audiences/compute-sizes', - 'operation_id': 'compute_audiences_sizes', - 'http_method': 'POST', + 'endpoint_path': '/2024-10/audiences/{audience-segment-id}/contactlist', + 'operation_id': 'call_10_audiences_audience_segment_id_contactlist_patch', + 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'required': [ - 'audience_compute_sizes_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'nullable': [ ], @@ -507,50 +497,49 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_compute_sizes_input_v1': - (AudienceComputeSizesInputV1,), + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_compute_sizes_input_v1': 'body', + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client ) - self.create_audience_endpoint = _Endpoint( + self.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint = _Endpoint( settings={ - 'response_type': (NewAudienceResponse,), + 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/audiences', - 'operation_id': 'create_audience', - 'http_method': 'POST', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', + 'operation_id': 'call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'new_audience_request', + 'audience_segment_id', ], 'required': [ - 'new_audience_request', + 'audience_segment_id', ], 'nullable': [ ], @@ -565,13 +554,14 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'new_audience_request': - (NewAudienceRequest,), + 'audience_segment_id': + (str,), }, 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'new_audience_request': 'body', + 'audience_segment_id': 'path', }, 'collection_format_map': { } @@ -580,30 +570,30 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) - self.delete_identifiers_endpoint = _Endpoint( + self.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint = _Endpoint( settings={ - 'response_type': (DeleteAudienceContactListResponse,), + 'response_type': (ModifyAudienceResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/audiences/{audience-id}/contactlist', - 'operation_id': 'delete_identifiers', - 'http_method': 'DELETE', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', + 'operation_id': 'call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch', + 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ - 'audience_id', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'required': [ - 'audience_id', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'nullable': [ ], @@ -618,14 +608,17 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_id': + 'audience_segment_id': (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), }, 'attribute_map': { - 'audience_id': 'audience-id', + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_id': 'path', + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', }, 'collection_format_map': { } @@ -634,28 +627,30 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [], + 'content_type': [ + 'application/json' + ] }, api_client=api_client ) - self.estimate_audience_segment_size_endpoint = _Endpoint( + self.compute_audience_segments_sizes_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSegmentSizeEstimationV1Response,), + 'response_type': (AudienceSegmentSizeEntityV1ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audience-segments/estimate-size', - 'operation_id': 'estimate_audience_segment_size', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/compute-sizes', + 'operation_id': 'compute_audience_segments_sizes', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'audience_segment_estimate_size_input_v1', + 'audience_segment_compute_sizes_input_v1', ], 'required': [ - 'audience_segment_estimate_size_input_v1', + 'audience_segment_compute_sizes_input_v1', ], 'nullable': [ ], @@ -670,13 +665,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_segment_estimate_size_input_v1': - (AudienceSegmentEstimateSizeInputV1,), + 'audience_segment_compute_sizes_input_v1': + (AudienceSegmentComputeSizesInputV1,), }, 'attribute_map': { }, 'location_map': { - 'audience_segment_estimate_size_input_v1': 'body', + 'audience_segment_compute_sizes_input_v1': 'body', }, 'collection_format_map': { } @@ -696,24 +691,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.estimate_audience_size_endpoint = _Endpoint( + self.compute_audiences_sizes_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSizeEstimationV1Response,), + 'response_type': (AudienceSizeEntityV1ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audiences/estimate-size', - 'operation_id': 'estimate_audience_size', + 'endpoint_path': '/2024-10/marketing-solutions/audiences/compute-sizes', + 'operation_id': 'compute_audiences_sizes', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'audience_estimate_size_input_v1', + 'audience_compute_sizes_input_v1', ], 'required': [ - 'audience_estimate_size_input_v1', + 'audience_compute_sizes_input_v1', ], 'nullable': [ ], @@ -728,13 +723,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_estimate_size_input_v1': - (AudienceEstimateSizeInputV1,), + 'audience_compute_sizes_input_v1': + (AudienceComputeSizesInputV1,), }, 'attribute_map': { }, 'location_map': { - 'audience_estimate_size_input_v1': 'body', + 'audience_compute_sizes_input_v1': 'body', }, 'collection_format_map': { } @@ -754,24 +749,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_audience_segment_contact_list_statistics_endpoint = _Endpoint( + self.estimate_audience_segment_size_endpoint = _Endpoint( settings={ - 'response_type': (ContactListStatisticsEntityV1Response,), + 'response_type': (AudienceSegmentSizeEstimationV1Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'get_audience_segment_contact_list_statistics', - 'http_method': 'GET', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/estimate-size', + 'operation_id': 'estimate_audience_segment_size', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'audience_segment_id', + 'audience_segment_estimate_size_input_v1', ], 'required': [ - 'audience_segment_id', + 'audience_segment_estimate_size_input_v1', ], 'nullable': [ ], @@ -786,14 +781,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_segment_id': - (int,), + 'audience_segment_estimate_size_input_v1': + (AudienceSegmentEstimateSizeInputV1,), }, 'attribute_map': { - 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_segment_id': 'path', + 'audience_segment_estimate_size_input_v1': 'body', }, 'collection_format_map': { } @@ -804,30 +798,33 @@ def __init__(self, api_client=None): 'application/json', 'text/json' ], - 'content_type': [], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] }, api_client=api_client ) - self.get_audience_segments_in_market_brands_endpoint = _Endpoint( + self.estimate_audience_size_endpoint = _Endpoint( settings={ - 'response_type': (InMarketAudienceSegmentBrandEntityV1ListResponse,), + 'response_type': (AudienceSizeEstimationV1Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audience-segments/in-market-brands', - 'operation_id': 'get_audience_segments_in_market_brands', - 'http_method': 'GET', + 'endpoint_path': '/2024-10/marketing-solutions/audiences/estimate-size', + 'operation_id': 'estimate_audience_size', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'advertiser_id', - 'country', + 'audience_estimate_size_input_v1', ], 'required': [ - 'advertiser_id', - 'country', + 'audience_estimate_size_input_v1', ], 'nullable': [ ], @@ -842,18 +839,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'advertiser_id': - (str,), - 'country': - (str,), + 'audience_estimate_size_input_v1': + (AudienceEstimateSizeInputV1,), }, 'attribute_map': { - 'advertiser_id': 'advertiser-id', - 'country': 'country', }, 'location_map': { - 'advertiser_id': 'query', - 'country': 'query', + 'audience_estimate_size_input_v1': 'body', }, 'collection_format_map': { } @@ -864,30 +856,33 @@ def __init__(self, api_client=None): 'application/json', 'text/json' ], - 'content_type': [], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] }, api_client=api_client ) - self.get_audience_segments_in_market_interests_endpoint = _Endpoint( + self.get_audience_segment_contact_list_statistics_endpoint = _Endpoint( settings={ - 'response_type': (InMarketAudienceSegmentInterestEntityV1ListResponse,), + 'response_type': (ContactListStatisticsEntityV1Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audience-segments/in-market-interests', - 'operation_id': 'get_audience_segments_in_market_interests', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list/statistics', + 'operation_id': 'get_audience_segment_contact_list_statistics', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'advertiser_id', - 'country', + 'audience_segment_id', ], 'required': [ - 'advertiser_id', - 'country', + 'audience_segment_id', ], 'nullable': [ ], @@ -902,18 +897,14 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'advertiser_id': - (str,), - 'country': - (str,), + 'audience_segment_id': + (int,), }, 'attribute_map': { - 'advertiser_id': 'advertiser-id', - 'country': 'country', + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'advertiser_id': 'query', - 'country': 'query', + 'audience_segment_id': 'path', }, 'collection_format_map': { } @@ -928,23 +919,27 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_audiences_endpoint = _Endpoint( + self.get_audience_segments_in_market_brands_endpoint = _Endpoint( settings={ - 'response_type': (GetAudiencesResponse,), + 'response_type': (InMarketAudienceSegmentBrandEntityV1ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/audiences', - 'operation_id': 'get_audiences', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/in-market-brands', + 'operation_id': 'get_audience_segments_in_market_brands', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'advertiser_id', + 'country', + ], + 'required': [ + 'advertiser_id', + 'country', ], - 'required': [], 'nullable': [ ], 'enum': [ @@ -960,103 +955,50 @@ def __init__(self, api_client=None): 'openapi_types': { 'advertiser_id': (str,), + 'country': + (str,), }, 'attribute_map': { 'advertiser_id': 'advertiser-id', + 'country': 'country', }, 'location_map': { 'advertiser_id': 'query', + 'country': 'query', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'application/json' + 'text/plain', + 'application/json', + 'text/json' ], 'content_type': [], }, api_client=api_client ) - self.modify_audience_endpoint = _Endpoint( - settings={ - 'response_type': (ReplaceAudienceResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/2023-07/audiences/{audience-id}', - 'operation_id': 'modify_audience', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'audience_id', - 'replace_audience_request', - ], - 'required': [ - 'audience_id', - 'replace_audience_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'audience_id': - (str,), - 'replace_audience_request': - (ReplaceAudienceRequest,), - }, - 'attribute_map': { - 'audience_id': 'audience-id', - }, - 'location_map': { - 'audience_id': 'path', - 'replace_audience_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.modify_audience_users_endpoint = _Endpoint( + self.get_audience_segments_in_market_interests_endpoint = _Endpoint( settings={ - 'response_type': (ModifyAudienceResponse,), + 'response_type': (InMarketAudienceSegmentInterestEntityV1ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/audiences/{audience-id}/contactlist', - 'operation_id': 'modify_audience_users', - 'http_method': 'PATCH', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/in-market-interests', + 'operation_id': 'get_audience_segments_in_market_interests', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'audience_id', - 'contactlist_amendment_request', + 'advertiser_id', + 'country', ], 'required': [ - 'audience_id', - 'contactlist_amendment_request', + 'advertiser_id', + 'country', ], 'nullable': [ ], @@ -1071,78 +1013,27 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'audience_id': + 'advertiser_id': (str,), - 'contactlist_amendment_request': - (ContactlistAmendmentRequest,), - }, - 'attribute_map': { - 'audience_id': 'audience-id', - }, - 'location_map': { - 'audience_id': 'path', - 'contactlist_amendment_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.remove_audience_endpoint = _Endpoint( - settings={ - 'response_type': (DeleteAudienceResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/2023-07/audiences/{audience-id}', - 'operation_id': 'remove_audience', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'audience_id', - ], - 'required': [ - 'audience_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'audience_id': + 'country': (str,), }, 'attribute_map': { - 'audience_id': 'audience-id', + 'advertiser_id': 'advertiser-id', + 'country': 'country', }, 'location_map': { - 'audience_id': 'path', + 'advertiser_id': 'query', + 'country': 'query', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'application/json' + 'text/plain', + 'application/json', + 'text/json' ], 'content_type': [], }, @@ -1155,7 +1046,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audience-segments/search', + 'endpoint_path': '/2024-10/marketing-solutions/audience-segments/search', 'operation_id': 'search_audience_segments', 'http_method': 'POST', 'servers': None, @@ -1229,7 +1120,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/audiences/search', + 'endpoint_path': '/2024-10/marketing-solutions/audiences/search', 'operation_id': 'search_audiences', 'http_method': 'POST', 'servers': None, @@ -1459,192 +1350,26 @@ def bulk_create_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_create_input_v1'] = \ - audience_bulk_create_input_v1 - return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) - - def bulk_delete_audience_segments( - self, - audience_segment_bulk_delete_input_v1, - **kwargs - ): - """bulk_delete_audience_segments # noqa: E501 - - Delete the segments associated to the given audience IDs. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) - >>> result = thread.get() - - Args: - audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - AudienceSegmentIdEntityV1ListResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_delete_input_v1'] = \ - audience_segment_bulk_delete_input_v1 - return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) - - def bulk_delete_audiences( - self, - audience_bulk_delete_input_v1, - **kwargs - ): - """bulk_delete_audiences # noqa: E501 - - Deletes the audiences associated to the given audience IDs. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) - >>> result = thread.get() - - Args: - audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - AudienceIdEntityV1ListResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_delete_input_v1'] = \ - audience_bulk_delete_input_v1 - return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_create_input_v1'] = \ + audience_bulk_create_input_v1 + return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs) - def bulk_update_audience_segments( + def bulk_delete_audience_segments( self, - audience_segment_bulk_update_input_v1, + audience_segment_bulk_delete_input_v1, **kwargs ): - """bulk_update_audience_segments # noqa: E501 + """bulk_delete_audience_segments # noqa: E501 - Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Delete the segments associated to the given audience IDs. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) + >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request + audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request. Keyword Args: _return_http_data_only (bool): response data without head status @@ -1679,7 +1404,7 @@ def bulk_update_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1ListResponse + AudienceSegmentIdEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1708,26 +1433,26 @@ def bulk_update_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_bulk_update_input_v1'] = \ - audience_segment_bulk_update_input_v1 - return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_bulk_delete_input_v1'] = \ + audience_segment_bulk_delete_input_v1 + return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_update_audiences( + def bulk_delete_audiences( self, - audience_bulk_update_input_v1, + audience_bulk_delete_input_v1, **kwargs ): - """bulk_update_audiences # noqa: E501 + """bulk_delete_audiences # noqa: E501 - Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + Deletes the audiences associated to the given audience IDs. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) + >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True) >>> result = thread.get() Args: - audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): + audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1762,7 +1487,7 @@ def bulk_update_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1ListResponse + AudienceIdEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1791,26 +1516,26 @@ def bulk_update_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_bulk_update_input_v1'] = \ - audience_bulk_update_input_v1 - return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_delete_input_v1'] = \ + audience_bulk_delete_input_v1 + return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs) - def compute_audience_segments_sizes( + def bulk_update_audience_segments( self, - audience_segment_compute_sizes_input_v1, + audience_segment_bulk_update_input_v1, **kwargs ): - """compute_audience_segments_sizes # noqa: E501 + """bulk_update_audience_segments # noqa: E501 - Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 + Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) + >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): + audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request Keyword Args: _return_http_data_only (bool): response data without head status @@ -1845,7 +1570,7 @@ def compute_audience_segments_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSegmentSizeEntityV1ListResponse + AudienceSegmentEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1874,26 +1599,26 @@ def compute_audience_segments_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_compute_sizes_input_v1'] = \ - audience_segment_compute_sizes_input_v1 - return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_bulk_update_input_v1'] = \ + audience_segment_bulk_update_input_v1 + return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) - def compute_audiences_sizes( + def bulk_update_audiences( self, - audience_compute_sizes_input_v1, + audience_bulk_update_input_v1, **kwargs ): - """compute_audiences_sizes # noqa: E501 + """bulk_update_audiences # noqa: E501 - Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 + Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) + >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: - audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): + audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -1928,7 +1653,7 @@ def compute_audiences_sizes( async_req (bool): execute request asynchronously Returns: - AudienceSizeEntityV1ListResponse + AudienceEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1957,26 +1682,26 @@ def compute_audiences_sizes( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_compute_sizes_input_v1'] = \ - audience_compute_sizes_input_v1 - return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) + kwargs['audience_bulk_update_input_v1'] = \ + audience_bulk_update_input_v1 + return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs) - def create_audience( + def call_10_audiences_audience_segment_id_contactlist_delete( self, - new_audience_request, + audience_segment_id, **kwargs ): - """create_audience # noqa: E501 + """call_10_audiences_audience_segment_id_contactlist_delete # noqa: E501 - Create an Audience for an Advertiser # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_audience(new_audience_request, async_req=True) + >>> thread = api.call_10_audiences_audience_segment_id_contactlist_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - new_audience_request (NewAudienceRequest): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -2011,7 +1736,7 @@ def create_audience( async_req (bool): execute request asynchronously Returns: - NewAudienceResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -2040,26 +1765,28 @@ def create_audience( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['new_audience_request'] = \ - new_audience_request - return self.create_audience_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_10_audiences_audience_segment_id_contactlist_delete_endpoint.call_with_http_info(**kwargs) - def delete_identifiers( + def call_10_audiences_audience_segment_id_contactlist_patch( self, - audience_id, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """delete_identifiers # noqa: E501 + """call_10_audiences_audience_segment_id_contactlist_patch # noqa: E501 - Delete all identifiers from a contact list audience-segment. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_identifiers(audience_id, async_req=True) + >>> thread = api.call_10_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_id (str): The id of the audience to amend + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -2094,7 +1821,7 @@ def delete_identifiers( async_req (bool): execute request asynchronously Returns: - DeleteAudienceContactListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -2123,26 +1850,28 @@ def delete_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_id'] = \ - audience_id - return self.delete_identifiers_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_10_audiences_audience_segment_id_contactlist_patch_endpoint.call_with_http_info(**kwargs) - def estimate_audience_segment_size( + def call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete( self, - audience_segment_estimate_size_input_v1, + audience_segment_id, **kwargs ): - """estimate_audience_segment_size # noqa: E501 + """call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete # noqa: E501 - Gets the size estimation of a non existent segment. An error is returned when size calculation is not supported. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.estimate_audience_segment_size(audience_segment_estimate_size_input_v1, async_req=True) + >>> thread = api.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_segment_estimate_size_input_v1 (AudienceSegmentEstimateSizeInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: _return_http_data_only (bool): response data without head status @@ -2177,7 +1906,7 @@ def estimate_audience_segment_size( async_req (bool): execute request asynchronously Returns: - AudienceSegmentSizeEstimationV1Response + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -2206,26 +1935,28 @@ def estimate_audience_segment_size( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_estimate_size_input_v1'] = \ - audience_segment_estimate_size_input_v1 - return self.estimate_audience_segment_size_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint.call_with_http_info(**kwargs) - def estimate_audience_size( + def call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch( self, - audience_estimate_size_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """estimate_audience_size # noqa: E501 + """call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch # noqa: E501 - Gets the size estimation of a non existent audience. An error is returned when size calculation is not supported. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.estimate_audience_size(audience_estimate_size_input_v1, async_req=True) + >>> thread = api.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_estimate_size_input_v1 (AudienceEstimateSizeInputV1): + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: _return_http_data_only (bool): response data without head status @@ -2260,7 +1991,7 @@ def estimate_audience_size( async_req (bool): execute request asynchronously Returns: - AudienceSizeEstimationV1Response + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -2289,26 +2020,28 @@ def estimate_audience_size( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_estimate_size_input_v1'] = \ - audience_estimate_size_input_v1 - return self.estimate_audience_size_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs) - def get_audience_segment_contact_list_statistics( + def compute_audience_segments_sizes( self, - audience_segment_id, + audience_segment_compute_sizes_input_v1, **kwargs ): - """get_audience_segment_contact_list_statistics # noqa: E501 + """compute_audience_segments_sizes # noqa: E501 - Returns the statistics of a contact list segment. # noqa: E501 + Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_audience_segment_contact_list_statistics(audience_segment_id, async_req=True) + >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_id (int): The segment ID. + audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -2343,7 +2076,7 @@ def get_audience_segment_contact_list_statistics( async_req (bool): execute request asynchronously Returns: - ContactListStatisticsEntityV1Response + AudienceSegmentSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -2372,28 +2105,26 @@ def get_audience_segment_contact_list_statistics( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - return self.get_audience_segment_contact_list_statistics_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_compute_sizes_input_v1'] = \ + audience_segment_compute_sizes_input_v1 + return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs) - def get_audience_segments_in_market_brands( + def compute_audiences_sizes( self, - advertiser_id, - country, + audience_compute_sizes_input_v1, **kwargs ): - """get_audience_segments_in_market_brands # noqa: E501 + """compute_audiences_sizes # noqa: E501 - Returns a list with all available in-market brands that can be used to define an in-market segment. # noqa: E501 + Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_audience_segments_in_market_brands(advertiser_id, country, async_req=True) + >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True) >>> result = thread.get() Args: - advertiser_id (str): The advertiser ID. - country (str): The ISO 3166-1 alpha-2 country code. + audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -2428,7 +2159,7 @@ def get_audience_segments_in_market_brands( async_req (bool): execute request asynchronously Returns: - InMarketAudienceSegmentBrandEntityV1ListResponse + AudienceSizeEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -2457,30 +2188,26 @@ def get_audience_segments_in_market_brands( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['advertiser_id'] = \ - advertiser_id - kwargs['country'] = \ - country - return self.get_audience_segments_in_market_brands_endpoint.call_with_http_info(**kwargs) + kwargs['audience_compute_sizes_input_v1'] = \ + audience_compute_sizes_input_v1 + return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) - def get_audience_segments_in_market_interests( + def estimate_audience_segment_size( self, - advertiser_id, - country, + audience_segment_estimate_size_input_v1, **kwargs ): - """get_audience_segments_in_market_interests # noqa: E501 + """estimate_audience_segment_size # noqa: E501 - Returns a list with all available in-market interests that can be used to define an in-market segment. These in-market interests correspond to the Google product taxonomy. # noqa: E501 + Gets the size estimation of a non existent segment. An error is returned when size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_audience_segments_in_market_interests(advertiser_id, country, async_req=True) + >>> thread = api.estimate_audience_segment_size(audience_segment_estimate_size_input_v1, async_req=True) >>> result = thread.get() Args: - advertiser_id (str): The advertiser ID. - country (str): The ISO 3166-1 alpha-2 country code. + audience_segment_estimate_size_input_v1 (AudienceSegmentEstimateSizeInputV1): Keyword Args: _return_http_data_only (bool): response data without head status @@ -2515,7 +2242,7 @@ def get_audience_segments_in_market_interests( async_req (bool): execute request asynchronously Returns: - InMarketAudienceSegmentInterestEntityV1ListResponse + AudienceSegmentSizeEstimationV1Response If the method is called asynchronously, returns the request thread. """ @@ -2544,28 +2271,28 @@ def get_audience_segments_in_market_interests( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['advertiser_id'] = \ - advertiser_id - kwargs['country'] = \ - country - return self.get_audience_segments_in_market_interests_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_estimate_size_input_v1'] = \ + audience_segment_estimate_size_input_v1 + return self.estimate_audience_segment_size_endpoint.call_with_http_info(**kwargs) - def get_audiences( + def estimate_audience_size( self, + audience_estimate_size_input_v1, **kwargs ): - """get_audiences # noqa: E501 + """estimate_audience_size # noqa: E501 - Get a list of all the audiences for the user or for the given advertiser_id # noqa: E501 + Gets the size estimation of a non existent audience. An error is returned when size calculation is not supported. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_audiences(async_req=True) + >>> thread = api.estimate_audience_size(audience_estimate_size_input_v1, async_req=True) >>> result = thread.get() + Args: + audience_estimate_size_input_v1 (AudienceEstimateSizeInputV1): Keyword Args: - advertiser_id (str): The advertiser id to get all the audiences for. Mandatory for internal users. For external users, if you don't provide it, we will take into account the advertisers from your portfolio. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2598,7 +2325,7 @@ def get_audiences( async_req (bool): execute request asynchronously Returns: - GetAudiencesResponse + AudienceSizeEstimationV1Response If the method is called asynchronously, returns the request thread. """ @@ -2627,26 +2354,26 @@ def get_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_estimate_size_input_v1'] = \ + audience_estimate_size_input_v1 + return self.estimate_audience_size_endpoint.call_with_http_info(**kwargs) - def modify_audience( + def get_audience_segment_contact_list_statistics( self, - audience_id, - replace_audience_request, + audience_segment_id, **kwargs ): - """modify_audience # noqa: E501 + """get_audience_segment_contact_list_statistics # noqa: E501 - Update user audience specified by the audience id # noqa: E501 + Returns the statistics of a contact list segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.modify_audience(audience_id, replace_audience_request, async_req=True) + >>> thread = api.get_audience_segment_contact_list_statistics(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_id (str): The id of the audience to amend - replace_audience_request (ReplaceAudienceRequest): + audience_segment_id (int): The segment ID. Keyword Args: _return_http_data_only (bool): response data without head status @@ -2681,7 +2408,7 @@ def modify_audience( async_req (bool): execute request asynchronously Returns: - ReplaceAudienceResponse + ContactListStatisticsEntityV1Response If the method is called asynchronously, returns the request thread. """ @@ -2710,30 +2437,28 @@ def modify_audience( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_id'] = \ - audience_id - kwargs['replace_audience_request'] = \ - replace_audience_request - return self.modify_audience_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.get_audience_segment_contact_list_statistics_endpoint.call_with_http_info(**kwargs) - def modify_audience_users( + def get_audience_segments_in_market_brands( self, - audience_id, - contactlist_amendment_request, + advertiser_id, + country, **kwargs ): - """modify_audience_users # noqa: E501 + """get_audience_segments_in_market_brands # noqa: E501 - Add/remove users to or from a contact list audience-segment. # noqa: E501 + Returns a list with all available in-market brands that can be used to define an in-market segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.modify_audience_users(audience_id, contactlist_amendment_request, async_req=True) + >>> thread = api.get_audience_segments_in_market_brands(advertiser_id, country, async_req=True) >>> result = thread.get() Args: - audience_id (str): The id of the audience to amend - contactlist_amendment_request (ContactlistAmendmentRequest): + advertiser_id (str): The advertiser ID. + country (str): The ISO 3166-1 alpha-2 country code. Keyword Args: _return_http_data_only (bool): response data without head status @@ -2768,7 +2493,7 @@ def modify_audience_users( async_req (bool): execute request asynchronously Returns: - ModifyAudienceResponse + InMarketAudienceSegmentBrandEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -2797,28 +2522,30 @@ def modify_audience_users( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_id'] = \ - audience_id - kwargs['contactlist_amendment_request'] = \ - contactlist_amendment_request - return self.modify_audience_users_endpoint.call_with_http_info(**kwargs) + kwargs['advertiser_id'] = \ + advertiser_id + kwargs['country'] = \ + country + return self.get_audience_segments_in_market_brands_endpoint.call_with_http_info(**kwargs) - def remove_audience( + def get_audience_segments_in_market_interests( self, - audience_id, + advertiser_id, + country, **kwargs ): - """remove_audience # noqa: E501 + """get_audience_segments_in_market_interests # noqa: E501 - Delete an audience by id # noqa: E501 + Returns a list with all available in-market interests that can be used to define an in-market segment. These in-market interests correspond to the Google product taxonomy. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.remove_audience(audience_id, async_req=True) + >>> thread = api.get_audience_segments_in_market_interests(advertiser_id, country, async_req=True) >>> result = thread.get() Args: - audience_id (str): The id of the audience to amend + advertiser_id (str): The advertiser ID. + country (str): The ISO 3166-1 alpha-2 country code. Keyword Args: _return_http_data_only (bool): response data without head status @@ -2853,7 +2580,7 @@ def remove_audience( async_req (bool): execute request asynchronously Returns: - DeleteAudienceResponse + InMarketAudienceSegmentInterestEntityV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -2882,9 +2609,11 @@ def remove_audience( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_id'] = \ - audience_id - return self.remove_audience_endpoint.call_with_http_info(**kwargs) + kwargs['advertiser_id'] = \ + advertiser_id + kwargs['country'] = \ + country + return self.get_audience_segments_in_market_interests_endpoint.call_with_http_info(**kwargs) def search_audience_segments( self, diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/campaign_api.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/campaign_api.py similarity index 91% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/campaign_api.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/campaign_api.py index 35c3711c..9e70b560 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/campaign_api.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/campaign_api.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,28 +21,28 @@ none_type, validate_and_convert_types ) -from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_entity_v1_response import AdSetAudienceLinkEntityV1Response -from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_input_entity_v1 import AdSetAudienceLinkInputEntityV1 -from criteo_api_marketingsolutions_v2023_07.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse -from criteo_api_marketingsolutions_v2023_07.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse -from criteo_api_marketingsolutions_v2023_07.model.campaign_list_response import CampaignListResponse -from criteo_api_marketingsolutions_v2023_07.model.campaign_response import CampaignResponse -from criteo_api_marketingsolutions_v2023_07.model.campaign_search_request import CampaignSearchRequest -from criteo_api_marketingsolutions_v2023_07.model.campaign_v23_q1_response import CampaignV23Q1Response -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_request import CreateAdSetRequest -from criteo_api_marketingsolutions_v2023_07.model.create_campaign_request import CreateCampaignRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_list_request import PatchAdSetCategoryBidListRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_result_list_response import PatchAdSetCategoryBidResultListResponse -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_list_request import PatchAdSetDisplayMultiplierListRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_result_list_response import PatchAdSetDisplayMultiplierResultListResponse -from criteo_api_marketingsolutions_v2023_07.model.patch_campaign_list_request import PatchCampaignListRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_result_campaign_list_response import PatchResultCampaignListResponse -from criteo_api_marketingsolutions_v2023_07.model.request_ad_set_search import RequestAdSetSearch -from criteo_api_marketingsolutions_v2023_07.model.requests_ad_set_id import RequestsAdSetId -from criteo_api_marketingsolutions_v2023_07.model.requests_patch_ad_set import RequestsPatchAdSet -from criteo_api_marketingsolutions_v2023_07.model.response_read_ad_set import ResponseReadAdSet -from criteo_api_marketingsolutions_v2023_07.model.responses_ad_set_id import ResponsesAdSetId -from criteo_api_marketingsolutions_v2023_07.model.responses_read_ad_set import ResponsesReadAdSet +from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_entity_v1_response import AdSetAudienceLinkEntityV1Response +from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_input_entity_v1 import AdSetAudienceLinkInputEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse +from criteo_api_marketingsolutions_v2024_10.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse +from criteo_api_marketingsolutions_v2024_10.model.ad_set_search_request_v24_q1 import AdSetSearchRequestV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.campaign_search_request_v23_q1 import CampaignSearchRequestV23Q1 +from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_list_response import CampaignV23Q1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_response import CampaignV23Q1Response +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_v24_q1_request import CreateAdSetV24Q1Request +from criteo_api_marketingsolutions_v2024_10.model.create_campaign_request import CreateCampaignRequest +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_list_request import PatchAdSetCategoryBidListRequest +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_result_list_response import PatchAdSetCategoryBidResultListResponse +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_list_request import PatchAdSetDisplayMultiplierListRequest +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_result_list_response import PatchAdSetDisplayMultiplierResultListResponse +from criteo_api_marketingsolutions_v2024_10.model.patch_campaign_list_request import PatchCampaignListRequest +from criteo_api_marketingsolutions_v2024_10.model.patch_result_campaign_list_response import PatchResultCampaignListResponse +from criteo_api_marketingsolutions_v2024_10.model.requests_ad_set_id import RequestsAdSetId +from criteo_api_marketingsolutions_v2024_10.model.requests_patch_ad_set_v24_q1 import RequestsPatchAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.response_read_ad_set_v24_q1 import ResponseReadAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.responses_ad_set_id import ResponsesAdSetId +from criteo_api_marketingsolutions_v2024_10.model.responses_ad_set_id_v24_q1 import ResponsesAdSetIdV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.responses_read_ad_set_v24_q1 import ResponsesReadAdSetV24Q1 class CampaignApi(object): @@ -56,24 +56,24 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.create_ad_set_endpoint = _Endpoint( + self.create_ad_set_v24_q1_endpoint = _Endpoint( settings={ - 'response_type': (ResponseReadAdSet,), + 'response_type': (ResponseReadAdSetV24Q1,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets', - 'operation_id': 'create_ad_set', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets', + 'operation_id': 'create_ad_set_v24_q1', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'create_ad_set_request', + 'create_ad_set_v24_q1_request', ], 'required': [ - 'create_ad_set_request', + 'create_ad_set_v24_q1_request', ], 'nullable': [ ], @@ -88,13 +88,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'create_ad_set_request': - (CreateAdSetRequest,), + 'create_ad_set_v24_q1_request': + (CreateAdSetV24Q1Request,), }, 'attribute_map': { }, 'location_map': { - 'create_ad_set_request': 'body', + 'create_ad_set_v24_q1_request': 'body', }, 'collection_format_map': { } @@ -121,7 +121,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/campaigns', + 'endpoint_path': '/2024-10/marketing-solutions/campaigns', 'operation_id': 'create_campaign', 'http_method': 'POST', 'servers': None, @@ -172,15 +172,15 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_ad_set_endpoint = _Endpoint( + self.get_ad_set_v24_q1_endpoint = _Endpoint( settings={ - 'response_type': (ResponseReadAdSet,), + 'response_type': (ResponseReadAdSetV24Q1,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets/{adSetId}', - 'operation_id': 'get_ad_set', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets/{ad-set-id}', + 'operation_id': 'get_ad_set_v24_q1', 'http_method': 'GET', 'servers': None, }, @@ -208,7 +208,7 @@ def __init__(self, api_client=None): (str,), }, 'attribute_map': { - 'ad_set_id': 'adSetId', + 'ad_set_id': 'ad-set-id', }, 'location_map': { 'ad_set_id': 'path', @@ -226,15 +226,15 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_campaign_endpoint = _Endpoint( + self.get_campaign_v23_q1_endpoint = _Endpoint( settings={ - 'response_type': (CampaignResponse,), + 'response_type': (CampaignV23Q1Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/campaigns/{campaign-id}', - 'operation_id': 'get_campaign', + 'endpoint_path': '/2024-10/marketing-solutions/campaigns/{campaign-id}', + 'operation_id': 'get_campaign_v23_q1', 'http_method': 'GET', 'servers': None, }, @@ -287,7 +287,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets/{ad-set-id}/category-bids', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets/{ad-set-id}/category-bids', 'operation_id': 'get_category_bid_list', 'http_method': 'GET', 'servers': None, @@ -341,7 +341,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets/{ad-set-id}/display-multipliers', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets/{ad-set-id}/display-multipliers', 'operation_id': 'get_display_multipliers', 'http_method': 'GET', 'servers': None, @@ -388,21 +388,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.patch_ad_sets_endpoint = _Endpoint( + self.patch_ad_sets_v24_q1_endpoint = _Endpoint( settings={ - 'response_type': (ResponsesAdSetId,), + 'response_type': (ResponsesAdSetIdV24Q1,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets', - 'operation_id': 'patch_ad_sets', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets', + 'operation_id': 'patch_ad_sets_v24_q1', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ - 'requests_patch_ad_set', + 'requests_patch_ad_set_v24_q1', ], 'required': [], 'nullable': [ @@ -418,13 +418,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'requests_patch_ad_set': - (RequestsPatchAdSet,), + 'requests_patch_ad_set_v24_q1': + (RequestsPatchAdSetV24Q1,), }, 'attribute_map': { }, 'location_map': { - 'requests_patch_ad_set': 'body', + 'requests_patch_ad_set_v24_q1': 'body', }, 'collection_format_map': { } @@ -451,7 +451,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/campaigns', + 'endpoint_path': '/2024-10/marketing-solutions/campaigns', 'operation_id': 'patch_campaigns', 'http_method': 'PATCH', 'servers': None, @@ -507,7 +507,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets/{ad-set-id}/category-bids', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets/{ad-set-id}/category-bids', 'operation_id': 'patch_category_bid_list', 'http_method': 'PATCH', 'servers': None, @@ -570,7 +570,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets/{ad-set-id}/display-multipliers', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets/{ad-set-id}/display-multipliers', 'operation_id': 'patch_display_multipliers', 'http_method': 'PATCH', 'servers': None, @@ -626,21 +626,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.search_ad_sets_endpoint = _Endpoint( + self.search_ad_sets_v24_q1_endpoint = _Endpoint( settings={ - 'response_type': (ResponsesReadAdSet,), + 'response_type': (ResponsesReadAdSetV24Q1,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets/search', - 'operation_id': 'search_ad_sets', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets/search', + 'operation_id': 'search_ad_sets_v24_q1', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'request_ad_set_search', + 'ad_set_search_request_v24_q1', ], 'required': [], 'nullable': [ @@ -656,13 +656,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'request_ad_set_search': - (RequestAdSetSearch,), + 'ad_set_search_request_v24_q1': + (AdSetSearchRequestV24Q1,), }, 'attribute_map': { }, 'location_map': { - 'request_ad_set_search': 'body', + 'ad_set_search_request_v24_q1': 'body', }, 'collection_format_map': { } @@ -682,21 +682,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.search_campaigns_endpoint = _Endpoint( + self.search_campaigns_v23_q1_endpoint = _Endpoint( settings={ - 'response_type': (CampaignListResponse,), + 'response_type': (CampaignV23Q1ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/campaigns/search', - 'operation_id': 'search_campaigns', + 'endpoint_path': '/2024-10/marketing-solutions/campaigns/search', + 'operation_id': 'search_campaigns_v23_q1', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'campaign_search_request', + 'campaign_search_request_v23_q1', ], 'required': [], 'nullable': [ @@ -712,13 +712,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'campaign_search_request': - (CampaignSearchRequest,), + 'campaign_search_request_v23_q1': + (CampaignSearchRequestV23Q1,), }, 'attribute_map': { }, 'location_map': { - 'campaign_search_request': 'body', + 'campaign_search_request_v23_q1': 'body', }, 'collection_format_map': { } @@ -745,7 +745,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets/start', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets/start', 'operation_id': 'start_ad_sets', 'http_method': 'POST', 'servers': None, @@ -801,7 +801,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets/stop', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets/stop', 'operation_id': 'stop_ad_sets', 'http_method': 'POST', 'servers': None, @@ -857,7 +857,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ad-sets/{ad-set-id}/audience', + 'endpoint_path': '/2024-10/marketing-solutions/ad-sets/{ad-set-id}/audience', 'operation_id': 'update_ad_set_audience', 'http_method': 'PUT', 'servers': None, @@ -915,22 +915,22 @@ def __init__(self, api_client=None): api_client=api_client ) - def create_ad_set( + def create_ad_set_v24_q1( self, - create_ad_set_request, + create_ad_set_v24_q1_request, **kwargs ): - """create_ad_set # noqa: E501 + """create_ad_set_v24_q1 # noqa: E501 Create the specified ad set # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_ad_set(create_ad_set_request, async_req=True) + >>> thread = api.create_ad_set_v24_q1(create_ad_set_v24_q1_request, async_req=True) >>> result = thread.get() Args: - create_ad_set_request (CreateAdSetRequest): the ad sets to create + create_ad_set_v24_q1_request (CreateAdSetV24Q1Request): the ad sets to create Keyword Args: _return_http_data_only (bool): response data without head status @@ -965,7 +965,7 @@ def create_ad_set( async_req (bool): execute request asynchronously Returns: - ResponseReadAdSet + ResponseReadAdSetV24Q1 If the method is called asynchronously, returns the request thread. """ @@ -994,9 +994,9 @@ def create_ad_set( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['create_ad_set_request'] = \ - create_ad_set_request - return self.create_ad_set_endpoint.call_with_http_info(**kwargs) + kwargs['create_ad_set_v24_q1_request'] = \ + create_ad_set_v24_q1_request + return self.create_ad_set_v24_q1_endpoint.call_with_http_info(**kwargs) def create_campaign( self, @@ -1081,18 +1081,18 @@ def create_campaign( create_campaign_request return self.create_campaign_endpoint.call_with_http_info(**kwargs) - def get_ad_set( + def get_ad_set_v24_q1( self, ad_set_id, **kwargs ): - """get_ad_set # noqa: E501 + """get_ad_set_v24_q1 # noqa: E501 Get the data for the specified ad set # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_ad_set(ad_set_id, async_req=True) + >>> thread = api.get_ad_set_v24_q1(ad_set_id, async_req=True) >>> result = thread.get() Args: @@ -1131,7 +1131,7 @@ def get_ad_set( async_req (bool): execute request asynchronously Returns: - ResponseReadAdSet + ResponseReadAdSetV24Q1 If the method is called asynchronously, returns the request thread. """ @@ -1162,20 +1162,20 @@ def get_ad_set( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['ad_set_id'] = \ ad_set_id - return self.get_ad_set_endpoint.call_with_http_info(**kwargs) + return self.get_ad_set_v24_q1_endpoint.call_with_http_info(**kwargs) - def get_campaign( + def get_campaign_v23_q1( self, campaign_id, **kwargs ): - """get_campaign # noqa: E501 + """get_campaign_v23_q1 # noqa: E501 Get the data for the specified campaign # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_campaign(campaign_id, async_req=True) + >>> thread = api.get_campaign_v23_q1(campaign_id, async_req=True) >>> result = thread.get() Args: @@ -1214,7 +1214,7 @@ def get_campaign( async_req (bool): execute request asynchronously Returns: - CampaignResponse + CampaignV23Q1Response If the method is called asynchronously, returns the request thread. """ @@ -1245,7 +1245,7 @@ def get_campaign( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['campaign_id'] = \ campaign_id - return self.get_campaign_endpoint.call_with_http_info(**kwargs) + return self.get_campaign_v23_q1_endpoint.call_with_http_info(**kwargs) def get_category_bid_list( self, @@ -1413,22 +1413,22 @@ def get_display_multipliers( ad_set_id return self.get_display_multipliers_endpoint.call_with_http_info(**kwargs) - def patch_ad_sets( + def patch_ad_sets_v24_q1( self, **kwargs ): - """patch_ad_sets # noqa: E501 + """patch_ad_sets_v24_q1 # noqa: E501 Patch a list of AdSets. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_ad_sets(async_req=True) + >>> thread = api.patch_ad_sets_v24_q1(async_req=True) >>> result = thread.get() Keyword Args: - requests_patch_ad_set (RequestsPatchAdSet): List of adsets to patch.. [optional] + requests_patch_ad_set_v24_q1 (RequestsPatchAdSetV24Q1): List of adsets to patch.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -1461,7 +1461,7 @@ def patch_ad_sets( async_req (bool): execute request asynchronously Returns: - ResponsesAdSetId + ResponsesAdSetIdV24Q1 If the method is called asynchronously, returns the request thread. """ @@ -1490,7 +1490,7 @@ def patch_ad_sets( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.patch_ad_sets_endpoint.call_with_http_info(**kwargs) + return self.patch_ad_sets_v24_q1_endpoint.call_with_http_info(**kwargs) def patch_campaigns( self, @@ -1739,22 +1739,22 @@ def patch_display_multipliers( ad_set_id return self.patch_display_multipliers_endpoint.call_with_http_info(**kwargs) - def search_ad_sets( + def search_ad_sets_v24_q1( self, **kwargs ): - """search_ad_sets # noqa: E501 + """search_ad_sets_v24_q1 # noqa: E501 Search for ad sets # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_ad_sets(async_req=True) + >>> thread = api.search_ad_sets_v24_q1(async_req=True) >>> result = thread.get() Keyword Args: - request_ad_set_search (RequestAdSetSearch): [optional] + ad_set_search_request_v24_q1 (AdSetSearchRequestV24Q1): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -1787,7 +1787,7 @@ def search_ad_sets( async_req (bool): execute request asynchronously Returns: - ResponsesReadAdSet + ResponsesReadAdSetV24Q1 If the method is called asynchronously, returns the request thread. """ @@ -1816,24 +1816,24 @@ def search_ad_sets( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.search_ad_sets_endpoint.call_with_http_info(**kwargs) + return self.search_ad_sets_v24_q1_endpoint.call_with_http_info(**kwargs) - def search_campaigns( + def search_campaigns_v23_q1( self, **kwargs ): - """search_campaigns # noqa: E501 + """search_campaigns_v23_q1 # noqa: E501 Search for campaigns # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_campaigns(async_req=True) + >>> thread = api.search_campaigns_v23_q1(async_req=True) >>> result = thread.get() Keyword Args: - campaign_search_request (CampaignSearchRequest): filters on campaigns. [optional] + campaign_search_request_v23_q1 (CampaignSearchRequestV23Q1): filters on campaigns. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -1866,7 +1866,7 @@ def search_campaigns( async_req (bool): execute request asynchronously Returns: - CampaignListResponse + CampaignV23Q1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1895,7 +1895,7 @@ def search_campaigns( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.search_campaigns_endpoint.call_with_http_info(**kwargs) + return self.search_campaigns_v23_q1_endpoint.call_with_http_info(**kwargs) def start_ad_sets( self, diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/creative_api.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/creative_api.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/creative_api.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/creative_api.py index 2240b47a..830802c2 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/creative_api.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/creative_api.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,17 +21,17 @@ none_type, validate_and_convert_types ) -from criteo_api_marketingsolutions_v2023_07.model.ad_list_response import AdListResponse -from criteo_api_marketingsolutions_v2023_07.model.ad_response import AdResponse -from criteo_api_marketingsolutions_v2023_07.model.ad_write_request import AdWriteRequest -from criteo_api_marketingsolutions_v2023_07.model.coupon_list_response import CouponListResponse -from criteo_api_marketingsolutions_v2023_07.model.coupon_response import CouponResponse -from criteo_api_marketingsolutions_v2023_07.model.coupon_supported_sizes_response import CouponSupportedSizesResponse -from criteo_api_marketingsolutions_v2023_07.model.create_coupon_request import CreateCouponRequest -from criteo_api_marketingsolutions_v2023_07.model.creative_list_response import CreativeListResponse -from criteo_api_marketingsolutions_v2023_07.model.creative_response import CreativeResponse -from criteo_api_marketingsolutions_v2023_07.model.creative_write_request import CreativeWriteRequest -from criteo_api_marketingsolutions_v2023_07.model.update_coupon_request import UpdateCouponRequest +from criteo_api_marketingsolutions_v2024_10.model.ad_list_response import AdListResponse +from criteo_api_marketingsolutions_v2024_10.model.ad_response import AdResponse +from criteo_api_marketingsolutions_v2024_10.model.ad_write_request import AdWriteRequest +from criteo_api_marketingsolutions_v2024_10.model.coupon_list_response import CouponListResponse +from criteo_api_marketingsolutions_v2024_10.model.coupon_response import CouponResponse +from criteo_api_marketingsolutions_v2024_10.model.coupon_supported_sizes_response import CouponSupportedSizesResponse +from criteo_api_marketingsolutions_v2024_10.model.create_coupon_request import CreateCouponRequest +from criteo_api_marketingsolutions_v2024_10.model.creative_list_response import CreativeListResponse +from criteo_api_marketingsolutions_v2024_10.model.creative_response import CreativeResponse +from criteo_api_marketingsolutions_v2024_10.model.creative_write_request import CreativeWriteRequest +from criteo_api_marketingsolutions_v2024_10.model.update_coupon_request import UpdateCouponRequest class CreativeApi(object): @@ -52,7 +52,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/ads', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/ads', 'operation_id': 'create_advertiser_ad', 'http_method': 'POST', 'servers': None, @@ -116,7 +116,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons', 'operation_id': 'create_advertiser_coupon', 'http_method': 'POST', 'servers': None, @@ -180,7 +180,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/creatives', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/creatives', 'operation_id': 'create_advertiser_creative', 'http_method': 'POST', 'servers': None, @@ -244,7 +244,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ads/{id}', + 'endpoint_path': '/2024-10/marketing-solutions/ads/{id}', 'operation_id': 'delete_ad', 'http_method': 'DELETE', 'servers': None, @@ -294,7 +294,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}', 'operation_id': 'delete_advertiser_coupon', 'http_method': 'DELETE', 'servers': None, @@ -350,7 +350,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/creatives/{id}', + 'endpoint_path': '/2024-10/marketing-solutions/creatives/{id}', 'operation_id': 'delete_creative', 'http_method': 'DELETE', 'servers': None, @@ -400,7 +400,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}', 'operation_id': 'edit_advertiser_coupon', 'http_method': 'PUT', 'servers': None, @@ -470,7 +470,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/creatives/{id}', + 'endpoint_path': '/2024-10/marketing-solutions/creatives/{id}', 'operation_id': 'edit_creative', 'http_method': 'PUT', 'servers': None, @@ -534,7 +534,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/creatives/{id}/preview', + 'endpoint_path': '/2024-10/marketing-solutions/creatives/{id}/preview', 'operation_id': 'generate_creative_preview', 'http_method': 'POST', 'servers': None, @@ -598,7 +598,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/ads/{id}', + 'endpoint_path': '/2024-10/marketing-solutions/ads/{id}', 'operation_id': 'get_ad', 'http_method': 'GET', 'servers': None, @@ -652,7 +652,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/ads', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/ads', 'operation_id': 'get_advertiser_ads', 'http_method': 'GET', 'servers': None, @@ -716,7 +716,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}', 'operation_id': 'get_advertiser_coupon', 'http_method': 'GET', 'servers': None, @@ -776,7 +776,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}/preview', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}/preview', 'operation_id': 'get_advertiser_coupon_preview', 'http_method': 'GET', 'servers': None, @@ -846,7 +846,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons-supported-sizes', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons-supported-sizes', 'operation_id': 'get_advertiser_coupon_supported_sizes', 'http_method': 'GET', 'servers': None, @@ -905,7 +905,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons', 'operation_id': 'get_advertiser_coupons', 'http_method': 'GET', 'servers': None, @@ -969,7 +969,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/advertisers/{advertiser-id}/creatives', + 'endpoint_path': '/2024-10/marketing-solutions/advertisers/{advertiser-id}/creatives', 'operation_id': 'get_advertiser_creatives', 'http_method': 'GET', 'servers': None, @@ -1033,7 +1033,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/creatives/{id}', + 'endpoint_path': '/2024-10/marketing-solutions/creatives/{id}', 'operation_id': 'get_creative', 'http_method': 'GET', 'servers': None, diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/gateway_api.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/gateway_api.py similarity index 94% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/gateway_api.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/gateway_api.py index 55cfd327..f159f1c7 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api/gateway_api.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api/gateway_api.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,7 +21,7 @@ none_type, validate_and_convert_types ) -from criteo_api_marketingsolutions_v2023_07.model.application_summary_model_response import ApplicationSummaryModelResponse +from criteo_api_marketingsolutions_v2024_10.model.application_summary_model_response import ApplicationSummaryModelResponse class GatewayApi(object): @@ -42,7 +42,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/marketing-solutions/me', + 'endpoint_path': '/2024-10/marketing-solutions/me', 'operation_id': 'get_current_application', 'http_method': 'GET', 'servers': None, diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api_client.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api_client.py similarity index 99% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api_client.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api_client.py index 3a489330..82fd279b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api_client.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api_client.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -20,10 +20,10 @@ from urllib3.fields import RequestField -from criteo_api_marketingsolutions_v2023_07 import rest -from criteo_api_marketingsolutions_v2023_07.configuration import Configuration -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiTypeError, ApiValueError, ApiException -from criteo_api_marketingsolutions_v2023_07.model_utils import ( +from criteo_api_marketingsolutions_v2024_10 import rest +from criteo_api_marketingsolutions_v2024_10.configuration import Configuration +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiTypeError, ApiValueError, ApiException +from criteo_api_marketingsolutions_v2024_10.model_utils import ( ModelNormal, ModelSimple, ModelComposed, @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2023.07.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2024.10.0.241029/python' def __enter__(self): return self diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api_client_builder.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api_client_builder.py similarity index 87% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api_client_builder.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api_client_builder.py index 9ade8eb9..a6d59b67 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/api_client_builder.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/api_client_builder.py @@ -1,6 +1,6 @@ -from criteo_api_marketingsolutions_v2023_07.configuration import Configuration -from criteo_api_marketingsolutions_v2023_07.criteo_api_client import CriteoApiClient -from criteo_api_marketingsolutions_v2023_07 import flow_constants +from criteo_api_marketingsolutions_v2024_10.configuration import Configuration +from criteo_api_marketingsolutions_v2024_10.criteo_api_client import CriteoApiClient +from criteo_api_marketingsolutions_v2024_10 import flow_constants class ApiClientBuilder : diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/apis/__init__.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/apis/__init__.py similarity index 52% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/apis/__init__.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/apis/__init__.py index acfeb7c0..9e10bac0 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/apis/__init__.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/apis/__init__.py @@ -6,7 +6,7 @@ # raise a `RecursionError`. # In order to avoid this, import only the API that you directly need like: # -# from criteo_api_marketingsolutions_v2023_07.api.advertiser_api import AdvertiserApi +# from criteo_api_marketingsolutions_v2024_10.api.advertiser_api import AdvertiserApi # # or import this package, but before doing it, use: # @@ -14,9 +14,9 @@ # sys.setrecursionlimit(n) # Import APIs into API package: -from criteo_api_marketingsolutions_v2023_07.api.advertiser_api import AdvertiserApi -from criteo_api_marketingsolutions_v2023_07.api.analytics_api import AnalyticsApi -from criteo_api_marketingsolutions_v2023_07.api.audience_api import AudienceApi -from criteo_api_marketingsolutions_v2023_07.api.campaign_api import CampaignApi -from criteo_api_marketingsolutions_v2023_07.api.creative_api import CreativeApi -from criteo_api_marketingsolutions_v2023_07.api.gateway_api import GatewayApi +from criteo_api_marketingsolutions_v2024_10.api.advertiser_api import AdvertiserApi +from criteo_api_marketingsolutions_v2024_10.api.analytics_api import AnalyticsApi +from criteo_api_marketingsolutions_v2024_10.api.audience_api import AudienceApi +from criteo_api_marketingsolutions_v2024_10.api.campaign_api import CampaignApi +from criteo_api_marketingsolutions_v2024_10.api.creative_api import CreativeApi +from criteo_api_marketingsolutions_v2024_10.api.gateway_api import GatewayApi diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/configuration.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/configuration.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/configuration.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/configuration.py index 668132d6..b7a33f49 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/configuration.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/configuration.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -15,7 +15,7 @@ import urllib3 from http import client as http_client -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiValueError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiValueError JSON_SCHEMA_VALIDATION_KEYWORDS = { @@ -133,7 +133,7 @@ def __init__(self, host=None, self.logger = {} """Logging Settings """ - self.logger["package_logger"] = logging.getLogger("criteo_api_marketingsolutions_v2023_07") + self.logger["package_logger"] = logging.getLogger("criteo_api_marketingsolutions_v2024_10") self.logger["urllib3_logger"] = logging.getLogger("urllib3") self.logger_format = '%(asctime)s %(levelname)s %(message)s' """Log format @@ -394,8 +394,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 2023-07\n"\ - "SDK Package Version: 2023.07.0.240808".\ + "Version of the API: 2024-10\n"\ + "SDK Package Version: 2024.10.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/criteo_api_client.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/criteo_api_client.py similarity index 80% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/criteo_api_client.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/criteo_api_client.py index a3684ff6..8034bedc 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/criteo_api_client.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/criteo_api_client.py @@ -1,5 +1,5 @@ -from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient -from criteo_api_marketingsolutions_v2023_07.criteo_rest import CriteoRESTClientObject +from criteo_api_marketingsolutions_v2024_10.api_client import ApiClient +from criteo_api_marketingsolutions_v2024_10.criteo_rest import CriteoRESTClientObject class CriteoApiClient(ApiClient): def __init__(self, configuration=None, header_name=None, header_value=None, diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/criteo_auth.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/criteo_auth.py similarity index 95% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/criteo_auth.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/criteo_auth.py index 1e71ba6b..026661a3 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/criteo_auth.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/criteo_auth.py @@ -1,8 +1,8 @@ import json from datetime import datetime, timedelta -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiException -from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient -from criteo_api_marketingsolutions_v2023_07 import flow_constants +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiException +from criteo_api_marketingsolutions_v2024_10.api_client import ApiClient +from criteo_api_marketingsolutions_v2024_10 import flow_constants class Token(object): diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/criteo_rest.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/criteo_rest.py similarity index 94% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/criteo_rest.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/criteo_rest.py index b86f09bd..2794474a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/criteo_rest.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/criteo_rest.py @@ -1,6 +1,6 @@ -from criteo_api_marketingsolutions_v2023_07.rest import RESTClientObject -from criteo_api_marketingsolutions_v2023_07.criteo_auth import * -from criteo_api_marketingsolutions_v2023_07 import flow_constants +from criteo_api_marketingsolutions_v2024_10.rest import RESTClientObject +from criteo_api_marketingsolutions_v2024_10.criteo_auth import * +from criteo_api_marketingsolutions_v2024_10 import flow_constants class CriteoRESTClientObject(RESTClientObject): diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/exceptions.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/exceptions.py similarity index 99% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/exceptions.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/exceptions.py index 5c8fbfbb..92009fb6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/exceptions.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/exceptions.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/flow_constants.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/flow_constants.py similarity index 100% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/flow_constants.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/flow_constants.py diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/__init__.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/__init__.py similarity index 82% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/__init__.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/__init__.py index a86de51a..33ae1435 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/__init__.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/__init__.py @@ -2,4 +2,4 @@ # reference which would not work in python2 # do not import all models into this module because that uses a lot of memory and stack frames # if you need the ability to import all models from one package, import them with -# from criteo_api_marketingsolutions_v2023_07.models import ModelA, ModelB +# from criteo_api_marketingsolutions_v2024_10.models import ModelA, ModelB diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad.py index eedff347..cbddf25a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_list_response.py index efc03c39..58bf81a6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_resource import AdResource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.ad_resource import AdResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AdResource'] = AdResource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_resource.py index ff59c1fb..69ce16a4 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad import Ad + from criteo_api_marketingsolutions_v2024_10.model.ad import Ad globals()['Ad'] = Ad diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_response.py index 506b0f33..871781e1 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_resource import AdResource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.ad_resource import AdResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AdResource'] = AdResource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1.py index c6f6ad36..ed25e4d1 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1_resource.py index c8552036..03992e46 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_entity_v1 import AdSetAudienceLinkEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_entity_v1 import AdSetAudienceLinkEntityV1 globals()['AdSetAudienceLinkEntityV1'] = AdSetAudienceLinkEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1_response.py index c430a1ad..4b2bd36a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_entity_v1_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_entity_v1_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_entity_v1_resource import AdSetAudienceLinkEntityV1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_entity_v1_resource import AdSetAudienceLinkEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AdSetAudienceLinkEntityV1Resource'] = AdSetAudienceLinkEntityV1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_input_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_input_entity_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_input_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_input_entity_v1.py index d2674142..5a879034 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_audience_link_input_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_audience_link_input_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_entity_v1_resource import AdSetAudienceLinkEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_entity_v1_resource import AdSetAudienceLinkEntityV1Resource globals()['AdSetAudienceLinkEntityV1Resource'] = AdSetAudienceLinkEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid.py index eee2f092..f03f66f0 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid_list_response.py index b6f1b2a1..ef405bc2 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_category_bid_resource import AdSetCategoryBidResource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.ad_set_category_bid_resource import AdSetCategoryBidResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AdSetCategoryBidResource'] = AdSetCategoryBidResource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid_resource.py index c1ceff18..7571527a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_category_bid_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_category_bid_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_category_bid import AdSetCategoryBid + from criteo_api_marketingsolutions_v2024_10.model.ad_set_category_bid import AdSetCategoryBid globals()['AdSetCategoryBid'] = AdSetCategoryBid diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_delivery_limitations_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_delivery_limitations_v24_q1.py index 5a8348f0..bee73d9f 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_delivery_limitations_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier.py index 6979462b..cffdf9b6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier_list_response.py index 4ca6f282..aeb58025 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_display_multiplier_resource import AdSetDisplayMultiplierResource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.ad_set_display_multiplier_resource import AdSetDisplayMultiplierResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AdSetDisplayMultiplierResource'] = AdSetDisplayMultiplierResource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier_resource.py index c4749c61..4dbf491e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_display_multiplier_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_display_multiplier_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_display_multiplier import AdSetDisplayMultiplier + from criteo_api_marketingsolutions_v2024_10.model.ad_set_display_multiplier import AdSetDisplayMultiplier globals()['AdSetDisplayMultiplier'] = AdSetDisplayMultiplier diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_frequency_capping_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_frequency_capping_v24_q1.py index 86b8dbf5..7f4de1cc 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_frequency_capping_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_geo_location_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_geo_location_v24_q1.py index 4bdf5384..41d31a07 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_geo_location_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.nillable_ad_set_targeting_rule_v24_q1 import NillableAdSetTargetingRuleV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.nillable_ad_set_targeting_rule_v24_q1 import NillableAdSetTargetingRuleV24Q1 globals()['NillableAdSetTargetingRuleV24Q1'] = NillableAdSetTargetingRuleV24Q1 diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_search_filter_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_search_filter_v24_q1.py index e240de81..d34d942a 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_search_filter_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_search_request_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_search_request_v24_q1.py index c6c7bc34..ca0369a2 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_search_request_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.ad_set_search_filter_v24_q1 import AdSetSearchFilterV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_search_filter_v24_q1 import AdSetSearchFilterV24Q1 globals()['AdSetSearchFilterV24Q1'] = AdSetSearchFilterV24Q1 diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_targeting_rule_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_targeting_rule_v24_q1.py index 8451c1a8..a8f7cf48 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_targeting_rule_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_targeting_v24_q1.py similarity index 95% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_targeting_v24_q1.py index f732de40..c99a5061 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_set_targeting_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.ad_set_delivery_limitations_v24_q1 import AdSetDeliveryLimitationsV24Q1 - from criteo_api_marketingsolutions_preview.model.ad_set_frequency_capping_v24_q1 import AdSetFrequencyCappingV24Q1 - from criteo_api_marketingsolutions_preview.model.ad_set_geo_location_v24_q1 import AdSetGeoLocationV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_delivery_limitations_v24_q1 import AdSetDeliveryLimitationsV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_frequency_capping_v24_q1 import AdSetFrequencyCappingV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_geo_location_v24_q1 import AdSetGeoLocationV24Q1 globals()['AdSetDeliveryLimitationsV24Q1'] = AdSetDeliveryLimitationsV24Q1 globals()['AdSetFrequencyCappingV24Q1'] = AdSetFrequencyCappingV24Q1 globals()['AdSetGeoLocationV24Q1'] = AdSetGeoLocationV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_write.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_write.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_write.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_write.py index cc485f50..0f9ac42a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_write.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_write.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_write_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_write_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_write_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_write_request.py index aa889443..3cc62270 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_write_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_write_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_write_resource import AdWriteResource + from criteo_api_marketingsolutions_v2024_10.model.ad_write_resource import AdWriteResource globals()['AdWriteResource'] = AdWriteResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_write_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_write_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_write_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_write_resource.py index bf037047..b4d57115 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_write_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/ad_write_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_write import AdWrite + from criteo_api_marketingsolutions_v2024_10.model.ad_write import AdWrite globals()['AdWrite'] = AdWrite diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/adaptive_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/adaptive_attributes.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/adaptive_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/adaptive_attributes.py index 9a419d03..df314cc5 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/adaptive_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/adaptive_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.adaptive_colors import AdaptiveColors - from criteo_api_marketingsolutions_v2023_07.model.image_set import ImageSet - from criteo_api_marketingsolutions_v2023_07.model.image_shape import ImageShape - from criteo_api_marketingsolutions_v2023_07.model.video_detail import VideoDetail + from criteo_api_marketingsolutions_v2024_10.model.adaptive_colors import AdaptiveColors + from criteo_api_marketingsolutions_v2024_10.model.image_set import ImageSet + from criteo_api_marketingsolutions_v2024_10.model.image_shape import ImageShape + from criteo_api_marketingsolutions_v2024_10.model.video_detail import VideoDetail globals()['AdaptiveColors'] = AdaptiveColors globals()['ImageSet'] = ImageSet globals()['ImageShape'] = ImageShape diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/adaptive_colors.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/adaptive_colors.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/adaptive_colors.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/adaptive_colors.py index 8d872b4c..822d7e01 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/adaptive_colors.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/adaptive_colors.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/adaptive_write_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/adaptive_write_attributes.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/adaptive_write_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/adaptive_write_attributes.py index fbd6746e..f43cbeb6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/adaptive_write_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/adaptive_write_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.adaptive_colors import AdaptiveColors - from criteo_api_marketingsolutions_v2023_07.model.image_set_base64 import ImageSetBase64 + from criteo_api_marketingsolutions_v2024_10.model.adaptive_colors import AdaptiveColors + from criteo_api_marketingsolutions_v2024_10.model.image_set_base64 import ImageSetBase64 globals()['AdaptiveColors'] = AdaptiveColors globals()['ImageSetBase64'] = ImageSetBase64 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/algebra_node_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/algebra_node_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/algebra_node_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/algebra_node_v1.py index 7a3ca031..ebf30556 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/algebra_node_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/algebra_node_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/application_summary_model.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/application_summary_model.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/application_summary_model.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/application_summary_model.py index a0fe8854..67e7dce7 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/application_summary_model.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/application_summary_model.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/application_summary_model_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/application_summary_model_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/application_summary_model_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/application_summary_model_resource.py index 9466ec04..3604d5a3 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/application_summary_model_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/application_summary_model_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.application_summary_model import ApplicationSummaryModel + from criteo_api_marketingsolutions_v2024_10.model.application_summary_model import ApplicationSummaryModel globals()['ApplicationSummaryModel'] = ApplicationSummaryModel diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/application_summary_model_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/application_summary_model_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/application_summary_model_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/application_summary_model_response.py index 2427cc71..52ac98ef 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/application_summary_model_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/application_summary_model_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.application_summary_model_resource import ApplicationSummaryModelResource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.application_summary_model_resource import ApplicationSummaryModelResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['ApplicationSummaryModelResource'] = ApplicationSummaryModelResource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_bulk_create_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_bulk_create_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_bulk_create_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_bulk_create_input_v1.py index 12619fdb..88681a8f 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_bulk_create_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_bulk_create_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_create_entity_v1_resource import AudienceCreateEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_create_entity_v1_resource import AudienceCreateEntityV1Resource globals()['AudienceCreateEntityV1Resource'] = AudienceCreateEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_bulk_delete_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_bulk_delete_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_bulk_delete_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_bulk_delete_input_v1.py index 7986d3bd..b4e34534 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_bulk_delete_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_bulk_delete_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_delete_entity_v1_resource import AudienceDeleteEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_delete_entity_v1_resource import AudienceDeleteEntityV1Resource globals()['AudienceDeleteEntityV1Resource'] = AudienceDeleteEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_bulk_update_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_bulk_update_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_bulk_update_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_bulk_update_input_v1.py index 155e4436..0f1da646 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_bulk_update_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_bulk_update_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_update_entity_v1_resource import AudienceUpdateEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_update_entity_v1_resource import AudienceUpdateEntityV1Resource globals()['AudienceUpdateEntityV1Resource'] = AudienceUpdateEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_compute_size_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_compute_size_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_compute_size_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_compute_size_entity_v1_resource.py index 225d13dc..94ef1576 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_compute_size_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_compute_size_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_compute_sizes_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_compute_sizes_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_compute_sizes_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_compute_sizes_input_v1.py index f3b80789..c825653b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_compute_sizes_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_compute_sizes_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_compute_size_entity_v1_resource import AudienceComputeSizeEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_compute_size_entity_v1_resource import AudienceComputeSizeEntityV1Resource globals()['AudienceComputeSizeEntityV1Resource'] = AudienceComputeSizeEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_create_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_create_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_create_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_create_entity_v1.py index 1b8aa140..65f3db60 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_create_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_create_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.algebra_node_v1 import AlgebraNodeV1 + from criteo_api_marketingsolutions_v2024_10.model.algebra_node_v1 import AlgebraNodeV1 globals()['AlgebraNodeV1'] = AlgebraNodeV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_create_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_create_entity_v1_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_create_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_create_entity_v1_resource.py index c14b07f8..ceb74dc0 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_create_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_create_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_create_entity_v1 import AudienceCreateEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_create_entity_v1 import AudienceCreateEntityV1 globals()['AudienceCreateEntityV1'] = AudienceCreateEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_delete_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_delete_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_delete_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_delete_entity_v1_resource.py index 0d492800..8ae4c139 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_delete_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_delete_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1.py index a13ab3cb..423aff20 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.algebra_node_v1 import AlgebraNodeV1 + from criteo_api_marketingsolutions_v2024_10.model.algebra_node_v1 import AlgebraNodeV1 globals()['AlgebraNodeV1'] = AlgebraNodeV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_audience_search_metadata_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_audience_search_metadata_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_audience_search_metadata_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_audience_search_metadata_v1_list_response.py index d7050b54..5035b775 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_audience_search_metadata_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_resource import AudienceEntityV1Resource - from criteo_api_marketingsolutions_v2023_07.model.audience_search_metadata_v1 import AudienceSearchMetadataV1 - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_resource import AudienceEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_search_metadata_v1 import AudienceSearchMetadataV1 + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceEntityV1Resource'] = AudienceEntityV1Resource globals()['AudienceSearchMetadataV1'] = AudienceSearchMetadataV1 globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_list_response.py index e20fa564..4f5ac82f 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_resource import AudienceEntityV1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_resource import AudienceEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceEntityV1Resource'] = AudienceEntityV1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_resource.py index fb25d9e9..416ed394 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1 import AudienceEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1 import AudienceEntityV1 globals()['AudienceEntityV1'] = AudienceEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_error.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_error.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_error.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_error.py index 6743df98..7aa48f3f 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_error.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_error.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_entity_v1.py index b1a9b3f4..bacbc991 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.algebra_node_v1 import AlgebraNodeV1 + from criteo_api_marketingsolutions_v2024_10.model.algebra_node_v1 import AlgebraNodeV1 globals()['AlgebraNodeV1'] = AlgebraNodeV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_entity_v1_resource.py index df9136ed..b98b1325 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_estimate_size_entity_v1 import AudienceEstimateSizeEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_estimate_size_entity_v1 import AudienceEstimateSizeEntityV1 globals()['AudienceEstimateSizeEntityV1'] = AudienceEstimateSizeEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_input_v1.py index 363f924b..49e7b2a7 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_estimate_size_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_estimate_size_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_estimate_size_entity_v1_resource import AudienceEstimateSizeEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_estimate_size_entity_v1_resource import AudienceEstimateSizeEntityV1Resource globals()['AudienceEstimateSizeEntityV1Resource'] = AudienceEstimateSizeEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_id_entity_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_id_entity_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_id_entity_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_id_entity_v1_list_response.py index 61d81b4c..6e9d013a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_id_entity_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_id_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_id_entity_v1_resource import AudienceIdEntityV1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_id_entity_v1_resource import AudienceIdEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceIdEntityV1Resource'] = AudienceIdEntityV1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_id_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_id_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_id_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_id_entity_v1_resource.py index 2ddc7612..6a1fd97e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_id_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_id_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_name_description.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_name_description.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_name_description.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_name_description.py index 9821182c..71fc0aa5 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_name_description.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_name_description.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_entity_v1.py index 20e735fa..01580245 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_entity_v1_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_entity_v1_resource.py index 19e403d7..abec2531 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_search_entity_v1 import AudienceSearchEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_search_entity_v1 import AudienceSearchEntityV1 globals()['AudienceSearchEntityV1'] = AudienceSearchEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_input_v1.py index 52dd6e5b..b3b43477 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_search_entity_v1_resource import AudienceSearchEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_search_entity_v1_resource import AudienceSearchEntityV1Resource globals()['AudienceSearchEntityV1Resource'] = AudienceSearchEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_metadata_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_metadata_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_metadata_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_metadata_v1.py index 31c45a6a..31c5f4ec 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_search_metadata_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_search_metadata_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_create_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_create_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_create_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_create_input_v1.py index 2a79d764..7a06a3ac 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_create_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_create_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_create_entity_v1_resource import AudienceSegmentCreateEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_create_entity_v1_resource import AudienceSegmentCreateEntityV1Resource globals()['AudienceSegmentCreateEntityV1Resource'] = AudienceSegmentCreateEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_delete_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_delete_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_delete_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_delete_input_v1.py index 0275bd1a..7e1bc167 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_delete_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_delete_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_delete_entity_v1_resource import AudienceSegmentDeleteEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_delete_entity_v1_resource import AudienceSegmentDeleteEntityV1Resource globals()['AudienceSegmentDeleteEntityV1Resource'] = AudienceSegmentDeleteEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_update_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_update_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_update_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_update_input_v1.py index a6f3880e..8b8ff082 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_bulk_update_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_bulk_update_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_update_entity_v1_resource import AudienceSegmentUpdateEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_update_entity_v1_resource import AudienceSegmentUpdateEntityV1Resource globals()['AudienceSegmentUpdateEntityV1Resource'] = AudienceSegmentUpdateEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_compute_size_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_compute_size_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_compute_size_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_compute_size_entity_v1_resource.py index 13f30114..eb83058c 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_compute_size_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_compute_size_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_compute_sizes_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_compute_sizes_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_compute_sizes_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_compute_sizes_input_v1.py index 8b031163..ba4403a9 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_compute_sizes_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_compute_sizes_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_compute_size_entity_v1_resource import AudienceSegmentComputeSizeEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_compute_size_entity_v1_resource import AudienceSegmentComputeSizeEntityV1Resource globals()['AudienceSegmentComputeSizeEntityV1Resource'] = AudienceSegmentComputeSizeEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_create_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_create_entity_v1.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_create_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_create_entity_v1.py index 0f6edfb1..018a4fe5 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_create_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_create_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.in_market_create_v1 import InMarketCreateV1 - from criteo_api_marketingsolutions_v2023_07.model.location_create_v1 import LocationCreateV1 - from criteo_api_marketingsolutions_v2023_07.model.lookalike_create_v1 import LookalikeCreateV1 - from criteo_api_marketingsolutions_v2023_07.model.prospecting_create_v1 import ProspectingCreateV1 - from criteo_api_marketingsolutions_v2023_07.model.retargeting_create_v1 import RetargetingCreateV1 + from criteo_api_marketingsolutions_v2024_10.model.in_market_create_v1 import InMarketCreateV1 + from criteo_api_marketingsolutions_v2024_10.model.location_create_v1 import LocationCreateV1 + from criteo_api_marketingsolutions_v2024_10.model.lookalike_create_v1 import LookalikeCreateV1 + from criteo_api_marketingsolutions_v2024_10.model.prospecting_create_v1 import ProspectingCreateV1 + from criteo_api_marketingsolutions_v2024_10.model.retargeting_create_v1 import RetargetingCreateV1 globals()['InMarketCreateV1'] = InMarketCreateV1 globals()['LocationCreateV1'] = LocationCreateV1 globals()['LookalikeCreateV1'] = LookalikeCreateV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_create_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_create_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_create_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_create_entity_v1_resource.py index ca0c10dc..91d85763 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_create_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_create_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_create_entity_v1 import AudienceSegmentCreateEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_create_entity_v1 import AudienceSegmentCreateEntityV1 globals()['AudienceSegmentCreateEntityV1'] = AudienceSegmentCreateEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_delete_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_delete_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_delete_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_delete_entity_v1_resource.py index 45c2d53e..90fbdc54 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_delete_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_delete_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1.py index bed189a5..4b0d4747 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.behavioral_v1 import BehavioralV1 - from criteo_api_marketingsolutions_v2023_07.model.contact_list_v1 import ContactListV1 - from criteo_api_marketingsolutions_v2023_07.model.in_market_v1 import InMarketV1 - from criteo_api_marketingsolutions_v2023_07.model.location_v1 import LocationV1 - from criteo_api_marketingsolutions_v2023_07.model.lookalike_v1 import LookalikeV1 - from criteo_api_marketingsolutions_v2023_07.model.prospecting_v1 import ProspectingV1 - from criteo_api_marketingsolutions_v2023_07.model.retargeting_v1 import RetargetingV1 + from criteo_api_marketingsolutions_v2024_10.model.behavioral_v1 import BehavioralV1 + from criteo_api_marketingsolutions_v2024_10.model.contact_list_v1 import ContactListV1 + from criteo_api_marketingsolutions_v2024_10.model.in_market_v1 import InMarketV1 + from criteo_api_marketingsolutions_v2024_10.model.location_v1 import LocationV1 + from criteo_api_marketingsolutions_v2024_10.model.lookalike_v1 import LookalikeV1 + from criteo_api_marketingsolutions_v2024_10.model.prospecting_v1 import ProspectingV1 + from criteo_api_marketingsolutions_v2024_10.model.retargeting_v1 import RetargetingV1 globals()['BehavioralV1'] = BehavioralV1 globals()['ContactListV1'] = ContactListV1 globals()['InMarketV1'] = InMarketV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py index df80ed5e..b126fc1b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_resource import AudienceSegmentEntityV1Resource - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_search_metadata_v1 import AudienceSegmentSearchMetadataV1 - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_resource import AudienceSegmentEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_search_metadata_v1 import AudienceSegmentSearchMetadataV1 + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceSegmentEntityV1Resource'] = AudienceSegmentEntityV1Resource globals()['AudienceSegmentSearchMetadataV1'] = AudienceSegmentSearchMetadataV1 globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_list_response.py index 7af99f4c..61d80d34 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_resource import AudienceSegmentEntityV1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_resource import AudienceSegmentEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceSegmentEntityV1Resource'] = AudienceSegmentEntityV1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_resource.py index a5d7770a..a792488b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1 import AudienceSegmentEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1 import AudienceSegmentEntityV1 globals()['AudienceSegmentEntityV1'] = AudienceSegmentEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_estimate_size_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_estimate_size_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_estimate_size_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_estimate_size_input_v1.py index af2a0b2a..f593b695 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_estimate_size_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_estimate_size_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_entity_v1_resource import AudienceSegmentSizeEstimationEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_entity_v1_resource import AudienceSegmentSizeEstimationEntityV1Resource globals()['AudienceSegmentSizeEstimationEntityV1Resource'] = AudienceSegmentSizeEstimationEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_id_entity_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_id_entity_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_id_entity_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_id_entity_v1_list_response.py index 6364df58..edb02b57 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_id_entity_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_id_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_id_entity_v1_resource import AudienceSegmentIdEntityV1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_id_entity_v1_resource import AudienceSegmentIdEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceSegmentIdEntityV1Resource'] = AudienceSegmentIdEntityV1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_id_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_id_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_id_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_id_entity_v1_resource.py index 6538a2d9..0713009e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_id_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_id_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_entity_v1.py index 532d0fcb..1d4141c9 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_entity_v1_resource.py index 71acdb9f..03910804 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_search_entity_v1 import AudienceSegmentSearchEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_search_entity_v1 import AudienceSegmentSearchEntityV1 globals()['AudienceSegmentSearchEntityV1'] = AudienceSegmentSearchEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_input_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_input_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_input_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_input_v1.py index 5785ae1f..f0589aef 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_input_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_input_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_search_entity_v1_resource import AudienceSegmentSearchEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_search_entity_v1_resource import AudienceSegmentSearchEntityV1Resource globals()['AudienceSegmentSearchEntityV1Resource'] = AudienceSegmentSearchEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_metadata_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_metadata_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_metadata_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_metadata_v1.py index 514f6de5..ec9db2e8 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_search_metadata_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_search_metadata_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1.py index cf4b1eba..f9ae6c56 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1_list_response.py index f8106faa..d7ab9256 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_entity_v1_resource import AudienceSegmentSizeEntityV1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_entity_v1_resource import AudienceSegmentSizeEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceSegmentSizeEntityV1Resource'] = AudienceSegmentSizeEntityV1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1_resource.py index fcb89d62..c447645e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_entity_v1 import AudienceSegmentSizeEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_entity_v1 import AudienceSegmentSizeEntityV1 globals()['AudienceSegmentSizeEntityV1'] = AudienceSegmentSizeEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_entity_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_entity_v1.py index 910559eb..787d450c 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.in_market_size_estimation_v1 import InMarketSizeEstimationV1 - from criteo_api_marketingsolutions_v2023_07.model.location_size_estimation_v1 import LocationSizeEstimationV1 + from criteo_api_marketingsolutions_v2024_10.model.in_market_size_estimation_v1 import InMarketSizeEstimationV1 + from criteo_api_marketingsolutions_v2024_10.model.location_size_estimation_v1 import LocationSizeEstimationV1 globals()['InMarketSizeEstimationV1'] = InMarketSizeEstimationV1 globals()['LocationSizeEstimationV1'] = LocationSizeEstimationV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_entity_v1_resource.py index dcfc22f2..d89af839 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_entity_v1 import AudienceSegmentSizeEstimationEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_entity_v1 import AudienceSegmentSizeEstimationEntityV1 globals()['AudienceSegmentSizeEstimationEntityV1'] = AudienceSegmentSizeEstimationEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1.py index 126ffbc0..d3bb1157 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1_resource.py index b3450f08..427cbac1 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_v1 import AudienceSegmentSizeEstimationV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_v1 import AudienceSegmentSizeEstimationV1 globals()['AudienceSegmentSizeEstimationV1'] = AudienceSegmentSizeEstimationV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1_response.py index 89dac3f6..da1a0d53 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_size_estimation_v1_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_size_estimation_v1_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_v1_resource import AudienceSegmentSizeEstimationV1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_v1_resource import AudienceSegmentSizeEstimationV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceSegmentSizeEstimationV1Resource'] = AudienceSegmentSizeEstimationV1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_update_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_update_entity_v1.py similarity index 95% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_update_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_update_entity_v1.py index 4f7c6077..6bb74f9e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_update_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_update_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,16 +26,16 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.in_market_update_v1 import InMarketUpdateV1 - from criteo_api_marketingsolutions_v2023_07.model.location_update_v1 import LocationUpdateV1 - from criteo_api_marketingsolutions_v2023_07.model.lookalike_update_v1 import LookalikeUpdateV1 - from criteo_api_marketingsolutions_v2023_07.model.nillable_string import NillableString - from criteo_api_marketingsolutions_v2023_07.model.prospecting_update_v1 import ProspectingUpdateV1 - from criteo_api_marketingsolutions_v2023_07.model.retargeting_update_v1 import RetargetingUpdateV1 + from criteo_api_marketingsolutions_v2024_10.model.in_market_update_v1 import InMarketUpdateV1 + from criteo_api_marketingsolutions_v2024_10.model.location_update_v1 import LocationUpdateV1 + from criteo_api_marketingsolutions_v2024_10.model.lookalike_update_v1 import LookalikeUpdateV1 + from criteo_api_marketingsolutions_v2024_10.model.nillable_string import NillableString + from criteo_api_marketingsolutions_v2024_10.model.prospecting_update_v1 import ProspectingUpdateV1 + from criteo_api_marketingsolutions_v2024_10.model.retargeting_update_v1 import RetargetingUpdateV1 globals()['InMarketUpdateV1'] = InMarketUpdateV1 globals()['LocationUpdateV1'] = LocationUpdateV1 globals()['LookalikeUpdateV1'] = LookalikeUpdateV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_update_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_update_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_update_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_update_entity_v1_resource.py index 89167e95..d73183c1 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_segment_update_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_segment_update_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_segment_update_entity_v1 import AudienceSegmentUpdateEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_segment_update_entity_v1 import AudienceSegmentUpdateEntityV1 globals()['AudienceSegmentUpdateEntityV1'] = AudienceSegmentUpdateEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1.py index 01244b89..d9190754 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1_list_response.py index 86602613..14eb4c7b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_size_entity_v1_resource import AudienceSizeEntityV1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_size_entity_v1_resource import AudienceSizeEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceSizeEntityV1Resource'] = AudienceSizeEntityV1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1_resource.py index 57b3b49a..4c8ff218 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_size_entity_v1 import AudienceSizeEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_size_entity_v1 import AudienceSizeEntityV1 globals()['AudienceSizeEntityV1'] = AudienceSizeEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1.py index bc79ba78..3a886b1c 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1_resource.py index 87a18ebd..146fd9e1 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_size_estimation_v1 import AudienceSizeEstimationV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_size_estimation_v1 import AudienceSizeEstimationV1 globals()['AudienceSizeEstimationV1'] = AudienceSizeEstimationV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1_response.py index 65cc35b4..531f6a0b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_size_estimation_v1_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_size_estimation_v1_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_size_estimation_v1_resource import AudienceSizeEstimationV1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.audience_size_estimation_v1_resource import AudienceSizeEstimationV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['AudienceSizeEstimationV1Resource'] = AudienceSizeEstimationV1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_update_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_update_entity_v1.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_update_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_update_entity_v1.py index 4c01a897..d018b941 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_update_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_update_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.algebra_node_v1 import AlgebraNodeV1 - from criteo_api_marketingsolutions_v2023_07.model.nillable_string import NillableString + from criteo_api_marketingsolutions_v2024_10.model.algebra_node_v1 import AlgebraNodeV1 + from criteo_api_marketingsolutions_v2024_10.model.nillable_string import NillableString globals()['AlgebraNodeV1'] = AlgebraNodeV1 globals()['NillableString'] = NillableString diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_update_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_update_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_update_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_update_entity_v1_resource.py index d0d7965c..f95b178c 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_update_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_update_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_update_entity_v1 import AudienceUpdateEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.audience_update_entity_v1 import AudienceUpdateEntityV1 globals()['AudienceUpdateEntityV1'] = AudienceUpdateEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_warning.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_warning.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_warning.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_warning.py index a65a1793..d0c67627 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience_warning.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/audience_warning.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/basic_audience_definition.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/basic_audience_definition.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/basic_audience_definition.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/basic_audience_definition.py index 41dd8121..d6945d70 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/basic_audience_definition.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/basic_audience_definition.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_name_description import AudienceNameDescription + from criteo_api_marketingsolutions_v2024_10.model.audience_name_description import AudienceNameDescription globals()['AudienceNameDescription'] = AudienceNameDescription diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/behavioral_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/behavioral_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/behavioral_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/behavioral_v1.py index e21623d6..9a8ee8e4 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/behavioral_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/behavioral_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_search_filters.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_search_filters_v23_q1.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_search_filters.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_search_filters_v23_q1.py index 1fadf074..5d709e04 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_search_filters.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_search_filters_v23_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError -class CampaignSearchFilters(ModelNormal): +class CampaignSearchFiltersV23Q1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -103,7 +103,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CampaignSearchFilters - a model defined in OpenAPI + """CampaignSearchFiltersV23Q1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -190,7 +190,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """CampaignSearchFilters - a model defined in OpenAPI + """CampaignSearchFiltersV23Q1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_search_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_search_request_v23_q1.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_search_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_search_request_v23_q1.py index 67d1c349..5dac9bdf 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_search_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_search_request_v23_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.campaign_search_filters import CampaignSearchFilters - globals()['CampaignSearchFilters'] = CampaignSearchFilters + from criteo_api_marketingsolutions_v2024_10.model.campaign_search_filters_v23_q1 import CampaignSearchFiltersV23Q1 + globals()['CampaignSearchFiltersV23Q1'] = CampaignSearchFiltersV23Q1 -class CampaignSearchRequest(ModelNormal): +class CampaignSearchRequestV23Q1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'filters': (CampaignSearchFilters,), # noqa: E501 + 'filters': (CampaignSearchFiltersV23Q1,), # noqa: E501 } @cached_property @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CampaignSearchRequest - a model defined in OpenAPI + """CampaignSearchRequestV23Q1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - filters (CampaignSearchFilters): [optional] # noqa: E501 + filters (CampaignSearchFiltersV23Q1): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """CampaignSearchRequest - a model defined in OpenAPI + """CampaignSearchRequestV23Q1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - filters (CampaignSearchFilters): [optional] # noqa: E501 + filters (CampaignSearchFiltersV23Q1): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_spend_limit_v23_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_spend_limit_v23_q1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_spend_limit_v23_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_spend_limit_v23_q1.py index 1832badc..0fe0ba64 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_spend_limit_v23_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_spend_limit_v23_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_decimal import NillableDecimal + from criteo_api_marketingsolutions_v2024_10.model.nillable_decimal import NillableDecimal globals()['NillableDecimal'] = NillableDecimal diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1.py index 7a6bd367..af794bda 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.campaign_spend_limit_v23_q1 import CampaignSpendLimitV23Q1 + from criteo_api_marketingsolutions_v2024_10.model.campaign_spend_limit_v23_q1 import CampaignSpendLimitV23Q1 globals()['CampaignSpendLimitV23Q1'] = CampaignSpendLimitV23Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/responses_read_ad_set.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_list_response.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/responses_read_ad_set.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_list_response.py index a1556b84..2a2f5a20 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/responses_read_ad_set.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.read_model_read_ad_set import ReadModelReadAdSet + from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_resource import CampaignV23Q1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + globals()['CampaignV23Q1Resource'] = CampaignV23Q1Resource globals()['CommonProblem'] = CommonProblem - globals()['ReadModelReadAdSet'] = ReadModelReadAdSet -class ResponsesReadAdSet(ModelNormal): +class CampaignV23Q1ListResponse(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([ReadModelReadAdSet], none_type,), # noqa: E501 + 'data': ([CampaignV23Q1Resource], none_type,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -106,7 +106,6 @@ def discriminator(): } read_only_vars = { - 'data', # noqa: E501 'warnings', # noqa: E501 'errors', # noqa: E501 } @@ -116,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponsesReadAdSet - a model defined in OpenAPI + """CampaignV23Q1ListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -149,7 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([ReadModelReadAdSet], none_type): [optional] # noqa: E501 + data ([CampaignV23Q1Resource], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -204,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ResponsesReadAdSet - a model defined in OpenAPI + """CampaignV23Q1ListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -237,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([ReadModelReadAdSet], none_type): [optional] # noqa: E501 + data ([CampaignV23Q1Resource], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_resource.py index 366b4108..b70fa5cb 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.campaign_v23_q1 import CampaignV23Q1 + from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1 import CampaignV23Q1 globals()['CampaignV23Q1'] = CampaignV23Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_response.py index 4000964b..e4080e22 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_v23_q1_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/campaign_v23_q1_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.campaign_v23_q1_resource import CampaignV23Q1Resource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_resource import CampaignV23Q1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['CampaignV23Q1Resource'] = CampaignV23Q1Resource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/common_problem.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/common_problem.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/common_problem.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/common_problem.py index f0da4c29..5b1b109b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/common_problem.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/common_problem.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1.py index 046d2b9d..7f8e2d53 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1_resource.py index 5f2388e3..c4270fae 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.contact_list_statistics_entity_v1 import ContactListStatisticsEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.contact_list_statistics_entity_v1 import ContactListStatisticsEntityV1 globals()['ContactListStatisticsEntityV1'] = ContactListStatisticsEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1_response.py index fb95631d..86a5415b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_statistics_entity_v1_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_statistics_entity_v1_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.contact_list_statistics_entity_v1_resource import ContactListStatisticsEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.contact_list_statistics_entity_v1_resource import ContactListStatisticsEntityV1Resource globals()['CommonProblem'] = CommonProblem globals()['ContactListStatisticsEntityV1Resource'] = ContactListStatisticsEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_v1.py index f8cdaf52..61737861 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contact_list_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contact_list_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment.py index c70e5a33..ffeb5ee6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.contactlist_amendment_attributes import ContactlistAmendmentAttributes + from criteo_api_marketingsolutions_v2024_10.model.contactlist_amendment_attributes import ContactlistAmendmentAttributes globals()['ContactlistAmendmentAttributes'] = ContactlistAmendmentAttributes diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment_attributes.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment_attributes.py index 7a030954..bdf9afde 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError @@ -65,7 +65,6 @@ class ContactlistAmendmentAttributes(ModelNormal): 'MADID': "madid", 'IDENTITYLINK': "identityLink", 'GUM': "gum", - 'CUSTOMERID': "customerid", 'PHONENUMBER': "phoneNumber", }, } @@ -124,7 +123,7 @@ def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -217,7 +216,7 @@ def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501 Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment_request.py index 6f86c8df..e9cce8db 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_amendment_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_amendment_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.contactlist_amendment import ContactlistAmendment + from criteo_api_marketingsolutions_v2024_10.model.contactlist_amendment import ContactlistAmendment globals()['ContactlistAmendment'] = ContactlistAmendment diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_operation.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_operation.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_operation.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_operation.py index 9adc403d..ebb08e90 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_operation.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_operation.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.contactlist_operation_attributes import ContactlistOperationAttributes + from criteo_api_marketingsolutions_v2024_10.model.contactlist_operation_attributes import ContactlistOperationAttributes globals()['ContactlistOperationAttributes'] = ContactlistOperationAttributes diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_operation_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_operation_attributes.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_operation_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_operation_attributes.py index 219f99b0..fbf9a38f 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/contactlist_operation_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/contactlist_operation_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon.py index 2703d44b..91d22831 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.image_slide import ImageSlide + from criteo_api_marketingsolutions_v2024_10.model.image_slide import ImageSlide globals()['ImageSlide'] = ImageSlide diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_list_response.py index e611cfad..05580f75 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.coupon_resource import CouponResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.coupon_resource import CouponResource globals()['CommonProblem'] = CommonProblem globals()['CouponResource'] = CouponResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_resource.py index 192effeb..1b82332b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.coupon import Coupon + from criteo_api_marketingsolutions_v2024_10.model.coupon import Coupon globals()['Coupon'] = Coupon diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_response.py index d8f060bb..4911f7d8 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.coupon_resource import CouponResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.coupon_resource import CouponResource globals()['CommonProblem'] = CommonProblem globals()['CouponResource'] = CouponResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes.py index 4b9d5bb6..ad49c6f6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_resource.py index 1984f2c5..38230a29 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.coupon_supported_sizes import CouponSupportedSizes + from criteo_api_marketingsolutions_v2024_10.model.coupon_supported_sizes import CouponSupportedSizes globals()['CouponSupportedSizes'] = CouponSupportedSizes diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_response.py index b9e2a623..c71e27f3 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/coupon_supported_sizes_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.coupon_supported_sizes_resource import CouponSupportedSizesResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.coupon_supported_sizes_resource import CouponSupportedSizesResource globals()['CommonProblem'] = CommonProblem globals()['CouponSupportedSizesResource'] = CouponSupportedSizesResource diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_bidding_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_bidding_v24_q1.py index 33e33a49..194308bb 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_bidding_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_budget_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_budget_v24_q1.py index a66e72df..56799b6e 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_budget_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_geo_location_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_geo_location_v24_q1.py index d2bab84a..ac4b5100 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_geo_location_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.ad_set_targeting_rule_v24_q1 import AdSetTargetingRuleV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_targeting_rule_v24_q1 import AdSetTargetingRuleV24Q1 globals()['AdSetTargetingRuleV24Q1'] = AdSetTargetingRuleV24Q1 diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_schedule_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_schedule_v24_q1.py index 1e639d7a..fffc828c 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_schedule_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_targeting_v24_q1.py similarity index 95% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_targeting_v24_q1.py index e3af2770..2154bed6 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_targeting_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.ad_set_delivery_limitations_v24_q1 import AdSetDeliveryLimitationsV24Q1 - from criteo_api_marketingsolutions_preview.model.ad_set_frequency_capping_v24_q1 import AdSetFrequencyCappingV24Q1 - from criteo_api_marketingsolutions_preview.model.create_ad_set_geo_location_v24_q1 import CreateAdSetGeoLocationV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_delivery_limitations_v24_q1 import AdSetDeliveryLimitationsV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_frequency_capping_v24_q1 import AdSetFrequencyCappingV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_geo_location_v24_q1 import CreateAdSetGeoLocationV24Q1 globals()['AdSetDeliveryLimitationsV24Q1'] = AdSetDeliveryLimitationsV24Q1 globals()['AdSetFrequencyCappingV24Q1'] = AdSetFrequencyCappingV24Q1 globals()['CreateAdSetGeoLocationV24Q1'] = CreateAdSetGeoLocationV24Q1 diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1.py similarity index 95% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1.py index 9da1eaed..2ab4d268 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.create_ad_set_bidding_v24_q1 import CreateAdSetBiddingV24Q1 - from criteo_api_marketingsolutions_preview.model.create_ad_set_budget_v24_q1 import CreateAdSetBudgetV24Q1 - from criteo_api_marketingsolutions_preview.model.create_ad_set_schedule_v24_q1 import CreateAdSetScheduleV24Q1 - from criteo_api_marketingsolutions_preview.model.create_ad_set_targeting_v24_q1 import CreateAdSetTargetingV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_bidding_v24_q1 import CreateAdSetBiddingV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_budget_v24_q1 import CreateAdSetBudgetV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_schedule_v24_q1 import CreateAdSetScheduleV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_targeting_v24_q1 import CreateAdSetTargetingV24Q1 globals()['CreateAdSetBiddingV24Q1'] = CreateAdSetBiddingV24Q1 globals()['CreateAdSetBudgetV24Q1'] = CreateAdSetBudgetV24Q1 globals()['CreateAdSetScheduleV24Q1'] = CreateAdSetScheduleV24Q1 diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1_request.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1_request.py index 4b4a083c..fa33684b 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q1_resource import CreateAdSetV24Q1Resource + from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_v24_q1_resource import CreateAdSetV24Q1Resource globals()['CreateAdSetV24Q1Resource'] = CreateAdSetV24Q1Resource diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1_resource.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1_resource.py index 2577b86c..26330296 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_ad_set_v24_q1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q1 import CreateAdSetV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_v24_q1 import CreateAdSetV24Q1 globals()['CreateAdSetV24Q1'] = CreateAdSetV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign.py index 432f1a34..1cceb97d 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.create_campaign_spend_limit import CreateCampaignSpendLimit + from criteo_api_marketingsolutions_v2024_10.model.create_campaign_spend_limit import CreateCampaignSpendLimit globals()['CreateCampaignSpendLimit'] = CreateCampaignSpendLimit diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign_request.py index b3fd5f77..c3666470 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.create_campaign_resource import CreateCampaignResource + from criteo_api_marketingsolutions_v2024_10.model.create_campaign_resource import CreateCampaignResource globals()['CreateCampaignResource'] = CreateCampaignResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign_resource.py index 85409899..9bfaef55 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.create_campaign import CreateCampaign + from criteo_api_marketingsolutions_v2024_10.model.create_campaign import CreateCampaign globals()['CreateCampaign'] = CreateCampaign diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign_spend_limit.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign_spend_limit.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign_spend_limit.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign_spend_limit.py index 5641f83b..a0989e3d 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_campaign_spend_limit.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_campaign_spend_limit.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_coupon.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_coupon.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_coupon.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_coupon.py index cb7cd30d..00b7b555 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_coupon.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_coupon.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.create_image_slide import CreateImageSlide + from criteo_api_marketingsolutions_v2024_10.model.create_image_slide import CreateImageSlide globals()['CreateImageSlide'] = CreateImageSlide diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_coupon_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_coupon_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_coupon_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_coupon_request.py index c2b85bf4..bea9235e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_coupon_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_coupon_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.create_coupon_resource import CreateCouponResource + from criteo_api_marketingsolutions_v2024_10.model.create_coupon_resource import CreateCouponResource globals()['CreateCouponResource'] = CreateCouponResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_coupon_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_coupon_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_coupon_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_coupon_resource.py index 924483e4..a2b05ad4 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_coupon_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_coupon_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.create_coupon import CreateCoupon + from criteo_api_marketingsolutions_v2024_10.model.create_coupon import CreateCoupon globals()['CreateCoupon'] = CreateCoupon diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_image_slide.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_image_slide.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_image_slide.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_image_slide.py index 51802c75..d6975703 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_image_slide.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/create_image_slide.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative.py index 2f74956d..ffdd4d38 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.adaptive_attributes import AdaptiveAttributes - from criteo_api_marketingsolutions_v2023_07.model.dynamic_attributes import DynamicAttributes - from criteo_api_marketingsolutions_v2023_07.model.html_tag_attributes import HtmlTagAttributes - from criteo_api_marketingsolutions_v2023_07.model.image_attributes import ImageAttributes + from criteo_api_marketingsolutions_v2024_10.model.adaptive_attributes import AdaptiveAttributes + from criteo_api_marketingsolutions_v2024_10.model.dynamic_attributes import DynamicAttributes + from criteo_api_marketingsolutions_v2024_10.model.html_tag_attributes import HtmlTagAttributes + from criteo_api_marketingsolutions_v2024_10.model.image_attributes import ImageAttributes globals()['AdaptiveAttributes'] = AdaptiveAttributes globals()['DynamicAttributes'] = DynamicAttributes globals()['HtmlTagAttributes'] = HtmlTagAttributes diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_list_response.py index 195ca726..defa2e8a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.creative_resource import CreativeResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.creative_resource import CreativeResource globals()['CommonProblem'] = CommonProblem globals()['CreativeResource'] = CreativeResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_resource.py index 637f392c..0b9f2867 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.creative import Creative + from criteo_api_marketingsolutions_v2024_10.model.creative import Creative globals()['Creative'] = Creative diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_response.py index 798e0548..d1f75f57 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.creative_resource import CreativeResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.creative_resource import CreativeResource globals()['CommonProblem'] = CommonProblem globals()['CreativeResource'] = CreativeResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_write.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_write.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_write.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_write.py index 0e817669..995e21e3 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_write.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_write.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.adaptive_write_attributes import AdaptiveWriteAttributes - from criteo_api_marketingsolutions_v2023_07.model.dynamic_write_attributes import DynamicWriteAttributes - from criteo_api_marketingsolutions_v2023_07.model.html_tag_write_attributes import HtmlTagWriteAttributes - from criteo_api_marketingsolutions_v2023_07.model.image_write_attributes import ImageWriteAttributes + from criteo_api_marketingsolutions_v2024_10.model.adaptive_write_attributes import AdaptiveWriteAttributes + from criteo_api_marketingsolutions_v2024_10.model.dynamic_write_attributes import DynamicWriteAttributes + from criteo_api_marketingsolutions_v2024_10.model.html_tag_write_attributes import HtmlTagWriteAttributes + from criteo_api_marketingsolutions_v2024_10.model.image_write_attributes import ImageWriteAttributes globals()['AdaptiveWriteAttributes'] = AdaptiveWriteAttributes globals()['DynamicWriteAttributes'] = DynamicWriteAttributes globals()['HtmlTagWriteAttributes'] = HtmlTagWriteAttributes diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_write_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_write_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_write_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_write_request.py index d2075394..cc7ddbe2 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_write_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_write_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.creative_write_resource import CreativeWriteResource + from criteo_api_marketingsolutions_v2024_10.model.creative_write_resource import CreativeWriteResource globals()['CreativeWriteResource'] = CreativeWriteResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_write_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_write_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_write_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_write_resource.py index 95deb856..1e99566e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/creative_write_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/creative_write_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.creative_write import CreativeWrite + from criteo_api_marketingsolutions_v2024_10.model.creative_write import CreativeWrite globals()['CreativeWrite'] = CreativeWrite diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/criteo_api_error.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/criteo_api_error.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/criteo_api_error.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/criteo_api_error.py index 19ad5b0f..80f973a3 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/criteo_api_error.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/criteo_api_error.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/criteo_api_warning.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/criteo_api_warning.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/criteo_api_warning.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/criteo_api_warning.py index 4acc8f94..19d2d029 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/criteo_api_warning.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/criteo_api_warning.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/delete_audience_contact_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/delete_audience_contact_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/delete_audience_contact_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/delete_audience_contact_list_response.py index b3f4dab4..d35984dc 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/delete_audience_contact_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/delete_audience_contact_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_error import AudienceError - from criteo_api_marketingsolutions_v2023_07.model.audience_warning import AudienceWarning - from criteo_api_marketingsolutions_v2023_07.model.basic_audience_definition import BasicAudienceDefinition + from criteo_api_marketingsolutions_v2024_10.model.audience_error import AudienceError + from criteo_api_marketingsolutions_v2024_10.model.audience_warning import AudienceWarning + from criteo_api_marketingsolutions_v2024_10.model.basic_audience_definition import BasicAudienceDefinition globals()['AudienceError'] = AudienceError globals()['AudienceWarning'] = AudienceWarning globals()['BasicAudienceDefinition'] = BasicAudienceDefinition diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/dynamic_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/dynamic_attributes.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/dynamic_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/dynamic_attributes.py index 24209954..034da6d9 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/dynamic_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/dynamic_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.image_shape import ImageShape + from criteo_api_marketingsolutions_v2024_10.model.image_shape import ImageShape globals()['ImageShape'] = ImageShape diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/dynamic_write_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/dynamic_write_attributes.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/dynamic_write_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/dynamic_write_attributes.py index 0ebe2518..dea82c8b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/dynamic_write_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/dynamic_write_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/entity_of_portfolio_message.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/entity_of_portfolio_message.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/entity_of_portfolio_message.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/entity_of_portfolio_message.py index 4dcc1e2c..b9ff7941 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/entity_of_portfolio_message.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/entity_of_portfolio_message.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.portfolio_message import PortfolioMessage + from criteo_api_marketingsolutions_v2024_10.model.portfolio_message import PortfolioMessage globals()['PortfolioMessage'] = PortfolioMessage diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/error_code_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/error_code_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/error_code_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/error_code_response.py index 04f5efff..939d3bf1 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/error_code_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/error_code_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_error import AudienceError - from criteo_api_marketingsolutions_v2023_07.model.audience_warning import AudienceWarning + from criteo_api_marketingsolutions_v2024_10.model.audience_error import AudienceError + from criteo_api_marketingsolutions_v2024_10.model.audience_warning import AudienceWarning globals()['AudienceError'] = AudienceError globals()['AudienceWarning'] = AudienceWarning diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/get_portfolio_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/get_portfolio_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/get_portfolio_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/get_portfolio_response.py index 1ba7967d..ae5f5ab8 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/get_portfolio_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/get_portfolio_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.criteo_api_error import CriteoApiError - from criteo_api_marketingsolutions_v2023_07.model.criteo_api_warning import CriteoApiWarning - from criteo_api_marketingsolutions_v2023_07.model.entity_of_portfolio_message import EntityOfPortfolioMessage + from criteo_api_marketingsolutions_v2024_10.model.criteo_api_error import CriteoApiError + from criteo_api_marketingsolutions_v2024_10.model.criteo_api_warning import CriteoApiWarning + from criteo_api_marketingsolutions_v2024_10.model.entity_of_portfolio_message import EntityOfPortfolioMessage globals()['CriteoApiError'] = CriteoApiError globals()['CriteoApiWarning'] = CriteoApiWarning globals()['EntityOfPortfolioMessage'] = EntityOfPortfolioMessage diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/html_tag_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/html_tag_attributes.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/html_tag_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/html_tag_attributes.py index 673c1abe..ec02f333 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/html_tag_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/html_tag_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.tag import Tag + from criteo_api_marketingsolutions_v2024_10.model.tag import Tag globals()['Tag'] = Tag diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/html_tag_write_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/html_tag_write_attributes.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/html_tag_write_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/html_tag_write_attributes.py index 3bf658a0..dbc52386 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/html_tag_write_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/html_tag_write_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.tag import Tag + from criteo_api_marketingsolutions_v2024_10.model.tag import Tag globals()['Tag'] = Tag diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_attributes.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_attributes.py index 27a98c0f..f0b45ce5 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_set.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_set.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_set.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_set.py index 5a538da1..0f759c10 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_set.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_set.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.image_shape import ImageShape + from criteo_api_marketingsolutions_v2024_10.model.image_shape import ImageShape globals()['ImageShape'] = ImageShape diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_set_base64.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_set_base64.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_set_base64.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_set_base64.py index 2f5ab891..f1941cba 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_set_base64.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_set_base64.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_shape.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_shape.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_shape.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_shape.py index c1d7561f..91ab94b3 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_shape.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_shape.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_slide.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_slide.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_slide.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_slide.py index 2e02c6ef..e84e2198 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_slide.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_slide.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_write_attributes.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_write_attributes.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_write_attributes.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_write_attributes.py index c78a06a4..96a67179 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/image_write_attributes.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/image_write_attributes.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1.py index f6d8951b..24a167be 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1_list_response.py index eee617d9..52aa6d27 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_brand_entity_v1_resource import InMarketAudienceSegmentBrandEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_brand_entity_v1_resource import InMarketAudienceSegmentBrandEntityV1Resource globals()['CommonProblem'] = CommonProblem globals()['InMarketAudienceSegmentBrandEntityV1Resource'] = InMarketAudienceSegmentBrandEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1_resource.py index 79a6cd3a..42231b0e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_brand_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_brand_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_brand_entity_v1 import InMarketAudienceSegmentBrandEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_brand_entity_v1 import InMarketAudienceSegmentBrandEntityV1 globals()['InMarketAudienceSegmentBrandEntityV1'] = InMarketAudienceSegmentBrandEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1.py index e4887c0a..2fb43835 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1_list_response.py index 81807291..f2c143ee 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_interest_entity_v1_resource import InMarketAudienceSegmentInterestEntityV1Resource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_interest_entity_v1_resource import InMarketAudienceSegmentInterestEntityV1Resource globals()['CommonProblem'] = CommonProblem globals()['InMarketAudienceSegmentInterestEntityV1Resource'] = InMarketAudienceSegmentInterestEntityV1Resource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1_resource.py index e75c2b38..714de34f 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_audience_segment_interest_entity_v1_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_audience_segment_interest_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_interest_entity_v1 import InMarketAudienceSegmentInterestEntityV1 + from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_interest_entity_v1 import InMarketAudienceSegmentInterestEntityV1 globals()['InMarketAudienceSegmentInterestEntityV1'] = InMarketAudienceSegmentInterestEntityV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_create_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_create_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_create_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_create_v1.py index e31ed626..c32314da 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_create_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_create_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_size_estimation_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_size_estimation_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_size_estimation_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_size_estimation_v1.py index dc7c424b..8497567e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_size_estimation_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_size_estimation_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_update_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_update_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_update_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_update_v1.py index 4f2b93ab..3e3c58ae 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_update_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_update_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_gender_v1 import NillableGenderV1 + from criteo_api_marketingsolutions_v2024_10.model.nillable_gender_v1 import NillableGenderV1 globals()['NillableGenderV1'] = NillableGenderV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_v1.py index 72542996..a1bdf9ec 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/in_market_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/in_market_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_create_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_create_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_create_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_create_v1.py index d23b7ec0..af64fd9b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_create_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_create_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.point_of_interest_v1 import PointOfInterestV1 + from criteo_api_marketingsolutions_v2024_10.model.point_of_interest_v1 import PointOfInterestV1 globals()['PointOfInterestV1'] = PointOfInterestV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_size_estimation_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_size_estimation_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_size_estimation_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_size_estimation_v1.py index f68782dd..fb8f2776 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_size_estimation_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_size_estimation_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.point_of_interest_v1 import PointOfInterestV1 + from criteo_api_marketingsolutions_v2024_10.model.point_of_interest_v1 import PointOfInterestV1 globals()['PointOfInterestV1'] = PointOfInterestV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_update_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_update_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_update_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_update_v1.py index 2cea27a7..afb1537e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_update_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_update_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.point_of_interest_v1 import PointOfInterestV1 + from criteo_api_marketingsolutions_v2024_10.model.point_of_interest_v1 import PointOfInterestV1 globals()['PointOfInterestV1'] = PointOfInterestV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_v1.py index 6b0b8840..1b9ccb97 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/location_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/location_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.point_of_interest_v1 import PointOfInterestV1 + from criteo_api_marketingsolutions_v2024_10.model.point_of_interest_v1 import PointOfInterestV1 globals()['PointOfInterestV1'] = PointOfInterestV1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/lookalike_create_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/lookalike_create_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/lookalike_create_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/lookalike_create_v1.py index 8a38a05e..8e61fc8b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/lookalike_create_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/lookalike_create_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/lookalike_update_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/lookalike_update_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/lookalike_update_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/lookalike_update_v1.py index 8d6901a1..d8a9a02a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/lookalike_update_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/lookalike_update_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/lookalike_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/lookalike_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/lookalike_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/lookalike_v1.py index 7c906b05..e2177b7e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/lookalike_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/lookalike_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/modify_audience_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/modify_audience_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/modify_audience_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/modify_audience_response.py index 90245984..74dffc74 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/modify_audience_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/modify_audience_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_error import AudienceError - from criteo_api_marketingsolutions_v2023_07.model.audience_warning import AudienceWarning - from criteo_api_marketingsolutions_v2023_07.model.contactlist_operation import ContactlistOperation + from criteo_api_marketingsolutions_v2024_10.model.audience_error import AudienceError + from criteo_api_marketingsolutions_v2024_10.model.audience_warning import AudienceWarning + from criteo_api_marketingsolutions_v2024_10.model.contactlist_operation import ContactlistOperation globals()['AudienceError'] = AudienceError globals()['AudienceWarning'] = AudienceWarning globals()['ContactlistOperation'] = ContactlistOperation diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_ad_set_targeting_rule_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_ad_set_targeting_rule_v24_q1.py index ec54a66d..a16b784f 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_ad_set_targeting_rule_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.nillable_ad_set_targeting_rule_v24_q1_value import NillableAdSetTargetingRuleV24Q1Value + from criteo_api_marketingsolutions_v2024_10.model.nillable_ad_set_targeting_rule_v24_q1_value import NillableAdSetTargetingRuleV24Q1Value globals()['NillableAdSetTargetingRuleV24Q1Value'] = NillableAdSetTargetingRuleV24Q1Value diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1_value.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_ad_set_targeting_rule_v24_q1_value.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1_value.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_ad_set_targeting_rule_v24_q1_value.py index 42464030..b701da41 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1_value.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_ad_set_targeting_rule_v24_q1_value.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.ad_set_targeting_rule_v24_q1 import AdSetTargetingRuleV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_targeting_rule_v24_q1 import AdSetTargetingRuleV24Q1 globals()['AdSetTargetingRuleV24Q1'] = AdSetTargetingRuleV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_date_time.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_date_time.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_date_time.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_date_time.py index cab84d30..69ae71e0 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_date_time.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_date_time.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_decimal.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_decimal.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_decimal.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_decimal.py index 1dc322af..bc38e7fd 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_decimal.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_decimal.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_gender_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_gender_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_gender_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_gender_v1.py index dd061091..908182c4 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_gender_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_gender_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_int32.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_int32.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_int32.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_int32.py index 4a9ecf7c..59a3fb06 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_int32.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_int32.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_string.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_string.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_string.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_string.py index e7fde697..7bc727fc 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_string.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/nillable_string.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/outcome.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/outcome.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/outcome.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/outcome.py index 32c12018..90c5fa81 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/outcome.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/outcome.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem globals()['CommonProblem'] = CommonProblem diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_bidding_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_bidding_v24_q1.py index 3f7c32f3..44c0d37d 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_bidding_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.nillable_decimal import NillableDecimal + from criteo_api_marketingsolutions_v2024_10.model.nillable_decimal import NillableDecimal globals()['NillableDecimal'] = NillableDecimal diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_budget_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_budget_v24_q1.py index 6b7df40f..00d2d7e5 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_budget_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.nillable_decimal import NillableDecimal + from criteo_api_marketingsolutions_v2024_10.model.nillable_decimal import NillableDecimal globals()['NillableDecimal'] = NillableDecimal diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid.py index dc0c9187..5bf831be 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_list_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_list_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_list_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_list_request.py index 07f9f75d..7936f2f6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_list_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_list_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_resource import PatchAdSetCategoryBidResource + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_resource import PatchAdSetCategoryBidResource globals()['PatchAdSetCategoryBidResource'] = PatchAdSetCategoryBidResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_resource.py index 822f741b..bf39c791 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid import PatchAdSetCategoryBid + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid import PatchAdSetCategoryBid globals()['PatchAdSetCategoryBid'] = PatchAdSetCategoryBid diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_result_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_result_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_result_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_result_list_response.py index 9f4b3fef..8a3d12d4 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_result_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_result_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_result_resource import PatchAdSetCategoryBidResultResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_result_resource import PatchAdSetCategoryBidResultResource globals()['CommonProblem'] = CommonProblem globals()['PatchAdSetCategoryBidResultResource'] = PatchAdSetCategoryBidResultResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_result_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_result_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_result_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_result_resource.py index c14ca273..b458e80a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_category_bid_result_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_category_bid_result_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier.py index d2b200e1..7b84bb97 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_list_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_list_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_list_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_list_request.py index 7ec6df1e..312cba0d 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_list_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_list_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_resource import PatchAdSetDisplayMultiplierResource + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_resource import PatchAdSetDisplayMultiplierResource globals()['PatchAdSetDisplayMultiplierResource'] = PatchAdSetDisplayMultiplierResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_resource.py index 40564de4..f84b7490 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier import PatchAdSetDisplayMultiplier + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier import PatchAdSetDisplayMultiplier globals()['PatchAdSetDisplayMultiplier'] = PatchAdSetDisplayMultiplier diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_result_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_result_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_result_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_result_list_response.py index d31a843d..26e5a7ee 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_result_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_result_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_result_resource import PatchAdSetDisplayMultiplierResultResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_result_resource import PatchAdSetDisplayMultiplierResultResource globals()['CommonProblem'] = CommonProblem globals()['PatchAdSetDisplayMultiplierResultResource'] = PatchAdSetDisplayMultiplierResultResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_result_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_result_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_result_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_result_resource.py index e94d7c68..d0bb0f10 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_display_multiplier_result_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_display_multiplier_result_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_scheduling_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_scheduling_v24_q1.py index 43bf4aa3..a08532e6 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_scheduling_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.nillable_date_time import NillableDateTime + from criteo_api_marketingsolutions_v2024_10.model.nillable_date_time import NillableDateTime globals()['NillableDateTime'] = NillableDateTime diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_v24_q1.py similarity index 95% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_v24_q1.py index 945038f0..8c579b39 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_ad_set_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.ad_set_targeting_v24_q1 import AdSetTargetingV24Q1 - from criteo_api_marketingsolutions_preview.model.patch_ad_set_bidding_v24_q1 import PatchAdSetBiddingV24Q1 - from criteo_api_marketingsolutions_preview.model.patch_ad_set_budget_v24_q1 import PatchAdSetBudgetV24Q1 - from criteo_api_marketingsolutions_preview.model.patch_ad_set_scheduling_v24_q1 import PatchAdSetSchedulingV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_targeting_v24_q1 import AdSetTargetingV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_bidding_v24_q1 import PatchAdSetBiddingV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_budget_v24_q1 import PatchAdSetBudgetV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_scheduling_v24_q1 import PatchAdSetSchedulingV24Q1 globals()['AdSetTargetingV24Q1'] = AdSetTargetingV24Q1 globals()['PatchAdSetBiddingV24Q1'] = PatchAdSetBiddingV24Q1 globals()['PatchAdSetBudgetV24Q1'] = PatchAdSetBudgetV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign.py index eccae0bc..7cb44da7 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.patch_campaign_spend_limit import PatchCampaignSpendLimit + from criteo_api_marketingsolutions_v2024_10.model.patch_campaign_spend_limit import PatchCampaignSpendLimit globals()['PatchCampaignSpendLimit'] = PatchCampaignSpendLimit diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign_list_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign_list_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign_list_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign_list_request.py index 7b49ef12..a2d8da98 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign_list_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign_list_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.patch_campaign_write_resource import PatchCampaignWriteResource + from criteo_api_marketingsolutions_v2024_10.model.patch_campaign_write_resource import PatchCampaignWriteResource globals()['PatchCampaignWriteResource'] = PatchCampaignWriteResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign_spend_limit.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign_spend_limit.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign_spend_limit.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign_spend_limit.py index 82aab366..f02d9064 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign_spend_limit.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign_spend_limit.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_decimal import NillableDecimal + from criteo_api_marketingsolutions_v2024_10.model.nillable_decimal import NillableDecimal globals()['NillableDecimal'] = NillableDecimal diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign_write_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign_write_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign_write_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign_write_resource.py index b4ee08ad..a4a62aad 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_campaign_write_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_campaign_write_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.patch_campaign import PatchCampaign + from criteo_api_marketingsolutions_v2024_10.model.patch_campaign import PatchCampaign globals()['PatchCampaign'] = PatchCampaign diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_result_campaign_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_result_campaign_list_response.py index e3f15b1a..93fa23e9 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_result_campaign_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.patch_result_campaign_read_resource import PatchResultCampaignReadResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.patch_result_campaign_read_resource import PatchResultCampaignReadResource globals()['CommonProblem'] = CommonProblem globals()['PatchResultCampaignReadResource'] = PatchResultCampaignReadResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_read_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_result_campaign_read_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_read_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_result_campaign_read_resource.py index a84a464e..4a7cd302 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_read_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/patch_result_campaign_read_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message.py index 8bf63bf2..5402ee2b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_list_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message_list_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_list_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message_list_request.py index a53df24b..93bef114 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_list_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message_list_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.placements_report_query_message_resource import PlacementsReportQueryMessageResource + from criteo_api_marketingsolutions_v2024_10.model.placements_report_query_message_resource import PlacementsReportQueryMessageResource globals()['PlacementsReportQueryMessageResource'] = PlacementsReportQueryMessageResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message_resource.py index 6e8692e8..07c54135 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/placements_report_query_message_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.placements_report_query_message import PlacementsReportQueryMessage + from criteo_api_marketingsolutions_v2024_10.model.placements_report_query_message import PlacementsReportQueryMessage globals()['PlacementsReportQueryMessage'] = PlacementsReportQueryMessage diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/point_of_interest_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/point_of_interest_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/point_of_interest_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/point_of_interest_v1.py index a310d641..976c4a78 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/point_of_interest_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/point_of_interest_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/portfolio_message.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/portfolio_message.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/portfolio_message.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/portfolio_message.py index 061577a0..f5ebdd39 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/portfolio_message.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/portfolio_message.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/prospecting_create_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/prospecting_create_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/prospecting_create_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/prospecting_create_v1.py index 371cb5ff..3b544e15 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/prospecting_create_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/prospecting_create_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/prospecting_update_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/prospecting_update_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/prospecting_update_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/prospecting_update_v1.py index 1e40ebe4..af343cf9 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/prospecting_update_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/prospecting_update_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_int32 import NillableInt32 + from criteo_api_marketingsolutions_v2024_10.model.nillable_int32 import NillableInt32 globals()['NillableInt32'] = NillableInt32 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/prospecting_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/prospecting_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/prospecting_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/prospecting_v1.py index 4e9edbbc..3fdec8c0 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/prospecting_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/prospecting_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_bidding_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_bidding_v24_q1.py index 73e22a2f..73e07515 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_bidding_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_budget_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_budget_v24_q1.py index 54449762..d9e1d2a4 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_budget_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_schedule_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_schedule_v24_q1.py index 6a187735..52014549 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_schedule_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.nillable_date_time import NillableDateTime + from criteo_api_marketingsolutions_v2024_10.model.nillable_date_time import NillableDateTime globals()['NillableDateTime'] = NillableDateTime diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_v24_q1.py similarity index 95% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_v24_q1.py index cbdde441..40770f24 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_ad_set_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.ad_set_targeting_v24_q1 import AdSetTargetingV24Q1 - from criteo_api_marketingsolutions_preview.model.read_ad_set_bidding_v24_q1 import ReadAdSetBiddingV24Q1 - from criteo_api_marketingsolutions_preview.model.read_ad_set_budget_v24_q1 import ReadAdSetBudgetV24Q1 - from criteo_api_marketingsolutions_preview.model.read_ad_set_schedule_v24_q1 import ReadAdSetScheduleV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.ad_set_targeting_v24_q1 import AdSetTargetingV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.read_ad_set_bidding_v24_q1 import ReadAdSetBiddingV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.read_ad_set_budget_v24_q1 import ReadAdSetBudgetV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.read_ad_set_schedule_v24_q1 import ReadAdSetScheduleV24Q1 globals()['AdSetTargetingV24Q1'] = AdSetTargetingV24Q1 globals()['ReadAdSetBiddingV24Q1'] = ReadAdSetBiddingV24Q1 globals()['ReadAdSetBudgetV24Q1'] = ReadAdSetBudgetV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_model_ad_set_id.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_model_ad_set_id.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_model_ad_set_id.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_model_ad_set_id.py index d5c1cafb..d10d3d44 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_model_ad_set_id.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_model_ad_set_id.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_model_ad_set_id_v24_q1.py similarity index 98% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_model_ad_set_id_v24_q1.py index e12736e6..44407755 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_model_ad_set_id_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_model_read_ad_set_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_model_read_ad_set_v24_q1.py index b2dd3039..02c4a4b2 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/read_model_read_ad_set_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.read_ad_set_v24_q1 import ReadAdSetV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.read_ad_set_v24_q1 import ReadAdSetV24Q1 globals()['ReadAdSetV24Q1'] = ReadAdSetV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/requests_ad_set_id.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/requests_ad_set_id.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/requests_ad_set_id.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/requests_ad_set_id.py index 6f19a8ed..961521e1 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/requests_ad_set_id.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/requests_ad_set_id.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.write_model_ad_set_id import WriteModelAdSetId + from criteo_api_marketingsolutions_v2024_10.model.write_model_ad_set_id import WriteModelAdSetId globals()['WriteModelAdSetId'] = WriteModelAdSetId diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/requests_patch_ad_set_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/requests_patch_ad_set_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/requests_patch_ad_set_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/requests_patch_ad_set_v24_q1.py index 69f2c5f0..21f87def 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/requests_patch_ad_set_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/requests_patch_ad_set_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.write_model_patch_ad_set_v24_q1 import WriteModelPatchAdSetV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.write_model_patch_ad_set_v24_q1 import WriteModelPatchAdSetV24Q1 globals()['WriteModelPatchAdSetV24Q1'] = WriteModelPatchAdSetV24Q1 diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/response_read_ad_set_v24_q1.py similarity index 96% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/response_read_ad_set_v24_q1.py index 352be8b2..6a98a5b7 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/response_read_ad_set_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q1 import ReadModelReadAdSetV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.read_model_read_ad_set_v24_q1 import ReadModelReadAdSetV24Q1 globals()['CommonProblem'] = CommonProblem globals()['ReadModelReadAdSetV24Q1'] = ReadModelReadAdSetV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/responses_ad_set_id.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/responses_ad_set_id.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/responses_ad_set_id.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/responses_ad_set_id.py index 3d4aad75..5dbea2b0 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/responses_ad_set_id.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/responses_ad_set_id.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.read_model_ad_set_id import ReadModelAdSetId + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.read_model_ad_set_id import ReadModelAdSetId globals()['CommonProblem'] = CommonProblem globals()['ReadModelAdSetId'] = ReadModelAdSetId diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/responses_ad_set_id_v24_q1.py similarity index 96% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/responses_ad_set_id_v24_q1.py index 6a49897d..3fedc37a 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/responses_ad_set_id_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_preview.model.read_model_ad_set_id_v24_q1 import ReadModelAdSetIdV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.read_model_ad_set_id_v24_q1 import ReadModelAdSetIdV24Q1 globals()['CommonProblem'] = CommonProblem globals()['ReadModelAdSetIdV24Q1'] = ReadModelAdSetIdV24Q1 diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/responses_read_ad_set_v24_q1.py similarity index 96% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/responses_read_ad_set_v24_q1.py index 1f52411c..2fcdf2e6 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/responses_read_ad_set_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q1 import ReadModelReadAdSetV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.read_model_read_ad_set_v24_q1 import ReadModelReadAdSetV24Q1 globals()['CommonProblem'] = CommonProblem globals()['ReadModelReadAdSetV24Q1'] = ReadModelReadAdSetV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/retargeting_create_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/retargeting_create_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/retargeting_create_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/retargeting_create_v1.py index 1c3eb93c..c632774e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/retargeting_create_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/retargeting_create_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/retargeting_update_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/retargeting_update_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/retargeting_update_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/retargeting_update_v1.py index 24f27cd8..bc373a74 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/retargeting_update_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/retargeting_update_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/retargeting_v1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/retargeting_v1.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/retargeting_v1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/retargeting_v1.py index 5ac81692..cf1d5820 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/retargeting_v1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/retargeting_v1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/size.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/size.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/size.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/size.py index b23fe6e4..4e90e63b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/size.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/size.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/statistics_report_query_message.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/statistics_report_query_message.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/statistics_report_query_message.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/statistics_report_query_message.py index 6305c74b..6cded386 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/statistics_report_query_message.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/statistics_report_query_message.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/tag.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/tag.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/tag.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/tag.py index 487daab8..6e20f709 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/tag.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/tag.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.size import Size + from criteo_api_marketingsolutions_v2024_10.model.size import Size globals()['Size'] = Size diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message.py index 264729cd..fa016eb0 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_list_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message_list_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_list_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message_list_request.py index 831cc2ee..fd8b34d1 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_list_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message_list_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.transactions_report_query_message_resource import TransactionsReportQueryMessageResource + from criteo_api_marketingsolutions_v2024_10.model.transactions_report_query_message_resource import TransactionsReportQueryMessageResource globals()['TransactionsReportQueryMessageResource'] = TransactionsReportQueryMessageResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message_resource.py index 594b642a..c6fa1cc3 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transactions_report_query_message_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.transactions_report_query_message import TransactionsReportQueryMessage + from criteo_api_marketingsolutions_v2024_10.model.transactions_report_query_message import TransactionsReportQueryMessage globals()['TransactionsReportQueryMessage'] = TransactionsReportQueryMessage diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_query_message.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_query_message.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_query_message.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_query_message.py index 24eefbdb..cabd3405 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_query_message.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_query_message.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report.py index 8d21e79c..a23c3381 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.transparency_report_file import TransparencyReportFile + from criteo_api_marketingsolutions_v2024_10.model.transparency_report_file import TransparencyReportFile globals()['TransparencyReportFile'] = TransparencyReportFile diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report_file.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report_file.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report_file.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report_file.py index 25b54b3b..cfe5c961 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report_file.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report_file.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report_list_response.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report_list_response.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report_list_response.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report_list_response.py index 3d8fabec..9552cfa8 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report_list_response.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report_list_response.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.transparency_report_resource import TransparencyReportResource + from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_v2024_10.model.transparency_report_resource import TransparencyReportResource globals()['CommonProblem'] = CommonProblem globals()['TransparencyReportResource'] = TransparencyReportResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report_resource.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report_resource.py index 16493db6..452d67d9 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/transparency_report_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/transparency_report_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.transparency_report import TransparencyReport + from criteo_api_marketingsolutions_v2024_10.model.transparency_report import TransparencyReport globals()['TransparencyReport'] = TransparencyReport diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/update_coupon.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/update_coupon.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/update_coupon.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/update_coupon.py index 1205821e..d35fe4ef 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/update_coupon.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/update_coupon.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/update_coupon_request.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/update_coupon_request.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/update_coupon_request.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/update_coupon_request.py index 96299d8a..a43a666f 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/update_coupon_request.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/update_coupon_request.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.update_coupon_resource import UpdateCouponResource + from criteo_api_marketingsolutions_v2024_10.model.update_coupon_resource import UpdateCouponResource globals()['UpdateCouponResource'] = UpdateCouponResource diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/update_coupon_resource.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/update_coupon_resource.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/update_coupon_resource.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/update_coupon_resource.py index e4d2b709..0d8cdba6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/update_coupon_resource.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/update_coupon_resource.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.update_coupon import UpdateCoupon + from criteo_api_marketingsolutions_v2024_10.model.update_coupon import UpdateCoupon globals()['UpdateCoupon'] = UpdateCoupon diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/video_detail.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/video_detail.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/video_detail.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/video_detail.py index 05920824..4b9b289b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/video_detail.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/video_detail.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/write_model_ad_set_id.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/write_model_ad_set_id.py similarity index 98% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/write_model_ad_set_id.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/write_model_ad_set_id.py index 92a75d33..094bafc8 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/write_model_ad_set_id.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/write_model_ad_set_id.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q1.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/write_model_patch_ad_set_v24_q1.py similarity index 97% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q1.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/write_model_patch_ad_set_v24_q1.py index 09801592..eecb9d4a 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q1.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model/write_model_patch_ad_set_v24_q1.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.patch_ad_set_v24_q1 import PatchAdSetV24Q1 + from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_v24_q1 import PatchAdSetV24Q1 globals()['PatchAdSetV24Q1'] = PatchAdSetV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model_utils.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model_utils.py similarity index 99% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model_utils.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model_utils.py index 0ac79854..e09a96c2 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model_utils.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/model_utils.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -20,7 +20,7 @@ from dateutil.parser import parse -from criteo_api_marketingsolutions_v2023_07.exceptions import ( +from criteo_api_marketingsolutions_v2024_10.exceptions import ( ApiKeyError, ApiAttributeError, ApiTypeError, diff --git a/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/models/__init__.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/models/__init__.py new file mode 100644 index 00000000..a5f12591 --- /dev/null +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/models/__init__.py @@ -0,0 +1,255 @@ +# flake8: noqa + +# import all models into this package +# if you have many models here with many references from one model to another this may +# raise a RecursionError +# to avoid this, import only the models that you directly need like: +# from criteo_api_marketingsolutions_v2024_10.model.pet import Pet +# or import this package, but before doing it, use: +# import sys +# sys.setrecursionlimit(n) + +from criteo_api_marketingsolutions_v2024_10.model.ad import Ad +from criteo_api_marketingsolutions_v2024_10.model.ad_list_response import AdListResponse +from criteo_api_marketingsolutions_v2024_10.model.ad_resource import AdResource +from criteo_api_marketingsolutions_v2024_10.model.ad_response import AdResponse +from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_entity_v1 import AdSetAudienceLinkEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_entity_v1_resource import AdSetAudienceLinkEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_entity_v1_response import AdSetAudienceLinkEntityV1Response +from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_input_entity_v1 import AdSetAudienceLinkInputEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_category_bid import AdSetCategoryBid +from criteo_api_marketingsolutions_v2024_10.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse +from criteo_api_marketingsolutions_v2024_10.model.ad_set_category_bid_resource import AdSetCategoryBidResource +from criteo_api_marketingsolutions_v2024_10.model.ad_set_delivery_limitations_v24_q1 import AdSetDeliveryLimitationsV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_display_multiplier import AdSetDisplayMultiplier +from criteo_api_marketingsolutions_v2024_10.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse +from criteo_api_marketingsolutions_v2024_10.model.ad_set_display_multiplier_resource import AdSetDisplayMultiplierResource +from criteo_api_marketingsolutions_v2024_10.model.ad_set_frequency_capping_v24_q1 import AdSetFrequencyCappingV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_geo_location_v24_q1 import AdSetGeoLocationV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_search_filter_v24_q1 import AdSetSearchFilterV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_search_request_v24_q1 import AdSetSearchRequestV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_targeting_rule_v24_q1 import AdSetTargetingRuleV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_targeting_v24_q1 import AdSetTargetingV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.ad_write import AdWrite +from criteo_api_marketingsolutions_v2024_10.model.ad_write_request import AdWriteRequest +from criteo_api_marketingsolutions_v2024_10.model.ad_write_resource import AdWriteResource +from criteo_api_marketingsolutions_v2024_10.model.adaptive_attributes import AdaptiveAttributes +from criteo_api_marketingsolutions_v2024_10.model.adaptive_colors import AdaptiveColors +from criteo_api_marketingsolutions_v2024_10.model.adaptive_write_attributes import AdaptiveWriteAttributes +from criteo_api_marketingsolutions_v2024_10.model.algebra_node_v1 import AlgebraNodeV1 +from criteo_api_marketingsolutions_v2024_10.model.application_summary_model import ApplicationSummaryModel +from criteo_api_marketingsolutions_v2024_10.model.application_summary_model_resource import ApplicationSummaryModelResource +from criteo_api_marketingsolutions_v2024_10.model.application_summary_model_response import ApplicationSummaryModelResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_bulk_create_input_v1 import AudienceBulkCreateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_bulk_delete_input_v1 import AudienceBulkDeleteInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_bulk_update_input_v1 import AudienceBulkUpdateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_compute_size_entity_v1_resource import AudienceComputeSizeEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_create_entity_v1 import AudienceCreateEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_create_entity_v1_resource import AudienceCreateEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_delete_entity_v1_resource import AudienceDeleteEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1 import AudienceEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_audience_search_metadata_v1_list_response import AudienceEntityV1AudienceSearchMetadataV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_list_response import AudienceEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_resource import AudienceEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_error import AudienceError +from criteo_api_marketingsolutions_v2024_10.model.audience_estimate_size_entity_v1 import AudienceEstimateSizeEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_estimate_size_entity_v1_resource import AudienceEstimateSizeEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_estimate_size_input_v1 import AudienceEstimateSizeInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_id_entity_v1_list_response import AudienceIdEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_id_entity_v1_resource import AudienceIdEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_name_description import AudienceNameDescription +from criteo_api_marketingsolutions_v2024_10.model.audience_search_entity_v1 import AudienceSearchEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_search_entity_v1_resource import AudienceSearchEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_search_input_v1 import AudienceSearchInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_search_metadata_v1 import AudienceSearchMetadataV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_bulk_create_input_v1 import AudienceSegmentBulkCreateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_bulk_delete_input_v1 import AudienceSegmentBulkDeleteInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_bulk_update_input_v1 import AudienceSegmentBulkUpdateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_compute_size_entity_v1_resource import AudienceSegmentComputeSizeEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_create_entity_v1 import AudienceSegmentCreateEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_create_entity_v1_resource import AudienceSegmentCreateEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_delete_entity_v1_resource import AudienceSegmentDeleteEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1 import AudienceSegmentEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response import AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_list_response import AudienceSegmentEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_resource import AudienceSegmentEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_estimate_size_input_v1 import AudienceSegmentEstimateSizeInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_id_entity_v1_list_response import AudienceSegmentIdEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_id_entity_v1_resource import AudienceSegmentIdEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_search_entity_v1 import AudienceSegmentSearchEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_search_entity_v1_resource import AudienceSegmentSearchEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_search_input_v1 import AudienceSegmentSearchInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_search_metadata_v1 import AudienceSegmentSearchMetadataV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_entity_v1 import AudienceSegmentSizeEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_entity_v1_resource import AudienceSegmentSizeEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_entity_v1 import AudienceSegmentSizeEstimationEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_entity_v1_resource import AudienceSegmentSizeEstimationEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_v1 import AudienceSegmentSizeEstimationV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_v1_resource import AudienceSegmentSizeEstimationV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_v1_response import AudienceSegmentSizeEstimationV1Response +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_update_entity_v1 import AudienceSegmentUpdateEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_update_entity_v1_resource import AudienceSegmentUpdateEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_size_entity_v1 import AudienceSizeEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_size_entity_v1_resource import AudienceSizeEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_size_estimation_v1 import AudienceSizeEstimationV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_size_estimation_v1_resource import AudienceSizeEstimationV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_size_estimation_v1_response import AudienceSizeEstimationV1Response +from criteo_api_marketingsolutions_v2024_10.model.audience_update_entity_v1 import AudienceUpdateEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_update_entity_v1_resource import AudienceUpdateEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.audience_warning import AudienceWarning +from criteo_api_marketingsolutions_v2024_10.model.basic_audience_definition import BasicAudienceDefinition +from criteo_api_marketingsolutions_v2024_10.model.behavioral_v1 import BehavioralV1 +from criteo_api_marketingsolutions_v2024_10.model.campaign_search_filters_v23_q1 import CampaignSearchFiltersV23Q1 +from criteo_api_marketingsolutions_v2024_10.model.campaign_search_request_v23_q1 import CampaignSearchRequestV23Q1 +from criteo_api_marketingsolutions_v2024_10.model.campaign_spend_limit_v23_q1 import CampaignSpendLimitV23Q1 +from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1 import CampaignV23Q1 +from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_list_response import CampaignV23Q1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_resource import CampaignV23Q1Resource +from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_response import CampaignV23Q1Response +from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem +from criteo_api_marketingsolutions_v2024_10.model.contact_list_statistics_entity_v1 import ContactListStatisticsEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.contact_list_statistics_entity_v1_resource import ContactListStatisticsEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.contact_list_statistics_entity_v1_response import ContactListStatisticsEntityV1Response +from criteo_api_marketingsolutions_v2024_10.model.contact_list_v1 import ContactListV1 +from criteo_api_marketingsolutions_v2024_10.model.contactlist_amendment import ContactlistAmendment +from criteo_api_marketingsolutions_v2024_10.model.contactlist_amendment_attributes import ContactlistAmendmentAttributes +from criteo_api_marketingsolutions_v2024_10.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2024_10.model.contactlist_operation import ContactlistOperation +from criteo_api_marketingsolutions_v2024_10.model.contactlist_operation_attributes import ContactlistOperationAttributes +from criteo_api_marketingsolutions_v2024_10.model.coupon import Coupon +from criteo_api_marketingsolutions_v2024_10.model.coupon_list_response import CouponListResponse +from criteo_api_marketingsolutions_v2024_10.model.coupon_resource import CouponResource +from criteo_api_marketingsolutions_v2024_10.model.coupon_response import CouponResponse +from criteo_api_marketingsolutions_v2024_10.model.coupon_supported_sizes import CouponSupportedSizes +from criteo_api_marketingsolutions_v2024_10.model.coupon_supported_sizes_resource import CouponSupportedSizesResource +from criteo_api_marketingsolutions_v2024_10.model.coupon_supported_sizes_response import CouponSupportedSizesResponse +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_bidding_v24_q1 import CreateAdSetBiddingV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_budget_v24_q1 import CreateAdSetBudgetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_geo_location_v24_q1 import CreateAdSetGeoLocationV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_schedule_v24_q1 import CreateAdSetScheduleV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_targeting_v24_q1 import CreateAdSetTargetingV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_v24_q1 import CreateAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_v24_q1_request import CreateAdSetV24Q1Request +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_v24_q1_resource import CreateAdSetV24Q1Resource +from criteo_api_marketingsolutions_v2024_10.model.create_campaign import CreateCampaign +from criteo_api_marketingsolutions_v2024_10.model.create_campaign_request import CreateCampaignRequest +from criteo_api_marketingsolutions_v2024_10.model.create_campaign_resource import CreateCampaignResource +from criteo_api_marketingsolutions_v2024_10.model.create_campaign_spend_limit import CreateCampaignSpendLimit +from criteo_api_marketingsolutions_v2024_10.model.create_coupon import CreateCoupon +from criteo_api_marketingsolutions_v2024_10.model.create_coupon_request import CreateCouponRequest +from criteo_api_marketingsolutions_v2024_10.model.create_coupon_resource import CreateCouponResource +from criteo_api_marketingsolutions_v2024_10.model.create_image_slide import CreateImageSlide +from criteo_api_marketingsolutions_v2024_10.model.creative import Creative +from criteo_api_marketingsolutions_v2024_10.model.creative_list_response import CreativeListResponse +from criteo_api_marketingsolutions_v2024_10.model.creative_resource import CreativeResource +from criteo_api_marketingsolutions_v2024_10.model.creative_response import CreativeResponse +from criteo_api_marketingsolutions_v2024_10.model.creative_write import CreativeWrite +from criteo_api_marketingsolutions_v2024_10.model.creative_write_request import CreativeWriteRequest +from criteo_api_marketingsolutions_v2024_10.model.creative_write_resource import CreativeWriteResource +from criteo_api_marketingsolutions_v2024_10.model.criteo_api_error import CriteoApiError +from criteo_api_marketingsolutions_v2024_10.model.criteo_api_warning import CriteoApiWarning +from criteo_api_marketingsolutions_v2024_10.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_10.model.dynamic_attributes import DynamicAttributes +from criteo_api_marketingsolutions_v2024_10.model.dynamic_write_attributes import DynamicWriteAttributes +from criteo_api_marketingsolutions_v2024_10.model.entity_of_portfolio_message import EntityOfPortfolioMessage +from criteo_api_marketingsolutions_v2024_10.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_v2024_10.model.get_portfolio_response import GetPortfolioResponse +from criteo_api_marketingsolutions_v2024_10.model.html_tag_attributes import HtmlTagAttributes +from criteo_api_marketingsolutions_v2024_10.model.html_tag_write_attributes import HtmlTagWriteAttributes +from criteo_api_marketingsolutions_v2024_10.model.image_attributes import ImageAttributes +from criteo_api_marketingsolutions_v2024_10.model.image_set import ImageSet +from criteo_api_marketingsolutions_v2024_10.model.image_set_base64 import ImageSetBase64 +from criteo_api_marketingsolutions_v2024_10.model.image_shape import ImageShape +from criteo_api_marketingsolutions_v2024_10.model.image_slide import ImageSlide +from criteo_api_marketingsolutions_v2024_10.model.image_write_attributes import ImageWriteAttributes +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_brand_entity_v1 import InMarketAudienceSegmentBrandEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_brand_entity_v1_list_response import InMarketAudienceSegmentBrandEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_brand_entity_v1_resource import InMarketAudienceSegmentBrandEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_interest_entity_v1 import InMarketAudienceSegmentInterestEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_interest_entity_v1_list_response import InMarketAudienceSegmentInterestEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_interest_entity_v1_resource import InMarketAudienceSegmentInterestEntityV1Resource +from criteo_api_marketingsolutions_v2024_10.model.in_market_create_v1 import InMarketCreateV1 +from criteo_api_marketingsolutions_v2024_10.model.in_market_size_estimation_v1 import InMarketSizeEstimationV1 +from criteo_api_marketingsolutions_v2024_10.model.in_market_update_v1 import InMarketUpdateV1 +from criteo_api_marketingsolutions_v2024_10.model.in_market_v1 import InMarketV1 +from criteo_api_marketingsolutions_v2024_10.model.location_create_v1 import LocationCreateV1 +from criteo_api_marketingsolutions_v2024_10.model.location_size_estimation_v1 import LocationSizeEstimationV1 +from criteo_api_marketingsolutions_v2024_10.model.location_update_v1 import LocationUpdateV1 +from criteo_api_marketingsolutions_v2024_10.model.location_v1 import LocationV1 +from criteo_api_marketingsolutions_v2024_10.model.lookalike_create_v1 import LookalikeCreateV1 +from criteo_api_marketingsolutions_v2024_10.model.lookalike_update_v1 import LookalikeUpdateV1 +from criteo_api_marketingsolutions_v2024_10.model.lookalike_v1 import LookalikeV1 +from criteo_api_marketingsolutions_v2024_10.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_v2024_10.model.nillable_ad_set_targeting_rule_v24_q1 import NillableAdSetTargetingRuleV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.nillable_ad_set_targeting_rule_v24_q1_value import NillableAdSetTargetingRuleV24Q1Value +from criteo_api_marketingsolutions_v2024_10.model.nillable_date_time import NillableDateTime +from criteo_api_marketingsolutions_v2024_10.model.nillable_decimal import NillableDecimal +from criteo_api_marketingsolutions_v2024_10.model.nillable_gender_v1 import NillableGenderV1 +from criteo_api_marketingsolutions_v2024_10.model.nillable_int32 import NillableInt32 +from criteo_api_marketingsolutions_v2024_10.model.nillable_string import NillableString +from criteo_api_marketingsolutions_v2024_10.model.outcome import Outcome +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_bidding_v24_q1 import PatchAdSetBiddingV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_budget_v24_q1 import PatchAdSetBudgetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid import PatchAdSetCategoryBid +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_list_request import PatchAdSetCategoryBidListRequest +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_resource import PatchAdSetCategoryBidResource +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_result_list_response import PatchAdSetCategoryBidResultListResponse +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_result_resource import PatchAdSetCategoryBidResultResource +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier import PatchAdSetDisplayMultiplier +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_list_request import PatchAdSetDisplayMultiplierListRequest +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_resource import PatchAdSetDisplayMultiplierResource +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_result_list_response import PatchAdSetDisplayMultiplierResultListResponse +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_result_resource import PatchAdSetDisplayMultiplierResultResource +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_scheduling_v24_q1 import PatchAdSetSchedulingV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_v24_q1 import PatchAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.patch_campaign import PatchCampaign +from criteo_api_marketingsolutions_v2024_10.model.patch_campaign_list_request import PatchCampaignListRequest +from criteo_api_marketingsolutions_v2024_10.model.patch_campaign_spend_limit import PatchCampaignSpendLimit +from criteo_api_marketingsolutions_v2024_10.model.patch_campaign_write_resource import PatchCampaignWriteResource +from criteo_api_marketingsolutions_v2024_10.model.patch_result_campaign_list_response import PatchResultCampaignListResponse +from criteo_api_marketingsolutions_v2024_10.model.patch_result_campaign_read_resource import PatchResultCampaignReadResource +from criteo_api_marketingsolutions_v2024_10.model.placements_report_query_message import PlacementsReportQueryMessage +from criteo_api_marketingsolutions_v2024_10.model.placements_report_query_message_list_request import PlacementsReportQueryMessageListRequest +from criteo_api_marketingsolutions_v2024_10.model.placements_report_query_message_resource import PlacementsReportQueryMessageResource +from criteo_api_marketingsolutions_v2024_10.model.point_of_interest_v1 import PointOfInterestV1 +from criteo_api_marketingsolutions_v2024_10.model.portfolio_message import PortfolioMessage +from criteo_api_marketingsolutions_v2024_10.model.prospecting_create_v1 import ProspectingCreateV1 +from criteo_api_marketingsolutions_v2024_10.model.prospecting_update_v1 import ProspectingUpdateV1 +from criteo_api_marketingsolutions_v2024_10.model.prospecting_v1 import ProspectingV1 +from criteo_api_marketingsolutions_v2024_10.model.read_ad_set_bidding_v24_q1 import ReadAdSetBiddingV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.read_ad_set_budget_v24_q1 import ReadAdSetBudgetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.read_ad_set_schedule_v24_q1 import ReadAdSetScheduleV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.read_ad_set_v24_q1 import ReadAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.read_model_ad_set_id import ReadModelAdSetId +from criteo_api_marketingsolutions_v2024_10.model.read_model_ad_set_id_v24_q1 import ReadModelAdSetIdV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.read_model_read_ad_set_v24_q1 import ReadModelReadAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.requests_ad_set_id import RequestsAdSetId +from criteo_api_marketingsolutions_v2024_10.model.requests_patch_ad_set_v24_q1 import RequestsPatchAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.response_read_ad_set_v24_q1 import ResponseReadAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.responses_ad_set_id import ResponsesAdSetId +from criteo_api_marketingsolutions_v2024_10.model.responses_ad_set_id_v24_q1 import ResponsesAdSetIdV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.responses_read_ad_set_v24_q1 import ResponsesReadAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.retargeting_create_v1 import RetargetingCreateV1 +from criteo_api_marketingsolutions_v2024_10.model.retargeting_update_v1 import RetargetingUpdateV1 +from criteo_api_marketingsolutions_v2024_10.model.retargeting_v1 import RetargetingV1 +from criteo_api_marketingsolutions_v2024_10.model.size import Size +from criteo_api_marketingsolutions_v2024_10.model.statistics_report_query_message import StatisticsReportQueryMessage +from criteo_api_marketingsolutions_v2024_10.model.tag import Tag +from criteo_api_marketingsolutions_v2024_10.model.transactions_report_query_message import TransactionsReportQueryMessage +from criteo_api_marketingsolutions_v2024_10.model.transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest +from criteo_api_marketingsolutions_v2024_10.model.transactions_report_query_message_resource import TransactionsReportQueryMessageResource +from criteo_api_marketingsolutions_v2024_10.model.transparency_query_message import TransparencyQueryMessage +from criteo_api_marketingsolutions_v2024_10.model.transparency_report import TransparencyReport +from criteo_api_marketingsolutions_v2024_10.model.transparency_report_file import TransparencyReportFile +from criteo_api_marketingsolutions_v2024_10.model.transparency_report_list_response import TransparencyReportListResponse +from criteo_api_marketingsolutions_v2024_10.model.transparency_report_resource import TransparencyReportResource +from criteo_api_marketingsolutions_v2024_10.model.update_coupon import UpdateCoupon +from criteo_api_marketingsolutions_v2024_10.model.update_coupon_request import UpdateCouponRequest +from criteo_api_marketingsolutions_v2024_10.model.update_coupon_resource import UpdateCouponResource +from criteo_api_marketingsolutions_v2024_10.model.video_detail import VideoDetail +from criteo_api_marketingsolutions_v2024_10.model.write_model_ad_set_id import WriteModelAdSetId +from criteo_api_marketingsolutions_v2024_10.model.write_model_patch_ad_set_v24_q1 import WriteModelPatchAdSetV24Q1 diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/rest.py b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/rest.py similarity index 99% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/rest.py rename to sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/rest.py index bbe6601e..cbfc9add 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/rest.py +++ b/sdks/marketingsolutions_2024-10/criteo_api_marketingsolutions_v2024_10/rest.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -19,7 +19,7 @@ import urllib3 import ipaddress -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError +from criteo_api_marketingsolutions_v2024_10.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError logger = logging.getLogger(__name__) diff --git a/sdks/marketingsolutions_2023-07/docs/Ad.md b/sdks/marketingsolutions_2024-10/docs/Ad.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/Ad.md rename to sdks/marketingsolutions_2024-10/docs/Ad.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdListResponse.md b/sdks/marketingsolutions_2024-10/docs/AdListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AdListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdResource.md b/sdks/marketingsolutions_2024-10/docs/AdResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdResource.md rename to sdks/marketingsolutions_2024-10/docs/AdResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdResponse.md b/sdks/marketingsolutions_2024-10/docs/AdResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdResponse.md rename to sdks/marketingsolutions_2024-10/docs/AdResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetAudienceLinkEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AdSetAudienceLinkEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetAudienceLinkEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AdSetAudienceLinkEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetAudienceLinkEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AdSetAudienceLinkEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetAudienceLinkEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AdSetAudienceLinkEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetAudienceLinkEntityV1Response.md b/sdks/marketingsolutions_2024-10/docs/AdSetAudienceLinkEntityV1Response.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetAudienceLinkEntityV1Response.md rename to sdks/marketingsolutions_2024-10/docs/AdSetAudienceLinkEntityV1Response.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetAudienceLinkInputEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AdSetAudienceLinkInputEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetAudienceLinkInputEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AdSetAudienceLinkInputEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetCategoryBid.md b/sdks/marketingsolutions_2024-10/docs/AdSetCategoryBid.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetCategoryBid.md rename to sdks/marketingsolutions_2024-10/docs/AdSetCategoryBid.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetCategoryBidListResponse.md b/sdks/marketingsolutions_2024-10/docs/AdSetCategoryBidListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetCategoryBidListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AdSetCategoryBidListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetCategoryBidResource.md b/sdks/marketingsolutions_2024-10/docs/AdSetCategoryBidResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetCategoryBidResource.md rename to sdks/marketingsolutions_2024-10/docs/AdSetCategoryBidResource.md diff --git a/sdks/marketingsolutions_preview/docs/AdSetDeliveryLimitationsV24Q1.md b/sdks/marketingsolutions_2024-10/docs/AdSetDeliveryLimitationsV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/AdSetDeliveryLimitationsV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/AdSetDeliveryLimitationsV24Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetDisplayMultiplier.md b/sdks/marketingsolutions_2024-10/docs/AdSetDisplayMultiplier.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetDisplayMultiplier.md rename to sdks/marketingsolutions_2024-10/docs/AdSetDisplayMultiplier.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetDisplayMultiplierListResponse.md b/sdks/marketingsolutions_2024-10/docs/AdSetDisplayMultiplierListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetDisplayMultiplierListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AdSetDisplayMultiplierListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetDisplayMultiplierResource.md b/sdks/marketingsolutions_2024-10/docs/AdSetDisplayMultiplierResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdSetDisplayMultiplierResource.md rename to sdks/marketingsolutions_2024-10/docs/AdSetDisplayMultiplierResource.md diff --git a/sdks/marketingsolutions_preview/docs/AdSetFrequencyCappingV24Q1.md b/sdks/marketingsolutions_2024-10/docs/AdSetFrequencyCappingV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/AdSetFrequencyCappingV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/AdSetFrequencyCappingV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/AdSetGeoLocationV24Q1.md b/sdks/marketingsolutions_2024-10/docs/AdSetGeoLocationV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/AdSetGeoLocationV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/AdSetGeoLocationV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/AdSetSearchFilterV24Q1.md b/sdks/marketingsolutions_2024-10/docs/AdSetSearchFilterV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/AdSetSearchFilterV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/AdSetSearchFilterV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/AdSetSearchRequestV24Q1.md b/sdks/marketingsolutions_2024-10/docs/AdSetSearchRequestV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/AdSetSearchRequestV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/AdSetSearchRequestV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/AdSetTargetingRuleV24Q1.md b/sdks/marketingsolutions_2024-10/docs/AdSetTargetingRuleV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/AdSetTargetingRuleV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/AdSetTargetingRuleV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/AdSetTargetingV24Q1.md b/sdks/marketingsolutions_2024-10/docs/AdSetTargetingV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/AdSetTargetingV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/AdSetTargetingV24Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdWrite.md b/sdks/marketingsolutions_2024-10/docs/AdWrite.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdWrite.md rename to sdks/marketingsolutions_2024-10/docs/AdWrite.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdWriteRequest.md b/sdks/marketingsolutions_2024-10/docs/AdWriteRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdWriteRequest.md rename to sdks/marketingsolutions_2024-10/docs/AdWriteRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdWriteResource.md b/sdks/marketingsolutions_2024-10/docs/AdWriteResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdWriteResource.md rename to sdks/marketingsolutions_2024-10/docs/AdWriteResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdaptiveAttributes.md b/sdks/marketingsolutions_2024-10/docs/AdaptiveAttributes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdaptiveAttributes.md rename to sdks/marketingsolutions_2024-10/docs/AdaptiveAttributes.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdaptiveColors.md b/sdks/marketingsolutions_2024-10/docs/AdaptiveColors.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdaptiveColors.md rename to sdks/marketingsolutions_2024-10/docs/AdaptiveColors.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdaptiveWriteAttributes.md b/sdks/marketingsolutions_2024-10/docs/AdaptiveWriteAttributes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AdaptiveWriteAttributes.md rename to sdks/marketingsolutions_2024-10/docs/AdaptiveWriteAttributes.md diff --git a/sdks/marketingsolutions_2023-07/docs/AdvertiserApi.md b/sdks/marketingsolutions_2024-10/docs/AdvertiserApi.md similarity index 80% rename from sdks/marketingsolutions_2023-07/docs/AdvertiserApi.md rename to sdks/marketingsolutions_2024-10/docs/AdvertiserApi.md index d86dfb93..2056df19 100644 --- a/sdks/marketingsolutions_2023-07/docs/AdvertiserApi.md +++ b/sdks/marketingsolutions_2024-10/docs/AdvertiserApi.md @@ -1,10 +1,10 @@ -# criteo_api_marketingsolutions_v2023_07.AdvertiserApi +# criteo_api_marketingsolutions_v2024_10.AdvertiserApi All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**api_portfolio_get**](AdvertiserApi.md#api_portfolio_get) | **GET** /2023-07/advertisers/me | +[**api_portfolio_get**](AdvertiserApi.md#api_portfolio_get) | **GET** /2024-10/advertisers/me | # **api_portfolio_get** @@ -21,13 +21,13 @@ Fetch the portfolio of Advertisers for this account ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import advertiser_api -from criteo_api_marketingsolutions_v2023_07.model.get_portfolio_response import GetPortfolioResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import advertiser_api +from criteo_api_marketingsolutions_v2024_10.model.get_portfolio_response import GetPortfolioResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -37,19 +37,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = advertiser_api.AdvertiserApi(api_client) @@ -57,7 +57,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.api_portfolio_get() pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AdvertiserApi->api_portfolio_get: %s\n" % e) ``` diff --git a/sdks/marketingsolutions_2023-07/docs/AlgebraNodeV1.md b/sdks/marketingsolutions_2024-10/docs/AlgebraNodeV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AlgebraNodeV1.md rename to sdks/marketingsolutions_2024-10/docs/AlgebraNodeV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AnalyticsApi.md b/sdks/marketingsolutions_2024-10/docs/AnalyticsApi.md similarity index 83% rename from sdks/marketingsolutions_2023-07/docs/AnalyticsApi.md rename to sdks/marketingsolutions_2024-10/docs/AnalyticsApi.md index 938c3570..82a1adda 100644 --- a/sdks/marketingsolutions_2023-07/docs/AnalyticsApi.md +++ b/sdks/marketingsolutions_2024-10/docs/AnalyticsApi.md @@ -1,17 +1,17 @@ -# criteo_api_marketingsolutions_v2023_07.AnalyticsApi +# criteo_api_marketingsolutions_v2024_10.AnalyticsApi All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_adset_report**](AnalyticsApi.md#get_adset_report) | **POST** /2023-07/statistics/report | -[**get_placements_report**](AnalyticsApi.md#get_placements_report) | **POST** /2023-07/placements/report | -[**get_transactions_report**](AnalyticsApi.md#get_transactions_report) | **POST** /2023-07/transactions/report | -[**get_transparency_report**](AnalyticsApi.md#get_transparency_report) | **POST** /2023-07/log-level/advertisers/{advertiser-id}/report | +[**get_adset_report**](AnalyticsApi.md#get_adset_report) | **POST** /2024-10/statistics/report | +[**get_placements_report**](AnalyticsApi.md#get_placements_report) | **POST** /2024-10/placements/report | +[**get_transactions_report**](AnalyticsApi.md#get_transactions_report) | **POST** /2024-10/transactions/report | +[**get_transparency_report**](AnalyticsApi.md#get_transparency_report) | **POST** /2024-10/log-level/advertisers/{advertiser-id}/report | # **get_adset_report** -> str get_adset_report() +> file_type get_adset_report() @@ -24,14 +24,14 @@ This Statistics endpoint provides adset related data. It is an upgrade of our pr ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import analytics_api -from criteo_api_marketingsolutions_v2023_07.model.outcome import Outcome -from criteo_api_marketingsolutions_v2023_07.model.statistics_report_query_message import StatisticsReportQueryMessage +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import analytics_api +from criteo_api_marketingsolutions_v2024_10.model.outcome import Outcome +from criteo_api_marketingsolutions_v2024_10.model.statistics_report_query_message import StatisticsReportQueryMessage from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -41,19 +41,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = analytics_api.AnalyticsApi(api_client) statistics_report_query_message = StatisticsReportQueryMessage( @@ -85,7 +85,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_adset_report(statistics_report_query_message=statistics_report_query_message) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AnalyticsApi->get_adset_report: %s\n" % e) ``` @@ -98,7 +98,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -121,7 +121,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_placements_report** -> str get_placements_report() +> file_type get_placements_report() @@ -134,14 +134,14 @@ Your ads are placed in different domains (publishers) and environments (websites ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import analytics_api -from criteo_api_marketingsolutions_v2023_07.model.outcome import Outcome -from criteo_api_marketingsolutions_v2023_07.model.placements_report_query_message_list_request import PlacementsReportQueryMessageListRequest +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import analytics_api +from criteo_api_marketingsolutions_v2024_10.model.outcome import Outcome +from criteo_api_marketingsolutions_v2024_10.model.placements_report_query_message_list_request import PlacementsReportQueryMessageListRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -151,19 +151,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = analytics_api.AnalyticsApi(api_client) placements_report_query_message_list_request = PlacementsReportQueryMessageListRequest( @@ -198,7 +198,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_placements_report(placements_report_query_message_list_request=placements_report_query_message_list_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AnalyticsApi->get_placements_report: %s\n" % e) ``` @@ -211,7 +211,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -220,7 +220,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json, application/xml, text/xml + - **Accept**: text/plain, application/json, text/json, text/csv, application/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/xml ### HTTP response details @@ -234,7 +234,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_report** -> str get_transactions_report() +> file_type get_transactions_report() @@ -247,14 +247,14 @@ This Transactions endpoint provides transactions id related data. ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import analytics_api -from criteo_api_marketingsolutions_v2023_07.model.outcome import Outcome -from criteo_api_marketingsolutions_v2023_07.model.transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import analytics_api +from criteo_api_marketingsolutions_v2024_10.model.outcome import Outcome +from criteo_api_marketingsolutions_v2024_10.model.transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -264,19 +264,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = analytics_api.AnalyticsApi(api_client) transactions_report_query_message_list_request = TransactionsReportQueryMessageListRequest( @@ -301,7 +301,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_transactions_report(transactions_report_query_message_list_request=transactions_report_query_message_list_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AnalyticsApi->get_transactions_report: %s\n" % e) ``` @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -350,15 +350,15 @@ This Statistics endpoint provides publisher data. ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import analytics_api -from criteo_api_marketingsolutions_v2023_07.model.outcome import Outcome -from criteo_api_marketingsolutions_v2023_07.model.transparency_query_message import TransparencyQueryMessage -from criteo_api_marketingsolutions_v2023_07.model.transparency_report_list_response import TransparencyReportListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import analytics_api +from criteo_api_marketingsolutions_v2024_10.model.outcome import Outcome +from criteo_api_marketingsolutions_v2024_10.model.transparency_report_list_response import TransparencyReportListResponse +from criteo_api_marketingsolutions_v2024_10.model.transparency_query_message import TransparencyQueryMessage from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -368,19 +368,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = analytics_api.AnalyticsApi(api_client) advertiser_id = 1 # int | The advertiser id to fetch the transparency data. @@ -394,7 +394,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_transparency_report(advertiser_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AnalyticsApi->get_transparency_report: %s\n" % e) # example passing only required values which don't have defaults set @@ -402,7 +402,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_transparency_report(advertiser_id, transparency_query_message=transparency_query_message) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AnalyticsApi->get_transparency_report: %s\n" % e) ``` diff --git a/sdks/marketingsolutions_2023-07/docs/ApplicationSummaryModel.md b/sdks/marketingsolutions_2024-10/docs/ApplicationSummaryModel.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ApplicationSummaryModel.md rename to sdks/marketingsolutions_2024-10/docs/ApplicationSummaryModel.md diff --git a/sdks/marketingsolutions_2023-07/docs/ApplicationSummaryModelResource.md b/sdks/marketingsolutions_2024-10/docs/ApplicationSummaryModelResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ApplicationSummaryModelResource.md rename to sdks/marketingsolutions_2024-10/docs/ApplicationSummaryModelResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/ApplicationSummaryModelResponse.md b/sdks/marketingsolutions_2024-10/docs/ApplicationSummaryModelResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ApplicationSummaryModelResponse.md rename to sdks/marketingsolutions_2024-10/docs/ApplicationSummaryModelResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceApi.md b/sdks/marketingsolutions_2024-10/docs/AudienceApi.md similarity index 75% rename from sdks/marketingsolutions_2023-07/docs/AudienceApi.md rename to sdks/marketingsolutions_2024-10/docs/AudienceApi.md index 8eaa0bcf..6d5dec2e 100644 --- a/sdks/marketingsolutions_2023-07/docs/AudienceApi.md +++ b/sdks/marketingsolutions_2024-10/docs/AudienceApi.md @@ -1,30 +1,28 @@ -# criteo_api_marketingsolutions_v2023_07.AudienceApi +# criteo_api_marketingsolutions_v2024_10.AudienceApi All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**bulk_create_audience_segments**](AudienceApi.md#bulk_create_audience_segments) | **POST** /2023-07/marketing-solutions/audience-segments/create | -[**bulk_create_audiences**](AudienceApi.md#bulk_create_audiences) | **POST** /2023-07/marketing-solutions/audiences/create | -[**bulk_delete_audience_segments**](AudienceApi.md#bulk_delete_audience_segments) | **POST** /2023-07/marketing-solutions/audience-segments/delete | -[**bulk_delete_audiences**](AudienceApi.md#bulk_delete_audiences) | **POST** /2023-07/marketing-solutions/audiences/delete | -[**bulk_update_audience_segments**](AudienceApi.md#bulk_update_audience_segments) | **PATCH** /2023-07/marketing-solutions/audience-segments | -[**bulk_update_audiences**](AudienceApi.md#bulk_update_audiences) | **PATCH** /2023-07/marketing-solutions/audiences | -[**compute_audience_segments_sizes**](AudienceApi.md#compute_audience_segments_sizes) | **POST** /2023-07/marketing-solutions/audience-segments/compute-sizes | -[**compute_audiences_sizes**](AudienceApi.md#compute_audiences_sizes) | **POST** /2023-07/marketing-solutions/audiences/compute-sizes | -[**create_audience**](AudienceApi.md#create_audience) | **POST** /2023-07/audiences | -[**delete_identifiers**](AudienceApi.md#delete_identifiers) | **DELETE** /2023-07/audiences/{audience-id}/contactlist | -[**estimate_audience_segment_size**](AudienceApi.md#estimate_audience_segment_size) | **POST** /2023-07/marketing-solutions/audience-segments/estimate-size | -[**estimate_audience_size**](AudienceApi.md#estimate_audience_size) | **POST** /2023-07/marketing-solutions/audiences/estimate-size | -[**get_audience_segment_contact_list_statistics**](AudienceApi.md#get_audience_segment_contact_list_statistics) | **GET** /2023-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | -[**get_audience_segments_in_market_brands**](AudienceApi.md#get_audience_segments_in_market_brands) | **GET** /2023-07/marketing-solutions/audience-segments/in-market-brands | -[**get_audience_segments_in_market_interests**](AudienceApi.md#get_audience_segments_in_market_interests) | **GET** /2023-07/marketing-solutions/audience-segments/in-market-interests | -[**get_audiences**](AudienceApi.md#get_audiences) | **GET** /2023-07/audiences | -[**modify_audience**](AudienceApi.md#modify_audience) | **PATCH** /2023-07/audiences/{audience-id} | -[**modify_audience_users**](AudienceApi.md#modify_audience_users) | **PATCH** /2023-07/audiences/{audience-id}/contactlist | -[**remove_audience**](AudienceApi.md#remove_audience) | **DELETE** /2023-07/audiences/{audience-id} | -[**search_audience_segments**](AudienceApi.md#search_audience_segments) | **POST** /2023-07/marketing-solutions/audience-segments/search | -[**search_audiences**](AudienceApi.md#search_audiences) | **POST** /2023-07/marketing-solutions/audiences/search | +[**bulk_create_audience_segments**](AudienceApi.md#bulk_create_audience_segments) | **POST** /2024-10/marketing-solutions/audience-segments/create | +[**bulk_create_audiences**](AudienceApi.md#bulk_create_audiences) | **POST** /2024-10/marketing-solutions/audiences/create | +[**bulk_delete_audience_segments**](AudienceApi.md#bulk_delete_audience_segments) | **POST** /2024-10/marketing-solutions/audience-segments/delete | +[**bulk_delete_audiences**](AudienceApi.md#bulk_delete_audiences) | **POST** /2024-10/marketing-solutions/audiences/delete | +[**bulk_update_audience_segments**](AudienceApi.md#bulk_update_audience_segments) | **PATCH** /2024-10/marketing-solutions/audience-segments | +[**bulk_update_audiences**](AudienceApi.md#bulk_update_audiences) | **PATCH** /2024-10/marketing-solutions/audiences | +[**call_10_audiences_audience_segment_id_contactlist_delete**](AudienceApi.md#call_10_audiences_audience_segment_id_contactlist_delete) | **DELETE** /2024-10/audiences/{audience-segment-id}/contactlist | +[**call_10_audiences_audience_segment_id_contactlist_patch**](AudienceApi.md#call_10_audiences_audience_segment_id_contactlist_patch) | **PATCH** /2024-10/audiences/{audience-segment-id}/contactlist | +[**call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete**](AudienceApi.md#call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete) | **DELETE** /2024-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | +[**call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch**](AudienceApi.md#call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch) | **PATCH** /2024-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | +[**compute_audience_segments_sizes**](AudienceApi.md#compute_audience_segments_sizes) | **POST** /2024-10/marketing-solutions/audience-segments/compute-sizes | +[**compute_audiences_sizes**](AudienceApi.md#compute_audiences_sizes) | **POST** /2024-10/marketing-solutions/audiences/compute-sizes | +[**estimate_audience_segment_size**](AudienceApi.md#estimate_audience_segment_size) | **POST** /2024-10/marketing-solutions/audience-segments/estimate-size | +[**estimate_audience_size**](AudienceApi.md#estimate_audience_size) | **POST** /2024-10/marketing-solutions/audiences/estimate-size | +[**get_audience_segment_contact_list_statistics**](AudienceApi.md#get_audience_segment_contact_list_statistics) | **GET** /2024-10/marketing-solutions/audience-segments/{audience-segment-id}/contact-list/statistics | +[**get_audience_segments_in_market_brands**](AudienceApi.md#get_audience_segments_in_market_brands) | **GET** /2024-10/marketing-solutions/audience-segments/in-market-brands | +[**get_audience_segments_in_market_interests**](AudienceApi.md#get_audience_segments_in_market_interests) | **GET** /2024-10/marketing-solutions/audience-segments/in-market-interests | +[**search_audience_segments**](AudienceApi.md#search_audience_segments) | **POST** /2024-10/marketing-solutions/audience-segments/search | +[**search_audiences**](AudienceApi.md#search_audiences) | **POST** /2024-10/marketing-solutions/audiences/search | # **bulk_create_audience_segments** @@ -41,14 +39,14 @@ Creates all segments with a valid configuration, and returns their IDs. For thos ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_list_response import AudienceSegmentEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_bulk_create_input_v1 import AudienceSegmentBulkCreateInputV1 +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_bulk_create_input_v1 import AudienceSegmentBulkCreateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_list_response import AudienceSegmentEntityV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -58,19 +56,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) audience_segment_bulk_create_input_v1 = AudienceSegmentBulkCreateInputV1( @@ -131,7 +129,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.bulk_create_audience_segments(audience_segment_bulk_create_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->bulk_create_audience_segments: %s\n" % e) ``` @@ -181,14 +179,14 @@ Creates all audiences with a valid configuration, and returns their IDs. For tho ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_bulk_create_input_v1 import AudienceBulkCreateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_list_response import AudienceEntityV1ListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_list_response import AudienceEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_bulk_create_input_v1 import AudienceBulkCreateInputV1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -198,19 +196,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) audience_bulk_create_input_v1 = AudienceBulkCreateInputV1( @@ -240,7 +238,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.bulk_create_audiences(audience_bulk_create_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->bulk_create_audiences: %s\n" % e) ``` @@ -290,14 +288,14 @@ Delete the segments associated to the given audience IDs. ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_id_entity_v1_list_response import AudienceSegmentIdEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_bulk_delete_input_v1 import AudienceSegmentBulkDeleteInputV1 +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_bulk_delete_input_v1 import AudienceSegmentBulkDeleteInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_id_entity_v1_list_response import AudienceSegmentIdEntityV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -307,19 +305,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) audience_segment_bulk_delete_input_v1 = AudienceSegmentBulkDeleteInputV1( @@ -336,7 +334,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->bulk_delete_audience_segments: %s\n" % e) ``` @@ -386,14 +384,14 @@ Deletes the audiences associated to the given audience IDs. ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_id_entity_v1_list_response import AudienceIdEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_bulk_delete_input_v1 import AudienceBulkDeleteInputV1 +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_bulk_delete_input_v1 import AudienceBulkDeleteInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_id_entity_v1_list_response import AudienceIdEntityV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -403,19 +401,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) audience_bulk_delete_input_v1 = AudienceBulkDeleteInputV1( @@ -432,7 +430,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.bulk_delete_audiences(audience_bulk_delete_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->bulk_delete_audiences: %s\n" % e) ``` @@ -483,14 +481,14 @@ Updates the properties of all segments with a valid configuration, and returns t ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_list_response import AudienceSegmentEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_bulk_update_input_v1 import AudienceSegmentBulkUpdateInputV1 +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_list_response import AudienceSegmentEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_bulk_update_input_v1 import AudienceSegmentBulkUpdateInputV1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -500,19 +498,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) audience_segment_bulk_update_input_v1 = AudienceSegmentBulkUpdateInputV1( @@ -580,7 +578,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.bulk_update_audience_segments(audience_segment_bulk_update_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->bulk_update_audience_segments: %s\n" % e) ``` @@ -630,14 +628,14 @@ Updates the properties of all audiences with a valid configuration, and returns ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_bulk_update_input_v1 import AudienceBulkUpdateInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_list_response import AudienceEntityV1ListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_bulk_update_input_v1 import AudienceBulkUpdateInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_list_response import AudienceEntityV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -647,19 +645,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) audience_bulk_update_input_v1 = AudienceBulkUpdateInputV1( @@ -691,7 +689,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.bulk_update_audiences(audience_bulk_update_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->bulk_update_audiences: %s\n" % e) ``` @@ -727,12 +725,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audience_segments_sizes** -> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) +# **call_10_audiences_audience_segment_id_contactlist_delete** +> DeleteAudienceContactListResponse call_10_audiences_audience_segment_id_contactlist_delete(audience_segment_id) -Gets the size of all segments. An error is returned for those whose size calculation is not supported. +Delete all identifiers from a contact list audience-segment. ### Example @@ -741,14 +739,14 @@ Gets the size of all segments. An error is returned for those whose size calcula ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_10.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -758,37 +756,29 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( - data=[ - AudienceSegmentComputeSizeEntityV1Resource( - attributes={}, - id="id_example", - type="type_example", - ), - ], - ) # AudienceSegmentComputeSizesInputV1 | + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) + api_response = api_instance.call_10_audiences_audience_segment_id_contactlist_delete(audience_segment_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->call_10_audiences_audience_segment_id_contactlist_delete: %s\n" % e) ``` @@ -796,11 +786,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | ### Return type -[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) ### Authorization @@ -808,27 +798,25 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success or partial success | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **compute_audiences_sizes** -> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) +# **call_10_audiences_audience_segment_id_contactlist_patch** +> ModifyAudienceResponse call_10_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) -Gets the size of all audiences. An error is returned for those whose size calculation is not supported. +Add/remove identifiers to or from a contact list audience-segment. ### Example @@ -837,14 +825,15 @@ Gets the size of all audiences. An error is returned for those whose size calcul ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse -from criteo_api_marketingsolutions_v2023_07.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2024_10.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_v2024_10.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -854,37 +843,42 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( - data=[ - AudienceComputeSizeEntityV1Resource( - attributes={}, - id="id_example", - type="type_example", + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, ), - ], - ) # AudienceComputeSizesInputV1 | + ), + ) # ContactlistAmendmentRequest | # example passing only required values which don't have defaults set try: - api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) + api_response = api_instance.call_10_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->call_10_audiences_audience_segment_id_contactlist_patch: %s\n" % e) ``` @@ -892,11 +886,12 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | ### Return type -[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) ### Authorization @@ -904,27 +899,26 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success or partial success | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_audience** -> NewAudienceResponse create_audience(new_audience_request) +# **call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete** +> DeleteAudienceContactListResponse call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) -Create an Audience for an Advertiser +Delete all identifiers from a contact list audience-segment. ### Example @@ -933,15 +927,14 @@ Create an Audience for an Advertiser ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2023_07.model.new_audience_request import NewAudienceRequest -from criteo_api_marketingsolutions_v2023_07.model.new_audience_response import NewAudienceResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_v2024_10.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -951,38 +944,29 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - new_audience_request = NewAudienceRequest( - data=NewAudience( - type="Audience", - attributes=NewAudienceAttributes( - advertiser_id="advertiser_id_example", - name="name_example", - description="description_example", - ), - ), - ) # NewAudienceRequest | + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend # example passing only required values which don't have defaults set try: - api_response = api_instance.create_audience(new_audience_request) + api_response = api_instance.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->create_audience: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete: %s\n" % e) ``` @@ -990,11 +974,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **new_audience_request** | [**NewAudienceRequest**](NewAudienceRequest.md)| | + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | ### Return type -[**NewAudienceResponse**](NewAudienceResponse.md) +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) ### Authorization @@ -1002,7 +986,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json @@ -1010,17 +994,17 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | The audience was created | - | +**200** | The Contact List was emptied | - | **403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_identifiers** -> DeleteAudienceContactListResponse delete_identifiers(audience_id) +# **call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch** +> ModifyAudienceResponse call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) -Delete all identifiers from a contact list audience-segment. +Add/remove identifiers to or from a contact list audience-segment. ### Example @@ -1029,14 +1013,15 @@ Delete all identifiers from a contact list audience-segment. ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2023_07.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_v2024_10.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_v2024_10.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1046,29 +1031,42 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_id = "audience-id_example" # str | The id of the audience to amend + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", + ], + gum_caller_id=1, + ), + ), + ) # ContactlistAmendmentRequest | # example passing only required values which don't have defaults set try: - api_response = api_instance.delete_identifiers(audience_id) + api_response = api_instance.call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->delete_identifiers: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->call_10_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch: %s\n" % e) ``` @@ -1076,11 +1074,12 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_id** | **str**| The id of the audience to amend | + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | ### Return type -[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) ### Authorization @@ -1088,7 +1087,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json @@ -1096,17 +1095,18 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | The contactlist was deleted | - | +**200** | Summary of created request | - | **403** | Forbidden | - | +**404** | Audience 123 not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **estimate_audience_segment_size** -> AudienceSegmentSizeEstimationV1Response estimate_audience_segment_size(audience_segment_estimate_size_input_v1) +# **compute_audience_segments_sizes** +> AudienceSegmentSizeEntityV1ListResponse compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) -Gets the size estimation of a non existent segment. An error is returned when size calculation is not supported. +Gets the size of all segments. An error is returned for those whose size calculation is not supported. ### Example @@ -1115,14 +1115,14 @@ Gets the size estimation of a non existent segment. An error is returned when si ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_estimate_size_input_v1 import AudienceSegmentEstimateSizeInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_size_estimation_v1_response import AudienceSegmentSizeEstimationV1Response +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_compute_sizes_input_v1 import AudienceSegmentComputeSizesInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_entity_v1_list_response import AudienceSegmentSizeEntityV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1132,62 +1132,37 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_estimate_size_input_v1 = AudienceSegmentEstimateSizeInputV1( - data=AudienceSegmentSizeEstimationEntityV1Resource( - type="type_example", - attributes=AudienceSegmentSizeEstimationEntityV1( - advertiser_id="advertiser_id_example", - in_market=InMarketSizeEstimationV1( - country="country_example", - buying_power=[ - "Low", - ], - gender="Male", - interest_ids=[ - "interest_ids_example", - ], - brand_ids=[ - "brand_ids_example", - ], - price_range=[ - "Low", - ], - ), - location=LocationSizeEstimationV1( - points_of_interest=[ - PointOfInterestV1( - name="name_example", - latitude=3.14, - longitude=3.14, - ), - ], - radius_in_km=1, - ), + audience_segment_compute_sizes_input_v1 = AudienceSegmentComputeSizesInputV1( + data=[ + AudienceSegmentComputeSizeEntityV1Resource( + attributes={}, + id="id_example", + type="type_example", ), - ), - ) # AudienceSegmentEstimateSizeInputV1 | + ], + ) # AudienceSegmentComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.estimate_audience_segment_size(audience_segment_estimate_size_input_v1) + api_response = api_instance.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->estimate_audience_segment_size: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->compute_audience_segments_sizes: %s\n" % e) ``` @@ -1195,11 +1170,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_estimate_size_input_v1** | [**AudienceSegmentEstimateSizeInputV1**](AudienceSegmentEstimateSizeInputV1.md)| | + **audience_segment_compute_sizes_input_v1** | [**AudienceSegmentComputeSizesInputV1**](AudienceSegmentComputeSizesInputV1.md)| | ### Return type -[**AudienceSegmentSizeEstimationV1Response**](AudienceSegmentSizeEstimationV1Response.md) +[**AudienceSegmentSizeEntityV1ListResponse**](AudienceSegmentSizeEntityV1ListResponse.md) ### Authorization @@ -1215,19 +1190,19 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**200** | Success or partial success | - | **400** | Bad request | - | **401** | The API client is not properly authenticated. | - | **403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **estimate_audience_size** -> AudienceSizeEstimationV1Response estimate_audience_size(audience_estimate_size_input_v1) +# **compute_audiences_sizes** +> AudienceSizeEntityV1ListResponse compute_audiences_sizes(audience_compute_sizes_input_v1) -Gets the size estimation of a non existent audience. An error is returned when size calculation is not supported. +Gets the size of all audiences. An error is returned for those whose size calculation is not supported. ### Example @@ -1236,14 +1211,14 @@ Gets the size estimation of a non existent audience. An error is returned when s ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_size_estimation_v1_response import AudienceSizeEstimationV1Response -from criteo_api_marketingsolutions_v2023_07.model.audience_estimate_size_input_v1 import AudienceEstimateSizeInputV1 +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_size_entity_v1_list_response import AudienceSizeEntityV1ListResponse +from criteo_api_marketingsolutions_v2024_10.model.audience_compute_sizes_input_v1 import AudienceComputeSizesInputV1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1253,46 +1228,37 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_estimate_size_input_v1 = AudienceEstimateSizeInputV1( - data=AudienceEstimateSizeEntityV1Resource( - type="type_example", - attributes=AudienceEstimateSizeEntityV1( - advertiser_id="advertiser_id_example", - algebra=AlgebraNodeV1( - _and=[ - AlgebraNodeV1(), - ], - _or=[ - AlgebraNodeV1(), - ], - _not=AlgebraNodeV1(), - audience_segment_id="audience_segment_id_example", - ), + audience_compute_sizes_input_v1 = AudienceComputeSizesInputV1( + data=[ + AudienceComputeSizeEntityV1Resource( + attributes={}, + id="id_example", + type="type_example", ), - ), - ) # AudienceEstimateSizeInputV1 | + ], + ) # AudienceComputeSizesInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.estimate_audience_size(audience_estimate_size_input_v1) + api_response = api_instance.compute_audiences_sizes(audience_compute_sizes_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->estimate_audience_size: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->compute_audiences_sizes: %s\n" % e) ``` @@ -1300,11 +1266,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_estimate_size_input_v1** | [**AudienceEstimateSizeInputV1**](AudienceEstimateSizeInputV1.md)| | + **audience_compute_sizes_input_v1** | [**AudienceComputeSizesInputV1**](AudienceComputeSizesInputV1.md)| | ### Return type -[**AudienceSizeEstimationV1Response**](AudienceSizeEstimationV1Response.md) +[**AudienceSizeEntityV1ListResponse**](AudienceSizeEntityV1ListResponse.md) ### Authorization @@ -1327,12 +1293,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_audience_segment_contact_list_statistics** -> ContactListStatisticsEntityV1Response get_audience_segment_contact_list_statistics(audience_segment_id) +# **estimate_audience_segment_size** +> AudienceSegmentSizeEstimationV1Response estimate_audience_segment_size(audience_segment_estimate_size_input_v1) -Returns the statistics of a contact list segment. +Gets the size estimation of a non existent segment. An error is returned when size calculation is not supported. ### Example @@ -1341,13 +1307,14 @@ Returns the statistics of a contact list segment. ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.contact_list_statistics_entity_v1_response import ContactListStatisticsEntityV1Response +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_size_estimation_v1_response import AudienceSegmentSizeEstimationV1Response +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_estimate_size_input_v1 import AudienceSegmentEstimateSizeInputV1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1357,29 +1324,62 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = 1 # int | The segment ID. + audience_segment_estimate_size_input_v1 = AudienceSegmentEstimateSizeInputV1( + data=AudienceSegmentSizeEstimationEntityV1Resource( + type="type_example", + attributes=AudienceSegmentSizeEstimationEntityV1( + advertiser_id="advertiser_id_example", + in_market=InMarketSizeEstimationV1( + country="country_example", + buying_power=[ + "Low", + ], + gender="Male", + interest_ids=[ + "interest_ids_example", + ], + brand_ids=[ + "brand_ids_example", + ], + price_range=[ + "Low", + ], + ), + location=LocationSizeEstimationV1( + points_of_interest=[ + PointOfInterestV1( + name="name_example", + latitude=3.14, + longitude=3.14, + ), + ], + radius_in_km=1, + ), + ), + ), + ) # AudienceSegmentEstimateSizeInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.get_audience_segment_contact_list_statistics(audience_segment_id) + api_response = api_instance.estimate_audience_segment_size(audience_segment_estimate_size_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->get_audience_segment_contact_list_statistics: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->estimate_audience_segment_size: %s\n" % e) ``` @@ -1387,11 +1387,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **int**| The segment ID. | + **audience_segment_estimate_size_input_v1** | [**AudienceSegmentEstimateSizeInputV1**](AudienceSegmentEstimateSizeInputV1.md)| | ### Return type -[**ContactListStatisticsEntityV1Response**](ContactListStatisticsEntityV1Response.md) +[**AudienceSegmentSizeEstimationV1Response**](AudienceSegmentSizeEstimationV1Response.md) ### Authorization @@ -1399,7 +1399,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - **Accept**: text/plain, application/json, text/json @@ -1408,17 +1408,18 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | +**400** | Bad request | - | **401** | The API client is not properly authenticated. | - | **403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_audience_segments_in_market_brands** -> InMarketAudienceSegmentBrandEntityV1ListResponse get_audience_segments_in_market_brands(advertiser_id, country) +# **estimate_audience_size** +> AudienceSizeEstimationV1Response estimate_audience_size(audience_estimate_size_input_v1) -Returns a list with all available in-market brands that can be used to define an in-market segment. +Gets the size estimation of a non existent audience. An error is returned when size calculation is not supported. ### Example @@ -1427,13 +1428,14 @@ Returns a list with all available in-market brands that can be used to define an ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_brand_entity_v1_list_response import InMarketAudienceSegmentBrandEntityV1ListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_estimate_size_input_v1 import AudienceEstimateSizeInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_size_estimation_v1_response import AudienceSizeEstimationV1Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1443,30 +1445,46 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - advertiser_id = "advertiser-id_example" # str | The advertiser ID. - country = "country_example" # str | The ISO 3166-1 alpha-2 country code. + audience_estimate_size_input_v1 = AudienceEstimateSizeInputV1( + data=AudienceEstimateSizeEntityV1Resource( + type="type_example", + attributes=AudienceEstimateSizeEntityV1( + advertiser_id="advertiser_id_example", + algebra=AlgebraNodeV1( + _and=[ + AlgebraNodeV1(), + ], + _or=[ + AlgebraNodeV1(), + ], + _not=AlgebraNodeV1(), + audience_segment_id="audience_segment_id_example", + ), + ), + ), + ) # AudienceEstimateSizeInputV1 | # example passing only required values which don't have defaults set try: - api_response = api_instance.get_audience_segments_in_market_brands(advertiser_id, country) + api_response = api_instance.estimate_audience_size(audience_estimate_size_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->get_audience_segments_in_market_brands: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->estimate_audience_size: %s\n" % e) ``` @@ -1474,12 +1492,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **advertiser_id** | **str**| The advertiser ID. | - **country** | **str**| The ISO 3166-1 alpha-2 country code. | + **audience_estimate_size_input_v1** | [**AudienceEstimateSizeInputV1**](AudienceEstimateSizeInputV1.md)| | ### Return type -[**InMarketAudienceSegmentBrandEntityV1ListResponse**](InMarketAudienceSegmentBrandEntityV1ListResponse.md) +[**AudienceSizeEstimationV1Response**](AudienceSizeEstimationV1Response.md) ### Authorization @@ -1487,7 +1504,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - **Accept**: text/plain, application/json, text/json @@ -1495,18 +1512,19 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**200** | Success or partial success | - | +**400** | Bad request | - | **401** | The API client is not properly authenticated. | - | **403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_audience_segments_in_market_interests** -> InMarketAudienceSegmentInterestEntityV1ListResponse get_audience_segments_in_market_interests(advertiser_id, country) +# **get_audience_segment_contact_list_statistics** +> ContactListStatisticsEntityV1Response get_audience_segment_contact_list_statistics(audience_segment_id) -Returns a list with all available in-market interests that can be used to define an in-market segment. These in-market interests correspond to the Google product taxonomy. +Returns the statistics of a contact list segment. ### Example @@ -1515,13 +1533,13 @@ Returns a list with all available in-market interests that can be used to define ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.in_market_audience_segment_interest_entity_v1_list_response import InMarketAudienceSegmentInterestEntityV1ListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.contact_list_statistics_entity_v1_response import ContactListStatisticsEntityV1Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1531,30 +1549,29 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - advertiser_id = "advertiser-id_example" # str | The advertiser ID. - country = "country_example" # str | The ISO 3166-1 alpha-2 country code. + audience_segment_id = 1 # int | The segment ID. # example passing only required values which don't have defaults set try: - api_response = api_instance.get_audience_segments_in_market_interests(advertiser_id, country) + api_response = api_instance.get_audience_segment_contact_list_statistics(audience_segment_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->get_audience_segments_in_market_interests: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->get_audience_segment_contact_list_statistics: %s\n" % e) ``` @@ -1562,12 +1579,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **advertiser_id** | **str**| The advertiser ID. | - **country** | **str**| The ISO 3166-1 alpha-2 country code. | + **audience_segment_id** | **int**| The segment ID. | ### Return type -[**InMarketAudienceSegmentInterestEntityV1ListResponse**](InMarketAudienceSegmentInterestEntityV1ListResponse.md) +[**ContactListStatisticsEntityV1Response**](ContactListStatisticsEntityV1Response.md) ### Authorization @@ -1589,12 +1605,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_audiences** -> GetAudiencesResponse get_audiences() +# **get_audience_segments_in_market_brands** +> InMarketAudienceSegmentBrandEntityV1ListResponse get_audience_segments_in_market_brands(advertiser_id, country) -Get a list of all the audiences for the user or for the given advertiser_id +Returns a list with all available in-market brands that can be used to define an in-market segment. ### Example @@ -1603,14 +1619,13 @@ Get a list of all the audiences for the user or for the given advertiser_id ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.get_audiences_response import GetAudiencesResponse -from criteo_api_marketingsolutions_v2023_07.model.error_code_response import ErrorCodeResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_brand_entity_v1_list_response import InMarketAudienceSegmentBrandEntityV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1620,30 +1635,30 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - advertiser_id = "advertiser-id_example" # str | The advertiser id to get all the audiences for. Mandatory for internal users. For external users, if you don't provide it, we will take into account the advertisers from your portfolio (optional) + advertiser_id = "advertiser-id_example" # str | The advertiser ID. + country = "country_example" # str | The ISO 3166-1 alpha-2 country code. # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.get_audiences(advertiser_id=advertiser_id) + api_response = api_instance.get_audience_segments_in_market_brands(advertiser_id, country) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->get_audiences: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->get_audience_segments_in_market_brands: %s\n" % e) ``` @@ -1651,11 +1666,12 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **advertiser_id** | **str**| The advertiser id to get all the audiences for. Mandatory for internal users. For external users, if you don't provide it, we will take into account the advertisers from your portfolio | [optional] + **advertiser_id** | **str**| The advertiser ID. | + **country** | **str**| The ISO 3166-1 alpha-2 country code. | ### Return type -[**GetAudiencesResponse**](GetAudiencesResponse.md) +[**InMarketAudienceSegmentBrandEntityV1ListResponse**](InMarketAudienceSegmentBrandEntityV1ListResponse.md) ### Authorization @@ -1664,223 +1680,25 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | The list was retrieved. | - | -**403** | Forbidden | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **modify_audience** -> ReplaceAudienceResponse modify_audience(audience_id, replace_audience_request) - - - -Update user audience specified by the audience id - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2023_07.model.replace_audience_response import ReplaceAudienceResponse -from criteo_api_marketingsolutions_v2023_07.model.replace_audience_request import ReplaceAudienceRequest -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - audience_id = "audience-id_example" # str | The id of the audience to amend - replace_audience_request = ReplaceAudienceRequest( - data=ReplaceAudience( - type="Audience", - attributes=AudienceNameDescription( - name="name_example", - description="description_example", - ), - ), - ) # ReplaceAudienceRequest | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.modify_audience(audience_id, replace_audience_request) - pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->modify_audience: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **audience_id** | **str**| The id of the audience to amend | - **replace_audience_request** | [**ReplaceAudienceRequest**](ReplaceAudienceRequest.md)| | - -### Return type - -[**ReplaceAudienceResponse**](ReplaceAudienceResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | The audience was updated | - | -**403** | Forbidden | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **modify_audience_users** -> ModifyAudienceResponse modify_audience_users(audience_id, contactlist_amendment_request) - - - -Add/remove users to or from a contact list audience-segment. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2023_07.model.modify_audience_response import ModifyAudienceResponse -from criteo_api_marketingsolutions_v2023_07.model.contactlist_amendment_request import ContactlistAmendmentRequest -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - audience_id = "audience-id_example" # str | The id of the audience to amend - contactlist_amendment_request = ContactlistAmendmentRequest( - data=ContactlistAmendment( - type="ContactlistAmendment", - attributes=ContactlistAmendmentAttributes( - operation="add", - identifier_type="email", - identifiers=[ - "identifiers_example", - ], - gum_caller_id=1, - ), - ), - ) # ContactlistAmendmentRequest | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.modify_audience_users(audience_id, contactlist_amendment_request) - pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->modify_audience_users: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **audience_id** | **str**| The id of the audience to amend | - **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | - -### Return type - -[**ModifyAudienceResponse**](ModifyAudienceResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Summary of created request | - | -**403** | Forbidden | - | -**404** | Audience 123 not found | - | +**200** | Success | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **remove_audience** -> DeleteAudienceResponse remove_audience(audience_id) +# **get_audience_segments_in_market_interests** +> InMarketAudienceSegmentInterestEntityV1ListResponse get_audience_segments_in_market_interests(advertiser_id, country) -Delete an audience by id +Returns a list with all available in-market interests that can be used to define an in-market segment. These in-market interests correspond to the Google product taxonomy. ### Example @@ -1889,14 +1707,13 @@ Delete an audience by id ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.error_code_response import ErrorCodeResponse -from criteo_api_marketingsolutions_v2023_07.model.delete_audience_response import DeleteAudienceResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.in_market_audience_segment_interest_entity_v1_list_response import InMarketAudienceSegmentInterestEntityV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1906,29 +1723,30 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_id = "audience-id_example" # str | The id of the audience to amend + advertiser_id = "advertiser-id_example" # str | The advertiser ID. + country = "country_example" # str | The ISO 3166-1 alpha-2 country code. # example passing only required values which don't have defaults set try: - api_response = api_instance.remove_audience(audience_id) + api_response = api_instance.get_audience_segments_in_market_interests(advertiser_id, country) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->remove_audience: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->get_audience_segments_in_market_interests: %s\n" % e) ``` @@ -1936,11 +1754,12 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_id** | **str**| The id of the audience to amend | + **advertiser_id** | **str**| The advertiser ID. | + **country** | **str**| The ISO 3166-1 alpha-2 country code. | ### Return type -[**DeleteAudienceResponse**](DeleteAudienceResponse.md) +[**InMarketAudienceSegmentInterestEntityV1ListResponse**](InMarketAudienceSegmentInterestEntityV1ListResponse.md) ### Authorization @@ -1949,15 +1768,16 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | The audience was deleted | - | -**403** | Forbidden | - | +**200** | Success | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -1975,14 +1795,14 @@ Returns a list of segments that match the provided filters. If present, the filt ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_search_input_v1 import AudienceSegmentSearchInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response import AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_search_input_v1 import AudienceSegmentSearchInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response import AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1992,19 +1812,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) audience_segment_search_input_v1 = AudienceSegmentSearchInputV1( @@ -2030,7 +1850,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.search_audience_segments(audience_segment_search_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) # example passing only required values which don't have defaults set @@ -2038,7 +1858,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.search_audience_segments(audience_segment_search_input_v1, limit=limit, offset=offset) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) ``` @@ -2090,14 +1910,14 @@ Returns a list of audiences that match the provided filters. If present, the fil ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import audience_api -from criteo_api_marketingsolutions_v2023_07.model.audience_search_input_v1 import AudienceSearchInputV1 -from criteo_api_marketingsolutions_v2023_07.model.audience_entity_v1_audience_search_metadata_v1_list_response import AudienceEntityV1AudienceSearchMetadataV1ListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import audience_api +from criteo_api_marketingsolutions_v2024_10.model.audience_search_input_v1 import AudienceSearchInputV1 +from criteo_api_marketingsolutions_v2024_10.model.audience_entity_v1_audience_search_metadata_v1_list_response import AudienceEntityV1AudienceSearchMetadataV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2107,19 +1927,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) audience_search_input_v1 = AudienceSearchInputV1( @@ -2148,7 +1968,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.search_audiences(audience_search_input_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->search_audiences: %s\n" % e) # example passing only required values which don't have defaults set @@ -2156,7 +1976,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.search_audiences(audience_search_input_v1, limit=limit, offset=offset) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling AudienceApi->search_audiences: %s\n" % e) ``` diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceBulkCreateInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceBulkCreateInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceBulkCreateInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceBulkCreateInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceBulkDeleteInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceBulkDeleteInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceBulkDeleteInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceBulkDeleteInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceBulkUpdateInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceBulkUpdateInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceBulkUpdateInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceBulkUpdateInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceComputeSizeEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceComputeSizeEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceComputeSizeEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceComputeSizeEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceComputeSizesInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceComputeSizesInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceComputeSizesInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceComputeSizesInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceCreateEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceCreateEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceCreateEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceCreateEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceCreateEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceCreateEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceCreateEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceCreateEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceDeleteEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceDeleteEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceDeleteEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceDeleteEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceEntityV1AudienceSearchMetadataV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/AudienceEntityV1AudienceSearchMetadataV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceEntityV1AudienceSearchMetadataV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AudienceEntityV1AudienceSearchMetadataV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceEntityV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/AudienceEntityV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceEntityV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AudienceEntityV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceError.md b/sdks/marketingsolutions_2024-10/docs/AudienceError.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceError.md rename to sdks/marketingsolutions_2024-10/docs/AudienceError.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceEstimateSizeEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceEstimateSizeEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceEstimateSizeEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceEstimateSizeEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceEstimateSizeEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceEstimateSizeEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceEstimateSizeEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceEstimateSizeEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceEstimateSizeInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceEstimateSizeInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceEstimateSizeInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceEstimateSizeInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceIdEntityV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/AudienceIdEntityV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceIdEntityV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AudienceIdEntityV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceIdEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceIdEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceIdEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceIdEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceNameDescription.md b/sdks/marketingsolutions_2024-10/docs/AudienceNameDescription.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceNameDescription.md rename to sdks/marketingsolutions_2024-10/docs/AudienceNameDescription.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSearchEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSearchEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSearchEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSearchEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSearchEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSearchEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSearchEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSearchEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSearchInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSearchInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSearchInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSearchInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSearchMetadataV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSearchMetadataV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSearchMetadataV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSearchMetadataV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentBulkCreateInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentBulkCreateInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentBulkCreateInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentBulkCreateInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentBulkDeleteInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentBulkDeleteInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentBulkDeleteInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentBulkDeleteInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentBulkUpdateInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentBulkUpdateInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentBulkUpdateInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentBulkUpdateInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentComputeSizeEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentComputeSizeEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentComputeSizeEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentComputeSizeEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentComputeSizesInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentComputeSizesInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentComputeSizesInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentComputeSizesInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentCreateEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentCreateEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentCreateEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentCreateEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentCreateEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentCreateEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentCreateEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentCreateEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentDeleteEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentDeleteEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentDeleteEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentDeleteEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentEntityV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentEntityV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentEntityV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentEntityV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentEstimateSizeInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentEstimateSizeInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentEstimateSizeInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentEstimateSizeInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentIdEntityV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentIdEntityV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentIdEntityV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentIdEntityV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentIdEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentIdEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentIdEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentIdEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSearchEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSearchEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSearchEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSearchEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSearchEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSearchEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSearchEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSearchEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSearchInputV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSearchInputV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSearchInputV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSearchInputV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSearchMetadataV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSearchMetadataV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSearchMetadataV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSearchMetadataV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEntityV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEntityV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEntityV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEntityV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationV1Response.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationV1Response.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentSizeEstimationV1Response.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentSizeEstimationV1Response.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentUpdateEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentUpdateEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentUpdateEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentUpdateEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSegmentUpdateEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSegmentUpdateEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSegmentUpdateEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSegmentUpdateEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSizeEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSizeEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSizeEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSizeEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSizeEntityV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/AudienceSizeEntityV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSizeEntityV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSizeEntityV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSizeEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSizeEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSizeEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSizeEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSizeEstimationV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceSizeEstimationV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSizeEstimationV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSizeEstimationV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSizeEstimationV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceSizeEstimationV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSizeEstimationV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSizeEstimationV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceSizeEstimationV1Response.md b/sdks/marketingsolutions_2024-10/docs/AudienceSizeEstimationV1Response.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceSizeEstimationV1Response.md rename to sdks/marketingsolutions_2024-10/docs/AudienceSizeEstimationV1Response.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceUpdateEntityV1.md b/sdks/marketingsolutions_2024-10/docs/AudienceUpdateEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceUpdateEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/AudienceUpdateEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceUpdateEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/AudienceUpdateEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceUpdateEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/AudienceUpdateEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/AudienceWarning.md b/sdks/marketingsolutions_2024-10/docs/AudienceWarning.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/AudienceWarning.md rename to sdks/marketingsolutions_2024-10/docs/AudienceWarning.md diff --git a/sdks/marketingsolutions_2023-07/docs/BasicAudienceDefinition.md b/sdks/marketingsolutions_2024-10/docs/BasicAudienceDefinition.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/BasicAudienceDefinition.md rename to sdks/marketingsolutions_2024-10/docs/BasicAudienceDefinition.md diff --git a/sdks/marketingsolutions_2023-07/docs/BehavioralV1.md b/sdks/marketingsolutions_2024-10/docs/BehavioralV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/BehavioralV1.md rename to sdks/marketingsolutions_2024-10/docs/BehavioralV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignApi.md b/sdks/marketingsolutions_2024-10/docs/CampaignApi.md similarity index 76% rename from sdks/marketingsolutions_2023-07/docs/CampaignApi.md rename to sdks/marketingsolutions_2024-10/docs/CampaignApi.md index 2c8c7a0a..95390eb3 100644 --- a/sdks/marketingsolutions_2023-07/docs/CampaignApi.md +++ b/sdks/marketingsolutions_2024-10/docs/CampaignApi.md @@ -1,28 +1,28 @@ -# criteo_api_marketingsolutions_v2023_07.CampaignApi +# criteo_api_marketingsolutions_v2024_10.CampaignApi All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_ad_set**](CampaignApi.md#create_ad_set) | **POST** /2023-07/marketing-solutions/ad-sets | -[**create_campaign**](CampaignApi.md#create_campaign) | **POST** /2023-07/marketing-solutions/campaigns | -[**get_ad_set**](CampaignApi.md#get_ad_set) | **GET** /2023-07/marketing-solutions/ad-sets/{adSetId} | -[**get_campaign**](CampaignApi.md#get_campaign) | **GET** /2023-07/marketing-solutions/campaigns/{campaign-id} | -[**get_category_bid_list**](CampaignApi.md#get_category_bid_list) | **GET** /2023-07/marketing-solutions/ad-sets/{ad-set-id}/category-bids | -[**get_display_multipliers**](CampaignApi.md#get_display_multipliers) | **GET** /2023-07/marketing-solutions/ad-sets/{ad-set-id}/display-multipliers | -[**patch_ad_sets**](CampaignApi.md#patch_ad_sets) | **PATCH** /2023-07/marketing-solutions/ad-sets | -[**patch_campaigns**](CampaignApi.md#patch_campaigns) | **PATCH** /2023-07/marketing-solutions/campaigns | -[**patch_category_bid_list**](CampaignApi.md#patch_category_bid_list) | **PATCH** /2023-07/marketing-solutions/ad-sets/{ad-set-id}/category-bids | -[**patch_display_multipliers**](CampaignApi.md#patch_display_multipliers) | **PATCH** /2023-07/marketing-solutions/ad-sets/{ad-set-id}/display-multipliers | -[**search_ad_sets**](CampaignApi.md#search_ad_sets) | **POST** /2023-07/marketing-solutions/ad-sets/search | -[**search_campaigns**](CampaignApi.md#search_campaigns) | **POST** /2023-07/marketing-solutions/campaigns/search | -[**start_ad_sets**](CampaignApi.md#start_ad_sets) | **POST** /2023-07/marketing-solutions/ad-sets/start | -[**stop_ad_sets**](CampaignApi.md#stop_ad_sets) | **POST** /2023-07/marketing-solutions/ad-sets/stop | -[**update_ad_set_audience**](CampaignApi.md#update_ad_set_audience) | **PUT** /2023-07/marketing-solutions/ad-sets/{ad-set-id}/audience | +[**create_ad_set_v24_q1**](CampaignApi.md#create_ad_set_v24_q1) | **POST** /2024-10/marketing-solutions/ad-sets | +[**create_campaign**](CampaignApi.md#create_campaign) | **POST** /2024-10/marketing-solutions/campaigns | +[**get_ad_set_v24_q1**](CampaignApi.md#get_ad_set_v24_q1) | **GET** /2024-10/marketing-solutions/ad-sets/{ad-set-id} | +[**get_campaign_v23_q1**](CampaignApi.md#get_campaign_v23_q1) | **GET** /2024-10/marketing-solutions/campaigns/{campaign-id} | +[**get_category_bid_list**](CampaignApi.md#get_category_bid_list) | **GET** /2024-10/marketing-solutions/ad-sets/{ad-set-id}/category-bids | +[**get_display_multipliers**](CampaignApi.md#get_display_multipliers) | **GET** /2024-10/marketing-solutions/ad-sets/{ad-set-id}/display-multipliers | +[**patch_ad_sets_v24_q1**](CampaignApi.md#patch_ad_sets_v24_q1) | **PATCH** /2024-10/marketing-solutions/ad-sets | +[**patch_campaigns**](CampaignApi.md#patch_campaigns) | **PATCH** /2024-10/marketing-solutions/campaigns | +[**patch_category_bid_list**](CampaignApi.md#patch_category_bid_list) | **PATCH** /2024-10/marketing-solutions/ad-sets/{ad-set-id}/category-bids | +[**patch_display_multipliers**](CampaignApi.md#patch_display_multipliers) | **PATCH** /2024-10/marketing-solutions/ad-sets/{ad-set-id}/display-multipliers | +[**search_ad_sets_v24_q1**](CampaignApi.md#search_ad_sets_v24_q1) | **POST** /2024-10/marketing-solutions/ad-sets/search | +[**search_campaigns_v23_q1**](CampaignApi.md#search_campaigns_v23_q1) | **POST** /2024-10/marketing-solutions/campaigns/search | +[**start_ad_sets**](CampaignApi.md#start_ad_sets) | **POST** /2024-10/marketing-solutions/ad-sets/start | +[**stop_ad_sets**](CampaignApi.md#stop_ad_sets) | **POST** /2024-10/marketing-solutions/ad-sets/stop | +[**update_ad_set_audience**](CampaignApi.md#update_ad_set_audience) | **PUT** /2024-10/marketing-solutions/ad-sets/{ad-set-id}/audience | -# **create_ad_set** -> ResponseReadAdSet create_ad_set(create_ad_set_request) +# **create_ad_set_v24_q1** +> ResponseReadAdSetV24Q1 create_ad_set_v24_q1(create_ad_set_v24_q1_request) @@ -35,14 +35,14 @@ Create the specified ad set ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.response_read_ad_set import ResponseReadAdSet -from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_request import CreateAdSetRequest +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.create_ad_set_v24_q1_request import CreateAdSetV24Q1Request +from criteo_api_marketingsolutions_v2024_10.model.response_read_ad_set_v24_q1 import ResponseReadAdSetV24Q1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -52,38 +52,38 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - create_ad_set_request = CreateAdSetRequest( - data=CreateAdSetResource( - attributes=CreateAdSet( + create_ad_set_v24_q1_request = CreateAdSetV24Q1Request( + data=CreateAdSetV24Q1Resource( + attributes=CreateAdSetV24Q1( name="name_example", dataset_id="dataset_id_example", campaign_id="campaign_id_example", objective="customAction", - schedule=CreateAdSetSchedule( + schedule=CreateAdSetScheduleV24Q1( start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), end_date=dateutil_parser('1970-01-01T00:00:00.00Z'), ), - bidding=CreateAdSetBidding( + bidding=CreateAdSetBiddingV24Q1( bid_amount=3.14, cost_controller="COS", ), - targeting=CreateAdSetTargeting( - delivery_limitations=AdSetDeliveryLimitations( + targeting=CreateAdSetTargetingV24Q1( + delivery_limitations=AdSetDeliveryLimitationsV24Q1( environments=[ "web", ], @@ -94,32 +94,32 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie "android", ], ), - geo_location=CreateAdSetGeoLocation( - countries=AdSetTargetingRule( + geo_location=CreateAdSetGeoLocationV24Q1( + countries=AdSetTargetingRuleV24Q1( operand="undefined", values=[ "values_example", ], ), - subdivisions=AdSetTargetingRule( + subdivisions=AdSetTargetingRuleV24Q1( operand="undefined", values=[ "values_example", ], ), - zip_codes=AdSetTargetingRule( + zip_codes=AdSetTargetingRuleV24Q1( operand="undefined", values=[ "values_example", ], ), ), - frequency_capping=AdSetFrequencyCapping( + frequency_capping=AdSetFrequencyCappingV24Q1( frequency="hourly", maximum_impressions=1, ), ), - budget=CreateAdSetBudget( + budget=CreateAdSetBudgetV24Q1( budget_strategy="capped", budget_renewal="undefined", budget_delivery_smoothing="accelerated", @@ -131,14 +131,14 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie ), type="AdSet", ), - ) # CreateAdSetRequest | the ad sets to create + ) # CreateAdSetV24Q1Request | the ad sets to create # example passing only required values which don't have defaults set try: - api_response = api_instance.create_ad_set(create_ad_set_request) + api_response = api_instance.create_ad_set_v24_q1(create_ad_set_v24_q1_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->create_ad_set: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->create_ad_set_v24_q1: %s\n" % e) ``` @@ -146,11 +146,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_ad_set_request** | [**CreateAdSetRequest**](CreateAdSetRequest.md)| the ad sets to create | + **create_ad_set_v24_q1_request** | [**CreateAdSetV24Q1Request**](CreateAdSetV24Q1Request.md)| the ad sets to create | ### Return type -[**ResponseReadAdSet**](ResponseReadAdSet.md) +[**ResponseReadAdSetV24Q1**](ResponseReadAdSetV24Q1.md) ### Authorization @@ -186,14 +186,14 @@ Create the specified campaign ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.create_campaign_request import CreateCampaignRequest -from criteo_api_marketingsolutions_v2023_07.model.campaign_v23_q1_response import CampaignV23Q1Response +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_response import CampaignV23Q1Response +from criteo_api_marketingsolutions_v2024_10.model.create_campaign_request import CreateCampaignRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -203,19 +203,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) create_campaign_request = CreateCampaignRequest( @@ -238,7 +238,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.create_campaign(create_campaign_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->create_campaign: %s\n" % e) ``` @@ -273,8 +273,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_ad_set** -> ResponseReadAdSet get_ad_set(ad_set_id) +# **get_ad_set_v24_q1** +> ResponseReadAdSetV24Q1 get_ad_set_v24_q1(ad_set_id) @@ -287,13 +287,13 @@ Get the data for the specified ad set ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.response_read_ad_set import ResponseReadAdSet +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.response_read_ad_set_v24_q1 import ResponseReadAdSetV24Q1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -303,29 +303,29 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - ad_set_id = "adSetId_example" # str | Id of the ad set + ad_set_id = "ad-set-id_example" # str | Id of the ad set # example passing only required values which don't have defaults set try: - api_response = api_instance.get_ad_set(ad_set_id) + api_response = api_instance.get_ad_set_v24_q1(ad_set_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_ad_set: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_ad_set_v24_q1: %s\n" % e) ``` @@ -337,7 +337,7 @@ Name | Type | Description | Notes ### Return type -[**ResponseReadAdSet**](ResponseReadAdSet.md) +[**ResponseReadAdSetV24Q1**](ResponseReadAdSetV24Q1.md) ### Authorization @@ -359,8 +359,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_campaign** -> CampaignResponse get_campaign(campaign_id) +# **get_campaign_v23_q1** +> CampaignV23Q1Response get_campaign_v23_q1(campaign_id) @@ -373,13 +373,13 @@ Get the data for the specified campaign ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.campaign_response import CampaignResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_response import CampaignV23Q1Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -389,29 +389,29 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) campaign_id = "campaign-id_example" # str | Id of the campaign # example passing only required values which don't have defaults set try: - api_response = api_instance.get_campaign(campaign_id) + api_response = api_instance.get_campaign_v23_q1(campaign_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_campaign: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_campaign_v23_q1: %s\n" % e) ``` @@ -423,7 +423,7 @@ Name | Type | Description | Notes ### Return type -[**CampaignResponse**](CampaignResponse.md) +[**CampaignV23Q1Response**](CampaignV23Q1Response.md) ### Authorization @@ -459,13 +459,13 @@ Get the Category Bids for all valid Categories associated to an Ad Set ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -475,19 +475,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) ad_set_id = "ad-set-id_example" # str | Id of the Ad Set @@ -496,7 +496,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_category_bid_list(ad_set_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_category_bid_list: %s\n" % e) ``` @@ -546,13 +546,13 @@ Get the Display Multipliers for all valid Categories associated to an Ad Set ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -562,19 +562,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) ad_set_id = "ad-set-id_example" # str | Id of the Ad Set @@ -583,7 +583,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_display_multipliers(ad_set_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_display_multipliers: %s\n" % e) ``` @@ -619,8 +619,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_ad_sets** -> ResponsesAdSetId patch_ad_sets() +# **patch_ad_sets_v24_q1** +> ResponsesAdSetIdV24Q1 patch_ad_sets_v24_q1() @@ -633,14 +633,14 @@ Patch a list of AdSets. ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.requests_patch_ad_set import RequestsPatchAdSet -from criteo_api_marketingsolutions_v2023_07.model.responses_ad_set_id import ResponsesAdSetId +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.responses_ad_set_id_v24_q1 import ResponsesAdSetIdV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.requests_patch_ad_set_v24_q1 import RequestsPatchAdSetV24Q1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -650,29 +650,29 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - requests_patch_ad_set = RequestsPatchAdSet( + requests_patch_ad_set_v24_q1 = RequestsPatchAdSetV24Q1( data=[ - WriteModelPatchAdSet( + WriteModelPatchAdSetV24Q1( id="id_example", - type="PatchAdSet", - attributes=PatchAdSet( + type="PatchAdSetV24Q1", + attributes=PatchAdSetV24Q1( name="name_example", - scheduling=PatchAdSetScheduling( + scheduling=PatchAdSetSchedulingV24Q1( start_date=NillableDateTime( value=dateutil_parser('1970-01-01T00:00:00.00Z'), ), @@ -680,13 +680,13 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie value=dateutil_parser('1970-01-01T00:00:00.00Z'), ), ), - bidding=PatchAdSetBidding( + bidding=PatchAdSetBiddingV24Q1( bid_amount=NillableDecimal( value=3.14, ), ), - targeting=AdSetTargeting( - delivery_limitations=AdSetDeliveryLimitations( + targeting=AdSetTargetingV24Q1( + delivery_limitations=AdSetDeliveryLimitationsV24Q1( environments=[ "web", ], @@ -697,23 +697,23 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie "android", ], ), - geo_location=AdSetGeoLocation( - countries=NillableAdSetTargetingRule( - value=NillableAdSetTargetingRuleValue(), + geo_location=AdSetGeoLocationV24Q1( + countries=NillableAdSetTargetingRuleV24Q1( + value=NillableAdSetTargetingRuleV24Q1Value(), ), - subdivisions=NillableAdSetTargetingRule( - value=NillableAdSetTargetingRuleValue(), + subdivisions=NillableAdSetTargetingRuleV24Q1( + value=NillableAdSetTargetingRuleV24Q1Value(), ), - zip_codes=NillableAdSetTargetingRule( - value=NillableAdSetTargetingRuleValue(), + zip_codes=NillableAdSetTargetingRuleV24Q1( + value=NillableAdSetTargetingRuleV24Q1Value(), ), ), - frequency_capping=AdSetFrequencyCapping( + frequency_capping=AdSetFrequencyCappingV24Q1( frequency="hourly", maximum_impressions=1, ), ), - budget=PatchAdSetBudget( + budget=PatchAdSetBudgetV24Q1( budget_strategy="capped", budget_renewal="undefined", budget_delivery_smoothing="accelerated", @@ -725,15 +725,15 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie ), ), ], - ) # RequestsPatchAdSet | List of adsets to patch. (optional) + ) # RequestsPatchAdSetV24Q1 | List of adsets to patch. (optional) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.patch_ad_sets(requests_patch_ad_set=requests_patch_ad_set) + api_response = api_instance.patch_ad_sets_v24_q1(requests_patch_ad_set_v24_q1=requests_patch_ad_set_v24_q1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->patch_ad_sets: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->patch_ad_sets_v24_q1: %s\n" % e) ``` @@ -741,11 +741,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **requests_patch_ad_set** | [**RequestsPatchAdSet**](RequestsPatchAdSet.md)| List of adsets to patch. | [optional] + **requests_patch_ad_set_v24_q1** | [**RequestsPatchAdSetV24Q1**](RequestsPatchAdSetV24Q1.md)| List of adsets to patch. | [optional] ### Return type -[**ResponsesAdSetId**](ResponsesAdSetId.md) +[**ResponsesAdSetIdV24Q1**](ResponsesAdSetIdV24Q1.md) ### Authorization @@ -781,14 +781,14 @@ Patch a list of Campaigns. ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.patch_campaign_list_request import PatchCampaignListRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_result_campaign_list_response import PatchResultCampaignListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.patch_campaign_list_request import PatchCampaignListRequest +from criteo_api_marketingsolutions_v2024_10.model.patch_result_campaign_list_response import PatchResultCampaignListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -798,19 +798,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) patch_campaign_list_request = PatchCampaignListRequest( @@ -836,7 +836,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.patch_campaigns(patch_campaign_list_request=patch_campaign_list_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->patch_campaigns: %s\n" % e) ``` @@ -885,14 +885,14 @@ Patch Category Bids for one or more Categories in a single request. Partial succ ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_list_request import PatchAdSetCategoryBidListRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_category_bid_result_list_response import PatchAdSetCategoryBidResultListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_result_list_response import PatchAdSetCategoryBidResultListResponse +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_category_bid_list_request import PatchAdSetCategoryBidListRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -902,19 +902,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) ad_set_id = "ad-set-id_example" # str | Id of the Ad Set @@ -934,7 +934,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.patch_category_bid_list(ad_set_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->patch_category_bid_list: %s\n" % e) # example passing only required values which don't have defaults set @@ -942,7 +942,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.patch_category_bid_list(ad_set_id, patch_ad_set_category_bid_list_request=patch_ad_set_category_bid_list_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->patch_category_bid_list: %s\n" % e) ``` @@ -993,14 +993,14 @@ Patch Display Multipliers for one or more Categories in a single request. Partia ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_list_request import PatchAdSetDisplayMultiplierListRequest -from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_display_multiplier_result_list_response import PatchAdSetDisplayMultiplierResultListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_result_list_response import PatchAdSetDisplayMultiplierResultListResponse +from criteo_api_marketingsolutions_v2024_10.model.patch_ad_set_display_multiplier_list_request import PatchAdSetDisplayMultiplierListRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1010,19 +1010,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) ad_set_id = "ad-set-id_example" # str | Id of the Ad Set @@ -1042,7 +1042,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.patch_display_multipliers(ad_set_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->patch_display_multipliers: %s\n" % e) # example passing only required values which don't have defaults set @@ -1050,7 +1050,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.patch_display_multipliers(ad_set_id, patch_ad_set_display_multiplier_list_request=patch_ad_set_display_multiplier_list_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->patch_display_multipliers: %s\n" % e) ``` @@ -1087,8 +1087,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **search_ad_sets** -> ResponsesReadAdSet search_ad_sets() +# **search_ad_sets_v24_q1** +> ResponsesReadAdSetV24Q1 search_ad_sets_v24_q1() @@ -1101,14 +1101,14 @@ Search for ad sets ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.responses_read_ad_set import ResponsesReadAdSet -from criteo_api_marketingsolutions_v2023_07.model.request_ad_set_search import RequestAdSetSearch +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.responses_read_ad_set_v24_q1 import ResponsesReadAdSetV24Q1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_search_request_v24_q1 import AdSetSearchRequestV24Q1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1118,23 +1118,23 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - request_ad_set_search = RequestAdSetSearch( - filters=AdSetSearchFilter( + ad_set_search_request_v24_q1 = AdSetSearchRequestV24Q1( + filters=AdSetSearchFilterV24Q1( ad_set_ids=[ "ad_set_ids_example", ], @@ -1145,15 +1145,15 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie "campaign_ids_example", ], ), - ) # RequestAdSetSearch | (optional) + ) # AdSetSearchRequestV24Q1 | (optional) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.search_ad_sets(request_ad_set_search=request_ad_set_search) + api_response = api_instance.search_ad_sets_v24_q1(ad_set_search_request_v24_q1=ad_set_search_request_v24_q1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->search_ad_sets: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->search_ad_sets_v24_q1: %s\n" % e) ``` @@ -1161,11 +1161,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **request_ad_set_search** | [**RequestAdSetSearch**](RequestAdSetSearch.md)| | [optional] + **ad_set_search_request_v24_q1** | [**AdSetSearchRequestV24Q1**](AdSetSearchRequestV24Q1.md)| | [optional] ### Return type -[**ResponsesReadAdSet**](ResponsesReadAdSet.md) +[**ResponsesReadAdSetV24Q1**](ResponsesReadAdSetV24Q1.md) ### Authorization @@ -1183,13 +1183,13 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | data for the ad sets | - | **400** | Bad Request | - | -**403** | Forbidden | - | +**403** | The API client is not authorized to access this resource or the resource does not exist. | - | **401** | The API client is not properly authenticated. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **search_campaigns** -> CampaignListResponse search_campaigns() +# **search_campaigns_v23_q1** +> CampaignV23Q1ListResponse search_campaigns_v23_q1() @@ -1202,14 +1202,14 @@ Search for campaigns ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.campaign_list_response import CampaignListResponse -from criteo_api_marketingsolutions_v2023_07.model.campaign_search_request import CampaignSearchRequest +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.campaign_search_request_v23_q1 import CampaignSearchRequestV23Q1 +from criteo_api_marketingsolutions_v2024_10.model.campaign_v23_q1_list_response import CampaignV23Q1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1219,23 +1219,23 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - campaign_search_request = CampaignSearchRequest( - filters=CampaignSearchFilters( + campaign_search_request_v23_q1 = CampaignSearchRequestV23Q1( + filters=CampaignSearchFiltersV23Q1( campaign_ids=[ "campaign_ids_example", ], @@ -1243,15 +1243,15 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie "advertiser_ids_example", ], ), - ) # CampaignSearchRequest | filters on campaigns (optional) + ) # CampaignSearchRequestV23Q1 | filters on campaigns (optional) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.search_campaigns(campaign_search_request=campaign_search_request) + api_response = api_instance.search_campaigns_v23_q1(campaign_search_request_v23_q1=campaign_search_request_v23_q1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->search_campaigns: %s\n" % e) + except criteo_api_marketingsolutions_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->search_campaigns_v23_q1: %s\n" % e) ``` @@ -1259,11 +1259,11 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **campaign_search_request** | [**CampaignSearchRequest**](CampaignSearchRequest.md)| filters on campaigns | [optional] + **campaign_search_request_v23_q1** | [**CampaignSearchRequestV23Q1**](CampaignSearchRequestV23Q1.md)| filters on campaigns | [optional] ### Return type -[**CampaignListResponse**](CampaignListResponse.md) +[**CampaignV23Q1ListResponse**](CampaignV23Q1ListResponse.md) ### Authorization @@ -1300,14 +1300,14 @@ Start the specified list of ad sets ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.requests_ad_set_id import RequestsAdSetId -from criteo_api_marketingsolutions_v2023_07.model.responses_ad_set_id import ResponsesAdSetId +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.requests_ad_set_id import RequestsAdSetId +from criteo_api_marketingsolutions_v2024_10.model.responses_ad_set_id import ResponsesAdSetId from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1317,19 +1317,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) requests_ad_set_id = RequestsAdSetId( @@ -1346,7 +1346,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.start_ad_sets(requests_ad_set_id=requests_ad_set_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->start_ad_sets: %s\n" % e) ``` @@ -1395,14 +1395,14 @@ Stop the specified list of ad sets ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.requests_ad_set_id import RequestsAdSetId -from criteo_api_marketingsolutions_v2023_07.model.responses_ad_set_id import ResponsesAdSetId +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.requests_ad_set_id import RequestsAdSetId +from criteo_api_marketingsolutions_v2024_10.model.responses_ad_set_id import ResponsesAdSetId from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1412,19 +1412,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) requests_ad_set_id = RequestsAdSetId( @@ -1441,7 +1441,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.stop_ad_sets(requests_ad_set_id=requests_ad_set_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->stop_ad_sets: %s\n" % e) ``` @@ -1490,14 +1490,14 @@ Link or unlink an audience with an ad set ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import campaign_api -from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_entity_v1_response import AdSetAudienceLinkEntityV1Response -from criteo_api_marketingsolutions_v2023_07.model.ad_set_audience_link_input_entity_v1 import AdSetAudienceLinkInputEntityV1 +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import campaign_api +from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_input_entity_v1 import AdSetAudienceLinkInputEntityV1 +from criteo_api_marketingsolutions_v2024_10.model.ad_set_audience_link_entity_v1_response import AdSetAudienceLinkEntityV1Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1507,19 +1507,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) ad_set_id = "ad-set-id_example" # str | The ad set ID. @@ -1537,7 +1537,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.update_ad_set_audience(ad_set_id, ad_set_audience_link_input_entity_v1) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CampaignApi->update_ad_set_audience: %s\n" % e) ``` diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignSearchFilters.md b/sdks/marketingsolutions_2024-10/docs/CampaignSearchFiltersV23Q1.md similarity index 95% rename from sdks/marketingsolutions_2023-07/docs/CampaignSearchFilters.md rename to sdks/marketingsolutions_2024-10/docs/CampaignSearchFiltersV23Q1.md index eed9641d..88d37bdc 100644 --- a/sdks/marketingsolutions_2023-07/docs/CampaignSearchFilters.md +++ b/sdks/marketingsolutions_2024-10/docs/CampaignSearchFiltersV23Q1.md @@ -1,4 +1,4 @@ -# CampaignSearchFilters +# CampaignSearchFiltersV23Q1 filters on campaign diff --git a/sdks/marketingsolutions_2023-07/docs/RequestAdSetSearch.md b/sdks/marketingsolutions_2024-10/docs/CampaignSearchRequestV23Q1.md similarity index 79% rename from sdks/marketingsolutions_2023-07/docs/RequestAdSetSearch.md rename to sdks/marketingsolutions_2024-10/docs/CampaignSearchRequestV23Q1.md index f3f8cff6..30f6a0a5 100644 --- a/sdks/marketingsolutions_2023-07/docs/RequestAdSetSearch.md +++ b/sdks/marketingsolutions_2024-10/docs/CampaignSearchRequestV23Q1.md @@ -1,11 +1,11 @@ -# RequestAdSetSearch +# CampaignSearchRequestV23Q1 request payload of the search endpoint ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**filters** | [**AdSetSearchFilter**](AdSetSearchFilter.md) | | [optional] +**filters** | [**CampaignSearchFiltersV23Q1**](CampaignSearchFiltersV23Q1.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignSpendLimitV23Q1.md b/sdks/marketingsolutions_2024-10/docs/CampaignSpendLimitV23Q1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CampaignSpendLimitV23Q1.md rename to sdks/marketingsolutions_2024-10/docs/CampaignSpendLimitV23Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignV23Q1.md b/sdks/marketingsolutions_2024-10/docs/CampaignV23Q1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CampaignV23Q1.md rename to sdks/marketingsolutions_2024-10/docs/CampaignV23Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/ResponseReadAdSet.md b/sdks/marketingsolutions_2024-10/docs/CampaignV23Q1ListResponse.md similarity index 79% rename from sdks/marketingsolutions_2023-07/docs/ResponseReadAdSet.md rename to sdks/marketingsolutions_2024-10/docs/CampaignV23Q1ListResponse.md index d037365d..525b9f4c 100644 --- a/sdks/marketingsolutions_2023-07/docs/ResponseReadAdSet.md +++ b/sdks/marketingsolutions_2024-10/docs/CampaignV23Q1ListResponse.md @@ -1,11 +1,11 @@ -# ResponseReadAdSet +# CampaignV23Q1ListResponse -output resource +Data model for a list of response resources ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**ReadModelReadAdSet**](ReadModelReadAdSet.md) | | [optional] +**data** | [**[CampaignV23Q1Resource], none_type**](CampaignV23Q1Resource.md) | | [optional] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignV23Q1Resource.md b/sdks/marketingsolutions_2024-10/docs/CampaignV23Q1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CampaignV23Q1Resource.md rename to sdks/marketingsolutions_2024-10/docs/CampaignV23Q1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignV23Q1Response.md b/sdks/marketingsolutions_2024-10/docs/CampaignV23Q1Response.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CampaignV23Q1Response.md rename to sdks/marketingsolutions_2024-10/docs/CampaignV23Q1Response.md diff --git a/sdks/marketingsolutions_2023-07/docs/CommonProblem.md b/sdks/marketingsolutions_2024-10/docs/CommonProblem.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CommonProblem.md rename to sdks/marketingsolutions_2024-10/docs/CommonProblem.md diff --git a/sdks/marketingsolutions_2023-07/docs/ContactListStatisticsEntityV1.md b/sdks/marketingsolutions_2024-10/docs/ContactListStatisticsEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ContactListStatisticsEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/ContactListStatisticsEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/ContactListStatisticsEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/ContactListStatisticsEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ContactListStatisticsEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/ContactListStatisticsEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/ContactListStatisticsEntityV1Response.md b/sdks/marketingsolutions_2024-10/docs/ContactListStatisticsEntityV1Response.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ContactListStatisticsEntityV1Response.md rename to sdks/marketingsolutions_2024-10/docs/ContactListStatisticsEntityV1Response.md diff --git a/sdks/marketingsolutions_2023-07/docs/ContactListV1.md b/sdks/marketingsolutions_2024-10/docs/ContactListV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ContactListV1.md rename to sdks/marketingsolutions_2024-10/docs/ContactListV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/ContactlistAmendment.md b/sdks/marketingsolutions_2024-10/docs/ContactlistAmendment.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ContactlistAmendment.md rename to sdks/marketingsolutions_2024-10/docs/ContactlistAmendment.md diff --git a/sdks/marketingsolutions_2023-07/docs/ContactlistAmendmentAttributes.md b/sdks/marketingsolutions_2024-10/docs/ContactlistAmendmentAttributes.md similarity index 89% rename from sdks/marketingsolutions_2023-07/docs/ContactlistAmendmentAttributes.md rename to sdks/marketingsolutions_2024-10/docs/ContactlistAmendmentAttributes.md index a805de72..a99ebe95 100644 --- a/sdks/marketingsolutions_2023-07/docs/ContactlistAmendmentAttributes.md +++ b/sdks/marketingsolutions_2024-10/docs/ContactlistAmendmentAttributes.md @@ -6,7 +6,7 @@ the name of the entity type Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **operation** | **str** | Operation to add or remove users | -**identifiers** | **[str]** | The users tos add or remove, each in the schema specified | +**identifiers** | **[str]** | The users to add or remove, each in the schema specified | **identifier_type** | **str, none_type** | What type of identifiers are used | [optional] **gum_caller_id** | **int, none_type** | The Gum caller id of the advertiser patching identifiers of type Gum | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2023-07/docs/ContactlistAmendmentRequest.md b/sdks/marketingsolutions_2024-10/docs/ContactlistAmendmentRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ContactlistAmendmentRequest.md rename to sdks/marketingsolutions_2024-10/docs/ContactlistAmendmentRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/ContactlistOperation.md b/sdks/marketingsolutions_2024-10/docs/ContactlistOperation.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ContactlistOperation.md rename to sdks/marketingsolutions_2024-10/docs/ContactlistOperation.md diff --git a/sdks/marketingsolutions_2023-07/docs/ContactlistOperationAttributes.md b/sdks/marketingsolutions_2024-10/docs/ContactlistOperationAttributes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ContactlistOperationAttributes.md rename to sdks/marketingsolutions_2024-10/docs/ContactlistOperationAttributes.md diff --git a/sdks/marketingsolutions_2023-07/docs/Coupon.md b/sdks/marketingsolutions_2024-10/docs/Coupon.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/Coupon.md rename to sdks/marketingsolutions_2024-10/docs/Coupon.md diff --git a/sdks/marketingsolutions_2023-07/docs/CouponListResponse.md b/sdks/marketingsolutions_2024-10/docs/CouponListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CouponListResponse.md rename to sdks/marketingsolutions_2024-10/docs/CouponListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/CouponResource.md b/sdks/marketingsolutions_2024-10/docs/CouponResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CouponResource.md rename to sdks/marketingsolutions_2024-10/docs/CouponResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/CouponResponse.md b/sdks/marketingsolutions_2024-10/docs/CouponResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CouponResponse.md rename to sdks/marketingsolutions_2024-10/docs/CouponResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/CouponSupportedSizes.md b/sdks/marketingsolutions_2024-10/docs/CouponSupportedSizes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CouponSupportedSizes.md rename to sdks/marketingsolutions_2024-10/docs/CouponSupportedSizes.md diff --git a/sdks/marketingsolutions_2023-07/docs/CouponSupportedSizesResource.md b/sdks/marketingsolutions_2024-10/docs/CouponSupportedSizesResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CouponSupportedSizesResource.md rename to sdks/marketingsolutions_2024-10/docs/CouponSupportedSizesResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/CouponSupportedSizesResponse.md b/sdks/marketingsolutions_2024-10/docs/CouponSupportedSizesResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CouponSupportedSizesResponse.md rename to sdks/marketingsolutions_2024-10/docs/CouponSupportedSizesResponse.md diff --git a/sdks/marketingsolutions_preview/docs/CreateAdSetBiddingV24Q1.md b/sdks/marketingsolutions_2024-10/docs/CreateAdSetBiddingV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/CreateAdSetBiddingV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/CreateAdSetBiddingV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/CreateAdSetBudgetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/CreateAdSetBudgetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/CreateAdSetBudgetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/CreateAdSetBudgetV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/CreateAdSetGeoLocationV24Q1.md b/sdks/marketingsolutions_2024-10/docs/CreateAdSetGeoLocationV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/CreateAdSetGeoLocationV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/CreateAdSetGeoLocationV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/CreateAdSetScheduleV24Q1.md b/sdks/marketingsolutions_2024-10/docs/CreateAdSetScheduleV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/CreateAdSetScheduleV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/CreateAdSetScheduleV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/CreateAdSetTargetingV24Q1.md b/sdks/marketingsolutions_2024-10/docs/CreateAdSetTargetingV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/CreateAdSetTargetingV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/CreateAdSetTargetingV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/CreateAdSetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/CreateAdSetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/CreateAdSetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/CreateAdSetV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/CreateAdSetV24Q1Request.md b/sdks/marketingsolutions_2024-10/docs/CreateAdSetV24Q1Request.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/CreateAdSetV24Q1Request.md rename to sdks/marketingsolutions_2024-10/docs/CreateAdSetV24Q1Request.md diff --git a/sdks/marketingsolutions_preview/docs/CreateAdSetV24Q1Resource.md b/sdks/marketingsolutions_2024-10/docs/CreateAdSetV24Q1Resource.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/CreateAdSetV24Q1Resource.md rename to sdks/marketingsolutions_2024-10/docs/CreateAdSetV24Q1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreateCampaign.md b/sdks/marketingsolutions_2024-10/docs/CreateCampaign.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreateCampaign.md rename to sdks/marketingsolutions_2024-10/docs/CreateCampaign.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreateCampaignRequest.md b/sdks/marketingsolutions_2024-10/docs/CreateCampaignRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreateCampaignRequest.md rename to sdks/marketingsolutions_2024-10/docs/CreateCampaignRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreateCampaignResource.md b/sdks/marketingsolutions_2024-10/docs/CreateCampaignResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreateCampaignResource.md rename to sdks/marketingsolutions_2024-10/docs/CreateCampaignResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreateCampaignSpendLimit.md b/sdks/marketingsolutions_2024-10/docs/CreateCampaignSpendLimit.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreateCampaignSpendLimit.md rename to sdks/marketingsolutions_2024-10/docs/CreateCampaignSpendLimit.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreateCoupon.md b/sdks/marketingsolutions_2024-10/docs/CreateCoupon.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreateCoupon.md rename to sdks/marketingsolutions_2024-10/docs/CreateCoupon.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreateCouponRequest.md b/sdks/marketingsolutions_2024-10/docs/CreateCouponRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreateCouponRequest.md rename to sdks/marketingsolutions_2024-10/docs/CreateCouponRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreateCouponResource.md b/sdks/marketingsolutions_2024-10/docs/CreateCouponResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreateCouponResource.md rename to sdks/marketingsolutions_2024-10/docs/CreateCouponResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreateImageSlide.md b/sdks/marketingsolutions_2024-10/docs/CreateImageSlide.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreateImageSlide.md rename to sdks/marketingsolutions_2024-10/docs/CreateImageSlide.md diff --git a/sdks/marketingsolutions_2023-07/docs/Creative.md b/sdks/marketingsolutions_2024-10/docs/Creative.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/Creative.md rename to sdks/marketingsolutions_2024-10/docs/Creative.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreativeApi.md b/sdks/marketingsolutions_2024-10/docs/CreativeApi.md similarity index 85% rename from sdks/marketingsolutions_2023-07/docs/CreativeApi.md rename to sdks/marketingsolutions_2024-10/docs/CreativeApi.md index 465854f2..64f49208 100644 --- a/sdks/marketingsolutions_2023-07/docs/CreativeApi.md +++ b/sdks/marketingsolutions_2024-10/docs/CreativeApi.md @@ -1,26 +1,26 @@ -# criteo_api_marketingsolutions_v2023_07.CreativeApi +# criteo_api_marketingsolutions_v2024_10.CreativeApi All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_advertiser_ad**](CreativeApi.md#create_advertiser_ad) | **POST** /2023-07/marketing-solutions/advertisers/{advertiser-id}/ads | -[**create_advertiser_coupon**](CreativeApi.md#create_advertiser_coupon) | **POST** /2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons | -[**create_advertiser_creative**](CreativeApi.md#create_advertiser_creative) | **POST** /2023-07/marketing-solutions/advertisers/{advertiser-id}/creatives | -[**delete_ad**](CreativeApi.md#delete_ad) | **DELETE** /2023-07/marketing-solutions/ads/{id} | -[**delete_advertiser_coupon**](CreativeApi.md#delete_advertiser_coupon) | **DELETE** /2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons/{id} | -[**delete_creative**](CreativeApi.md#delete_creative) | **DELETE** /2023-07/marketing-solutions/creatives/{id} | -[**edit_advertiser_coupon**](CreativeApi.md#edit_advertiser_coupon) | **PUT** /2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons/{id} | -[**edit_creative**](CreativeApi.md#edit_creative) | **PUT** /2023-07/marketing-solutions/creatives/{id} | -[**generate_creative_preview**](CreativeApi.md#generate_creative_preview) | **POST** /2023-07/marketing-solutions/creatives/{id}/preview | -[**get_ad**](CreativeApi.md#get_ad) | **GET** /2023-07/marketing-solutions/ads/{id} | -[**get_advertiser_ads**](CreativeApi.md#get_advertiser_ads) | **GET** /2023-07/marketing-solutions/advertisers/{advertiser-id}/ads | -[**get_advertiser_coupon**](CreativeApi.md#get_advertiser_coupon) | **GET** /2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons/{id} | -[**get_advertiser_coupon_preview**](CreativeApi.md#get_advertiser_coupon_preview) | **GET** /2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}/preview | -[**get_advertiser_coupon_supported_sizes**](CreativeApi.md#get_advertiser_coupon_supported_sizes) | **GET** /2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons-supported-sizes | -[**get_advertiser_coupons**](CreativeApi.md#get_advertiser_coupons) | **GET** /2023-07/marketing-solutions/advertisers/{advertiser-id}/coupons | -[**get_advertiser_creatives**](CreativeApi.md#get_advertiser_creatives) | **GET** /2023-07/marketing-solutions/advertisers/{advertiser-id}/creatives | -[**get_creative**](CreativeApi.md#get_creative) | **GET** /2023-07/marketing-solutions/creatives/{id} | +[**create_advertiser_ad**](CreativeApi.md#create_advertiser_ad) | **POST** /2024-10/marketing-solutions/advertisers/{advertiser-id}/ads | +[**create_advertiser_coupon**](CreativeApi.md#create_advertiser_coupon) | **POST** /2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons | +[**create_advertiser_creative**](CreativeApi.md#create_advertiser_creative) | **POST** /2024-10/marketing-solutions/advertisers/{advertiser-id}/creatives | +[**delete_ad**](CreativeApi.md#delete_ad) | **DELETE** /2024-10/marketing-solutions/ads/{id} | +[**delete_advertiser_coupon**](CreativeApi.md#delete_advertiser_coupon) | **DELETE** /2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons/{id} | +[**delete_creative**](CreativeApi.md#delete_creative) | **DELETE** /2024-10/marketing-solutions/creatives/{id} | +[**edit_advertiser_coupon**](CreativeApi.md#edit_advertiser_coupon) | **PUT** /2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons/{id} | +[**edit_creative**](CreativeApi.md#edit_creative) | **PUT** /2024-10/marketing-solutions/creatives/{id} | +[**generate_creative_preview**](CreativeApi.md#generate_creative_preview) | **POST** /2024-10/marketing-solutions/creatives/{id}/preview | +[**get_ad**](CreativeApi.md#get_ad) | **GET** /2024-10/marketing-solutions/ads/{id} | +[**get_advertiser_ads**](CreativeApi.md#get_advertiser_ads) | **GET** /2024-10/marketing-solutions/advertisers/{advertiser-id}/ads | +[**get_advertiser_coupon**](CreativeApi.md#get_advertiser_coupon) | **GET** /2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons/{id} | +[**get_advertiser_coupon_preview**](CreativeApi.md#get_advertiser_coupon_preview) | **GET** /2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons/{id}/preview | +[**get_advertiser_coupon_supported_sizes**](CreativeApi.md#get_advertiser_coupon_supported_sizes) | **GET** /2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons-supported-sizes | +[**get_advertiser_coupons**](CreativeApi.md#get_advertiser_coupons) | **GET** /2024-10/marketing-solutions/advertisers/{advertiser-id}/coupons | +[**get_advertiser_creatives**](CreativeApi.md#get_advertiser_creatives) | **GET** /2024-10/marketing-solutions/advertisers/{advertiser-id}/creatives | +[**get_creative**](CreativeApi.md#get_creative) | **GET** /2024-10/marketing-solutions/creatives/{id} | # **create_advertiser_ad** @@ -37,14 +37,14 @@ Create an Ad ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.ad_response import AdResponse -from criteo_api_marketingsolutions_v2023_07.model.ad_write_request import AdWriteRequest +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.ad_response import AdResponse +from criteo_api_marketingsolutions_v2024_10.model.ad_write_request import AdWriteRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -54,19 +54,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -90,7 +90,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.create_advertiser_ad(advertiser_id, ad_write_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->create_advertiser_ad: %s\n" % e) ``` @@ -141,14 +141,14 @@ Create a Coupon ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.coupon_response import CouponResponse -from criteo_api_marketingsolutions_v2023_07.model.create_coupon_request import CreateCouponRequest +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.create_coupon_request import CreateCouponRequest +from criteo_api_marketingsolutions_v2024_10.model.coupon_response import CouponResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -158,19 +158,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -206,7 +206,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.create_advertiser_coupon(advertiser_id, create_coupon_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->create_advertiser_coupon: %s\n" % e) ``` @@ -256,14 +256,14 @@ Create a Creative ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.creative_response import CreativeResponse -from criteo_api_marketingsolutions_v2023_07.model.creative_write_request import CreativeWriteRequest +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.creative_write_request import CreativeWriteRequest +from criteo_api_marketingsolutions_v2024_10.model.creative_response import CreativeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -273,19 +273,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -368,7 +368,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.create_advertiser_creative(advertiser_id, creative_write_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->create_advertiser_creative: %s\n" % e) ``` @@ -419,12 +419,12 @@ Delete an Ad ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -434,19 +434,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) id = 1 # int | The ad identifier to delete. @@ -454,7 +454,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie # example passing only required values which don't have defaults set try: api_instance.delete_ad(id) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->delete_ad: %s\n" % e) ``` @@ -504,12 +504,12 @@ Delete a Coupon ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -519,19 +519,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -540,7 +540,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie # example passing only required values which don't have defaults set try: api_instance.delete_advertiser_coupon(advertiser_id, id) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->delete_advertiser_coupon: %s\n" % e) ``` @@ -590,12 +590,12 @@ Delete a Creative if there are no ads binded to it ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -605,19 +605,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) id = "id_example" # str | The creative identifier to delete. @@ -625,7 +625,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie # example passing only required values which don't have defaults set try: api_instance.delete_creative(id) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->delete_creative: %s\n" % e) ``` @@ -675,14 +675,14 @@ Edit a specific Coupon ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.coupon_response import CouponResponse -from criteo_api_marketingsolutions_v2023_07.model.update_coupon_request import UpdateCouponRequest +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.update_coupon_request import UpdateCouponRequest +from criteo_api_marketingsolutions_v2024_10.model.coupon_response import CouponResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -692,19 +692,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -724,7 +724,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.edit_advertiser_coupon(advertiser_id, id, update_coupon_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->edit_advertiser_coupon: %s\n" % e) ``` @@ -774,14 +774,14 @@ Edit a specific Creative ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.creative_response import CreativeResponse -from criteo_api_marketingsolutions_v2023_07.model.creative_write_request import CreativeWriteRequest +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.creative_write_request import CreativeWriteRequest +from criteo_api_marketingsolutions_v2024_10.model.creative_response import CreativeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -791,19 +791,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) id = "id_example" # str | The creative identifier to edit. @@ -886,7 +886,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.edit_creative(id, creative_write_request) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->edit_creative: %s\n" % e) ``` @@ -937,12 +937,12 @@ Generate a preview of a specific Creative ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -952,19 +952,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) id = "id_example" # str | The Creative identifier to preview. @@ -975,7 +975,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.generate_creative_preview(id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->generate_creative_preview: %s\n" % e) # example passing only required values which don't have defaults set @@ -983,7 +983,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.generate_creative_preview(id, width=width, height=height) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->generate_creative_preview: %s\n" % e) ``` @@ -1034,13 +1034,13 @@ Get an Ad from its id ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.ad_response import AdResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.ad_response import AdResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1050,19 +1050,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) id = 1 # int | The ad identifier to retrieve. @@ -1071,7 +1071,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_ad(id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_ad: %s\n" % e) ``` @@ -1121,13 +1121,13 @@ Get the list of self-services Ads for a given advertiser ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.ad_list_response import AdListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.ad_list_response import AdListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1137,19 +1137,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -1160,7 +1160,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_ads(advertiser_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_ads: %s\n" % e) # example passing only required values which don't have defaults set @@ -1168,7 +1168,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_ads(advertiser_id, limit=limit, offset=offset) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_ads: %s\n" % e) ``` @@ -1220,13 +1220,13 @@ Get a Coupon from its id ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.coupon_response import CouponResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.coupon_response import CouponResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1236,19 +1236,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -1258,7 +1258,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_coupon(advertiser_id, id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_coupon: %s\n" % e) ``` @@ -1308,12 +1308,12 @@ Get the preview of a specific Coupon ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1323,19 +1323,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -1347,7 +1347,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_coupon_preview(advertiser_id, id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_coupon_preview: %s\n" % e) # example passing only required values which don't have defaults set @@ -1355,7 +1355,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_coupon_preview(advertiser_id, id, width=width, height=height) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_coupon_preview: %s\n" % e) ``` @@ -1407,13 +1407,13 @@ Get the list of Coupon supported sizes ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.coupon_supported_sizes_response import CouponSupportedSizesResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.coupon_supported_sizes_response import CouponSupportedSizesResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1423,19 +1423,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -1445,7 +1445,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_coupon_supported_sizes(advertiser_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_coupon_supported_sizes: %s\n" % e) # example passing only required values which don't have defaults set @@ -1453,7 +1453,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_coupon_supported_sizes(advertiser_id, ad_set_id=ad_set_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_coupon_supported_sizes: %s\n" % e) ``` @@ -1503,13 +1503,13 @@ Get the list of self-services Coupons for a given advertiser ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.coupon_list_response import CouponListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.coupon_list_response import CouponListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1519,19 +1519,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -1542,7 +1542,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_coupons(advertiser_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_coupons: %s\n" % e) # example passing only required values which don't have defaults set @@ -1550,7 +1550,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_coupons(advertiser_id, limit=limit, offset=offset) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_coupons: %s\n" % e) ``` @@ -1601,13 +1601,13 @@ Get the list of self-services Creatives for a given advertiser ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.creative_list_response import CreativeListResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.creative_list_response import CreativeListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1617,19 +1617,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) advertiser_id = "advertiser-id_example" # str | The advertiser identifier. @@ -1640,7 +1640,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_creatives(advertiser_id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_creatives: %s\n" % e) # example passing only required values which don't have defaults set @@ -1648,7 +1648,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_advertiser_creatives(advertiser_id, limit=limit, offset=offset) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_advertiser_creatives: %s\n" % e) ``` @@ -1700,13 +1700,13 @@ Get a Creative from its id ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import creative_api -from criteo_api_marketingsolutions_v2023_07.model.creative_response import CreativeResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import creative_api +from criteo_api_marketingsolutions_v2024_10.model.creative_response import CreativeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1716,19 +1716,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = creative_api.CreativeApi(api_client) id = "id_example" # str | The creative identifier to retrieve. @@ -1737,7 +1737,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_creative(id) pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling CreativeApi->get_creative: %s\n" % e) ``` diff --git a/sdks/marketingsolutions_2023-07/docs/CreativeListResponse.md b/sdks/marketingsolutions_2024-10/docs/CreativeListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreativeListResponse.md rename to sdks/marketingsolutions_2024-10/docs/CreativeListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreativeResource.md b/sdks/marketingsolutions_2024-10/docs/CreativeResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreativeResource.md rename to sdks/marketingsolutions_2024-10/docs/CreativeResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreativeResponse.md b/sdks/marketingsolutions_2024-10/docs/CreativeResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreativeResponse.md rename to sdks/marketingsolutions_2024-10/docs/CreativeResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreativeWrite.md b/sdks/marketingsolutions_2024-10/docs/CreativeWrite.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreativeWrite.md rename to sdks/marketingsolutions_2024-10/docs/CreativeWrite.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreativeWriteRequest.md b/sdks/marketingsolutions_2024-10/docs/CreativeWriteRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreativeWriteRequest.md rename to sdks/marketingsolutions_2024-10/docs/CreativeWriteRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/CreativeWriteResource.md b/sdks/marketingsolutions_2024-10/docs/CreativeWriteResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CreativeWriteResource.md rename to sdks/marketingsolutions_2024-10/docs/CreativeWriteResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/CriteoApiError.md b/sdks/marketingsolutions_2024-10/docs/CriteoApiError.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CriteoApiError.md rename to sdks/marketingsolutions_2024-10/docs/CriteoApiError.md diff --git a/sdks/marketingsolutions_2023-07/docs/CriteoApiWarning.md b/sdks/marketingsolutions_2024-10/docs/CriteoApiWarning.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/CriteoApiWarning.md rename to sdks/marketingsolutions_2024-10/docs/CriteoApiWarning.md diff --git a/sdks/marketingsolutions_2023-07/docs/DeleteAudienceContactListResponse.md b/sdks/marketingsolutions_2024-10/docs/DeleteAudienceContactListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/DeleteAudienceContactListResponse.md rename to sdks/marketingsolutions_2024-10/docs/DeleteAudienceContactListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/DynamicAttributes.md b/sdks/marketingsolutions_2024-10/docs/DynamicAttributes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/DynamicAttributes.md rename to sdks/marketingsolutions_2024-10/docs/DynamicAttributes.md diff --git a/sdks/marketingsolutions_2023-07/docs/DynamicWriteAttributes.md b/sdks/marketingsolutions_2024-10/docs/DynamicWriteAttributes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/DynamicWriteAttributes.md rename to sdks/marketingsolutions_2024-10/docs/DynamicWriteAttributes.md diff --git a/sdks/marketingsolutions_2023-07/docs/EntityOfPortfolioMessage.md b/sdks/marketingsolutions_2024-10/docs/EntityOfPortfolioMessage.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/EntityOfPortfolioMessage.md rename to sdks/marketingsolutions_2024-10/docs/EntityOfPortfolioMessage.md diff --git a/sdks/marketingsolutions_2023-07/docs/ErrorCodeResponse.md b/sdks/marketingsolutions_2024-10/docs/ErrorCodeResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ErrorCodeResponse.md rename to sdks/marketingsolutions_2024-10/docs/ErrorCodeResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/GatewayApi.md b/sdks/marketingsolutions_2024-10/docs/GatewayApi.md similarity index 80% rename from sdks/marketingsolutions_2023-07/docs/GatewayApi.md rename to sdks/marketingsolutions_2024-10/docs/GatewayApi.md index c246d202..73d27ead 100644 --- a/sdks/marketingsolutions_2023-07/docs/GatewayApi.md +++ b/sdks/marketingsolutions_2024-10/docs/GatewayApi.md @@ -1,10 +1,10 @@ -# criteo_api_marketingsolutions_v2023_07.GatewayApi +# criteo_api_marketingsolutions_v2024_10.GatewayApi All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_current_application**](GatewayApi.md#get_current_application) | **GET** /2023-07/marketing-solutions/me | +[**get_current_application**](GatewayApi.md#get_current_application) | **GET** /2024-10/marketing-solutions/me | # **get_current_application** @@ -21,13 +21,13 @@ Get information about the currently logged application ```python import time -import criteo_api_marketingsolutions_v2023_07 -from criteo_api_marketingsolutions_v2023_07.api import gateway_api -from criteo_api_marketingsolutions_v2023_07.model.application_summary_model_response import ApplicationSummaryModelResponse +import criteo_api_marketingsolutions_v2024_10 +from criteo_api_marketingsolutions_v2024_10.api import gateway_api +from criteo_api_marketingsolutions_v2024_10.model.application_summary_model_response import ApplicationSummaryModelResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -37,19 +37,19 @@ configuration = criteo_api_marketingsolutions_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_v2023_07.Configuration( +configuration = criteo_api_marketingsolutions_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_marketingsolutions_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = gateway_api.GatewayApi(api_client) @@ -57,7 +57,7 @@ with criteo_api_marketingsolutions_v2023_07.ApiClient(configuration) as api_clie try: api_response = api_instance.get_current_application() pprint(api_response) - except criteo_api_marketingsolutions_v2023_07.ApiException as e: + except criteo_api_marketingsolutions_v2024_10.ApiException as e: print("Exception when calling GatewayApi->get_current_application: %s\n" % e) ``` diff --git a/sdks/marketingsolutions_2023-07/docs/GetPortfolioResponse.md b/sdks/marketingsolutions_2024-10/docs/GetPortfolioResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/GetPortfolioResponse.md rename to sdks/marketingsolutions_2024-10/docs/GetPortfolioResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/HtmlTagAttributes.md b/sdks/marketingsolutions_2024-10/docs/HtmlTagAttributes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/HtmlTagAttributes.md rename to sdks/marketingsolutions_2024-10/docs/HtmlTagAttributes.md diff --git a/sdks/marketingsolutions_2023-07/docs/HtmlTagWriteAttributes.md b/sdks/marketingsolutions_2024-10/docs/HtmlTagWriteAttributes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/HtmlTagWriteAttributes.md rename to sdks/marketingsolutions_2024-10/docs/HtmlTagWriteAttributes.md diff --git a/sdks/marketingsolutions_2023-07/docs/ImageAttributes.md b/sdks/marketingsolutions_2024-10/docs/ImageAttributes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ImageAttributes.md rename to sdks/marketingsolutions_2024-10/docs/ImageAttributes.md diff --git a/sdks/marketingsolutions_2023-07/docs/ImageSet.md b/sdks/marketingsolutions_2024-10/docs/ImageSet.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ImageSet.md rename to sdks/marketingsolutions_2024-10/docs/ImageSet.md diff --git a/sdks/marketingsolutions_2023-07/docs/ImageSetBase64.md b/sdks/marketingsolutions_2024-10/docs/ImageSetBase64.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ImageSetBase64.md rename to sdks/marketingsolutions_2024-10/docs/ImageSetBase64.md diff --git a/sdks/marketingsolutions_2023-07/docs/ImageShape.md b/sdks/marketingsolutions_2024-10/docs/ImageShape.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ImageShape.md rename to sdks/marketingsolutions_2024-10/docs/ImageShape.md diff --git a/sdks/marketingsolutions_2023-07/docs/ImageSlide.md b/sdks/marketingsolutions_2024-10/docs/ImageSlide.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ImageSlide.md rename to sdks/marketingsolutions_2024-10/docs/ImageSlide.md diff --git a/sdks/marketingsolutions_2023-07/docs/ImageWriteAttributes.md b/sdks/marketingsolutions_2024-10/docs/ImageWriteAttributes.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ImageWriteAttributes.md rename to sdks/marketingsolutions_2024-10/docs/ImageWriteAttributes.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentBrandEntityV1.md b/sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentBrandEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentBrandEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentBrandEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentBrandEntityV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentBrandEntityV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentBrandEntityV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentBrandEntityV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentBrandEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentBrandEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentBrandEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentBrandEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentInterestEntityV1.md b/sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentInterestEntityV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentInterestEntityV1.md rename to sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentInterestEntityV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentInterestEntityV1ListResponse.md b/sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentInterestEntityV1ListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentInterestEntityV1ListResponse.md rename to sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentInterestEntityV1ListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentInterestEntityV1Resource.md b/sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentInterestEntityV1Resource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketAudienceSegmentInterestEntityV1Resource.md rename to sdks/marketingsolutions_2024-10/docs/InMarketAudienceSegmentInterestEntityV1Resource.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketCreateV1.md b/sdks/marketingsolutions_2024-10/docs/InMarketCreateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketCreateV1.md rename to sdks/marketingsolutions_2024-10/docs/InMarketCreateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketSizeEstimationV1.md b/sdks/marketingsolutions_2024-10/docs/InMarketSizeEstimationV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketSizeEstimationV1.md rename to sdks/marketingsolutions_2024-10/docs/InMarketSizeEstimationV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketUpdateV1.md b/sdks/marketingsolutions_2024-10/docs/InMarketUpdateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketUpdateV1.md rename to sdks/marketingsolutions_2024-10/docs/InMarketUpdateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/InMarketV1.md b/sdks/marketingsolutions_2024-10/docs/InMarketV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/InMarketV1.md rename to sdks/marketingsolutions_2024-10/docs/InMarketV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/LocationCreateV1.md b/sdks/marketingsolutions_2024-10/docs/LocationCreateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/LocationCreateV1.md rename to sdks/marketingsolutions_2024-10/docs/LocationCreateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/LocationSizeEstimationV1.md b/sdks/marketingsolutions_2024-10/docs/LocationSizeEstimationV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/LocationSizeEstimationV1.md rename to sdks/marketingsolutions_2024-10/docs/LocationSizeEstimationV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/LocationUpdateV1.md b/sdks/marketingsolutions_2024-10/docs/LocationUpdateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/LocationUpdateV1.md rename to sdks/marketingsolutions_2024-10/docs/LocationUpdateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/LocationV1.md b/sdks/marketingsolutions_2024-10/docs/LocationV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/LocationV1.md rename to sdks/marketingsolutions_2024-10/docs/LocationV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/LookalikeCreateV1.md b/sdks/marketingsolutions_2024-10/docs/LookalikeCreateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/LookalikeCreateV1.md rename to sdks/marketingsolutions_2024-10/docs/LookalikeCreateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/LookalikeUpdateV1.md b/sdks/marketingsolutions_2024-10/docs/LookalikeUpdateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/LookalikeUpdateV1.md rename to sdks/marketingsolutions_2024-10/docs/LookalikeUpdateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/LookalikeV1.md b/sdks/marketingsolutions_2024-10/docs/LookalikeV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/LookalikeV1.md rename to sdks/marketingsolutions_2024-10/docs/LookalikeV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/ModifyAudienceResponse.md b/sdks/marketingsolutions_2024-10/docs/ModifyAudienceResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ModifyAudienceResponse.md rename to sdks/marketingsolutions_2024-10/docs/ModifyAudienceResponse.md diff --git a/sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q1.md b/sdks/marketingsolutions_2024-10/docs/NillableAdSetTargetingRuleV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/NillableAdSetTargetingRuleV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q1Value.md b/sdks/marketingsolutions_2024-10/docs/NillableAdSetTargetingRuleV24Q1Value.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q1Value.md rename to sdks/marketingsolutions_2024-10/docs/NillableAdSetTargetingRuleV24Q1Value.md diff --git a/sdks/marketingsolutions_2023-07/docs/NillableDateTime.md b/sdks/marketingsolutions_2024-10/docs/NillableDateTime.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/NillableDateTime.md rename to sdks/marketingsolutions_2024-10/docs/NillableDateTime.md diff --git a/sdks/marketingsolutions_2023-07/docs/NillableDecimal.md b/sdks/marketingsolutions_2024-10/docs/NillableDecimal.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/NillableDecimal.md rename to sdks/marketingsolutions_2024-10/docs/NillableDecimal.md diff --git a/sdks/marketingsolutions_2023-07/docs/NillableGenderV1.md b/sdks/marketingsolutions_2024-10/docs/NillableGenderV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/NillableGenderV1.md rename to sdks/marketingsolutions_2024-10/docs/NillableGenderV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/NillableInt32.md b/sdks/marketingsolutions_2024-10/docs/NillableInt32.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/NillableInt32.md rename to sdks/marketingsolutions_2024-10/docs/NillableInt32.md diff --git a/sdks/marketingsolutions_2023-07/docs/NillableString.md b/sdks/marketingsolutions_2024-10/docs/NillableString.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/NillableString.md rename to sdks/marketingsolutions_2024-10/docs/NillableString.md diff --git a/sdks/marketingsolutions_2023-07/docs/Outcome.md b/sdks/marketingsolutions_2024-10/docs/Outcome.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/Outcome.md rename to sdks/marketingsolutions_2024-10/docs/Outcome.md diff --git a/sdks/marketingsolutions_preview/docs/PatchAdSetBiddingV24Q1.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetBiddingV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/PatchAdSetBiddingV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetBiddingV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/PatchAdSetBudgetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetBudgetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/PatchAdSetBudgetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetBudgetV24Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBid.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBid.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBid.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBid.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBidListRequest.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBidListRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBidListRequest.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBidListRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBidResource.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBidResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBidResource.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBidResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBidResultListResponse.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBidResultListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBidResultListResponse.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBidResultListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBidResultResource.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBidResultResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetCategoryBidResultResource.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetCategoryBidResultResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplier.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplier.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplier.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplier.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplierListRequest.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplierListRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplierListRequest.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplierListRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplierResource.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplierResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplierResource.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplierResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplierResultListResponse.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplierResultListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplierResultListResponse.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplierResultListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplierResultResource.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplierResultResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetDisplayMultiplierResultResource.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetDisplayMultiplierResultResource.md diff --git a/sdks/marketingsolutions_preview/docs/PatchAdSetSchedulingV24Q1.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetSchedulingV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/PatchAdSetSchedulingV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetSchedulingV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/PatchAdSetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/PatchAdSetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/PatchAdSetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/PatchAdSetV24Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchCampaign.md b/sdks/marketingsolutions_2024-10/docs/PatchCampaign.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchCampaign.md rename to sdks/marketingsolutions_2024-10/docs/PatchCampaign.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchCampaignListRequest.md b/sdks/marketingsolutions_2024-10/docs/PatchCampaignListRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchCampaignListRequest.md rename to sdks/marketingsolutions_2024-10/docs/PatchCampaignListRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchCampaignSpendLimit.md b/sdks/marketingsolutions_2024-10/docs/PatchCampaignSpendLimit.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchCampaignSpendLimit.md rename to sdks/marketingsolutions_2024-10/docs/PatchCampaignSpendLimit.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchCampaignWriteResource.md b/sdks/marketingsolutions_2024-10/docs/PatchCampaignWriteResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchCampaignWriteResource.md rename to sdks/marketingsolutions_2024-10/docs/PatchCampaignWriteResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchResultCampaignListResponse.md b/sdks/marketingsolutions_2024-10/docs/PatchResultCampaignListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchResultCampaignListResponse.md rename to sdks/marketingsolutions_2024-10/docs/PatchResultCampaignListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/PatchResultCampaignReadResource.md b/sdks/marketingsolutions_2024-10/docs/PatchResultCampaignReadResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PatchResultCampaignReadResource.md rename to sdks/marketingsolutions_2024-10/docs/PatchResultCampaignReadResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/PlacementsReportQueryMessage.md b/sdks/marketingsolutions_2024-10/docs/PlacementsReportQueryMessage.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PlacementsReportQueryMessage.md rename to sdks/marketingsolutions_2024-10/docs/PlacementsReportQueryMessage.md diff --git a/sdks/marketingsolutions_2023-07/docs/PlacementsReportQueryMessageListRequest.md b/sdks/marketingsolutions_2024-10/docs/PlacementsReportQueryMessageListRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PlacementsReportQueryMessageListRequest.md rename to sdks/marketingsolutions_2024-10/docs/PlacementsReportQueryMessageListRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/PlacementsReportQueryMessageResource.md b/sdks/marketingsolutions_2024-10/docs/PlacementsReportQueryMessageResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PlacementsReportQueryMessageResource.md rename to sdks/marketingsolutions_2024-10/docs/PlacementsReportQueryMessageResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/PointOfInterestV1.md b/sdks/marketingsolutions_2024-10/docs/PointOfInterestV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PointOfInterestV1.md rename to sdks/marketingsolutions_2024-10/docs/PointOfInterestV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/PortfolioMessage.md b/sdks/marketingsolutions_2024-10/docs/PortfolioMessage.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/PortfolioMessage.md rename to sdks/marketingsolutions_2024-10/docs/PortfolioMessage.md diff --git a/sdks/marketingsolutions_2023-07/docs/ProspectingCreateV1.md b/sdks/marketingsolutions_2024-10/docs/ProspectingCreateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ProspectingCreateV1.md rename to sdks/marketingsolutions_2024-10/docs/ProspectingCreateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/ProspectingUpdateV1.md b/sdks/marketingsolutions_2024-10/docs/ProspectingUpdateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ProspectingUpdateV1.md rename to sdks/marketingsolutions_2024-10/docs/ProspectingUpdateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/ProspectingV1.md b/sdks/marketingsolutions_2024-10/docs/ProspectingV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ProspectingV1.md rename to sdks/marketingsolutions_2024-10/docs/ProspectingV1.md diff --git a/sdks/marketingsolutions_preview/docs/ReadAdSetBiddingV24Q1.md b/sdks/marketingsolutions_2024-10/docs/ReadAdSetBiddingV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/ReadAdSetBiddingV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/ReadAdSetBiddingV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/ReadAdSetBudgetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/ReadAdSetBudgetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/ReadAdSetBudgetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/ReadAdSetBudgetV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/ReadAdSetScheduleV24Q1.md b/sdks/marketingsolutions_2024-10/docs/ReadAdSetScheduleV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/ReadAdSetScheduleV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/ReadAdSetScheduleV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/ReadAdSetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/ReadAdSetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/ReadAdSetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/ReadAdSetV24Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/ReadModelAdSetId.md b/sdks/marketingsolutions_2024-10/docs/ReadModelAdSetId.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ReadModelAdSetId.md rename to sdks/marketingsolutions_2024-10/docs/ReadModelAdSetId.md diff --git a/sdks/marketingsolutions_preview/docs/ReadModelAdSetIdV24Q1.md b/sdks/marketingsolutions_2024-10/docs/ReadModelAdSetIdV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/ReadModelAdSetIdV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/ReadModelAdSetIdV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/ReadModelReadAdSetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/ReadModelReadAdSetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/ReadModelReadAdSetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/ReadModelReadAdSetV24Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/RequestsAdSetId.md b/sdks/marketingsolutions_2024-10/docs/RequestsAdSetId.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/RequestsAdSetId.md rename to sdks/marketingsolutions_2024-10/docs/RequestsAdSetId.md diff --git a/sdks/marketingsolutions_preview/docs/RequestsPatchAdSetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/RequestsPatchAdSetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/RequestsPatchAdSetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/RequestsPatchAdSetV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/ResponseReadAdSetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/ResponseReadAdSetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/ResponseReadAdSetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/ResponseReadAdSetV24Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/ResponsesAdSetId.md b/sdks/marketingsolutions_2024-10/docs/ResponsesAdSetId.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/ResponsesAdSetId.md rename to sdks/marketingsolutions_2024-10/docs/ResponsesAdSetId.md diff --git a/sdks/marketingsolutions_preview/docs/ResponsesAdSetIdV24Q1.md b/sdks/marketingsolutions_2024-10/docs/ResponsesAdSetIdV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/ResponsesAdSetIdV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/ResponsesAdSetIdV24Q1.md diff --git a/sdks/marketingsolutions_preview/docs/ResponsesReadAdSetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/ResponsesReadAdSetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/ResponsesReadAdSetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/ResponsesReadAdSetV24Q1.md diff --git a/sdks/marketingsolutions_2023-07/docs/RetargetingCreateV1.md b/sdks/marketingsolutions_2024-10/docs/RetargetingCreateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/RetargetingCreateV1.md rename to sdks/marketingsolutions_2024-10/docs/RetargetingCreateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/RetargetingUpdateV1.md b/sdks/marketingsolutions_2024-10/docs/RetargetingUpdateV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/RetargetingUpdateV1.md rename to sdks/marketingsolutions_2024-10/docs/RetargetingUpdateV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/RetargetingV1.md b/sdks/marketingsolutions_2024-10/docs/RetargetingV1.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/RetargetingV1.md rename to sdks/marketingsolutions_2024-10/docs/RetargetingV1.md diff --git a/sdks/marketingsolutions_2023-07/docs/Size.md b/sdks/marketingsolutions_2024-10/docs/Size.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/Size.md rename to sdks/marketingsolutions_2024-10/docs/Size.md diff --git a/sdks/marketingsolutions_2023-07/docs/StatisticsReportQueryMessage.md b/sdks/marketingsolutions_2024-10/docs/StatisticsReportQueryMessage.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/StatisticsReportQueryMessage.md rename to sdks/marketingsolutions_2024-10/docs/StatisticsReportQueryMessage.md diff --git a/sdks/marketingsolutions_2023-07/docs/Tag.md b/sdks/marketingsolutions_2024-10/docs/Tag.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/Tag.md rename to sdks/marketingsolutions_2024-10/docs/Tag.md diff --git a/sdks/marketingsolutions_2023-07/docs/TransactionsReportQueryMessage.md b/sdks/marketingsolutions_2024-10/docs/TransactionsReportQueryMessage.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/TransactionsReportQueryMessage.md rename to sdks/marketingsolutions_2024-10/docs/TransactionsReportQueryMessage.md diff --git a/sdks/marketingsolutions_2023-07/docs/TransactionsReportQueryMessageListRequest.md b/sdks/marketingsolutions_2024-10/docs/TransactionsReportQueryMessageListRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/TransactionsReportQueryMessageListRequest.md rename to sdks/marketingsolutions_2024-10/docs/TransactionsReportQueryMessageListRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/TransactionsReportQueryMessageResource.md b/sdks/marketingsolutions_2024-10/docs/TransactionsReportQueryMessageResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/TransactionsReportQueryMessageResource.md rename to sdks/marketingsolutions_2024-10/docs/TransactionsReportQueryMessageResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/TransparencyQueryMessage.md b/sdks/marketingsolutions_2024-10/docs/TransparencyQueryMessage.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/TransparencyQueryMessage.md rename to sdks/marketingsolutions_2024-10/docs/TransparencyQueryMessage.md diff --git a/sdks/marketingsolutions_2023-07/docs/TransparencyReport.md b/sdks/marketingsolutions_2024-10/docs/TransparencyReport.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/TransparencyReport.md rename to sdks/marketingsolutions_2024-10/docs/TransparencyReport.md diff --git a/sdks/marketingsolutions_2023-07/docs/TransparencyReportFile.md b/sdks/marketingsolutions_2024-10/docs/TransparencyReportFile.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/TransparencyReportFile.md rename to sdks/marketingsolutions_2024-10/docs/TransparencyReportFile.md diff --git a/sdks/marketingsolutions_2023-07/docs/TransparencyReportListResponse.md b/sdks/marketingsolutions_2024-10/docs/TransparencyReportListResponse.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/TransparencyReportListResponse.md rename to sdks/marketingsolutions_2024-10/docs/TransparencyReportListResponse.md diff --git a/sdks/marketingsolutions_2023-07/docs/TransparencyReportResource.md b/sdks/marketingsolutions_2024-10/docs/TransparencyReportResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/TransparencyReportResource.md rename to sdks/marketingsolutions_2024-10/docs/TransparencyReportResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/UpdateCoupon.md b/sdks/marketingsolutions_2024-10/docs/UpdateCoupon.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/UpdateCoupon.md rename to sdks/marketingsolutions_2024-10/docs/UpdateCoupon.md diff --git a/sdks/marketingsolutions_2023-07/docs/UpdateCouponRequest.md b/sdks/marketingsolutions_2024-10/docs/UpdateCouponRequest.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/UpdateCouponRequest.md rename to sdks/marketingsolutions_2024-10/docs/UpdateCouponRequest.md diff --git a/sdks/marketingsolutions_2023-07/docs/UpdateCouponResource.md b/sdks/marketingsolutions_2024-10/docs/UpdateCouponResource.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/UpdateCouponResource.md rename to sdks/marketingsolutions_2024-10/docs/UpdateCouponResource.md diff --git a/sdks/marketingsolutions_2023-07/docs/VideoDetail.md b/sdks/marketingsolutions_2024-10/docs/VideoDetail.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/VideoDetail.md rename to sdks/marketingsolutions_2024-10/docs/VideoDetail.md diff --git a/sdks/marketingsolutions_2023-07/docs/WriteModelAdSetId.md b/sdks/marketingsolutions_2024-10/docs/WriteModelAdSetId.md similarity index 100% rename from sdks/marketingsolutions_2023-07/docs/WriteModelAdSetId.md rename to sdks/marketingsolutions_2024-10/docs/WriteModelAdSetId.md diff --git a/sdks/marketingsolutions_preview/docs/WriteModelPatchAdSetV24Q1.md b/sdks/marketingsolutions_2024-10/docs/WriteModelPatchAdSetV24Q1.md similarity index 100% rename from sdks/marketingsolutions_preview/docs/WriteModelPatchAdSetV24Q1.md rename to sdks/marketingsolutions_2024-10/docs/WriteModelPatchAdSetV24Q1.md diff --git a/sdks/marketingsolutions_2023-07/requirements.txt b/sdks/marketingsolutions_2024-10/requirements.txt similarity index 100% rename from sdks/marketingsolutions_2023-07/requirements.txt rename to sdks/marketingsolutions_2024-10/requirements.txt diff --git a/sdks/marketingsolutions_2023-07/setup.cfg b/sdks/marketingsolutions_2024-10/setup.cfg similarity index 100% rename from sdks/marketingsolutions_2023-07/setup.cfg rename to sdks/marketingsolutions_2024-10/setup.cfg diff --git a/sdks/marketingsolutions_2023-07/setup.py b/sdks/marketingsolutions_2024-10/setup.py similarity index 91% rename from sdks/marketingsolutions_2023-07/setup.py rename to sdks/marketingsolutions_2024-10/setup.py index fbe88286..7c0777cf 100644 --- a/sdks/marketingsolutions_2023-07/setup.py +++ b/sdks/marketingsolutions_2024-10/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-marketingsolutions-sdk" -VERSION = "2023.07.0.240808" +VERSION = "2024.10.0.241029" # To install the library, run the following # # python setup.py install @@ -24,13 +24,13 @@ ```sh -pip install criteo-api-marketingsolutions-sdk==2023.07.0.240808 +pip install criteo-api-marketingsolutions-sdk==2024.10.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.07.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.10.0.241029`) Then import the package: ```python -import criteo_api_marketingsolutions_v2023_07 +import criteo_api_marketingsolutions_v2024_10 ``` Full documentation on [Github](https://github.com/criteo/criteo-api-python-sdk). diff --git a/sdks/marketingsolutions_2023-07/test-requirements.txt b/sdks/marketingsolutions_2024-10/test-requirements.txt similarity index 100% rename from sdks/marketingsolutions_2023-07/test-requirements.txt rename to sdks/marketingsolutions_2024-10/test-requirements.txt diff --git a/sdks/marketingsolutions_2023-07/test/example_application_with_auth_code.py b/sdks/marketingsolutions_2024-10/test/example_application_with_auth_code.py similarity index 92% rename from sdks/marketingsolutions_2023-07/test/example_application_with_auth_code.py rename to sdks/marketingsolutions_2024-10/test/example_application_with_auth_code.py index d54fb3d8..2681dcc3 100644 --- a/sdks/marketingsolutions_2023-07/test/example_application_with_auth_code.py +++ b/sdks/marketingsolutions_2024-10/test/example_application_with_auth_code.py @@ -1,5 +1,5 @@ -from criteo_api_marketingsolutions_v2023_07.api.gateway_api import GatewayApi -from criteo_api_marketingsolutions_v2023_07 import ApiClientBuilder +from criteo_api_marketingsolutions_v2024_10.api.gateway_api import GatewayApi +from criteo_api_marketingsolutions_v2024_10 import ApiClientBuilder class ExampleApplication: diff --git a/sdks/marketingsolutions_2023-07/test/example_application_with_client_credentials.py b/sdks/marketingsolutions_2024-10/test/example_application_with_client_credentials.py similarity index 90% rename from sdks/marketingsolutions_2023-07/test/example_application_with_client_credentials.py rename to sdks/marketingsolutions_2024-10/test/example_application_with_client_credentials.py index c438d47e..66348317 100644 --- a/sdks/marketingsolutions_2023-07/test/example_application_with_client_credentials.py +++ b/sdks/marketingsolutions_2024-10/test/example_application_with_client_credentials.py @@ -1,5 +1,5 @@ -from criteo_api_marketingsolutions_v2023_07.api.gateway_api import GatewayApi -from criteo_api_marketingsolutions_v2023_07 import ApiClientBuilder +from criteo_api_marketingsolutions_v2024_10.api.gateway_api import GatewayApi +from criteo_api_marketingsolutions_v2024_10 import ApiClientBuilder class ExampleApplication: diff --git a/sdks/marketingsolutions_2023-07/test/example_application_with_refresh_token.py b/sdks/marketingsolutions_2024-10/test/example_application_with_refresh_token.py similarity index 91% rename from sdks/marketingsolutions_2023-07/test/example_application_with_refresh_token.py rename to sdks/marketingsolutions_2024-10/test/example_application_with_refresh_token.py index 84c8565e..aed36dc7 100644 --- a/sdks/marketingsolutions_2023-07/test/example_application_with_refresh_token.py +++ b/sdks/marketingsolutions_2024-10/test/example_application_with_refresh_token.py @@ -1,5 +1,5 @@ -from criteo_api_marketingsolutions_v2023_07.api.gateway_api import GatewayApi -from criteo_api_marketingsolutions_v2023_07 import ApiClientBuilder +from criteo_api_marketingsolutions_v2024_10.api.gateway_api import GatewayApi +from criteo_api_marketingsolutions_v2024_10 import ApiClientBuilder class ExampleApplication: diff --git a/sdks/marketingsolutions_2023-07/test/test_gateway_api.py b/sdks/marketingsolutions_2024-10/test/test_gateway_api.py similarity index 91% rename from sdks/marketingsolutions_2023-07/test/test_gateway_api.py rename to sdks/marketingsolutions_2024-10/test/test_gateway_api.py index e2b2b79a..0afe7ec3 100644 --- a/sdks/marketingsolutions_2023-07/test/test_gateway_api.py +++ b/sdks/marketingsolutions_2024-10/test/test_gateway_api.py @@ -1,9 +1,9 @@ import pytest import os -from criteo_api_marketingsolutions_v2023_07.api.gateway_api import GatewayApi -from criteo_api_marketingsolutions_v2023_07.api_client_builder import ApiClientBuilder -from criteo_api_marketingsolutions_v2023_07.rest import ApiException +from criteo_api_marketingsolutions_v2024_10.api.gateway_api import GatewayApi +from criteo_api_marketingsolutions_v2024_10.api_client_builder import ApiClientBuilder +from criteo_api_marketingsolutions_v2024_10.rest import ApiException from example_application_with_client_credentials import ExampleApplication class TestGatewayApi: diff --git a/sdks/marketingsolutions_2023-07/tox.ini b/sdks/marketingsolutions_2024-10/tox.ini similarity index 68% rename from sdks/marketingsolutions_2023-07/tox.ini rename to sdks/marketingsolutions_2024-10/tox.ini index 9f868973..14b6ac63 100644 --- a/sdks/marketingsolutions_2023-07/tox.ini +++ b/sdks/marketingsolutions_2024-10/tox.ini @@ -6,4 +6,4 @@ deps=-r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands= - pytest --cov=criteo_api_marketingsolutions_v2023_07 + pytest --cov=criteo_api_marketingsolutions_v2024_10 diff --git a/sdks/marketingsolutions_preview/.openapi-generator/FILES b/sdks/marketingsolutions_preview/.openapi-generator/FILES index ec0d8f26..92b65c5a 100644 --- a/sdks/marketingsolutions_preview/.openapi-generator/FILES +++ b/sdks/marketingsolutions_preview/.openapi-generator/FILES @@ -35,14 +35,14 @@ criteo_api_marketingsolutions_preview/model/ad_set_audience_link_input_entity_v1 criteo_api_marketingsolutions_preview/model/ad_set_category_bid.py criteo_api_marketingsolutions_preview/model/ad_set_category_bid_list_response.py criteo_api_marketingsolutions_preview/model/ad_set_category_bid_resource.py -criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q1.py +criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q3.py criteo_api_marketingsolutions_preview/model/ad_set_display_multiplier.py criteo_api_marketingsolutions_preview/model/ad_set_display_multiplier_list_response.py criteo_api_marketingsolutions_preview/model/ad_set_display_multiplier_resource.py -criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q1.py -criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q1.py -criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q1.py -criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q1.py +criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q3.py +criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q3.py +criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q3.py +criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q3.py criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids.py criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_disable_result_resource.py criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_disable_result_response.py @@ -50,8 +50,8 @@ criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_resource.p criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_response.py criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_set_result_resource.py criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_set_result_response.py -criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q1.py -criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q1.py +criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q3.py +criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q3.py criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_disable_result_resource.py criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_disable_result_response.py @@ -168,14 +168,14 @@ criteo_api_marketingsolutions_preview/model/coupon_response.py criteo_api_marketingsolutions_preview/model/coupon_supported_sizes.py criteo_api_marketingsolutions_preview/model/coupon_supported_sizes_resource.py criteo_api_marketingsolutions_preview/model/coupon_supported_sizes_response.py -criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q1.py -criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q1.py -criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q1.py -criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q1.py -criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q1.py -criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1.py -criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_request.py -criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q1_resource.py +criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q3.py +criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q3.py +criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q3.py +criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q3.py +criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q3.py +criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3.py +criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3_request.py +criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3_resource.py criteo_api_marketingsolutions_preview/model/create_campaign.py criteo_api_marketingsolutions_preview/model/create_campaign_request.py criteo_api_marketingsolutions_preview/model/create_campaign_resource.py @@ -200,9 +200,6 @@ criteo_api_marketingsolutions_preview/model/custom_attribute.py criteo_api_marketingsolutions_preview/model/dataset.py criteo_api_marketingsolutions_preview/model/deal_id.py criteo_api_marketingsolutions_preview/model/delete_audience_contact_list_response.py -criteo_api_marketingsolutions_preview/model/delete_user_profile_model.py -criteo_api_marketingsolutions_preview/model/delete_user_profile_model_list_request.py -criteo_api_marketingsolutions_preview/model/delete_user_profile_model_resource.py criteo_api_marketingsolutions_preview/model/dynamic_attributes.py criteo_api_marketingsolutions_preview/model/dynamic_write_attributes.py criteo_api_marketingsolutions_preview/model/entity_filter.py @@ -268,8 +265,8 @@ criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status.py criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status_resource.py criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status_response.py criteo_api_marketingsolutions_preview/model/modify_audience_response.py -criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1.py -criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q1_value.py +criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3.py +criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3_value.py criteo_api_marketingsolutions_preview/model/nillable_date_time.py criteo_api_marketingsolutions_preview/model/nillable_decimal.py criteo_api_marketingsolutions_preview/model/nillable_gender_v1.py @@ -286,8 +283,8 @@ criteo_api_marketingsolutions_preview/model/oci_targeting_rule.py criteo_api_marketingsolutions_preview/model/on_site_reco_request.py criteo_api_marketingsolutions_preview/model/on_site_reco_response.py criteo_api_marketingsolutions_preview/model/outcome.py -criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q1.py -criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q1.py +criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q3.py +criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q3.py criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid.py criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid_list_request.py criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid_resource.py @@ -298,8 +295,8 @@ criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_list criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_resource.py criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_result_list_response.py criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_result_resource.py -criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q1.py -criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q1.py +criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q3.py +criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q3.py criteo_api_marketingsolutions_preview/model/patch_campaign.py criteo_api_marketingsolutions_preview/model/patch_campaign_list_request.py criteo_api_marketingsolutions_preview/model/patch_campaign_spend_limit.py @@ -329,26 +326,28 @@ criteo_api_marketingsolutions_preview/model/products_custom_batch_request_entry. criteo_api_marketingsolutions_preview/model/prospecting_create_v1.py criteo_api_marketingsolutions_preview/model/prospecting_update_v1.py criteo_api_marketingsolutions_preview/model/prospecting_v1.py -criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q1.py -criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q1.py -criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q1.py -criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q1.py +criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q3.py +criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q3.py +criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q3.py +criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q3.py criteo_api_marketingsolutions_preview/model/read_model_ad_set_id.py -criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q1.py -criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q1.py +criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q3.py +criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q3.py criteo_api_marketingsolutions_preview/model/recommended_product.py criteo_api_marketingsolutions_preview/model/report_detail_error.py criteo_api_marketingsolutions_preview/model/report_detail_errors.py +criteo_api_marketingsolutions_preview/model/report_detail_warning.py +criteo_api_marketingsolutions_preview/model/report_detail_warnings.py criteo_api_marketingsolutions_preview/model/report_ok_response.py criteo_api_marketingsolutions_preview/model/requests_ad_set_id.py -criteo_api_marketingsolutions_preview/model/requests_patch_ad_set_v24_q1.py +criteo_api_marketingsolutions_preview/model/requests_patch_ad_set_v24_q3.py criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_product_set.py criteo_api_marketingsolutions_preview/model/resource_of_product_set.py criteo_api_marketingsolutions_preview/model/resource_outcome_of_product_set.py -criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q1.py +criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q3.py criteo_api_marketingsolutions_preview/model/responses_ad_set_id.py -criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q1.py -criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q1.py +criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q3.py +criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q3.py criteo_api_marketingsolutions_preview/model/retargeting_create_v1.py criteo_api_marketingsolutions_preview/model/retargeting_update_v1.py criteo_api_marketingsolutions_preview/model/retargeting_v1.py @@ -358,9 +357,6 @@ criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_deal_ids_resour criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning_request.py criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning_resource.py -criteo_api_marketingsolutions_preview/model/set_user_profile_model.py -criteo_api_marketingsolutions_preview/model/set_user_profile_model_list_request.py -criteo_api_marketingsolutions_preview/model/set_user_profile_model_resource.py criteo_api_marketingsolutions_preview/model/size.py criteo_api_marketingsolutions_preview/model/statistics_ok_response.py criteo_api_marketingsolutions_preview/model/statistics_record.py @@ -388,8 +384,6 @@ criteo_api_marketingsolutions_preview/model/update_coupon.py criteo_api_marketingsolutions_preview/model/update_coupon_request.py criteo_api_marketingsolutions_preview/model/update_coupon_resource.py criteo_api_marketingsolutions_preview/model/user_def.py -criteo_api_marketingsolutions_preview/model/user_profile_attribute_model.py -criteo_api_marketingsolutions_preview/model/user_profile_identifier_model.py criteo_api_marketingsolutions_preview/model/value_resource_collection_outcome_of_product_filter_config.py criteo_api_marketingsolutions_preview/model/value_resource_input_of_create_product_filter_request.py criteo_api_marketingsolutions_preview/model/value_resource_input_of_create_product_set_request.py @@ -400,7 +394,7 @@ criteo_api_marketingsolutions_preview/model/value_resource_of_product_filter_con criteo_api_marketingsolutions_preview/model/value_resource_outcome_of_product_filter_config.py criteo_api_marketingsolutions_preview/model/video_detail.py criteo_api_marketingsolutions_preview/model/write_model_ad_set_id.py -criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q1.py +criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py criteo_api_marketingsolutions_preview/model_utils.py criteo_api_marketingsolutions_preview/models/__init__.py criteo_api_marketingsolutions_preview/rest.py @@ -415,14 +409,14 @@ docs/AdSetAudienceLinkInputEntityV1.md docs/AdSetCategoryBid.md docs/AdSetCategoryBidListResponse.md docs/AdSetCategoryBidResource.md -docs/AdSetDeliveryLimitationsV24Q1.md +docs/AdSetDeliveryLimitationsV24Q3.md docs/AdSetDisplayMultiplier.md docs/AdSetDisplayMultiplierListResponse.md docs/AdSetDisplayMultiplierResource.md -docs/AdSetFrequencyCappingV24Q1.md -docs/AdSetGeoLocationV24Q1.md -docs/AdSetSearchFilterV24Q1.md -docs/AdSetSearchRequestV24Q1.md +docs/AdSetFrequencyCappingV24Q3.md +docs/AdSetGeoLocationV24Q3.md +docs/AdSetSearchFilterV24Q3.md +docs/AdSetSearchRequestV24Q3.md docs/AdSetTargetingDealIds.md docs/AdSetTargetingDealIdsDisableResultResource.md docs/AdSetTargetingDealIdsDisableResultResponse.md @@ -430,8 +424,8 @@ docs/AdSetTargetingDealIdsResource.md docs/AdSetTargetingDealIdsResponse.md docs/AdSetTargetingDealIdsSetResultResource.md docs/AdSetTargetingDealIdsSetResultResponse.md -docs/AdSetTargetingRuleV24Q1.md -docs/AdSetTargetingV24Q1.md +docs/AdSetTargetingRuleV24Q3.md +docs/AdSetTargetingV24Q3.md docs/AdSetTargetingVideoPositioning.md docs/AdSetTargetingVideoPositioningDisableResultResource.md docs/AdSetTargetingVideoPositioningDisableResultResponse.md @@ -553,14 +547,14 @@ docs/CouponResponse.md docs/CouponSupportedSizes.md docs/CouponSupportedSizesResource.md docs/CouponSupportedSizesResponse.md -docs/CreateAdSetBiddingV24Q1.md -docs/CreateAdSetBudgetV24Q1.md -docs/CreateAdSetGeoLocationV24Q1.md -docs/CreateAdSetScheduleV24Q1.md -docs/CreateAdSetTargetingV24Q1.md -docs/CreateAdSetV24Q1.md -docs/CreateAdSetV24Q1Request.md -docs/CreateAdSetV24Q1Resource.md +docs/CreateAdSetBiddingV24Q3.md +docs/CreateAdSetBudgetV24Q3.md +docs/CreateAdSetGeoLocationV24Q3.md +docs/CreateAdSetScheduleV24Q3.md +docs/CreateAdSetTargetingV24Q3.md +docs/CreateAdSetV24Q3.md +docs/CreateAdSetV24Q3Request.md +docs/CreateAdSetV24Q3Resource.md docs/CreateCampaign.md docs/CreateCampaignRequest.md docs/CreateCampaignResource.md @@ -586,9 +580,6 @@ docs/CustomAttribute.md docs/Dataset.md docs/DealId.md docs/DeleteAudienceContactListResponse.md -docs/DeleteUserProfileModel.md -docs/DeleteUserProfileModelListRequest.md -docs/DeleteUserProfileModelResource.md docs/DynamicAttributes.md docs/DynamicWriteAttributes.md docs/EntityFilter.md @@ -655,8 +646,8 @@ docs/MarketingSolutionsReportStatus.md docs/MarketingSolutionsReportStatusResource.md docs/MarketingSolutionsReportStatusResponse.md docs/ModifyAudienceResponse.md -docs/NillableAdSetTargetingRuleV24Q1.md -docs/NillableAdSetTargetingRuleV24Q1Value.md +docs/NillableAdSetTargetingRuleV24Q3.md +docs/NillableAdSetTargetingRuleV24Q3Value.md docs/NillableDateTime.md docs/NillableDecimal.md docs/NillableGenderV1.md @@ -674,8 +665,8 @@ docs/OnSiteRecoRequest.md docs/OnSiteRecoResponse.md docs/OnSiteRecommendationApi.md docs/Outcome.md -docs/PatchAdSetBiddingV24Q1.md -docs/PatchAdSetBudgetV24Q1.md +docs/PatchAdSetBiddingV24Q3.md +docs/PatchAdSetBudgetV24Q3.md docs/PatchAdSetCategoryBid.md docs/PatchAdSetCategoryBidListRequest.md docs/PatchAdSetCategoryBidResource.md @@ -686,8 +677,8 @@ docs/PatchAdSetDisplayMultiplierListRequest.md docs/PatchAdSetDisplayMultiplierResource.md docs/PatchAdSetDisplayMultiplierResultListResponse.md docs/PatchAdSetDisplayMultiplierResultResource.md -docs/PatchAdSetSchedulingV24Q1.md -docs/PatchAdSetV24Q1.md +docs/PatchAdSetSchedulingV24Q3.md +docs/PatchAdSetV24Q3.md docs/PatchCampaign.md docs/PatchCampaignListRequest.md docs/PatchCampaignSpendLimit.md @@ -717,27 +708,29 @@ docs/ProductsCustomBatchRequestEntry.md docs/ProspectingCreateV1.md docs/ProspectingUpdateV1.md docs/ProspectingV1.md -docs/ReadAdSetBiddingV24Q1.md -docs/ReadAdSetBudgetV24Q1.md -docs/ReadAdSetScheduleV24Q1.md -docs/ReadAdSetV24Q1.md +docs/ReadAdSetBiddingV24Q3.md +docs/ReadAdSetBudgetV24Q3.md +docs/ReadAdSetScheduleV24Q3.md +docs/ReadAdSetV24Q3.md docs/ReadModelAdSetId.md -docs/ReadModelAdSetIdV24Q1.md -docs/ReadModelReadAdSetV24Q1.md +docs/ReadModelAdSetIdV24Q3.md +docs/ReadModelReadAdSetV24Q3.md docs/RecoApi.md docs/RecommendedProduct.md docs/ReportDetailError.md docs/ReportDetailErrors.md +docs/ReportDetailWarning.md +docs/ReportDetailWarnings.md docs/ReportOkResponse.md docs/RequestsAdSetId.md -docs/RequestsPatchAdSetV24Q1.md +docs/RequestsPatchAdSetV24Q3.md docs/ResourceCollectionOutcomeOfProductSet.md docs/ResourceOfProductSet.md docs/ResourceOutcomeOfProductSet.md -docs/ResponseReadAdSetV24Q1.md +docs/ResponseReadAdSetV24Q3.md docs/ResponsesAdSetId.md -docs/ResponsesAdSetIdV24Q1.md -docs/ResponsesReadAdSetV24Q1.md +docs/ResponsesAdSetIdV24Q3.md +docs/ResponsesReadAdSetV24Q3.md docs/RetargetingCreateV1.md docs/RetargetingUpdateV1.md docs/RetargetingV1.md @@ -747,9 +740,6 @@ docs/SetAdSetTargetingDealIdsResource.md docs/SetAdSetTargetingVideoPositioning.md docs/SetAdSetTargetingVideoPositioningRequest.md docs/SetAdSetTargetingVideoPositioningResource.md -docs/SetUserProfileModel.md -docs/SetUserProfileModelListRequest.md -docs/SetUserProfileModelResource.md docs/Size.md docs/StatisticsOkResponse.md docs/StatisticsRecord.md @@ -777,8 +767,6 @@ docs/UpdateCoupon.md docs/UpdateCouponRequest.md docs/UpdateCouponResource.md docs/UserDef.md -docs/UserProfileAttributeModel.md -docs/UserProfileIdentifierModel.md docs/ValueResourceCollectionOutcomeOfProductFilterConfig.md docs/ValueResourceInputOfCreateProductFilterRequest.md docs/ValueResourceInputOfCreateProductSetRequest.md @@ -789,7 +777,7 @@ docs/ValueResourceOfProductFilterConfig.md docs/ValueResourceOutcomeOfProductFilterConfig.md docs/VideoDetail.md docs/WriteModelAdSetId.md -docs/WriteModelPatchAdSetV24Q1.md +docs/WriteModelPatchAdSetV24Q3.md git_push.sh requirements.txt setup.cfg diff --git a/sdks/marketingsolutions_preview/README.md b/sdks/marketingsolutions_preview/README.md index 42e081c1..2713dd92 100644 --- a/sdks/marketingsolutions_preview/README.md +++ b/sdks/marketingsolutions_preview/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 0.0.240808 +- Package version: 0.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-marketingsolutions-sdk==0.0.240808 +pip install criteo-api-marketingsolutions-sdk==0.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.241029`) Then import the package: ```python @@ -71,14 +71,14 @@ Class | Method | HTTP request | Description - [AdSetCategoryBid](docs/AdSetCategoryBid.md) - [AdSetCategoryBidListResponse](docs/AdSetCategoryBidListResponse.md) - [AdSetCategoryBidResource](docs/AdSetCategoryBidResource.md) - - [AdSetDeliveryLimitationsV24Q1](docs/AdSetDeliveryLimitationsV24Q1.md) + - [AdSetDeliveryLimitationsV24Q3](docs/AdSetDeliveryLimitationsV24Q3.md) - [AdSetDisplayMultiplier](docs/AdSetDisplayMultiplier.md) - [AdSetDisplayMultiplierListResponse](docs/AdSetDisplayMultiplierListResponse.md) - [AdSetDisplayMultiplierResource](docs/AdSetDisplayMultiplierResource.md) - - [AdSetFrequencyCappingV24Q1](docs/AdSetFrequencyCappingV24Q1.md) - - [AdSetGeoLocationV24Q1](docs/AdSetGeoLocationV24Q1.md) - - [AdSetSearchFilterV24Q1](docs/AdSetSearchFilterV24Q1.md) - - [AdSetSearchRequestV24Q1](docs/AdSetSearchRequestV24Q1.md) + - [AdSetFrequencyCappingV24Q3](docs/AdSetFrequencyCappingV24Q3.md) + - [AdSetGeoLocationV24Q3](docs/AdSetGeoLocationV24Q3.md) + - [AdSetSearchFilterV24Q3](docs/AdSetSearchFilterV24Q3.md) + - [AdSetSearchRequestV24Q3](docs/AdSetSearchRequestV24Q3.md) - [AdSetTargetingDealIds](docs/AdSetTargetingDealIds.md) - [AdSetTargetingDealIdsDisableResultResource](docs/AdSetTargetingDealIdsDisableResultResource.md) - [AdSetTargetingDealIdsDisableResultResponse](docs/AdSetTargetingDealIdsDisableResultResponse.md) @@ -86,8 +86,8 @@ Class | Method | HTTP request | Description - [AdSetTargetingDealIdsResponse](docs/AdSetTargetingDealIdsResponse.md) - [AdSetTargetingDealIdsSetResultResource](docs/AdSetTargetingDealIdsSetResultResource.md) - [AdSetTargetingDealIdsSetResultResponse](docs/AdSetTargetingDealIdsSetResultResponse.md) - - [AdSetTargetingRuleV24Q1](docs/AdSetTargetingRuleV24Q1.md) - - [AdSetTargetingV24Q1](docs/AdSetTargetingV24Q1.md) + - [AdSetTargetingRuleV24Q3](docs/AdSetTargetingRuleV24Q3.md) + - [AdSetTargetingV24Q3](docs/AdSetTargetingV24Q3.md) - [AdSetTargetingVideoPositioning](docs/AdSetTargetingVideoPositioning.md) - [AdSetTargetingVideoPositioningDisableResultResource](docs/AdSetTargetingVideoPositioningDisableResultResource.md) - [AdSetTargetingVideoPositioningDisableResultResponse](docs/AdSetTargetingVideoPositioningDisableResultResponse.md) @@ -204,14 +204,14 @@ Class | Method | HTTP request | Description - [CouponSupportedSizes](docs/CouponSupportedSizes.md) - [CouponSupportedSizesResource](docs/CouponSupportedSizesResource.md) - [CouponSupportedSizesResponse](docs/CouponSupportedSizesResponse.md) - - [CreateAdSetBiddingV24Q1](docs/CreateAdSetBiddingV24Q1.md) - - [CreateAdSetBudgetV24Q1](docs/CreateAdSetBudgetV24Q1.md) - - [CreateAdSetGeoLocationV24Q1](docs/CreateAdSetGeoLocationV24Q1.md) - - [CreateAdSetScheduleV24Q1](docs/CreateAdSetScheduleV24Q1.md) - - [CreateAdSetTargetingV24Q1](docs/CreateAdSetTargetingV24Q1.md) - - [CreateAdSetV24Q1](docs/CreateAdSetV24Q1.md) - - [CreateAdSetV24Q1Request](docs/CreateAdSetV24Q1Request.md) - - [CreateAdSetV24Q1Resource](docs/CreateAdSetV24Q1Resource.md) + - [CreateAdSetBiddingV24Q3](docs/CreateAdSetBiddingV24Q3.md) + - [CreateAdSetBudgetV24Q3](docs/CreateAdSetBudgetV24Q3.md) + - [CreateAdSetGeoLocationV24Q3](docs/CreateAdSetGeoLocationV24Q3.md) + - [CreateAdSetScheduleV24Q3](docs/CreateAdSetScheduleV24Q3.md) + - [CreateAdSetTargetingV24Q3](docs/CreateAdSetTargetingV24Q3.md) + - [CreateAdSetV24Q3](docs/CreateAdSetV24Q3.md) + - [CreateAdSetV24Q3Request](docs/CreateAdSetV24Q3Request.md) + - [CreateAdSetV24Q3Resource](docs/CreateAdSetV24Q3Resource.md) - [CreateCampaign](docs/CreateCampaign.md) - [CreateCampaignRequest](docs/CreateCampaignRequest.md) - [CreateCampaignResource](docs/CreateCampaignResource.md) @@ -236,9 +236,6 @@ Class | Method | HTTP request | Description - [Dataset](docs/Dataset.md) - [DealId](docs/DealId.md) - [DeleteAudienceContactListResponse](docs/DeleteAudienceContactListResponse.md) - - [DeleteUserProfileModel](docs/DeleteUserProfileModel.md) - - [DeleteUserProfileModelListRequest](docs/DeleteUserProfileModelListRequest.md) - - [DeleteUserProfileModelResource](docs/DeleteUserProfileModelResource.md) - [DynamicAttributes](docs/DynamicAttributes.md) - [DynamicWriteAttributes](docs/DynamicWriteAttributes.md) - [EntityFilter](docs/EntityFilter.md) @@ -304,8 +301,8 @@ Class | Method | HTTP request | Description - [MarketingSolutionsReportStatusResource](docs/MarketingSolutionsReportStatusResource.md) - [MarketingSolutionsReportStatusResponse](docs/MarketingSolutionsReportStatusResponse.md) - [ModifyAudienceResponse](docs/ModifyAudienceResponse.md) - - [NillableAdSetTargetingRuleV24Q1](docs/NillableAdSetTargetingRuleV24Q1.md) - - [NillableAdSetTargetingRuleV24Q1Value](docs/NillableAdSetTargetingRuleV24Q1Value.md) + - [NillableAdSetTargetingRuleV24Q3](docs/NillableAdSetTargetingRuleV24Q3.md) + - [NillableAdSetTargetingRuleV24Q3Value](docs/NillableAdSetTargetingRuleV24Q3Value.md) - [NillableDateTime](docs/NillableDateTime.md) - [NillableDecimal](docs/NillableDecimal.md) - [NillableGenderV1](docs/NillableGenderV1.md) @@ -322,8 +319,8 @@ Class | Method | HTTP request | Description - [OnSiteRecoRequest](docs/OnSiteRecoRequest.md) - [OnSiteRecoResponse](docs/OnSiteRecoResponse.md) - [Outcome](docs/Outcome.md) - - [PatchAdSetBiddingV24Q1](docs/PatchAdSetBiddingV24Q1.md) - - [PatchAdSetBudgetV24Q1](docs/PatchAdSetBudgetV24Q1.md) + - [PatchAdSetBiddingV24Q3](docs/PatchAdSetBiddingV24Q3.md) + - [PatchAdSetBudgetV24Q3](docs/PatchAdSetBudgetV24Q3.md) - [PatchAdSetCategoryBid](docs/PatchAdSetCategoryBid.md) - [PatchAdSetCategoryBidListRequest](docs/PatchAdSetCategoryBidListRequest.md) - [PatchAdSetCategoryBidResource](docs/PatchAdSetCategoryBidResource.md) @@ -334,8 +331,8 @@ Class | Method | HTTP request | Description - [PatchAdSetDisplayMultiplierResource](docs/PatchAdSetDisplayMultiplierResource.md) - [PatchAdSetDisplayMultiplierResultListResponse](docs/PatchAdSetDisplayMultiplierResultListResponse.md) - [PatchAdSetDisplayMultiplierResultResource](docs/PatchAdSetDisplayMultiplierResultResource.md) - - [PatchAdSetSchedulingV24Q1](docs/PatchAdSetSchedulingV24Q1.md) - - [PatchAdSetV24Q1](docs/PatchAdSetV24Q1.md) + - [PatchAdSetSchedulingV24Q3](docs/PatchAdSetSchedulingV24Q3.md) + - [PatchAdSetV24Q3](docs/PatchAdSetV24Q3.md) - [PatchCampaign](docs/PatchCampaign.md) - [PatchCampaignListRequest](docs/PatchCampaignListRequest.md) - [PatchCampaignSpendLimit](docs/PatchCampaignSpendLimit.md) @@ -365,26 +362,28 @@ Class | Method | HTTP request | Description - [ProspectingCreateV1](docs/ProspectingCreateV1.md) - [ProspectingUpdateV1](docs/ProspectingUpdateV1.md) - [ProspectingV1](docs/ProspectingV1.md) - - [ReadAdSetBiddingV24Q1](docs/ReadAdSetBiddingV24Q1.md) - - [ReadAdSetBudgetV24Q1](docs/ReadAdSetBudgetV24Q1.md) - - [ReadAdSetScheduleV24Q1](docs/ReadAdSetScheduleV24Q1.md) - - [ReadAdSetV24Q1](docs/ReadAdSetV24Q1.md) + - [ReadAdSetBiddingV24Q3](docs/ReadAdSetBiddingV24Q3.md) + - [ReadAdSetBudgetV24Q3](docs/ReadAdSetBudgetV24Q3.md) + - [ReadAdSetScheduleV24Q3](docs/ReadAdSetScheduleV24Q3.md) + - [ReadAdSetV24Q3](docs/ReadAdSetV24Q3.md) - [ReadModelAdSetId](docs/ReadModelAdSetId.md) - - [ReadModelAdSetIdV24Q1](docs/ReadModelAdSetIdV24Q1.md) - - [ReadModelReadAdSetV24Q1](docs/ReadModelReadAdSetV24Q1.md) + - [ReadModelAdSetIdV24Q3](docs/ReadModelAdSetIdV24Q3.md) + - [ReadModelReadAdSetV24Q3](docs/ReadModelReadAdSetV24Q3.md) - [RecommendedProduct](docs/RecommendedProduct.md) - [ReportDetailError](docs/ReportDetailError.md) - [ReportDetailErrors](docs/ReportDetailErrors.md) + - [ReportDetailWarning](docs/ReportDetailWarning.md) + - [ReportDetailWarnings](docs/ReportDetailWarnings.md) - [ReportOkResponse](docs/ReportOkResponse.md) - [RequestsAdSetId](docs/RequestsAdSetId.md) - - [RequestsPatchAdSetV24Q1](docs/RequestsPatchAdSetV24Q1.md) + - [RequestsPatchAdSetV24Q3](docs/RequestsPatchAdSetV24Q3.md) - [ResourceCollectionOutcomeOfProductSet](docs/ResourceCollectionOutcomeOfProductSet.md) - [ResourceOfProductSet](docs/ResourceOfProductSet.md) - [ResourceOutcomeOfProductSet](docs/ResourceOutcomeOfProductSet.md) - - [ResponseReadAdSetV24Q1](docs/ResponseReadAdSetV24Q1.md) + - [ResponseReadAdSetV24Q3](docs/ResponseReadAdSetV24Q3.md) - [ResponsesAdSetId](docs/ResponsesAdSetId.md) - - [ResponsesAdSetIdV24Q1](docs/ResponsesAdSetIdV24Q1.md) - - [ResponsesReadAdSetV24Q1](docs/ResponsesReadAdSetV24Q1.md) + - [ResponsesAdSetIdV24Q3](docs/ResponsesAdSetIdV24Q3.md) + - [ResponsesReadAdSetV24Q3](docs/ResponsesReadAdSetV24Q3.md) - [RetargetingCreateV1](docs/RetargetingCreateV1.md) - [RetargetingUpdateV1](docs/RetargetingUpdateV1.md) - [RetargetingV1](docs/RetargetingV1.md) @@ -394,9 +393,6 @@ Class | Method | HTTP request | Description - [SetAdSetTargetingVideoPositioning](docs/SetAdSetTargetingVideoPositioning.md) - [SetAdSetTargetingVideoPositioningRequest](docs/SetAdSetTargetingVideoPositioningRequest.md) - [SetAdSetTargetingVideoPositioningResource](docs/SetAdSetTargetingVideoPositioningResource.md) - - [SetUserProfileModel](docs/SetUserProfileModel.md) - - [SetUserProfileModelListRequest](docs/SetUserProfileModelListRequest.md) - - [SetUserProfileModelResource](docs/SetUserProfileModelResource.md) - [Size](docs/Size.md) - [StatisticsOkResponse](docs/StatisticsOkResponse.md) - [StatisticsRecord](docs/StatisticsRecord.md) @@ -424,8 +420,6 @@ Class | Method | HTTP request | Description - [UpdateCouponRequest](docs/UpdateCouponRequest.md) - [UpdateCouponResource](docs/UpdateCouponResource.md) - [UserDef](docs/UserDef.md) - - [UserProfileAttributeModel](docs/UserProfileAttributeModel.md) - - [UserProfileIdentifierModel](docs/UserProfileIdentifierModel.md) - [ValueResourceCollectionOutcomeOfProductFilterConfig](docs/ValueResourceCollectionOutcomeOfProductFilterConfig.md) - [ValueResourceInputOfCreateProductFilterRequest](docs/ValueResourceInputOfCreateProductFilterRequest.md) - [ValueResourceInputOfCreateProductSetRequest](docs/ValueResourceInputOfCreateProductSetRequest.md) @@ -436,7 +430,7 @@ Class | Method | HTTP request | Description - [ValueResourceOutcomeOfProductFilterConfig](docs/ValueResourceOutcomeOfProductFilterConfig.md) - [VideoDetail](docs/VideoDetail.md) - [WriteModelAdSetId](docs/WriteModelAdSetId.md) - - [WriteModelPatchAdSetV24Q1](docs/WriteModelPatchAdSetV24Q1.md) + - [WriteModelPatchAdSetV24Q3](docs/WriteModelPatchAdSetV24Q3.md) ## Disclaimer diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/__init__.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/__init__.py index 55b10143..5f8a6df8 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/__init__.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "0.0.240808" +__version__ = "0.0.241029" # import ApiClient from criteo_api_marketingsolutions_preview.api_client import ApiClient diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/analytics_api.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/analytics_api.py index 012927b2..d7154ede 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/analytics_api.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/analytics_api.py @@ -50,7 +50,7 @@ def __init__(self, api_client=None): self.api_client = api_client self.get_adset_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -341,7 +341,7 @@ def __init__(self, api_client=None): ) self.get_categories_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -463,7 +463,7 @@ def __init__(self, api_client=None): ) self.get_placements_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -507,7 +507,9 @@ def __init__(self, api_client=None): 'text/plain', 'application/json', 'text/json', + 'text/csv', 'application/xml', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'text/xml' ], 'content_type': [ @@ -582,7 +584,7 @@ def __init__(self, api_client=None): ) self.get_transactions_report_endpoint = _Endpoint( settings={ - 'response_type': (str,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' @@ -753,7 +755,7 @@ def get_adset_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -1156,7 +1158,7 @@ def get_categories_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -1314,7 +1316,7 @@ def get_placements_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ @@ -1472,7 +1474,7 @@ def get_transactions_report( async_req (bool): execute request asynchronously Returns: - str + file_type If the method is called asynchronously, returns the request thread. """ diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/audience_api.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/audience_api.py index 68477545..29652815 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/audience_api.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/audience_api.py @@ -47,12 +47,10 @@ from criteo_api_marketingsolutions_preview.model.contactlist_amendment_request import ContactlistAmendmentRequest from criteo_api_marketingsolutions_preview.model.contactlist_with_attributes_amendment_request import ContactlistWithAttributesAmendmentRequest from criteo_api_marketingsolutions_preview.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse -from criteo_api_marketingsolutions_preview.model.delete_user_profile_model_list_request import DeleteUserProfileModelListRequest from criteo_api_marketingsolutions_preview.model.error_code_response import ErrorCodeResponse from criteo_api_marketingsolutions_preview.model.in_market_audience_segment_brand_entity_v1_list_response import InMarketAudienceSegmentBrandEntityV1ListResponse from criteo_api_marketingsolutions_preview.model.in_market_audience_segment_interest_entity_v1_list_response import InMarketAudienceSegmentInterestEntityV1ListResponse from criteo_api_marketingsolutions_preview.model.modify_audience_response import ModifyAudienceResponse -from criteo_api_marketingsolutions_preview.model.set_user_profile_model_list_request import SetUserProfileModelListRequest class AudienceApi(object): @@ -530,119 +528,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.delete_contact_list_identifiers_endpoint = _Endpoint( - settings={ - 'response_type': (DeleteAudienceContactListResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'delete_contact_list_identifiers', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'audience_segment_id', - ], - 'required': [ - 'audience_segment_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'audience_segment_id': - (str,), - }, - 'attribute_map': { - 'audience_segment_id': 'audience-segment-id', - }, - 'location_map': { - 'audience_segment_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_user_profiles_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/preview/marketing-solutions/advertisers/{advertiserId}/user-profiles/delete', - 'operation_id': 'delete_user_profiles', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'advertiser_id', - 'delete_user_profile_model_list_request', - ], - 'required': [ - 'advertiser_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'advertiser_id': - (int,), - 'delete_user_profile_model_list_request': - (DeleteUserProfileModelListRequest,), - }, - 'attribute_map': { - 'advertiser_id': 'advertiserId', - }, - 'location_map': { - 'advertiser_id': 'path', - 'delete_user_profile_model_list_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' - ] - }, - api_client=api_client - ) self.estimate_audience_segment_size_endpoint = _Endpoint( settings={ 'response_type': (AudienceSegmentSizeEstimationV1Response,), @@ -992,205 +877,181 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.search_audience_segments_endpoint = _Endpoint( + self.preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint = _Endpoint( settings={ - 'response_type': (AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse,), + 'response_type': (DeleteAudienceContactListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/preview/marketing-solutions/audience-segments/search', - 'operation_id': 'search_audience_segments', - 'http_method': 'POST', + 'endpoint_path': '/preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', + 'operation_id': 'preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'audience_segment_search_input_v1', - 'limit', - 'offset', + 'audience_segment_id', ], 'required': [ - 'audience_segment_search_input_v1', + 'audience_segment_id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ - 'limit', ] }, root_map={ 'validations': { - ('limit',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 0, - }, }, 'allowed_values': { }, 'openapi_types': { - 'audience_segment_search_input_v1': - (AudienceSegmentSearchInputV1,), - 'limit': - (int,), - 'offset': - (int,), + 'audience_segment_id': + (str,), }, 'attribute_map': { - 'limit': 'limit', - 'offset': 'offset', + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_segment_search_input_v1': 'body', - 'limit': 'query', - 'offset': 'query', + 'audience_segment_id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], - 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' - ] + 'content_type': [], }, api_client=api_client ) - self.search_audiences_endpoint = _Endpoint( + self.preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint = _Endpoint( settings={ - 'response_type': (AudienceEntityV1AudienceSearchMetadataV1ListResponse,), + 'response_type': (ModifyAudienceResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/preview/marketing-solutions/audiences/search', - 'operation_id': 'search_audiences', - 'http_method': 'POST', + 'endpoint_path': '/preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', + 'operation_id': 'preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch', + 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ - 'audience_search_input_v1', - 'limit', - 'offset', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'required': [ - 'audience_search_input_v1', + 'audience_segment_id', + 'contactlist_amendment_request', ], 'nullable': [ ], 'enum': [ ], 'validation': [ - 'limit', ] }, root_map={ 'validations': { - ('limit',): { - - 'inclusive_maximum': 100, - 'inclusive_minimum': 0, - }, }, 'allowed_values': { }, 'openapi_types': { - 'audience_search_input_v1': - (AudienceSearchInputV1,), - 'limit': - (int,), - 'offset': - (int,), + 'audience_segment_id': + (str,), + 'contactlist_amendment_request': + (ContactlistAmendmentRequest,), }, 'attribute_map': { - 'limit': 'limit', - 'offset': 'offset', + 'audience_segment_id': 'audience-segment-id', }, 'location_map': { - 'audience_search_input_v1': 'body', - 'limit': 'query', - 'offset': 'query', + 'audience_segment_id': 'path', + 'contactlist_amendment_request': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client ) - self.set_user_profiles_endpoint = _Endpoint( + self.search_audience_segments_endpoint = _Endpoint( settings={ - 'response_type': None, + 'response_type': (AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/preview/marketing-solutions/advertisers/{advertiserId}/user-profiles/set', - 'operation_id': 'set_user_profiles', + 'endpoint_path': '/preview/marketing-solutions/audience-segments/search', + 'operation_id': 'search_audience_segments', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'advertiser_id', - 'set_user_profile_model_list_request', + 'audience_segment_search_input_v1', + 'limit', + 'offset', ], 'required': [ - 'advertiser_id', + 'audience_segment_search_input_v1', ], 'nullable': [ ], 'enum': [ ], 'validation': [ + 'limit', ] }, root_map={ 'validations': { + ('limit',): { + + 'inclusive_maximum': 100, + 'inclusive_minimum': 0, + }, }, 'allowed_values': { }, 'openapi_types': { - 'advertiser_id': + 'audience_segment_search_input_v1': + (AudienceSegmentSearchInputV1,), + 'limit': + (int,), + 'offset': (int,), - 'set_user_profile_model_list_request': - (SetUserProfileModelListRequest,), }, 'attribute_map': { - 'advertiser_id': 'advertiserId', + 'limit': 'limit', + 'offset': 'offset', }, 'location_map': { - 'advertiser_id': 'path', - 'set_user_profile_model_list_request': 'body', + 'audience_segment_search_input_v1': 'body', + 'limit': 'query', + 'offset': 'query', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'application/json' + 'text/plain', + 'application/json', + 'text/json' ], 'content_type': [ 'application/json-patch+json', @@ -1201,61 +1062,76 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_contact_list_identifiers_endpoint = _Endpoint( + self.search_audiences_endpoint = _Endpoint( settings={ - 'response_type': (ModifyAudienceResponse,), + 'response_type': (AudienceEntityV1AudienceSearchMetadataV1ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'update_contact_list_identifiers', - 'http_method': 'PATCH', + 'endpoint_path': '/preview/marketing-solutions/audiences/search', + 'operation_id': 'search_audiences', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'audience_segment_id', - 'contactlist_amendment_request', + 'audience_search_input_v1', + 'limit', + 'offset', ], 'required': [ - 'audience_segment_id', - 'contactlist_amendment_request', + 'audience_search_input_v1', ], 'nullable': [ ], 'enum': [ ], 'validation': [ + 'limit', ] }, root_map={ 'validations': { + ('limit',): { + + 'inclusive_maximum': 100, + 'inclusive_minimum': 0, + }, }, 'allowed_values': { }, 'openapi_types': { - 'audience_segment_id': - (str,), - 'contactlist_amendment_request': - (ContactlistAmendmentRequest,), + 'audience_search_input_v1': + (AudienceSearchInputV1,), + 'limit': + (int,), + 'offset': + (int,), }, 'attribute_map': { - 'audience_segment_id': 'audience-segment-id', + 'limit': 'limit', + 'offset': 'offset', }, 'location_map': { - 'audience_segment_id': 'path', - 'contactlist_amendment_request': 'body', + 'audience_search_input_v1': 'body', + 'limit': 'query', + 'offset': 'query', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'application/json' + 'text/plain', + 'application/json', + 'text/json' ], 'content_type': [ - 'application/json' + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' ] }, api_client=api_client @@ -1925,173 +1801,6 @@ def compute_audiences_sizes( audience_compute_sizes_input_v1 return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs) - def delete_contact_list_identifiers( - self, - audience_segment_id, - **kwargs - ): - """delete_contact_list_identifiers # noqa: E501 - - Delete all identifiers from a contact list audience-segment. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_contact_list_identifiers(audience_segment_id, async_req=True) - >>> result = thread.get() - - Args: - audience_segment_id (str): The id of the contact list audience-segment to amend - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - DeleteAudienceContactListResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - return self.delete_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) - - def delete_user_profiles( - self, - advertiser_id, - **kwargs - ): - """delete_user_profiles # noqa: E501 - - This endpoint will Delete User Profiles for a given Advertiser. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_user_profiles(advertiser_id, async_req=True) - >>> result = thread.get() - - Args: - advertiser_id (int): Criteo Advertiser ID of user profiles' owner - - Keyword Args: - delete_user_profile_model_list_request (DeleteUserProfileModelListRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['advertiser_id'] = \ - advertiser_id - return self.delete_user_profiles_endpoint.call_with_http_info(**kwargs) - def estimate_audience_segment_size( self, audience_segment_estimate_size_input_v1, @@ -2602,26 +2311,24 @@ def modify_audience_users_with_attributes( contactlist_with_attributes_amendment_request return self.modify_audience_users_with_attributes_endpoint.call_with_http_info(**kwargs) - def search_audience_segments( + def preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete( self, - audience_segment_search_input_v1, + audience_segment_id, **kwargs ): - """search_audience_segments # noqa: E501 + """preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete # noqa: E501 - Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. # noqa: E501 + Delete all identifiers from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_audience_segments(audience_segment_search_input_v1, async_req=True) + >>> thread = api.preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id, async_req=True) >>> result = thread.get() Args: - audience_segment_search_input_v1 (AudienceSegmentSearchInputV1): Segment search filters. + audience_segment_id (str): The id of the contact list audience-segment to amend Keyword Args: - limit (int): The number of elements to be returned. The default is 50 and the maximum is 100.. [optional] if omitted the server will use the default value of 50 - offset (int): The (zero-based) offset into the collection. The default is 0.. [optional] if omitted the server will use the default value of 0 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2654,7 +2361,7 @@ def search_audience_segments( async_req (bool): execute request asynchronously Returns: - AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse + DeleteAudienceContactListResponse If the method is called asynchronously, returns the request thread. """ @@ -2683,30 +2390,30 @@ def search_audience_segments( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_search_input_v1'] = \ - audience_segment_search_input_v1 - return self.search_audience_segments_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint.call_with_http_info(**kwargs) - def search_audiences( + def preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch( self, - audience_search_input_v1, + audience_segment_id, + contactlist_amendment_request, **kwargs ): - """search_audiences # noqa: E501 + """preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch # noqa: E501 - Returns a list of audiences that match the provided filters. If present, the filters are AND'ed together when applied. # noqa: E501 + Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_audiences(audience_search_input_v1, async_req=True) + >>> thread = api.preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request, async_req=True) >>> result = thread.get() Args: - audience_search_input_v1 (AudienceSearchInputV1): Audience search filters. + audience_segment_id (str): The id of the contact list audience-segment to amend + contactlist_amendment_request (ContactlistAmendmentRequest): Keyword Args: - limit (int): The number of elements to be returned. The default is 50 and the maximum is 100.. [optional] if omitted the server will use the default value of 50 - offset (int): The (zero-based) offset into the collection. The default is 0.. [optional] if omitted the server will use the default value of 0 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2739,7 +2446,7 @@ def search_audiences( async_req (bool): execute request asynchronously Returns: - AudienceEntityV1AudienceSearchMetadataV1ListResponse + ModifyAudienceResponse If the method is called asynchronously, returns the request thread. """ @@ -2768,29 +2475,32 @@ def search_audiences( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_search_input_v1'] = \ - audience_search_input_v1 - return self.search_audiences_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['contactlist_amendment_request'] = \ + contactlist_amendment_request + return self.preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs) - def set_user_profiles( + def search_audience_segments( self, - advertiser_id, + audience_segment_search_input_v1, **kwargs ): - """set_user_profiles # noqa: E501 + """search_audience_segments # noqa: E501 - This endpoint will Set User Profiles for a given Advertiser. If a User Profile does not exist, a new one will be created. If a User Profile exists, it will be replaced. # noqa: E501 + Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.set_user_profiles(advertiser_id, async_req=True) + >>> thread = api.search_audience_segments(audience_segment_search_input_v1, async_req=True) >>> result = thread.get() Args: - advertiser_id (int): Criteo Advertiser ID of user profiles' owner + audience_segment_search_input_v1 (AudienceSegmentSearchInputV1): Segment search filters. Keyword Args: - set_user_profile_model_list_request (SetUserProfileModelListRequest): [optional] + limit (int): The number of elements to be returned. The default is 50 and the maximum is 100.. [optional] if omitted the server will use the default value of 50 + offset (int): The (zero-based) offset into the collection. The default is 0.. [optional] if omitted the server will use the default value of 0 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2823,7 +2533,7 @@ def set_user_profiles( async_req (bool): execute request asynchronously Returns: - None + AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -2852,30 +2562,30 @@ def set_user_profiles( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['advertiser_id'] = \ - advertiser_id - return self.set_user_profiles_endpoint.call_with_http_info(**kwargs) + kwargs['audience_segment_search_input_v1'] = \ + audience_segment_search_input_v1 + return self.search_audience_segments_endpoint.call_with_http_info(**kwargs) - def update_contact_list_identifiers( + def search_audiences( self, - audience_segment_id, - contactlist_amendment_request, + audience_search_input_v1, **kwargs ): - """update_contact_list_identifiers # noqa: E501 + """search_audiences # noqa: E501 - Add/remove identifiers to or from a contact list audience-segment. # noqa: E501 + Returns a list of audiences that match the provided filters. If present, the filters are AND'ed together when applied. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request, async_req=True) + >>> thread = api.search_audiences(audience_search_input_v1, async_req=True) >>> result = thread.get() Args: - audience_segment_id (str): The id of the contact list audience-segment to amend - contactlist_amendment_request (ContactlistAmendmentRequest): + audience_search_input_v1 (AudienceSearchInputV1): Audience search filters. Keyword Args: + limit (int): The number of elements to be returned. The default is 50 and the maximum is 100.. [optional] if omitted the server will use the default value of 50 + offset (int): The (zero-based) offset into the collection. The default is 0.. [optional] if omitted the server will use the default value of 0 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2908,7 +2618,7 @@ def update_contact_list_identifiers( async_req (bool): execute request asynchronously Returns: - ModifyAudienceResponse + AudienceEntityV1AudienceSearchMetadataV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -2937,9 +2647,7 @@ def update_contact_list_identifiers( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['audience_segment_id'] = \ - audience_segment_id - kwargs['contactlist_amendment_request'] = \ - contactlist_amendment_request - return self.update_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) + kwargs['audience_search_input_v1'] = \ + audience_search_input_v1 + return self.search_audiences_endpoint.call_with_http_info(**kwargs) diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/campaign_api.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/campaign_api.py index 7b87dfc5..f3fdb698 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/campaign_api.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api/campaign_api.py @@ -25,7 +25,7 @@ from criteo_api_marketingsolutions_preview.model.ad_set_audience_link_input_entity_v1 import AdSetAudienceLinkInputEntityV1 from criteo_api_marketingsolutions_preview.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse from criteo_api_marketingsolutions_preview.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse -from criteo_api_marketingsolutions_preview.model.ad_set_search_request_v24_q1 import AdSetSearchRequestV24Q1 +from criteo_api_marketingsolutions_preview.model.ad_set_search_request_v24_q3 import AdSetSearchRequestV24Q3 from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids_disable_result_response import AdSetTargetingDealIdsDisableResultResponse from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids_response import AdSetTargetingDealIdsResponse from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids_set_result_response import AdSetTargetingDealIdsSetResultResponse @@ -38,7 +38,7 @@ from criteo_api_marketingsolutions_preview.model.campaign_search_request_v23_q1 import CampaignSearchRequestV23Q1 from criteo_api_marketingsolutions_preview.model.campaign_v23_q1_list_response import CampaignV23Q1ListResponse from criteo_api_marketingsolutions_preview.model.campaign_v23_q1_response import CampaignV23Q1Response -from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q1_request import CreateAdSetV24Q1Request +from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3_request import CreateAdSetV24Q3Request from criteo_api_marketingsolutions_preview.model.create_campaign_request import CreateCampaignRequest from criteo_api_marketingsolutions_preview.model.oci_brand_safety_response import OciBrandSafetyResponse from criteo_api_marketingsolutions_preview.model.oci_brand_safety_rule import OciBrandSafetyRule @@ -51,11 +51,11 @@ from criteo_api_marketingsolutions_preview.model.patch_campaign_list_request import PatchCampaignListRequest from criteo_api_marketingsolutions_preview.model.patch_result_campaign_list_response import PatchResultCampaignListResponse from criteo_api_marketingsolutions_preview.model.requests_ad_set_id import RequestsAdSetId -from criteo_api_marketingsolutions_preview.model.requests_patch_ad_set_v24_q1 import RequestsPatchAdSetV24Q1 -from criteo_api_marketingsolutions_preview.model.response_read_ad_set_v24_q1 import ResponseReadAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.requests_patch_ad_set_v24_q3 import RequestsPatchAdSetV24Q3 +from criteo_api_marketingsolutions_preview.model.response_read_ad_set_v24_q3 import ResponseReadAdSetV24Q3 from criteo_api_marketingsolutions_preview.model.responses_ad_set_id import ResponsesAdSetId -from criteo_api_marketingsolutions_preview.model.responses_ad_set_id_v24_q1 import ResponsesAdSetIdV24Q1 -from criteo_api_marketingsolutions_preview.model.responses_read_ad_set_v24_q1 import ResponsesReadAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.responses_ad_set_id_v24_q3 import ResponsesAdSetIdV24Q3 +from criteo_api_marketingsolutions_preview.model.responses_read_ad_set_v24_q3 import ResponsesReadAdSetV24Q3 from criteo_api_marketingsolutions_preview.model.set_ad_set_targeting_deal_ids_request import SetAdSetTargetingDealIdsRequest from criteo_api_marketingsolutions_preview.model.set_ad_set_targeting_video_positioning_request import SetAdSetTargetingVideoPositioningRequest from criteo_api_marketingsolutions_preview.model.supply_vendor_list_response import SupplyVendorListResponse @@ -73,24 +73,24 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.create_ad_set_v24_q1_endpoint = _Endpoint( + self.create_ad_set_v24_q3_endpoint = _Endpoint( settings={ - 'response_type': (ResponseReadAdSetV24Q1,), + 'response_type': (ResponseReadAdSetV24Q3,), 'auth': [ 'oauth', 'oauth' ], 'endpoint_path': '/preview/marketing-solutions/ad-sets', - 'operation_id': 'create_ad_set_v24_q1', + 'operation_id': 'create_ad_set_v24_q3', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'create_ad_set_v24_q1_request', + 'create_ad_set_v24_q3_request', ], 'required': [ - 'create_ad_set_v24_q1_request', + 'create_ad_set_v24_q3_request', ], 'nullable': [ ], @@ -105,13 +105,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'create_ad_set_v24_q1_request': - (CreateAdSetV24Q1Request,), + 'create_ad_set_v24_q3_request': + (CreateAdSetV24Q3Request,), }, 'attribute_map': { }, 'location_map': { - 'create_ad_set_v24_q1_request': 'body', + 'create_ad_set_v24_q3_request': 'body', }, 'collection_format_map': { } @@ -783,15 +783,15 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_ad_set_v24_q1_endpoint = _Endpoint( + self.get_ad_set_v24_q3_endpoint = _Endpoint( settings={ - 'response_type': (ResponseReadAdSetV24Q1,), + 'response_type': (ResponseReadAdSetV24Q3,), 'auth': [ 'oauth', 'oauth' ], 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}', - 'operation_id': 'get_ad_set_v24_q1', + 'operation_id': 'get_ad_set_v24_q3', 'http_method': 'GET', 'servers': None, }, @@ -1388,21 +1388,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.patch_ad_sets_v24_q1_endpoint = _Endpoint( + self.patch_ad_sets_v24_q3_endpoint = _Endpoint( settings={ - 'response_type': (ResponsesAdSetIdV24Q1,), + 'response_type': (ResponsesAdSetIdV24Q3,), 'auth': [ 'oauth', 'oauth' ], 'endpoint_path': '/preview/marketing-solutions/ad-sets', - 'operation_id': 'patch_ad_sets_v24_q1', + 'operation_id': 'patch_ad_sets_v24_q3', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ - 'requests_patch_ad_set_v24_q1', + 'requests_patch_ad_set_v24_q3', ], 'required': [], 'nullable': [ @@ -1418,13 +1418,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'requests_patch_ad_set_v24_q1': - (RequestsPatchAdSetV24Q1,), + 'requests_patch_ad_set_v24_q3': + (RequestsPatchAdSetV24Q3,), }, 'attribute_map': { }, 'location_map': { - 'requests_patch_ad_set_v24_q1': 'body', + 'requests_patch_ad_set_v24_q3': 'body', }, 'collection_format_map': { } @@ -2130,21 +2130,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.search_ad_sets_v24_q1_endpoint = _Endpoint( + self.search_ad_sets_v24_q3_endpoint = _Endpoint( settings={ - 'response_type': (ResponsesReadAdSetV24Q1,), + 'response_type': (ResponsesReadAdSetV24Q3,), 'auth': [ 'oauth', 'oauth' ], 'endpoint_path': '/preview/marketing-solutions/ad-sets/search', - 'operation_id': 'search_ad_sets_v24_q1', + 'operation_id': 'search_ad_sets_v24_q3', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'ad_set_search_request_v24_q1', + 'ad_set_search_request_v24_q3', ], 'required': [], 'nullable': [ @@ -2160,13 +2160,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'ad_set_search_request_v24_q1': - (AdSetSearchRequestV24Q1,), + 'ad_set_search_request_v24_q3': + (AdSetSearchRequestV24Q3,), }, 'attribute_map': { }, 'location_map': { - 'ad_set_search_request_v24_q1': 'body', + 'ad_set_search_request_v24_q3': 'body', }, 'collection_format_map': { } @@ -2651,22 +2651,22 @@ def __init__(self, api_client=None): api_client=api_client ) - def create_ad_set_v24_q1( + def create_ad_set_v24_q3( self, - create_ad_set_v24_q1_request, + create_ad_set_v24_q3_request, **kwargs ): - """create_ad_set_v24_q1 # noqa: E501 + """create_ad_set_v24_q3 # noqa: E501 Create the specified ad set # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_ad_set_v24_q1(create_ad_set_v24_q1_request, async_req=True) + >>> thread = api.create_ad_set_v24_q3(create_ad_set_v24_q3_request, async_req=True) >>> result = thread.get() Args: - create_ad_set_v24_q1_request (CreateAdSetV24Q1Request): the ad sets to create + create_ad_set_v24_q3_request (CreateAdSetV24Q3Request): the ad sets to create Keyword Args: _return_http_data_only (bool): response data without head status @@ -2701,7 +2701,7 @@ def create_ad_set_v24_q1( async_req (bool): execute request asynchronously Returns: - ResponseReadAdSetV24Q1 + ResponseReadAdSetV24Q3 If the method is called asynchronously, returns the request thread. """ @@ -2730,9 +2730,9 @@ def create_ad_set_v24_q1( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['create_ad_set_v24_q1_request'] = \ - create_ad_set_v24_q1_request - return self.create_ad_set_v24_q1_endpoint.call_with_http_info(**kwargs) + kwargs['create_ad_set_v24_q3_request'] = \ + create_ad_set_v24_q3_request + return self.create_ad_set_v24_q3_endpoint.call_with_http_info(**kwargs) def create_campaign( self, @@ -3659,18 +3659,18 @@ def get_ad_set_targeting_video_positioning( ad_set_id return self.get_ad_set_targeting_video_positioning_endpoint.call_with_http_info(**kwargs) - def get_ad_set_v24_q1( + def get_ad_set_v24_q3( self, ad_set_id, **kwargs ): - """get_ad_set_v24_q1 # noqa: E501 + """get_ad_set_v24_q3 # noqa: E501 Get the data for the specified ad set # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_ad_set_v24_q1(ad_set_id, async_req=True) + >>> thread = api.get_ad_set_v24_q3(ad_set_id, async_req=True) >>> result = thread.get() Args: @@ -3709,7 +3709,7 @@ def get_ad_set_v24_q1( async_req (bool): execute request asynchronously Returns: - ResponseReadAdSetV24Q1 + ResponseReadAdSetV24Q3 If the method is called asynchronously, returns the request thread. """ @@ -3740,7 +3740,7 @@ def get_ad_set_v24_q1( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['ad_set_id'] = \ ad_set_id - return self.get_ad_set_v24_q1_endpoint.call_with_http_info(**kwargs) + return self.get_ad_set_v24_q3_endpoint.call_with_http_info(**kwargs) def get_advertiser_bundle_rules( self, @@ -4575,22 +4575,22 @@ def get_supply_vendor_list( kwargs['_request_auths'] = kwargs.get('_request_auths', None) return self.get_supply_vendor_list_endpoint.call_with_http_info(**kwargs) - def patch_ad_sets_v24_q1( + def patch_ad_sets_v24_q3( self, **kwargs ): - """patch_ad_sets_v24_q1 # noqa: E501 + """patch_ad_sets_v24_q3 # noqa: E501 Patch a list of AdSets. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.patch_ad_sets_v24_q1(async_req=True) + >>> thread = api.patch_ad_sets_v24_q3(async_req=True) >>> result = thread.get() Keyword Args: - requests_patch_ad_set_v24_q1 (RequestsPatchAdSetV24Q1): List of adsets to patch.. [optional] + requests_patch_ad_set_v24_q3 (RequestsPatchAdSetV24Q3): List of adsets to patch.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4623,7 +4623,7 @@ def patch_ad_sets_v24_q1( async_req (bool): execute request asynchronously Returns: - ResponsesAdSetIdV24Q1 + ResponsesAdSetIdV24Q3 If the method is called asynchronously, returns the request thread. """ @@ -4652,7 +4652,7 @@ def patch_ad_sets_v24_q1( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.patch_ad_sets_v24_q1_endpoint.call_with_http_info(**kwargs) + return self.patch_ad_sets_v24_q3_endpoint.call_with_http_info(**kwargs) def patch_campaigns( self, @@ -5573,22 +5573,22 @@ def put_campaign_domain_rules( campaign_id return self.put_campaign_domain_rules_endpoint.call_with_http_info(**kwargs) - def search_ad_sets_v24_q1( + def search_ad_sets_v24_q3( self, **kwargs ): - """search_ad_sets_v24_q1 # noqa: E501 + """search_ad_sets_v24_q3 # noqa: E501 Search for ad sets # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_ad_sets_v24_q1(async_req=True) + >>> thread = api.search_ad_sets_v24_q3(async_req=True) >>> result = thread.get() Keyword Args: - ad_set_search_request_v24_q1 (AdSetSearchRequestV24Q1): [optional] + ad_set_search_request_v24_q3 (AdSetSearchRequestV24Q3): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5621,7 +5621,7 @@ def search_ad_sets_v24_q1( async_req (bool): execute request asynchronously Returns: - ResponsesReadAdSetV24Q1 + ResponsesReadAdSetV24Q3 If the method is called asynchronously, returns the request thread. """ @@ -5650,7 +5650,7 @@ def search_ad_sets_v24_q1( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.search_ad_sets_v24_q1_endpoint.call_with_http_info(**kwargs) + return self.search_ad_sets_v24_q3_endpoint.call_with_http_info(**kwargs) def search_campaigns_v23_q1( self, diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api_client.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api_client.py index 1195e7c0..03689ca2 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api_client.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.0.240808/python' + self.user_agent = 'OpenAPI-Generator/0.0.241029/python' def __enter__(self): return self diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/configuration.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/configuration.py index b05b39c9..aa8cefdd 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/configuration.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: preview\n"\ - "SDK Package Version: 0.0.240808".\ + "SDK Package Version: 0.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_delivery_limitations.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q3.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_delivery_limitations.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q3.py index 04488481..7f02112c 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_delivery_limitations.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError -class AdSetDeliveryLimitations(ModelNormal): +class AdSetDeliveryLimitationsV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -123,7 +123,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AdSetDeliveryLimitations - a model defined in OpenAPI + """AdSetDeliveryLimitationsV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -211,7 +211,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """AdSetDeliveryLimitations - a model defined in OpenAPI + """AdSetDeliveryLimitationsV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_frequency_capping.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q3.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_frequency_capping.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q3.py index 10ee0858..f9da98f8 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_frequency_capping.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError -class AdSetFrequencyCapping(ModelNormal): +class AdSetFrequencyCappingV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -110,7 +110,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AdSetFrequencyCapping - a model defined in OpenAPI + """AdSetFrequencyCappingV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -197,7 +197,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """AdSetFrequencyCapping - a model defined in OpenAPI + """AdSetFrequencyCappingV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q3.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q3.py new file mode 100644 index 00000000..2404358d --- /dev/null +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_geo_location_v24_q3.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - MarketingSolutions # noqa: E501 + + The version of the OpenAPI document: preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_marketingsolutions_preview.model.nillable_ad_set_targeting_rule_v24_q3 import NillableAdSetTargetingRuleV24Q3 + globals()['NillableAdSetTargetingRuleV24Q3'] = NillableAdSetTargetingRuleV24Q3 + + +class AdSetGeoLocationV24Q3(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'countries': (NillableAdSetTargetingRuleV24Q3,), # noqa: E501 + 'subdivisions': (NillableAdSetTargetingRuleV24Q3,), # noqa: E501 + 'zip_codes': (NillableAdSetTargetingRuleV24Q3,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'countries': 'countries', # noqa: E501 + 'subdivisions': 'subdivisions', # noqa: E501 + 'zip_codes': 'zipCodes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AdSetGeoLocationV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + countries (NillableAdSetTargetingRuleV24Q3): [optional] # noqa: E501 + subdivisions (NillableAdSetTargetingRuleV24Q3): [optional] # noqa: E501 + zip_codes (NillableAdSetTargetingRuleV24Q3): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """AdSetGeoLocationV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + countries (NillableAdSetTargetingRuleV24Q3): [optional] # noqa: E501 + subdivisions (NillableAdSetTargetingRuleV24Q3): [optional] # noqa: E501 + zip_codes (NillableAdSetTargetingRuleV24Q3): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_search_filter.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q3.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_search_filter.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q3.py index 557402e3..cd83e63a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_search_filter.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_filter_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError -class AdSetSearchFilter(ModelNormal): +class AdSetSearchFilterV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -105,7 +105,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AdSetSearchFilter - a model defined in OpenAPI + """AdSetSearchFilterV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """AdSetSearchFilter - a model defined in OpenAPI + """AdSetSearchFilterV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/request_ad_set_search.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q3.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/request_ad_set_search.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q3.py index 35127374..ab863562 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/request_ad_set_search.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_search_request_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_search_filter import AdSetSearchFilter - globals()['AdSetSearchFilter'] = AdSetSearchFilter + from criteo_api_marketingsolutions_preview.model.ad_set_search_filter_v24_q3 import AdSetSearchFilterV24Q3 + globals()['AdSetSearchFilterV24Q3'] = AdSetSearchFilterV24Q3 -class RequestAdSetSearch(ModelNormal): +class AdSetSearchRequestV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'filters': (AdSetSearchFilter,), # noqa: E501 + 'filters': (AdSetSearchFilterV24Q3,), # noqa: E501 } @cached_property @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RequestAdSetSearch - a model defined in OpenAPI + """AdSetSearchRequestV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - filters (AdSetSearchFilter): [optional] # noqa: E501 + filters (AdSetSearchFilterV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RequestAdSetSearch - a model defined in OpenAPI + """AdSetSearchRequestV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - filters (AdSetSearchFilter): [optional] # noqa: E501 + filters (AdSetSearchFilterV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting_rule.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q3.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting_rule.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q3.py index 10258d4d..1ada720e 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/ad_set_targeting_rule.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError -class AdSetTargetingRule(ModelNormal): +class AdSetTargetingRuleV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -109,7 +109,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AdSetTargetingRule - a model defined in OpenAPI + """AdSetTargetingRuleV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -196,7 +196,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """AdSetTargetingRule - a model defined in OpenAPI + """AdSetTargetingRuleV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q3.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q3.py new file mode 100644 index 00000000..c90ccc46 --- /dev/null +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q3.py @@ -0,0 +1,281 @@ +""" + Criteo API + + Criteo API - MarketingSolutions # noqa: E501 + + The version of the OpenAPI document: preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_marketingsolutions_preview.model.ad_set_delivery_limitations_v24_q3 import AdSetDeliveryLimitationsV24Q3 + from criteo_api_marketingsolutions_preview.model.ad_set_frequency_capping_v24_q3 import AdSetFrequencyCappingV24Q3 + from criteo_api_marketingsolutions_preview.model.ad_set_geo_location_v24_q3 import AdSetGeoLocationV24Q3 + globals()['AdSetDeliveryLimitationsV24Q3'] = AdSetDeliveryLimitationsV24Q3 + globals()['AdSetFrequencyCappingV24Q3'] = AdSetFrequencyCappingV24Q3 + globals()['AdSetGeoLocationV24Q3'] = AdSetGeoLocationV24Q3 + + +class AdSetTargetingV24Q3(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'delivery_limitations': (AdSetDeliveryLimitationsV24Q3,), # noqa: E501 + 'geo_location': (AdSetGeoLocationV24Q3,), # noqa: E501 + 'frequency_capping': (AdSetFrequencyCappingV24Q3,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'delivery_limitations': 'deliveryLimitations', # noqa: E501 + 'geo_location': 'geoLocation', # noqa: E501 + 'frequency_capping': 'frequencyCapping', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AdSetTargetingV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + delivery_limitations (AdSetDeliveryLimitationsV24Q3): [optional] # noqa: E501 + geo_location (AdSetGeoLocationV24Q3): [optional] # noqa: E501 + frequency_capping (AdSetFrequencyCappingV24Q3): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """AdSetTargetingV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + delivery_limitations (AdSetDeliveryLimitationsV24Q3): [optional] # noqa: E501 + geo_location (AdSetGeoLocationV24Q3): [optional] # noqa: E501 + frequency_capping (AdSetFrequencyCappingV24Q3): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py index ef026c08..45f47f32 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py @@ -63,6 +63,13 @@ class AdSetTargetingVideoPositioning(ModelNormal): 'INTERSTITIAL': "Interstitial", 'INSTREAM': "InStream", }, + ('video_plcmt',): { + 'None': None, + 'INSTREAM': "InStream", + 'ACCOMPANYINGCONTENT': "AccompanyingContent", + 'INTERSTITIAL': "Interstitial", + 'NOCONTENTSTANDALONE': "NoContentStandalone", + }, ('playback_method',): { 'None': None, 'AUTOSOUNDON': "AutoSoundOn", @@ -101,6 +108,8 @@ class AdSetTargetingVideoPositioning(ModelNormal): validations = { ('video_placement',): { }, + ('video_plcmt',): { + }, ('playback_method',): { }, ('video_in_stream_position',): { @@ -133,6 +142,7 @@ def openapi_types(): """ return { 'video_placement': ([str], none_type,), # noqa: E501 + 'video_plcmt': ([str], none_type,), # noqa: E501 'playback_method': ([str], none_type,), # noqa: E501 'skippable': (str, none_type,), # noqa: E501 'video_in_stream_position': ([str], none_type,), # noqa: E501 @@ -147,6 +157,7 @@ def discriminator(): attribute_map = { 'video_placement': 'videoPlacement', # noqa: E501 + 'video_plcmt': 'videoPlcmt', # noqa: E501 'playback_method': 'playbackMethod', # noqa: E501 'skippable': 'skippable', # noqa: E501 'video_in_stream_position': 'videoInStreamPosition', # noqa: E501 @@ -196,6 +207,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) video_placement ([str], none_type): [optional] # noqa: E501 + video_plcmt ([str], none_type): [optional] # noqa: E501 playback_method ([str], none_type): [optional] # noqa: E501 skippable (str, none_type): [optional] # noqa: E501 video_in_stream_position ([str], none_type): [optional] # noqa: E501 @@ -287,6 +299,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) video_placement ([str], none_type): [optional] # noqa: E501 + video_plcmt ([str], none_type): [optional] # noqa: E501 playback_method ([str], none_type): [optional] # noqa: E501 skippable (str, none_type): [optional] # noqa: E501 video_in_stream_position ([str], none_type): [optional] # noqa: E501 diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/contactlist_amendment_attributes.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/contactlist_amendment_attributes.py index 822c9e30..706bc1d8 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/contactlist_amendment_attributes.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/contactlist_amendment_attributes.py @@ -65,7 +65,6 @@ class ContactlistAmendmentAttributes(ModelNormal): 'MADID': "madid", 'IDENTITYLINK': "identityLink", 'GUM': "gum", - 'CUSTOMERID': "customerid", 'PHONENUMBER': "phoneNumber", }, } @@ -124,7 +123,7 @@ def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -217,7 +216,7 @@ def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501 Args: operation (str): Operation to add or remove users - identifiers ([str]): The users tos add or remove, each in the schema specified + identifiers ([str]): The users to add or remove, each in the schema specified Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_attributes.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_attributes.py index ad45309e..edd8d8bd 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_attributes.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_attributes.py @@ -68,7 +68,6 @@ class ContactlistWithAttributesAmendmentAttributes(ModelNormal): 'MADID': "madid", 'IDENTITYLINK': "identityLink", 'GUM': "gum", - 'CUSTOMERID': "customerid", 'PHONENUMBER': "phoneNumber", }, } diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_bidding.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q3.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_bidding.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q3.py index eca4f802..416df358 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_bidding.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_bidding_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError -class CreateAdSetBidding(ModelNormal): +class CreateAdSetBiddingV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -57,13 +57,14 @@ class CreateAdSetBidding(ModelNormal): allowed_values = { ('cost_controller',): { 'COS': "COS", - 'CPC': "CPC", + 'MAXCPC': "maxCPC", 'CPI': "CPI", 'CPM': "CPM", 'CPO': "CPO", 'CPSV': "CPSV", 'CPV': "CPV", 'DAILYBUDGET': "dailyBudget", + 'TARGETCPM': "targetCPM", }, } @@ -113,7 +114,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, cost_controller, *args, **kwargs): # noqa: E501 - """CreateAdSetBidding - a model defined in OpenAPI + """CreateAdSetBiddingV24Q3 - a model defined in OpenAPI Args: cost_controller (str): How spend is controlled @@ -203,7 +204,7 @@ def _from_openapi_data(cls, cost_controller, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, cost_controller, *args, **kwargs): # noqa: E501 - """CreateAdSetBidding - a model defined in OpenAPI + """CreateAdSetBiddingV24Q3 - a model defined in OpenAPI Args: cost_controller (str): How spend is controlled diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_budget.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q3.py similarity index 97% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_budget.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q3.py index 81449ba0..fc30e4a6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_budget.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError -class CreateAdSetBudget(ModelNormal): +class CreateAdSetBudgetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -65,6 +65,7 @@ class CreateAdSetBudget(ModelNormal): 'DAILY': "daily", 'MONTHLY': "monthly", 'LIFETIME': "lifetime", + 'WEEKLY': "weekly", }, ('budget_delivery_smoothing',): { 'None': None, @@ -136,7 +137,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, budget_strategy, *args, **kwargs): # noqa: E501 - """CreateAdSetBudget - a model defined in OpenAPI + """CreateAdSetBudgetV24Q3 - a model defined in OpenAPI Args: budget_strategy (str): @@ -229,7 +230,7 @@ def _from_openapi_data(cls, budget_strategy, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, budget_strategy, *args, **kwargs): # noqa: E501 - """CreateAdSetBudget - a model defined in OpenAPI + """CreateAdSetBudgetV24Q3 - a model defined in OpenAPI Args: budget_strategy (str): diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q3.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q3.py new file mode 100644 index 00000000..7ccc39b9 --- /dev/null +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_geo_location_v24_q3.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - MarketingSolutions # noqa: E501 + + The version of the OpenAPI document: preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_marketingsolutions_preview.model.ad_set_targeting_rule_v24_q3 import AdSetTargetingRuleV24Q3 + globals()['AdSetTargetingRuleV24Q3'] = AdSetTargetingRuleV24Q3 + + +class CreateAdSetGeoLocationV24Q3(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'countries': (AdSetTargetingRuleV24Q3,), # noqa: E501 + 'subdivisions': (AdSetTargetingRuleV24Q3,), # noqa: E501 + 'zip_codes': (AdSetTargetingRuleV24Q3,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'countries': 'countries', # noqa: E501 + 'subdivisions': 'subdivisions', # noqa: E501 + 'zip_codes': 'zipCodes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CreateAdSetGeoLocationV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + countries (AdSetTargetingRuleV24Q3): [optional] # noqa: E501 + subdivisions (AdSetTargetingRuleV24Q3): [optional] # noqa: E501 + zip_codes (AdSetTargetingRuleV24Q3): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """CreateAdSetGeoLocationV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + countries (AdSetTargetingRuleV24Q3): [optional] # noqa: E501 + subdivisions (AdSetTargetingRuleV24Q3): [optional] # noqa: E501 + zip_codes (AdSetTargetingRuleV24Q3): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_schedule.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q3.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_schedule.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q3.py index 55af239b..e7820937 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_schedule.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_schedule_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError -class CreateAdSetSchedule(ModelNormal): +class CreateAdSetScheduleV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -103,7 +103,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, start_date, *args, **kwargs): # noqa: E501 - """CreateAdSetSchedule - a model defined in OpenAPI + """CreateAdSetScheduleV24Q3 - a model defined in OpenAPI Args: start_date (datetime): @@ -193,7 +193,7 @@ def _from_openapi_data(cls, start_date, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, start_date, *args, **kwargs): # noqa: E501 - """CreateAdSetSchedule - a model defined in OpenAPI + """CreateAdSetScheduleV24Q3 - a model defined in OpenAPI Args: start_date (datetime): diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_targeting.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q3.py similarity index 87% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_targeting.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q3.py index a0c7e6e2..71951d11 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_targeting.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_targeting_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,19 +26,19 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_delivery_limitations import AdSetDeliveryLimitations - from criteo_api_marketingsolutions_v2023_07.model.ad_set_frequency_capping import AdSetFrequencyCapping - from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_geo_location import CreateAdSetGeoLocation - globals()['AdSetDeliveryLimitations'] = AdSetDeliveryLimitations - globals()['AdSetFrequencyCapping'] = AdSetFrequencyCapping - globals()['CreateAdSetGeoLocation'] = CreateAdSetGeoLocation + from criteo_api_marketingsolutions_preview.model.ad_set_delivery_limitations_v24_q3 import AdSetDeliveryLimitationsV24Q3 + from criteo_api_marketingsolutions_preview.model.ad_set_frequency_capping_v24_q3 import AdSetFrequencyCappingV24Q3 + from criteo_api_marketingsolutions_preview.model.create_ad_set_geo_location_v24_q3 import CreateAdSetGeoLocationV24Q3 + globals()['AdSetDeliveryLimitationsV24Q3'] = AdSetDeliveryLimitationsV24Q3 + globals()['AdSetFrequencyCappingV24Q3'] = AdSetFrequencyCappingV24Q3 + globals()['CreateAdSetGeoLocationV24Q3'] = CreateAdSetGeoLocationV24Q3 -class CreateAdSetTargeting(ModelNormal): +class CreateAdSetTargetingV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -91,9 +91,9 @@ def openapi_types(): """ lazy_import() return { - 'frequency_capping': (AdSetFrequencyCapping,), # noqa: E501 - 'delivery_limitations': (AdSetDeliveryLimitations,), # noqa: E501 - 'geo_location': (CreateAdSetGeoLocation,), # noqa: E501 + 'frequency_capping': (AdSetFrequencyCappingV24Q3,), # noqa: E501 + 'delivery_limitations': (AdSetDeliveryLimitationsV24Q3,), # noqa: E501 + 'geo_location': (CreateAdSetGeoLocationV24Q3,), # noqa: E501 } @cached_property @@ -115,10 +115,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, frequency_capping, *args, **kwargs): # noqa: E501 - """CreateAdSetTargeting - a model defined in OpenAPI + """CreateAdSetTargetingV24Q3 - a model defined in OpenAPI Args: - frequency_capping (AdSetFrequencyCapping): + frequency_capping (AdSetFrequencyCappingV24Q3): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -151,8 +151,8 @@ def _from_openapi_data(cls, frequency_capping, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - delivery_limitations (AdSetDeliveryLimitations): [optional] # noqa: E501 - geo_location (CreateAdSetGeoLocation): [optional] # noqa: E501 + delivery_limitations (AdSetDeliveryLimitationsV24Q3): [optional] # noqa: E501 + geo_location (CreateAdSetGeoLocationV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -206,10 +206,10 @@ def _from_openapi_data(cls, frequency_capping, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, frequency_capping, *args, **kwargs): # noqa: E501 - """CreateAdSetTargeting - a model defined in OpenAPI + """CreateAdSetTargetingV24Q3 - a model defined in OpenAPI Args: - frequency_capping (AdSetFrequencyCapping): + frequency_capping (AdSetFrequencyCappingV24Q3): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -242,8 +242,8 @@ def __init__(self, frequency_capping, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - delivery_limitations (AdSetDeliveryLimitations): [optional] # noqa: E501 - geo_location (CreateAdSetGeoLocation): [optional] # noqa: E501 + delivery_limitations (AdSetDeliveryLimitationsV24Q3): [optional] # noqa: E501 + geo_location (CreateAdSetGeoLocationV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3.py similarity index 89% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3.py index be3e4904..d4a27e60 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,21 +26,21 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_bidding import CreateAdSetBidding - from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_budget import CreateAdSetBudget - from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_schedule import CreateAdSetSchedule - from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_targeting import CreateAdSetTargeting - globals()['CreateAdSetBidding'] = CreateAdSetBidding - globals()['CreateAdSetBudget'] = CreateAdSetBudget - globals()['CreateAdSetSchedule'] = CreateAdSetSchedule - globals()['CreateAdSetTargeting'] = CreateAdSetTargeting + from criteo_api_marketingsolutions_preview.model.create_ad_set_bidding_v24_q3 import CreateAdSetBiddingV24Q3 + from criteo_api_marketingsolutions_preview.model.create_ad_set_budget_v24_q3 import CreateAdSetBudgetV24Q3 + from criteo_api_marketingsolutions_preview.model.create_ad_set_schedule_v24_q3 import CreateAdSetScheduleV24Q3 + from criteo_api_marketingsolutions_preview.model.create_ad_set_targeting_v24_q3 import CreateAdSetTargetingV24Q3 + globals()['CreateAdSetBiddingV24Q3'] = CreateAdSetBiddingV24Q3 + globals()['CreateAdSetBudgetV24Q3'] = CreateAdSetBudgetV24Q3 + globals()['CreateAdSetScheduleV24Q3'] = CreateAdSetScheduleV24Q3 + globals()['CreateAdSetTargetingV24Q3'] = CreateAdSetTargetingV24Q3 -class CreateAdSet(ModelNormal): +class CreateAdSetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -114,10 +114,10 @@ def openapi_types(): 'dataset_id': (str, none_type,), # noqa: E501 'campaign_id': (str, none_type,), # noqa: E501 'objective': (str,), # noqa: E501 - 'schedule': (CreateAdSetSchedule,), # noqa: E501 - 'bidding': (CreateAdSetBidding,), # noqa: E501 - 'targeting': (CreateAdSetTargeting,), # noqa: E501 - 'budget': (CreateAdSetBudget,), # noqa: E501 + 'schedule': (CreateAdSetScheduleV24Q3,), # noqa: E501 + 'bidding': (CreateAdSetBiddingV24Q3,), # noqa: E501 + 'targeting': (CreateAdSetTargetingV24Q3,), # noqa: E501 + 'budget': (CreateAdSetBudgetV24Q3,), # noqa: E501 'tracking_code': (str, none_type,), # noqa: E501 'media_type': (str,), # noqa: E501 } @@ -148,17 +148,17 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, name, dataset_id, campaign_id, objective, schedule, bidding, targeting, budget, tracking_code, media_type, *args, **kwargs): # noqa: E501 - """CreateAdSet - a model defined in OpenAPI + """CreateAdSetV24Q3 - a model defined in OpenAPI Args: name (str, none_type): Name of the ad set dataset_id (str, none_type): Dataset id of this ad set campaign_id (str, none_type): Campaign id this ad set belongs to objective (str): Objective of the ad set - schedule (CreateAdSetSchedule): - bidding (CreateAdSetBidding): - targeting (CreateAdSetTargeting): - budget (CreateAdSetBudget): + schedule (CreateAdSetScheduleV24Q3): + bidding (CreateAdSetBiddingV24Q3): + targeting (CreateAdSetTargetingV24Q3): + budget (CreateAdSetBudgetV24Q3): tracking_code (str, none_type): The click tracking code associated to this Ad Set. media_type (str): Media type for the ad set @@ -255,17 +255,17 @@ def _from_openapi_data(cls, name, dataset_id, campaign_id, objective, schedule, @convert_js_args_to_python_args def __init__(self, name, dataset_id, campaign_id, objective, schedule, bidding, targeting, budget, tracking_code, media_type, *args, **kwargs): # noqa: E501 - """CreateAdSet - a model defined in OpenAPI + """CreateAdSetV24Q3 - a model defined in OpenAPI Args: name (str, none_type): Name of the ad set dataset_id (str, none_type): Dataset id of this ad set campaign_id (str, none_type): Campaign id this ad set belongs to objective (str): Objective of the ad set - schedule (CreateAdSetSchedule): - bidding (CreateAdSetBidding): - targeting (CreateAdSetTargeting): - budget (CreateAdSetBudget): + schedule (CreateAdSetScheduleV24Q3): + bidding (CreateAdSetBiddingV24Q3): + targeting (CreateAdSetTargetingV24Q3): + budget (CreateAdSetBudgetV24Q3): tracking_code (str, none_type): The click tracking code associated to this Ad Set. media_type (str): Media type for the ad set diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model_list_request.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3_request.py similarity index 94% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model_list_request.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3_request.py index d6b917df..2cf43ed9 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model_list_request.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3_request.py @@ -30,11 +30,11 @@ def lazy_import(): - from criteo_api_marketingsolutions_preview.model.set_user_profile_model_resource import SetUserProfileModelResource - globals()['SetUserProfileModelResource'] = SetUserProfileModelResource + from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3_resource import CreateAdSetV24Q3Resource + globals()['CreateAdSetV24Q3Resource'] = CreateAdSetV24Q3Resource -class SetUserProfileModelListRequest(ModelNormal): +class CreateAdSetV24Q3Request(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -62,8 +62,6 @@ class SetUserProfileModelListRequest(ModelNormal): } validations = { - ('data',): { - }, } @cached_property @@ -89,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([SetUserProfileModelResource], none_type,), # noqa: E501 + 'data': (CreateAdSetV24Q3Resource,), # noqa: E501 } @cached_property @@ -109,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """SetUserProfileModelListRequest - a model defined in OpenAPI + """CreateAdSetV24Q3Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -142,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([SetUserProfileModelResource], none_type): [optional] # noqa: E501 + data (CreateAdSetV24Q3Resource): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -195,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """SetUserProfileModelListRequest - a model defined in OpenAPI + """CreateAdSetV24Q3Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -228,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([SetUserProfileModelResource], none_type): [optional] # noqa: E501 + data (CreateAdSetV24Q3Resource): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model_resource.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3_resource.py similarity index 94% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model_resource.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3_resource.py index f55c6355..8eeff8e2 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model_resource.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3_resource.py @@ -30,11 +30,11 @@ def lazy_import(): - from criteo_api_marketingsolutions_preview.model.delete_user_profile_model import DeleteUserProfileModel - globals()['DeleteUserProfileModel'] = DeleteUserProfileModel + from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3 import CreateAdSetV24Q3 + globals()['CreateAdSetV24Q3'] = CreateAdSetV24Q3 -class DeleteUserProfileModelResource(ModelNormal): +class CreateAdSetV24Q3Resource(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,8 +87,8 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (CreateAdSetV24Q3,), # noqa: E501 'type': (str, none_type,), # noqa: E501 - 'attributes': (DeleteUserProfileModel,), # noqa: E501 } @cached_property @@ -97,8 +97,8 @@ def discriminator(): attribute_map = { - 'type': 'type', # noqa: E501 'attributes': 'attributes', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -109,7 +109,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """DeleteUserProfileModelResource - a model defined in OpenAPI + """CreateAdSetV24Q3Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -142,8 +142,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - type (str, none_type): [optional] # noqa: E501 - attributes (DeleteUserProfileModel): [optional] # noqa: E501 + attributes (CreateAdSetV24Q3): [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -196,7 +196,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """DeleteUserProfileModelResource - a model defined in OpenAPI + """CreateAdSetV24Q3Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -229,8 +229,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - type (str, none_type): [optional] # noqa: E501 - attributes (DeleteUserProfileModel): [optional] # noqa: E501 + attributes (CreateAdSetV24Q3): [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model.py deleted file mode 100644 index 68975c2c..00000000 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model.py +++ /dev/null @@ -1,273 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: preview - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError - - - -class DeleteUserProfileModel(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'user_profile_id': (str,), # noqa: E501 - 'user_profile_list_id': (str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'user_profile_id': 'userProfileId', # noqa: E501 - 'user_profile_list_id': 'userProfileListId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, user_profile_id, *args, **kwargs): # noqa: E501 - """DeleteUserProfileModel - a model defined in OpenAPI - - Args: - user_profile_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_profile_list_id (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_profile_id = user_profile_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, user_profile_id, *args, **kwargs): # noqa: E501 - """DeleteUserProfileModel - a model defined in OpenAPI - - Args: - user_profile_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_profile_list_id (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_profile_id = user_profile_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3.py new file mode 100644 index 00000000..2363799b --- /dev/null +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - MarketingSolutions # noqa: E501 + + The version of the OpenAPI document: preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_marketingsolutions_preview.model.nillable_ad_set_targeting_rule_v24_q3_value import NillableAdSetTargetingRuleV24Q3Value + globals()['NillableAdSetTargetingRuleV24Q3Value'] = NillableAdSetTargetingRuleV24Q3Value + + +class NillableAdSetTargetingRuleV24Q3(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'value': (NillableAdSetTargetingRuleV24Q3Value,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'value': 'value', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """NillableAdSetTargetingRuleV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + value (NillableAdSetTargetingRuleV24Q3Value): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """NillableAdSetTargetingRuleV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + value (NillableAdSetTargetingRuleV24Q3Value): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule_value.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3_value.py similarity index 95% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule_value.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3_value.py index 47d839e3..0533dd72 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/nillable_ad_set_targeting_rule_value.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_v24_q3_value.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_targeting_rule import AdSetTargetingRule - globals()['AdSetTargetingRule'] = AdSetTargetingRule + from criteo_api_marketingsolutions_preview.model.ad_set_targeting_rule_v24_q3 import AdSetTargetingRuleV24Q3 + globals()['AdSetTargetingRuleV24Q3'] = AdSetTargetingRuleV24Q3 -class NillableAdSetTargetingRuleValue(ModelComposed): +class NillableAdSetTargetingRuleV24Q3Value(ModelComposed): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -113,7 +113,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """NillableAdSetTargetingRuleValue - a model defined in OpenAPI + """NillableAdSetTargetingRuleV24Q3Value - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -218,7 +218,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """NillableAdSetTargetingRuleValue - a model defined in OpenAPI + """NillableAdSetTargetingRuleV24Q3Value - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -322,7 +322,7 @@ def _composed_schemas(): 'anyOf': [ ], 'allOf': [ - AdSetTargetingRule, + AdSetTargetingRuleV24Q3, ], 'oneOf': [ ], diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_bidding.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q3.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_bidding.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q3.py index 96f7afb9..22632d54 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_bidding.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_bidding_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_decimal import NillableDecimal + from criteo_api_marketingsolutions_preview.model.nillable_decimal import NillableDecimal globals()['NillableDecimal'] = NillableDecimal -class PatchAdSetBidding(ModelNormal): +class PatchAdSetBiddingV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PatchAdSetBidding - a model defined in OpenAPI + """PatchAdSetBiddingV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PatchAdSetBidding - a model defined in OpenAPI + """PatchAdSetBiddingV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_budget.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q3.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_budget.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q3.py index 9ccb8d1c..51ccac80 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_budget.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_decimal import NillableDecimal + from criteo_api_marketingsolutions_preview.model.nillable_decimal import NillableDecimal globals()['NillableDecimal'] = NillableDecimal -class PatchAdSetBudget(ModelNormal): +class PatchAdSetBudgetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -70,6 +70,7 @@ class PatchAdSetBudget(ModelNormal): 'DAILY': "daily", 'MONTHLY': "monthly", 'LIFETIME': "lifetime", + 'WEEKLY': "weekly", }, ('budget_delivery_smoothing',): { 'None': None, @@ -143,7 +144,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PatchAdSetBudget - a model defined in OpenAPI + """PatchAdSetBudgetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -233,7 +234,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PatchAdSetBudget - a model defined in OpenAPI + """PatchAdSetBudgetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_scheduling.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q3.py similarity index 95% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_scheduling.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q3.py index 8db9ad34..ae693d6a 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_scheduling.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_date_time import NillableDateTime + from criteo_api_marketingsolutions_preview.model.nillable_date_time import NillableDateTime globals()['NillableDateTime'] = NillableDateTime -class PatchAdSetScheduling(ModelNormal): +class PatchAdSetSchedulingV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -109,7 +109,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PatchAdSetScheduling - a model defined in OpenAPI + """PatchAdSetSchedulingV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -196,7 +196,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PatchAdSetScheduling - a model defined in OpenAPI + """PatchAdSetSchedulingV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q3.py similarity index 85% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q3.py index 7e4ddd72..d30d6260 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/patch_ad_set.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,21 +26,21 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_targeting import AdSetTargeting - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_bidding import PatchAdSetBidding - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_budget import PatchAdSetBudget - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set_scheduling import PatchAdSetScheduling - globals()['AdSetTargeting'] = AdSetTargeting - globals()['PatchAdSetBidding'] = PatchAdSetBidding - globals()['PatchAdSetBudget'] = PatchAdSetBudget - globals()['PatchAdSetScheduling'] = PatchAdSetScheduling + from criteo_api_marketingsolutions_preview.model.ad_set_targeting_v24_q3 import AdSetTargetingV24Q3 + from criteo_api_marketingsolutions_preview.model.patch_ad_set_bidding_v24_q3 import PatchAdSetBiddingV24Q3 + from criteo_api_marketingsolutions_preview.model.patch_ad_set_budget_v24_q3 import PatchAdSetBudgetV24Q3 + from criteo_api_marketingsolutions_preview.model.patch_ad_set_scheduling_v24_q3 import PatchAdSetSchedulingV24Q3 + globals()['AdSetTargetingV24Q3'] = AdSetTargetingV24Q3 + globals()['PatchAdSetBiddingV24Q3'] = PatchAdSetBiddingV24Q3 + globals()['PatchAdSetBudgetV24Q3'] = PatchAdSetBudgetV24Q3 + globals()['PatchAdSetSchedulingV24Q3'] = PatchAdSetSchedulingV24Q3 -class PatchAdSet(ModelNormal): +class PatchAdSetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -94,10 +94,10 @@ def openapi_types(): lazy_import() return { 'name': (str, none_type,), # noqa: E501 - 'scheduling': (PatchAdSetScheduling,), # noqa: E501 - 'bidding': (PatchAdSetBidding,), # noqa: E501 - 'targeting': (AdSetTargeting,), # noqa: E501 - 'budget': (PatchAdSetBudget,), # noqa: E501 + 'scheduling': (PatchAdSetSchedulingV24Q3,), # noqa: E501 + 'bidding': (PatchAdSetBiddingV24Q3,), # noqa: E501 + 'targeting': (AdSetTargetingV24Q3,), # noqa: E501 + 'budget': (PatchAdSetBudgetV24Q3,), # noqa: E501 } @cached_property @@ -121,7 +121,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PatchAdSet - a model defined in OpenAPI + """PatchAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -155,10 +155,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): [optional] # noqa: E501 - scheduling (PatchAdSetScheduling): [optional] # noqa: E501 - bidding (PatchAdSetBidding): [optional] # noqa: E501 - targeting (AdSetTargeting): [optional] # noqa: E501 - budget (PatchAdSetBudget): [optional] # noqa: E501 + scheduling (PatchAdSetSchedulingV24Q3): [optional] # noqa: E501 + bidding (PatchAdSetBiddingV24Q3): [optional] # noqa: E501 + targeting (AdSetTargetingV24Q3): [optional] # noqa: E501 + budget (PatchAdSetBudgetV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -211,7 +211,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PatchAdSet - a model defined in OpenAPI + """PatchAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -245,10 +245,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): [optional] # noqa: E501 - scheduling (PatchAdSetScheduling): [optional] # noqa: E501 - bidding (PatchAdSetBidding): [optional] # noqa: E501 - targeting (AdSetTargeting): [optional] # noqa: E501 - budget (PatchAdSetBudget): [optional] # noqa: E501 + scheduling (PatchAdSetSchedulingV24Q3): [optional] # noqa: E501 + bidding (PatchAdSetBiddingV24Q3): [optional] # noqa: E501 + targeting (AdSetTargetingV24Q3): [optional] # noqa: E501 + budget (PatchAdSetBudgetV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/product.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/product.py index 1e3a032a..2818d250 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/product.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/product.py @@ -189,6 +189,7 @@ def openapi_types(): 'external_seller_name': (str, none_type,), # noqa: E501 'number_of_reviews': (int, none_type,), # noqa: E501 'product_rating': (str, none_type,), # noqa: E501 + 'badge': (str, none_type,), # noqa: E501 } @cached_property @@ -278,6 +279,7 @@ def discriminator(): 'external_seller_name': 'externalSellerName', # noqa: E501 'number_of_reviews': 'numberOfReviews', # noqa: E501 'product_rating': 'productRating', # noqa: E501 + 'badge': 'badge', # noqa: E501 } read_only_vars = { @@ -404,6 +406,7 @@ def _from_openapi_data(cls, id, title, link, image_link, *args, **kwargs): # no external_seller_name (str, none_type): The external name of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501 number_of_reviews (int, none_type): The number of customer reviews for the product. [optional] # noqa: E501 product_rating (str, none_type): The product rating for the product. [optional] # noqa: E501 + badge (str, none_type): URL of a badge image to display on the product.. [optional] # noqa: E501 """ channel = kwargs.get('channel', "online") @@ -578,6 +581,7 @@ def __init__(self, id, title, link, image_link, *args, **kwargs): # noqa: E501 external_seller_name (str, none_type): The external name of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501 number_of_reviews (int, none_type): The number of customer reviews for the product. [optional] # noqa: E501 product_rating (str, none_type): The product rating for the product. [optional] # noqa: E501 + badge (str, none_type): URL of a badge image to display on the product.. [optional] # noqa: E501 """ channel = kwargs.get('channel', "online") diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q3.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q3.py new file mode 100644 index 00000000..cc0ef2d4 --- /dev/null +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_bidding_v24_q3.py @@ -0,0 +1,279 @@ +""" + Criteo API + + Criteo API - MarketingSolutions # noqa: E501 + + The version of the OpenAPI document: preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError + + + +class ReadAdSetBiddingV24Q3(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('cost_controller',): { + 'None': None, + 'COS': "COS", + 'MAXCPC': "maxCPC", + 'CPI': "CPI", + 'CPM': "CPM", + 'CPO': "CPO", + 'CPSV': "CPSV", + 'CPV': "CPV", + 'DAILYBUDGET': "dailyBudget", + 'TARGETCPM': "targetCPM", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'bid_amount': (float, none_type,), # noqa: E501 + 'cost_controller': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'bid_amount': 'bidAmount', # noqa: E501 + 'cost_controller': 'costController', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ReadAdSetBiddingV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + bid_amount (float, none_type): Decimal value target relating to the `adSetObjective` specified. May be `null` for objectives that do not require a target value. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501 + cost_controller (str, none_type): How spend is controlled. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ReadAdSetBiddingV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + bid_amount (float, none_type): Decimal value target relating to the `adSetObjective` specified. May be `null` for objectives that do not require a target value. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501 + cost_controller (str, none_type): How spend is controlled. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_budget.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q3.py similarity index 94% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_budget.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q3.py index d9ab55df..67a80c23 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_budget.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_decimal import NillableDecimal - globals()['NillableDecimal'] = NillableDecimal - -class ReadAdSetBudget(ModelNormal): +class ReadAdSetBudgetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -70,6 +66,7 @@ class ReadAdSetBudget(ModelNormal): 'DAILY': "daily", 'MONTHLY': "monthly", 'LIFETIME': "lifetime", + 'WEEKLY': "weekly", }, ('budget_delivery_smoothing',): { 'None': None, @@ -98,7 +95,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -113,13 +109,12 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { 'budget_strategy': (str, none_type,), # noqa: E501 'budget_renewal': (str, none_type,), # noqa: E501 'budget_delivery_smoothing': (str, none_type,), # noqa: E501 'budget_delivery_week': (str, none_type,), # noqa: E501 - 'budget_amount': (NillableDecimal,), # noqa: E501 + 'budget_amount': (float, none_type,), # noqa: E501 } @cached_property @@ -143,7 +138,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReadAdSetBudget - a model defined in OpenAPI + """ReadAdSetBudgetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -180,7 +175,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 budget_renewal (str, none_type): [optional] # noqa: E501 budget_delivery_smoothing (str, none_type): [optional] # noqa: E501 budget_delivery_week (str, none_type): [optional] # noqa: E501 - budget_amount (NillableDecimal): [optional] # noqa: E501 + budget_amount (float, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -233,7 +228,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ReadAdSetBudget - a model defined in OpenAPI + """ReadAdSetBudgetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -270,7 +265,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 budget_renewal (str, none_type): [optional] # noqa: E501 budget_delivery_smoothing (str, none_type): [optional] # noqa: E501 budget_delivery_week (str, none_type): [optional] # noqa: E501 - budget_amount (NillableDecimal): [optional] # noqa: E501 + budget_amount (float, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_schedule.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q3.py similarity index 96% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_schedule.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q3.py index ec5dc563..110efd72 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set_schedule.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.nillable_date_time import NillableDateTime + from criteo_api_marketingsolutions_preview.model.nillable_date_time import NillableDateTime globals()['NillableDateTime'] = NillableDateTime -class ReadAdSetSchedule(ModelNormal): +class ReadAdSetScheduleV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -131,7 +131,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReadAdSetSchedule - a model defined in OpenAPI + """ReadAdSetScheduleV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -220,7 +220,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ReadAdSetSchedule - a model defined in OpenAPI + """ReadAdSetScheduleV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q3.py similarity index 81% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q3.py index 2b6c4861..560f1290 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_ad_set.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,21 +26,21 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.ad_set_targeting import AdSetTargeting - from criteo_api_marketingsolutions_v2023_07.model.read_ad_set_bidding import ReadAdSetBidding - from criteo_api_marketingsolutions_v2023_07.model.read_ad_set_budget import ReadAdSetBudget - from criteo_api_marketingsolutions_v2023_07.model.read_ad_set_schedule import ReadAdSetSchedule - globals()['AdSetTargeting'] = AdSetTargeting - globals()['ReadAdSetBidding'] = ReadAdSetBidding - globals()['ReadAdSetBudget'] = ReadAdSetBudget - globals()['ReadAdSetSchedule'] = ReadAdSetSchedule + from criteo_api_marketingsolutions_preview.model.ad_set_targeting_v24_q3 import AdSetTargetingV24Q3 + from criteo_api_marketingsolutions_preview.model.read_ad_set_bidding_v24_q3 import ReadAdSetBiddingV24Q3 + from criteo_api_marketingsolutions_preview.model.read_ad_set_budget_v24_q3 import ReadAdSetBudgetV24Q3 + from criteo_api_marketingsolutions_preview.model.read_ad_set_schedule_v24_q3 import ReadAdSetScheduleV24Q3 + globals()['AdSetTargetingV24Q3'] = AdSetTargetingV24Q3 + globals()['ReadAdSetBiddingV24Q3'] = ReadAdSetBiddingV24Q3 + globals()['ReadAdSetBudgetV24Q3'] = ReadAdSetBudgetV24Q3 + globals()['ReadAdSetScheduleV24Q3'] = ReadAdSetScheduleV24Q3 -class ReadAdSet(ModelNormal): +class ReadAdSetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -71,11 +71,30 @@ class ReadAdSet(ModelNormal): 'WEB': "web", 'APP': "app", }, + ('objective',): { + 'None': None, + 'CUSTOMACTION': "customAction", + 'CLICKS': "clicks", + 'CONVERSIONS': "conversions", + 'DISPLAYS': "displays", + 'APPPROMOTION': "appPromotion", + 'REVENUE': "revenue", + 'STORECONVERSIONS': "storeConversions", + 'VALUE': "value", + 'REACH': "reach", + 'VISITS': "visits", + 'VIDEOVIEWS': "videoViews", + }, ('media_type',): { 'None': None, 'DISPLAY': "display", 'VIDEO': "video", }, + ('video_channel',): { + 'None': None, + 'OLV': "olv", + 'CTV': "ctv", + }, } validations = { @@ -109,11 +128,13 @@ def openapi_types(): 'dataset_id': (str, none_type,), # noqa: E501 'campaign_id': (str, none_type,), # noqa: E501 'destination_environment': (str, none_type,), # noqa: E501 - 'schedule': (ReadAdSetSchedule,), # noqa: E501 - 'bidding': (ReadAdSetBidding,), # noqa: E501 - 'targeting': (AdSetTargeting,), # noqa: E501 - 'budget': (ReadAdSetBudget,), # noqa: E501 + 'objective': (str, none_type,), # noqa: E501 + 'schedule': (ReadAdSetScheduleV24Q3,), # noqa: E501 + 'bidding': (ReadAdSetBiddingV24Q3,), # noqa: E501 + 'targeting': (AdSetTargetingV24Q3,), # noqa: E501 + 'budget': (ReadAdSetBudgetV24Q3,), # noqa: E501 'media_type': (str, none_type,), # noqa: E501 + 'video_channel': (str, none_type,), # noqa: E501 } @cached_property @@ -127,11 +148,13 @@ def discriminator(): 'dataset_id': 'datasetId', # noqa: E501 'campaign_id': 'campaignId', # noqa: E501 'destination_environment': 'destinationEnvironment', # noqa: E501 + 'objective': 'objective', # noqa: E501 'schedule': 'schedule', # noqa: E501 'bidding': 'bidding', # noqa: E501 'targeting': 'targeting', # noqa: E501 'budget': 'budget', # noqa: E501 'media_type': 'mediaType', # noqa: E501 + 'video_channel': 'videoChannel', # noqa: E501 } read_only_vars = { @@ -142,7 +165,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReadAdSet - a model defined in OpenAPI + """ReadAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -180,11 +203,13 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 dataset_id (str, none_type): [optional] # noqa: E501 campaign_id (str, none_type): [optional] # noqa: E501 destination_environment (str, none_type): [optional] # noqa: E501 - schedule (ReadAdSetSchedule): [optional] # noqa: E501 - bidding (ReadAdSetBidding): [optional] # noqa: E501 - targeting (AdSetTargeting): [optional] # noqa: E501 - budget (ReadAdSetBudget): [optional] # noqa: E501 + objective (str, none_type): [optional] # noqa: E501 + schedule (ReadAdSetScheduleV24Q3): [optional] # noqa: E501 + bidding (ReadAdSetBiddingV24Q3): [optional] # noqa: E501 + targeting (AdSetTargetingV24Q3): [optional] # noqa: E501 + budget (ReadAdSetBudgetV24Q3): [optional] # noqa: E501 media_type (str, none_type): [optional] # noqa: E501 + video_channel (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -237,7 +262,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ReadAdSet - a model defined in OpenAPI + """ReadAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -275,11 +300,13 @@ def __init__(self, *args, **kwargs): # noqa: E501 dataset_id (str, none_type): [optional] # noqa: E501 campaign_id (str, none_type): [optional] # noqa: E501 destination_environment (str, none_type): [optional] # noqa: E501 - schedule (ReadAdSetSchedule): [optional] # noqa: E501 - bidding (ReadAdSetBidding): [optional] # noqa: E501 - targeting (AdSetTargeting): [optional] # noqa: E501 - budget (ReadAdSetBudget): [optional] # noqa: E501 + objective (str, none_type): [optional] # noqa: E501 + schedule (ReadAdSetScheduleV24Q3): [optional] # noqa: E501 + bidding (ReadAdSetBiddingV24Q3): [optional] # noqa: E501 + targeting (AdSetTargetingV24Q3): [optional] # noqa: E501 + budget (ReadAdSetBudgetV24Q3): [optional] # noqa: E501 media_type (str, none_type): [optional] # noqa: E501 + video_channel (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_model_read_ad_set.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q3.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_model_read_ad_set.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q3.py index 33f6e63c..b2984de2 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/read_model_read_ad_set.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError -def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.read_ad_set import ReadAdSet - globals()['ReadAdSet'] = ReadAdSet - -class ReadModelReadAdSet(ModelNormal): +class ReadModelAdSetIdV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -70,7 +66,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -85,11 +80,10 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 - 'attributes': (ReadAdSet,), # noqa: E501 + 'attributes': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 } @cached_property @@ -113,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReadModelReadAdSet - a model defined in OpenAPI + """ReadModelAdSetIdV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +142,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 - attributes (ReadAdSet): [optional] # noqa: E501 + attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): ad set id model. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -201,7 +195,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ReadModelReadAdSet - a model defined in OpenAPI + """ReadModelAdSetIdV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +230,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 - attributes (ReadAdSet): [optional] # noqa: E501 + attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): ad set id model. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_read_resource.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q3.py similarity index 94% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_read_resource.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q3.py index adbd6f91..0373ef13 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_read_resource.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.campaign import Campaign - globals()['Campaign'] = Campaign + from criteo_api_marketingsolutions_preview.model.read_ad_set_v24_q3 import ReadAdSetV24Q3 + globals()['ReadAdSetV24Q3'] = ReadAdSetV24Q3 -class CampaignReadResource(ModelNormal): +class ReadModelReadAdSetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): return { 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 - 'attributes': (Campaign,), # noqa: E501 + 'attributes': (ReadAdSetV24Q3,), # noqa: E501 } @cached_property @@ -113,7 +113,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CampaignReadResource - a model defined in OpenAPI + """ReadModelReadAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 - attributes (Campaign): [optional] # noqa: E501 + attributes (ReadAdSetV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -201,7 +201,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """CampaignReadResource - a model defined in OpenAPI + """ReadModelReadAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 - attributes (Campaign): [optional] # noqa: E501 + attributes (ReadAdSetV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/user_profile_identifier_model.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_detail_warning.py similarity index 91% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/user_profile_identifier_model.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_detail_warning.py index 27658fe1..b07ee13c 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/user_profile_identifier_model.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_detail_warning.py @@ -30,7 +30,7 @@ -class UserProfileIdentifierModel(ModelNormal): +class ReportDetailWarning(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -55,6 +55,10 @@ class UserProfileIdentifierModel(ModelNormal): """ allowed_values = { + ('type',): { + 'OVERLARGEBADGEURL': "OverlargeBadgeUrl", + 'INVALIDBADGEURL': "InvalidBadgeUrl", + }, } validations = { @@ -82,7 +86,8 @@ def openapi_types(): """ return { 'type': (str,), # noqa: E501 - 'value': (str,), # noqa: E501 + 'message': (str,), # noqa: E501 + 'is_server_related': (bool,), # noqa: E501 } @cached_property @@ -92,7 +97,8 @@ def discriminator(): attribute_map = { 'type': 'type', # noqa: E501 - 'value': 'value', # noqa: E501 + 'message': 'message', # noqa: E501 + 'is_server_related': 'isServerRelated', # noqa: E501 } read_only_vars = { @@ -102,12 +108,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, type, value, *args, **kwargs): # noqa: E501 - """UserProfileIdentifierModel - a model defined in OpenAPI + def _from_openapi_data(cls, type, message, is_server_related, *args, **kwargs): # noqa: E501 + """ReportDetailWarning - a model defined in OpenAPI Args: type (str): - value (str): + message (str): + is_server_related (bool): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -172,7 +179,8 @@ def _from_openapi_data(cls, type, value, *args, **kwargs): # noqa: E501 self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.type = type - self.value = value + self.message = message + self.is_server_related = is_server_related for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -193,12 +201,13 @@ def _from_openapi_data(cls, type, value, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, type, value, *args, **kwargs): # noqa: E501 - """UserProfileIdentifierModel - a model defined in OpenAPI + def __init__(self, type, message, is_server_related, *args, **kwargs): # noqa: E501 + """ReportDetailWarning - a model defined in OpenAPI Args: type (str): - value (str): + message (str): + is_server_related (bool): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -261,7 +270,8 @@ def __init__(self, type, value, *args, **kwargs): # noqa: E501 self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.type = type - self.value = value + self.message = message + self.is_server_related = is_server_related for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_detail_warnings.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_detail_warnings.py new file mode 100644 index 00000000..5e773be8 --- /dev/null +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_detail_warnings.py @@ -0,0 +1,281 @@ +""" + Criteo API + + Criteo API - MarketingSolutions # noqa: E501 + + The version of the OpenAPI document: preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_marketingsolutions_preview.model.report_detail_warning import ReportDetailWarning + globals()['ReportDetailWarning'] = ReportDetailWarning + + +class ReportDetailWarnings(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'product_id': (str,), # noqa: E501 + 'warnings': ([ReportDetailWarning],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'product_id': 'productId', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, product_id, warnings, *args, **kwargs): # noqa: E501 + """ReportDetailWarnings - a model defined in OpenAPI + + Args: + product_id (str): + warnings ([ReportDetailWarning]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.product_id = product_id + self.warnings = warnings + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, product_id, warnings, *args, **kwargs): # noqa: E501 + """ReportDetailWarnings - a model defined in OpenAPI + + Args: + product_id (str): + warnings ([ReportDetailWarning]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.product_id = product_id + self.warnings = warnings + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_ok_response.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_ok_response.py index 6827a2b0..86317eb4 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_ok_response.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/report_ok_response.py @@ -31,7 +31,9 @@ def lazy_import(): from criteo_api_marketingsolutions_preview.model.report_detail_errors import ReportDetailErrors + from criteo_api_marketingsolutions_preview.model.report_detail_warnings import ReportDetailWarnings globals()['ReportDetailErrors'] = ReportDetailErrors + globals()['ReportDetailWarnings'] = ReportDetailWarnings class ReportOkResponse(ModelNormal): @@ -101,6 +103,8 @@ def openapi_types(): 'number_of_products_deleted': (int,), # noqa: E501 'number_of_products_with_errors': (int,), # noqa: E501 'error_details': ([ReportDetailErrors],), # noqa: E501 + 'number_of_products_with_warnings': (int,), # noqa: E501 + 'warning_details': ([ReportDetailWarnings],), # noqa: E501 } @cached_property @@ -116,6 +120,8 @@ def discriminator(): 'number_of_products_deleted': 'numberOfProductsDeleted', # noqa: E501 'number_of_products_with_errors': 'numberOfProductsWithErrors', # noqa: E501 'error_details': 'errorDetails', # noqa: E501 + 'number_of_products_with_warnings': 'numberOfProductsWithWarnings', # noqa: E501 + 'warning_details': 'warningDetails', # noqa: E501 } read_only_vars = { @@ -125,7 +131,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, number_of_products_with_warnings, warning_details, *args, **kwargs): # noqa: E501 """ReportOkResponse - a model defined in OpenAPI Args: @@ -136,6 +142,8 @@ def _from_openapi_data(cls, status, import_request_timestamp, number_of_products number_of_products_deleted (int): The number of products deleted. number_of_products_with_errors (int): The number of products with errors. error_details ([ReportDetailErrors]): The list of errors with details. + number_of_products_with_warnings (int): The number of products with Warnings. + warning_details ([ReportDetailWarnings]): The list of Warnings with details. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -206,6 +214,8 @@ def _from_openapi_data(cls, status, import_request_timestamp, number_of_products self.number_of_products_deleted = number_of_products_deleted self.number_of_products_with_errors = number_of_products_with_errors self.error_details = error_details + self.number_of_products_with_warnings = number_of_products_with_warnings + self.warning_details = warning_details for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -226,7 +236,7 @@ def _from_openapi_data(cls, status, import_request_timestamp, number_of_products ]) @convert_js_args_to_python_args - def __init__(self, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, *args, **kwargs): # noqa: E501 + def __init__(self, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, number_of_products_with_warnings, warning_details, *args, **kwargs): # noqa: E501 """ReportOkResponse - a model defined in OpenAPI Args: @@ -237,6 +247,8 @@ def __init__(self, status, import_request_timestamp, number_of_products_in_the_b number_of_products_deleted (int): The number of products deleted. number_of_products_with_errors (int): The number of products with errors. error_details ([ReportDetailErrors]): The list of errors with details. + number_of_products_with_warnings (int): The number of products with Warnings. + warning_details ([ReportDetailWarnings]): The list of Warnings with details. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -305,6 +317,8 @@ def __init__(self, status, import_request_timestamp, number_of_products_in_the_b self.number_of_products_deleted = number_of_products_deleted self.number_of_products_with_errors = number_of_products_with_errors self.error_details = error_details + self.number_of_products_with_warnings = number_of_products_with_warnings + self.warning_details = warning_details for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model_list_request.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/requests_patch_ad_set_v24_q3.py similarity index 94% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model_list_request.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/requests_patch_ad_set_v24_q3.py index c1457974..ebec1663 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/delete_user_profile_model_list_request.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/requests_patch_ad_set_v24_q3.py @@ -30,11 +30,11 @@ def lazy_import(): - from criteo_api_marketingsolutions_preview.model.delete_user_profile_model_resource import DeleteUserProfileModelResource - globals()['DeleteUserProfileModelResource'] = DeleteUserProfileModelResource + from criteo_api_marketingsolutions_preview.model.write_model_patch_ad_set_v24_q3 import WriteModelPatchAdSetV24Q3 + globals()['WriteModelPatchAdSetV24Q3'] = WriteModelPatchAdSetV24Q3 -class DeleteUserProfileModelListRequest(ModelNormal): +class RequestsPatchAdSetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -62,8 +62,6 @@ class DeleteUserProfileModelListRequest(ModelNormal): } validations = { - ('data',): { - }, } @cached_property @@ -89,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([DeleteUserProfileModelResource], none_type,), # noqa: E501 + 'data': ([WriteModelPatchAdSetV24Q3], none_type,), # noqa: E501 } @cached_property @@ -109,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """DeleteUserProfileModelListRequest - a model defined in OpenAPI + """RequestsPatchAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -142,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([DeleteUserProfileModelResource], none_type): [optional] # noqa: E501 + data ([WriteModelPatchAdSetV24Q3], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -195,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """DeleteUserProfileModelListRequest - a model defined in OpenAPI + """RequestsPatchAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -228,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([DeleteUserProfileModelResource], none_type): [optional] # noqa: E501 + data ([WriteModelPatchAdSetV24Q3], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/response_read_ad_set.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q3.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/response_read_ad_set.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q3.py index 952eb09f..85336d69 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/response_read_ad_set.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - from criteo_api_marketingsolutions_v2023_07.model.read_model_read_ad_set import ReadModelReadAdSet + from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q3 import ReadModelReadAdSetV24Q3 globals()['CommonProblem'] = CommonProblem - globals()['ReadModelReadAdSet'] = ReadModelReadAdSet + globals()['ReadModelReadAdSetV24Q3'] = ReadModelReadAdSetV24Q3 -class ResponseReadAdSet(ModelNormal): +class ResponseReadAdSetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (ReadModelReadAdSet,), # noqa: E501 + 'data': (ReadModelReadAdSetV24Q3,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -115,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResponseReadAdSet - a model defined in OpenAPI + """ResponseReadAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ReadModelReadAdSet): [optional] # noqa: E501 + data (ReadModelReadAdSetV24Q3): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -203,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ResponseReadAdSet - a model defined in OpenAPI + """ResponseReadAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ReadModelReadAdSet): [optional] # noqa: E501 + data (ReadModelReadAdSetV24Q3): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_list_response.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q3.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_list_response.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q3.py index 04b88927..97542b6d 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_list_response.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.campaign_read_resource import CampaignReadResource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - globals()['CampaignReadResource'] = CampaignReadResource + from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_preview.model.read_model_ad_set_id_v24_q3 import ReadModelAdSetIdV24Q3 globals()['CommonProblem'] = CommonProblem + globals()['ReadModelAdSetIdV24Q3'] = ReadModelAdSetIdV24Q3 -class CampaignListResponse(ModelNormal): +class ResponsesAdSetIdV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([CampaignReadResource], none_type,), # noqa: E501 + 'data': ([ReadModelAdSetIdV24Q3], none_type,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -116,7 +116,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CampaignListResponse - a model defined in OpenAPI + """ResponsesAdSetIdV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -149,7 +149,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([CampaignReadResource], none_type): [optional] # noqa: E501 + data ([ReadModelAdSetIdV24Q3], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -204,7 +204,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """CampaignListResponse - a model defined in OpenAPI + """ResponsesAdSetIdV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -237,7 +237,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([CampaignReadResource], none_type): [optional] # noqa: E501 + data ([ReadModelAdSetIdV24Q3], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q3.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q3.py new file mode 100644 index 00000000..5fe9be88 --- /dev/null +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q3.py @@ -0,0 +1,282 @@ +""" + Criteo API + + Criteo API - MarketingSolutions # noqa: E501 + + The version of the OpenAPI document: preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem + from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q3 import ReadModelReadAdSetV24Q3 + globals()['CommonProblem'] = CommonProblem + globals()['ReadModelReadAdSetV24Q3'] = ReadModelReadAdSetV24Q3 + + +class ResponsesReadAdSetV24Q3(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([ReadModelReadAdSetV24Q3], none_type,), # noqa: E501 + 'warnings': ([CommonProblem], none_type,), # noqa: E501 + 'errors': ([CommonProblem], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + 'errors': 'errors', # noqa: E501 + } + + read_only_vars = { + 'data', # noqa: E501 + 'warnings', # noqa: E501 + 'errors', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ResponsesReadAdSetV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([ReadModelReadAdSetV24Q3], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ResponsesReadAdSetV24Q3 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([ReadModelReadAdSetV24Q3], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py index 13ab66ac..367871fc 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py @@ -63,6 +63,13 @@ class SetAdSetTargetingVideoPositioning(ModelNormal): 'INTERSTITIAL': "Interstitial", 'INSTREAM': "InStream", }, + ('video_plcmt',): { + 'None': None, + 'INSTREAM': "InStream", + 'ACCOMPANYINGCONTENT': "AccompanyingContent", + 'INTERSTITIAL': "Interstitial", + 'NOCONTENTSTANDALONE': "NoContentStandalone", + }, ('playback_method',): { 'None': None, 'AUTOSOUNDON': "AutoSoundOn", @@ -101,6 +108,8 @@ class SetAdSetTargetingVideoPositioning(ModelNormal): validations = { ('video_placement',): { }, + ('video_plcmt',): { + }, ('playback_method',): { }, ('video_in_stream_position',): { @@ -133,6 +142,7 @@ def openapi_types(): """ return { 'video_placement': ([str], none_type,), # noqa: E501 + 'video_plcmt': ([str], none_type,), # noqa: E501 'playback_method': ([str], none_type,), # noqa: E501 'skippable': (str, none_type,), # noqa: E501 'video_in_stream_position': ([str], none_type,), # noqa: E501 @@ -147,6 +157,7 @@ def discriminator(): attribute_map = { 'video_placement': 'videoPlacement', # noqa: E501 + 'video_plcmt': 'videoPlcmt', # noqa: E501 'playback_method': 'playbackMethod', # noqa: E501 'skippable': 'skippable', # noqa: E501 'video_in_stream_position': 'videoInStreamPosition', # noqa: E501 @@ -196,6 +207,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) video_placement ([str], none_type): [optional] # noqa: E501 + video_plcmt ([str], none_type): [optional] # noqa: E501 playback_method ([str], none_type): [optional] # noqa: E501 skippable (str, none_type): [optional] # noqa: E501 video_in_stream_position ([str], none_type): [optional] # noqa: E501 @@ -287,6 +299,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) video_placement ([str], none_type): [optional] # noqa: E501 + video_plcmt ([str], none_type): [optional] # noqa: E501 playback_method ([str], none_type): [optional] # noqa: E501 skippable (str, none_type): [optional] # noqa: E501 video_in_stream_position ([str], none_type): [optional] # noqa: E501 diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model.py deleted file mode 100644 index 25a2433d..00000000 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model.py +++ /dev/null @@ -1,293 +0,0 @@ -""" - Criteo API - - Criteo API - MarketingSolutions # noqa: E501 - - The version of the OpenAPI document: preview - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_marketingsolutions_preview.model.user_profile_attribute_model import UserProfileAttributeModel - from criteo_api_marketingsolutions_preview.model.user_profile_identifier_model import UserProfileIdentifierModel - globals()['UserProfileAttributeModel'] = UserProfileAttributeModel - globals()['UserProfileIdentifierModel'] = UserProfileIdentifierModel - - -class SetUserProfileModel(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('user_profile_identifiers',): { - }, - ('user_profile_attributes',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'user_profile_id': (str,), # noqa: E501 - 'user_profile_list_id': (str, none_type,), # noqa: E501 - 'user_profile_identifiers': ([UserProfileIdentifierModel], none_type,), # noqa: E501 - 'user_profile_attributes': ([UserProfileAttributeModel], none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'user_profile_id': 'userProfileId', # noqa: E501 - 'user_profile_list_id': 'userProfileListId', # noqa: E501 - 'user_profile_identifiers': 'userProfileIdentifiers', # noqa: E501 - 'user_profile_attributes': 'userProfileAttributes', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, user_profile_id, *args, **kwargs): # noqa: E501 - """SetUserProfileModel - a model defined in OpenAPI - - Args: - user_profile_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_profile_list_id (str, none_type): [optional] # noqa: E501 - user_profile_identifiers ([UserProfileIdentifierModel], none_type): [optional] # noqa: E501 - user_profile_attributes ([UserProfileAttributeModel], none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_profile_id = user_profile_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, user_profile_id, *args, **kwargs): # noqa: E501 - """SetUserProfileModel - a model defined in OpenAPI - - Args: - user_profile_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_profile_list_id (str, none_type): [optional] # noqa: E501 - user_profile_identifiers ([UserProfileIdentifierModel], none_type): [optional] # noqa: E501 - user_profile_attributes ([UserProfileAttributeModel], none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_profile_id = user_profile_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/write_model_patch_ad_set.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py similarity index 94% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/write_model_patch_ad_set.py rename to sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py index 2f6a03f5..cdc8743c 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/write_model_patch_ad_set.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py @@ -3,7 +3,7 @@ Criteo API - MarketingSolutions # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.patch_ad_set import PatchAdSet - globals()['PatchAdSet'] = PatchAdSet + from criteo_api_marketingsolutions_preview.model.patch_ad_set_v24_q3 import PatchAdSetV24Q3 + globals()['PatchAdSetV24Q3'] = PatchAdSetV24Q3 -class WriteModelPatchAdSet(ModelNormal): +class WriteModelPatchAdSetV24Q3(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): return { 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 - 'attributes': (PatchAdSet,), # noqa: E501 + 'attributes': (PatchAdSetV24Q3,), # noqa: E501 } @cached_property @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """WriteModelPatchAdSet - a model defined in OpenAPI + """WriteModelPatchAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -146,7 +146,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (PatchAdSet): [optional] # noqa: E501 + attributes (PatchAdSetV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -199,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """WriteModelPatchAdSet - a model defined in OpenAPI + """WriteModelPatchAdSetV24Q3 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -234,7 +234,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (PatchAdSet): [optional] # noqa: E501 + attributes (PatchAdSetV24Q3): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/models/__init__.py b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/models/__init__.py index daf90f0f..6a9f53a9 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/models/__init__.py +++ b/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/models/__init__.py @@ -20,14 +20,14 @@ from criteo_api_marketingsolutions_preview.model.ad_set_category_bid import AdSetCategoryBid from criteo_api_marketingsolutions_preview.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse from criteo_api_marketingsolutions_preview.model.ad_set_category_bid_resource import AdSetCategoryBidResource -from criteo_api_marketingsolutions_preview.model.ad_set_delivery_limitations_v24_q1 import AdSetDeliveryLimitationsV24Q1 +from criteo_api_marketingsolutions_preview.model.ad_set_delivery_limitations_v24_q3 import AdSetDeliveryLimitationsV24Q3 from criteo_api_marketingsolutions_preview.model.ad_set_display_multiplier import AdSetDisplayMultiplier from criteo_api_marketingsolutions_preview.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse from criteo_api_marketingsolutions_preview.model.ad_set_display_multiplier_resource import AdSetDisplayMultiplierResource -from criteo_api_marketingsolutions_preview.model.ad_set_frequency_capping_v24_q1 import AdSetFrequencyCappingV24Q1 -from criteo_api_marketingsolutions_preview.model.ad_set_geo_location_v24_q1 import AdSetGeoLocationV24Q1 -from criteo_api_marketingsolutions_preview.model.ad_set_search_filter_v24_q1 import AdSetSearchFilterV24Q1 -from criteo_api_marketingsolutions_preview.model.ad_set_search_request_v24_q1 import AdSetSearchRequestV24Q1 +from criteo_api_marketingsolutions_preview.model.ad_set_frequency_capping_v24_q3 import AdSetFrequencyCappingV24Q3 +from criteo_api_marketingsolutions_preview.model.ad_set_geo_location_v24_q3 import AdSetGeoLocationV24Q3 +from criteo_api_marketingsolutions_preview.model.ad_set_search_filter_v24_q3 import AdSetSearchFilterV24Q3 +from criteo_api_marketingsolutions_preview.model.ad_set_search_request_v24_q3 import AdSetSearchRequestV24Q3 from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids import AdSetTargetingDealIds from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids_disable_result_resource import AdSetTargetingDealIdsDisableResultResource from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids_disable_result_response import AdSetTargetingDealIdsDisableResultResponse @@ -35,8 +35,8 @@ from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids_response import AdSetTargetingDealIdsResponse from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids_set_result_resource import AdSetTargetingDealIdsSetResultResource from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids_set_result_response import AdSetTargetingDealIdsSetResultResponse -from criteo_api_marketingsolutions_preview.model.ad_set_targeting_rule_v24_q1 import AdSetTargetingRuleV24Q1 -from criteo_api_marketingsolutions_preview.model.ad_set_targeting_v24_q1 import AdSetTargetingV24Q1 +from criteo_api_marketingsolutions_preview.model.ad_set_targeting_rule_v24_q3 import AdSetTargetingRuleV24Q3 +from criteo_api_marketingsolutions_preview.model.ad_set_targeting_v24_q3 import AdSetTargetingV24Q3 from criteo_api_marketingsolutions_preview.model.ad_set_targeting_video_positioning import AdSetTargetingVideoPositioning from criteo_api_marketingsolutions_preview.model.ad_set_targeting_video_positioning_disable_result_resource import AdSetTargetingVideoPositioningDisableResultResource from criteo_api_marketingsolutions_preview.model.ad_set_targeting_video_positioning_disable_result_response import AdSetTargetingVideoPositioningDisableResultResponse @@ -153,14 +153,14 @@ from criteo_api_marketingsolutions_preview.model.coupon_supported_sizes import CouponSupportedSizes from criteo_api_marketingsolutions_preview.model.coupon_supported_sizes_resource import CouponSupportedSizesResource from criteo_api_marketingsolutions_preview.model.coupon_supported_sizes_response import CouponSupportedSizesResponse -from criteo_api_marketingsolutions_preview.model.create_ad_set_bidding_v24_q1 import CreateAdSetBiddingV24Q1 -from criteo_api_marketingsolutions_preview.model.create_ad_set_budget_v24_q1 import CreateAdSetBudgetV24Q1 -from criteo_api_marketingsolutions_preview.model.create_ad_set_geo_location_v24_q1 import CreateAdSetGeoLocationV24Q1 -from criteo_api_marketingsolutions_preview.model.create_ad_set_schedule_v24_q1 import CreateAdSetScheduleV24Q1 -from criteo_api_marketingsolutions_preview.model.create_ad_set_targeting_v24_q1 import CreateAdSetTargetingV24Q1 -from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q1 import CreateAdSetV24Q1 -from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q1_request import CreateAdSetV24Q1Request -from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q1_resource import CreateAdSetV24Q1Resource +from criteo_api_marketingsolutions_preview.model.create_ad_set_bidding_v24_q3 import CreateAdSetBiddingV24Q3 +from criteo_api_marketingsolutions_preview.model.create_ad_set_budget_v24_q3 import CreateAdSetBudgetV24Q3 +from criteo_api_marketingsolutions_preview.model.create_ad_set_geo_location_v24_q3 import CreateAdSetGeoLocationV24Q3 +from criteo_api_marketingsolutions_preview.model.create_ad_set_schedule_v24_q3 import CreateAdSetScheduleV24Q3 +from criteo_api_marketingsolutions_preview.model.create_ad_set_targeting_v24_q3 import CreateAdSetTargetingV24Q3 +from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3 import CreateAdSetV24Q3 +from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3_request import CreateAdSetV24Q3Request +from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3_resource import CreateAdSetV24Q3Resource from criteo_api_marketingsolutions_preview.model.create_campaign import CreateCampaign from criteo_api_marketingsolutions_preview.model.create_campaign_request import CreateCampaignRequest from criteo_api_marketingsolutions_preview.model.create_campaign_resource import CreateCampaignResource @@ -185,9 +185,6 @@ from criteo_api_marketingsolutions_preview.model.dataset import Dataset from criteo_api_marketingsolutions_preview.model.deal_id import DealId from criteo_api_marketingsolutions_preview.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse -from criteo_api_marketingsolutions_preview.model.delete_user_profile_model import DeleteUserProfileModel -from criteo_api_marketingsolutions_preview.model.delete_user_profile_model_list_request import DeleteUserProfileModelListRequest -from criteo_api_marketingsolutions_preview.model.delete_user_profile_model_resource import DeleteUserProfileModelResource from criteo_api_marketingsolutions_preview.model.dynamic_attributes import DynamicAttributes from criteo_api_marketingsolutions_preview.model.dynamic_write_attributes import DynamicWriteAttributes from criteo_api_marketingsolutions_preview.model.entity_filter import EntityFilter @@ -253,8 +250,8 @@ from criteo_api_marketingsolutions_preview.model.marketing_solutions_report_status_resource import MarketingSolutionsReportStatusResource from criteo_api_marketingsolutions_preview.model.marketing_solutions_report_status_response import MarketingSolutionsReportStatusResponse from criteo_api_marketingsolutions_preview.model.modify_audience_response import ModifyAudienceResponse -from criteo_api_marketingsolutions_preview.model.nillable_ad_set_targeting_rule_v24_q1 import NillableAdSetTargetingRuleV24Q1 -from criteo_api_marketingsolutions_preview.model.nillable_ad_set_targeting_rule_v24_q1_value import NillableAdSetTargetingRuleV24Q1Value +from criteo_api_marketingsolutions_preview.model.nillable_ad_set_targeting_rule_v24_q3 import NillableAdSetTargetingRuleV24Q3 +from criteo_api_marketingsolutions_preview.model.nillable_ad_set_targeting_rule_v24_q3_value import NillableAdSetTargetingRuleV24Q3Value from criteo_api_marketingsolutions_preview.model.nillable_date_time import NillableDateTime from criteo_api_marketingsolutions_preview.model.nillable_decimal import NillableDecimal from criteo_api_marketingsolutions_preview.model.nillable_gender_v1 import NillableGenderV1 @@ -271,8 +268,8 @@ from criteo_api_marketingsolutions_preview.model.on_site_reco_request import OnSiteRecoRequest from criteo_api_marketingsolutions_preview.model.on_site_reco_response import OnSiteRecoResponse from criteo_api_marketingsolutions_preview.model.outcome import Outcome -from criteo_api_marketingsolutions_preview.model.patch_ad_set_bidding_v24_q1 import PatchAdSetBiddingV24Q1 -from criteo_api_marketingsolutions_preview.model.patch_ad_set_budget_v24_q1 import PatchAdSetBudgetV24Q1 +from criteo_api_marketingsolutions_preview.model.patch_ad_set_bidding_v24_q3 import PatchAdSetBiddingV24Q3 +from criteo_api_marketingsolutions_preview.model.patch_ad_set_budget_v24_q3 import PatchAdSetBudgetV24Q3 from criteo_api_marketingsolutions_preview.model.patch_ad_set_category_bid import PatchAdSetCategoryBid from criteo_api_marketingsolutions_preview.model.patch_ad_set_category_bid_list_request import PatchAdSetCategoryBidListRequest from criteo_api_marketingsolutions_preview.model.patch_ad_set_category_bid_resource import PatchAdSetCategoryBidResource @@ -283,8 +280,8 @@ from criteo_api_marketingsolutions_preview.model.patch_ad_set_display_multiplier_resource import PatchAdSetDisplayMultiplierResource from criteo_api_marketingsolutions_preview.model.patch_ad_set_display_multiplier_result_list_response import PatchAdSetDisplayMultiplierResultListResponse from criteo_api_marketingsolutions_preview.model.patch_ad_set_display_multiplier_result_resource import PatchAdSetDisplayMultiplierResultResource -from criteo_api_marketingsolutions_preview.model.patch_ad_set_scheduling_v24_q1 import PatchAdSetSchedulingV24Q1 -from criteo_api_marketingsolutions_preview.model.patch_ad_set_v24_q1 import PatchAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.patch_ad_set_scheduling_v24_q3 import PatchAdSetSchedulingV24Q3 +from criteo_api_marketingsolutions_preview.model.patch_ad_set_v24_q3 import PatchAdSetV24Q3 from criteo_api_marketingsolutions_preview.model.patch_campaign import PatchCampaign from criteo_api_marketingsolutions_preview.model.patch_campaign_list_request import PatchCampaignListRequest from criteo_api_marketingsolutions_preview.model.patch_campaign_spend_limit import PatchCampaignSpendLimit @@ -314,26 +311,28 @@ from criteo_api_marketingsolutions_preview.model.prospecting_create_v1 import ProspectingCreateV1 from criteo_api_marketingsolutions_preview.model.prospecting_update_v1 import ProspectingUpdateV1 from criteo_api_marketingsolutions_preview.model.prospecting_v1 import ProspectingV1 -from criteo_api_marketingsolutions_preview.model.read_ad_set_bidding_v24_q1 import ReadAdSetBiddingV24Q1 -from criteo_api_marketingsolutions_preview.model.read_ad_set_budget_v24_q1 import ReadAdSetBudgetV24Q1 -from criteo_api_marketingsolutions_preview.model.read_ad_set_schedule_v24_q1 import ReadAdSetScheduleV24Q1 -from criteo_api_marketingsolutions_preview.model.read_ad_set_v24_q1 import ReadAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.read_ad_set_bidding_v24_q3 import ReadAdSetBiddingV24Q3 +from criteo_api_marketingsolutions_preview.model.read_ad_set_budget_v24_q3 import ReadAdSetBudgetV24Q3 +from criteo_api_marketingsolutions_preview.model.read_ad_set_schedule_v24_q3 import ReadAdSetScheduleV24Q3 +from criteo_api_marketingsolutions_preview.model.read_ad_set_v24_q3 import ReadAdSetV24Q3 from criteo_api_marketingsolutions_preview.model.read_model_ad_set_id import ReadModelAdSetId -from criteo_api_marketingsolutions_preview.model.read_model_ad_set_id_v24_q1 import ReadModelAdSetIdV24Q1 -from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q1 import ReadModelReadAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.read_model_ad_set_id_v24_q3 import ReadModelAdSetIdV24Q3 +from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q3 import ReadModelReadAdSetV24Q3 from criteo_api_marketingsolutions_preview.model.recommended_product import RecommendedProduct from criteo_api_marketingsolutions_preview.model.report_detail_error import ReportDetailError from criteo_api_marketingsolutions_preview.model.report_detail_errors import ReportDetailErrors +from criteo_api_marketingsolutions_preview.model.report_detail_warning import ReportDetailWarning +from criteo_api_marketingsolutions_preview.model.report_detail_warnings import ReportDetailWarnings from criteo_api_marketingsolutions_preview.model.report_ok_response import ReportOkResponse from criteo_api_marketingsolutions_preview.model.requests_ad_set_id import RequestsAdSetId -from criteo_api_marketingsolutions_preview.model.requests_patch_ad_set_v24_q1 import RequestsPatchAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.requests_patch_ad_set_v24_q3 import RequestsPatchAdSetV24Q3 from criteo_api_marketingsolutions_preview.model.resource_collection_outcome_of_product_set import ResourceCollectionOutcomeOfProductSet from criteo_api_marketingsolutions_preview.model.resource_of_product_set import ResourceOfProductSet from criteo_api_marketingsolutions_preview.model.resource_outcome_of_product_set import ResourceOutcomeOfProductSet -from criteo_api_marketingsolutions_preview.model.response_read_ad_set_v24_q1 import ResponseReadAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.response_read_ad_set_v24_q3 import ResponseReadAdSetV24Q3 from criteo_api_marketingsolutions_preview.model.responses_ad_set_id import ResponsesAdSetId -from criteo_api_marketingsolutions_preview.model.responses_ad_set_id_v24_q1 import ResponsesAdSetIdV24Q1 -from criteo_api_marketingsolutions_preview.model.responses_read_ad_set_v24_q1 import ResponsesReadAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.responses_ad_set_id_v24_q3 import ResponsesAdSetIdV24Q3 +from criteo_api_marketingsolutions_preview.model.responses_read_ad_set_v24_q3 import ResponsesReadAdSetV24Q3 from criteo_api_marketingsolutions_preview.model.retargeting_create_v1 import RetargetingCreateV1 from criteo_api_marketingsolutions_preview.model.retargeting_update_v1 import RetargetingUpdateV1 from criteo_api_marketingsolutions_preview.model.retargeting_v1 import RetargetingV1 @@ -343,9 +342,6 @@ from criteo_api_marketingsolutions_preview.model.set_ad_set_targeting_video_positioning import SetAdSetTargetingVideoPositioning from criteo_api_marketingsolutions_preview.model.set_ad_set_targeting_video_positioning_request import SetAdSetTargetingVideoPositioningRequest from criteo_api_marketingsolutions_preview.model.set_ad_set_targeting_video_positioning_resource import SetAdSetTargetingVideoPositioningResource -from criteo_api_marketingsolutions_preview.model.set_user_profile_model import SetUserProfileModel -from criteo_api_marketingsolutions_preview.model.set_user_profile_model_list_request import SetUserProfileModelListRequest -from criteo_api_marketingsolutions_preview.model.set_user_profile_model_resource import SetUserProfileModelResource from criteo_api_marketingsolutions_preview.model.size import Size from criteo_api_marketingsolutions_preview.model.statistics_ok_response import StatisticsOkResponse from criteo_api_marketingsolutions_preview.model.statistics_record import StatisticsRecord @@ -373,8 +369,6 @@ from criteo_api_marketingsolutions_preview.model.update_coupon_request import UpdateCouponRequest from criteo_api_marketingsolutions_preview.model.update_coupon_resource import UpdateCouponResource from criteo_api_marketingsolutions_preview.model.user_def import UserDef -from criteo_api_marketingsolutions_preview.model.user_profile_attribute_model import UserProfileAttributeModel -from criteo_api_marketingsolutions_preview.model.user_profile_identifier_model import UserProfileIdentifierModel from criteo_api_marketingsolutions_preview.model.value_resource_collection_outcome_of_product_filter_config import ValueResourceCollectionOutcomeOfProductFilterConfig from criteo_api_marketingsolutions_preview.model.value_resource_input_of_create_product_filter_request import ValueResourceInputOfCreateProductFilterRequest from criteo_api_marketingsolutions_preview.model.value_resource_input_of_create_product_set_request import ValueResourceInputOfCreateProductSetRequest @@ -385,4 +379,4 @@ from criteo_api_marketingsolutions_preview.model.value_resource_outcome_of_product_filter_config import ValueResourceOutcomeOfProductFilterConfig from criteo_api_marketingsolutions_preview.model.video_detail import VideoDetail from criteo_api_marketingsolutions_preview.model.write_model_ad_set_id import WriteModelAdSetId -from criteo_api_marketingsolutions_preview.model.write_model_patch_ad_set_v24_q1 import WriteModelPatchAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.write_model_patch_ad_set_v24_q3 import WriteModelPatchAdSetV24Q3 diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetDeliveryLimitations.md b/sdks/marketingsolutions_preview/docs/AdSetDeliveryLimitationsV24Q3.md similarity index 95% rename from sdks/marketingsolutions_2023-07/docs/AdSetDeliveryLimitations.md rename to sdks/marketingsolutions_preview/docs/AdSetDeliveryLimitationsV24Q3.md index 55512745..dba6e10e 100644 --- a/sdks/marketingsolutions_2023-07/docs/AdSetDeliveryLimitations.md +++ b/sdks/marketingsolutions_preview/docs/AdSetDeliveryLimitationsV24Q3.md @@ -1,4 +1,4 @@ -# AdSetDeliveryLimitations +# AdSetDeliveryLimitationsV24Q3 ad set delivery limitations model diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetFrequencyCapping.md b/sdks/marketingsolutions_preview/docs/AdSetFrequencyCappingV24Q3.md similarity index 95% rename from sdks/marketingsolutions_2023-07/docs/AdSetFrequencyCapping.md rename to sdks/marketingsolutions_preview/docs/AdSetFrequencyCappingV24Q3.md index 1646fa30..a5149b79 100644 --- a/sdks/marketingsolutions_2023-07/docs/AdSetFrequencyCapping.md +++ b/sdks/marketingsolutions_preview/docs/AdSetFrequencyCappingV24Q3.md @@ -1,4 +1,4 @@ -# AdSetFrequencyCapping +# AdSetFrequencyCappingV24Q3 ad set frequency capping model diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetGeoLocation.md b/sdks/marketingsolutions_preview/docs/AdSetGeoLocationV24Q3.md similarity index 57% rename from sdks/marketingsolutions_2023-07/docs/AdSetGeoLocation.md rename to sdks/marketingsolutions_preview/docs/AdSetGeoLocationV24Q3.md index bebec3c4..0b2023ac 100644 --- a/sdks/marketingsolutions_2023-07/docs/AdSetGeoLocation.md +++ b/sdks/marketingsolutions_preview/docs/AdSetGeoLocationV24Q3.md @@ -1,13 +1,13 @@ -# AdSetGeoLocation +# AdSetGeoLocationV24Q3 ad set geolocation model ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**countries** | [**NillableAdSetTargetingRule**](NillableAdSetTargetingRule.md) | | [optional] -**subdivisions** | [**NillableAdSetTargetingRule**](NillableAdSetTargetingRule.md) | | [optional] -**zip_codes** | [**NillableAdSetTargetingRule**](NillableAdSetTargetingRule.md) | | [optional] +**countries** | [**NillableAdSetTargetingRuleV24Q3**](NillableAdSetTargetingRuleV24Q3.md) | | [optional] +**subdivisions** | [**NillableAdSetTargetingRuleV24Q3**](NillableAdSetTargetingRuleV24Q3.md) | | [optional] +**zip_codes** | [**NillableAdSetTargetingRuleV24Q3**](NillableAdSetTargetingRuleV24Q3.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetSearchFilter.md b/sdks/marketingsolutions_preview/docs/AdSetSearchFilterV24Q3.md similarity index 96% rename from sdks/marketingsolutions_2023-07/docs/AdSetSearchFilter.md rename to sdks/marketingsolutions_preview/docs/AdSetSearchFilterV24Q3.md index 860098d3..17aa542d 100644 --- a/sdks/marketingsolutions_2023-07/docs/AdSetSearchFilter.md +++ b/sdks/marketingsolutions_preview/docs/AdSetSearchFilterV24Q3.md @@ -1,4 +1,4 @@ -# AdSetSearchFilter +# AdSetSearchFilterV24Q3 filter on ad set ids diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignSearchRequest.md b/sdks/marketingsolutions_preview/docs/AdSetSearchRequestV24Q3.md similarity index 81% rename from sdks/marketingsolutions_2023-07/docs/CampaignSearchRequest.md rename to sdks/marketingsolutions_preview/docs/AdSetSearchRequestV24Q3.md index 1f980099..3c87166a 100644 --- a/sdks/marketingsolutions_2023-07/docs/CampaignSearchRequest.md +++ b/sdks/marketingsolutions_preview/docs/AdSetSearchRequestV24Q3.md @@ -1,11 +1,11 @@ -# CampaignSearchRequest +# AdSetSearchRequestV24Q3 request payload of the search endpoint ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**filters** | [**CampaignSearchFilters**](CampaignSearchFilters.md) | | [optional] +**filters** | [**AdSetSearchFilterV24Q3**](AdSetSearchFilterV24Q3.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetTargetingRule.md b/sdks/marketingsolutions_preview/docs/AdSetTargetingRuleV24Q3.md similarity index 95% rename from sdks/marketingsolutions_2023-07/docs/AdSetTargetingRule.md rename to sdks/marketingsolutions_preview/docs/AdSetTargetingRuleV24Q3.md index a041d237..1b895b34 100644 --- a/sdks/marketingsolutions_2023-07/docs/AdSetTargetingRule.md +++ b/sdks/marketingsolutions_preview/docs/AdSetTargetingRuleV24Q3.md @@ -1,4 +1,4 @@ -# AdSetTargetingRule +# AdSetTargetingRuleV24Q3 ad set targeting rule model diff --git a/sdks/marketingsolutions_2023-07/docs/AdSetTargeting.md b/sdks/marketingsolutions_preview/docs/AdSetTargetingV24Q3.md similarity index 58% rename from sdks/marketingsolutions_2023-07/docs/AdSetTargeting.md rename to sdks/marketingsolutions_preview/docs/AdSetTargetingV24Q3.md index c1cc45e7..3dda5011 100644 --- a/sdks/marketingsolutions_2023-07/docs/AdSetTargeting.md +++ b/sdks/marketingsolutions_preview/docs/AdSetTargetingV24Q3.md @@ -1,13 +1,13 @@ -# AdSetTargeting +# AdSetTargetingV24Q3 ad set targeting model ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**delivery_limitations** | [**AdSetDeliveryLimitations**](AdSetDeliveryLimitations.md) | | [optional] -**geo_location** | [**AdSetGeoLocation**](AdSetGeoLocation.md) | | [optional] -**frequency_capping** | [**AdSetFrequencyCapping**](AdSetFrequencyCapping.md) | | [optional] +**delivery_limitations** | [**AdSetDeliveryLimitationsV24Q3**](AdSetDeliveryLimitationsV24Q3.md) | | [optional] +**geo_location** | [**AdSetGeoLocationV24Q3**](AdSetGeoLocationV24Q3.md) | | [optional] +**frequency_capping** | [**AdSetFrequencyCappingV24Q3**](AdSetFrequencyCappingV24Q3.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_preview/docs/AdSetTargetingVideoPositioning.md b/sdks/marketingsolutions_preview/docs/AdSetTargetingVideoPositioning.md index c0b66f24..27f2c7b5 100644 --- a/sdks/marketingsolutions_preview/docs/AdSetTargetingVideoPositioning.md +++ b/sdks/marketingsolutions_preview/docs/AdSetTargetingVideoPositioning.md @@ -6,6 +6,7 @@ Video positioning targeting model Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **video_placement** | **[str], none_type** | | [optional] +**video_plcmt** | **[str], none_type** | | [optional] **playback_method** | **[str], none_type** | | [optional] **skippable** | **str, none_type** | | [optional] **video_in_stream_position** | **[str], none_type** | | [optional] diff --git a/sdks/marketingsolutions_preview/docs/AnalyticsApi.md b/sdks/marketingsolutions_preview/docs/AnalyticsApi.md index 03486694..798de570 100644 --- a/sdks/marketingsolutions_preview/docs/AnalyticsApi.md +++ b/sdks/marketingsolutions_preview/docs/AnalyticsApi.md @@ -18,7 +18,7 @@ Method | HTTP request | Description # **get_adset_report** -> str get_adset_report() +> file_type get_adset_report() @@ -105,7 +105,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -529,7 +529,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_categories_report** -> str get_categories_report() +> file_type get_categories_report() @@ -612,7 +612,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -769,7 +769,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_placements_report** -> str get_placements_report() +> file_type get_placements_report() @@ -859,7 +859,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization @@ -868,7 +868,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json, application/xml, text/xml + - **Accept**: text/plain, application/json, text/json, text/csv, application/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/xml ### HTTP response details @@ -1005,7 +1005,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_report** -> str get_transactions_report() +> file_type get_transactions_report() @@ -1085,7 +1085,7 @@ Name | Type | Description | Notes ### Return type -**str** +**file_type** ### Authorization diff --git a/sdks/marketingsolutions_preview/docs/AudienceApi.md b/sdks/marketingsolutions_preview/docs/AudienceApi.md index 20e46b35..f7be59d6 100644 --- a/sdks/marketingsolutions_preview/docs/AudienceApi.md +++ b/sdks/marketingsolutions_preview/docs/AudienceApi.md @@ -12,18 +12,16 @@ Method | HTTP request | Description [**bulk_update_audiences**](AudienceApi.md#bulk_update_audiences) | **PATCH** /preview/marketing-solutions/audiences | [**compute_audience_segments_sizes**](AudienceApi.md#compute_audience_segments_sizes) | **POST** /preview/marketing-solutions/audience-segments/compute-sizes | [**compute_audiences_sizes**](AudienceApi.md#compute_audiences_sizes) | **POST** /preview/marketing-solutions/audiences/compute-sizes | -[**delete_contact_list_identifiers**](AudienceApi.md#delete_contact_list_identifiers) | **DELETE** /preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | -[**delete_user_profiles**](AudienceApi.md#delete_user_profiles) | **POST** /preview/marketing-solutions/advertisers/{advertiserId}/user-profiles/delete | [**estimate_audience_segment_size**](AudienceApi.md#estimate_audience_segment_size) | **POST** /preview/marketing-solutions/audience-segments/estimate-size | [**estimate_audience_size**](AudienceApi.md#estimate_audience_size) | **POST** /preview/marketing-solutions/audiences/estimate-size | [**get_audience_segment_contact_list_statistics**](AudienceApi.md#get_audience_segment_contact_list_statistics) | **GET** /preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**get_audience_segments_in_market_brands**](AudienceApi.md#get_audience_segments_in_market_brands) | **GET** /preview/marketing-solutions/audience-segments/in-market-brands | [**get_audience_segments_in_market_interests**](AudienceApi.md#get_audience_segments_in_market_interests) | **GET** /preview/marketing-solutions/audience-segments/in-market-interests | [**modify_audience_users_with_attributes**](AudienceApi.md#modify_audience_users_with_attributes) | **PATCH** /preview/audiences/{audience-id}/contactlist-attributes | +[**preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete**](AudienceApi.md#preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete) | **DELETE** /preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | +[**preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch**](AudienceApi.md#preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch) | **PATCH** /preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | [**search_audience_segments**](AudienceApi.md#search_audience_segments) | **POST** /preview/marketing-solutions/audience-segments/search | [**search_audiences**](AudienceApi.md#search_audiences) | **POST** /preview/marketing-solutions/audiences/search | -[**set_user_profiles**](AudienceApi.md#set_user_profiles) | **POST** /preview/marketing-solutions/advertisers/{advertiserId}/user-profiles/set | -[**update_contact_list_identifiers**](AudienceApi.md#update_contact_list_identifiers) | **PATCH** /preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list | # **bulk_create_audience_segments** @@ -918,195 +916,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_contact_list_identifiers** -> DeleteAudienceContactListResponse delete_contact_list_identifiers(audience_segment_id) - - - -Delete all identifiers from a contact list audience-segment. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_marketingsolutions_preview -from criteo_api_marketingsolutions_preview.api import audience_api -from criteo_api_marketingsolutions_preview.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse -from criteo_api_marketingsolutions_preview.model.error_code_response import ErrorCodeResponse -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_preview.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.delete_contact_list_identifiers(audience_segment_id) - pprint(api_response) - except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->delete_contact_list_identifiers: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | - -### Return type - -[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | The Contact List was emptied | - | -**403** | Forbidden | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_user_profiles** -> delete_user_profiles(advertiser_id) - - - -This endpoint will Delete User Profiles for a given Advertiser. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_marketingsolutions_preview -from criteo_api_marketingsolutions_preview.api import audience_api -from criteo_api_marketingsolutions_preview.model.delete_user_profile_model_list_request import DeleteUserProfileModelListRequest -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_marketingsolutions_preview.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_marketingsolutions_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - advertiser_id = 1 # int | Criteo Advertiser ID of user profiles' owner - delete_user_profile_model_list_request = DeleteUserProfileModelListRequest( - data=[ - DeleteUserProfileModelResource( - type="type_example", - attributes=DeleteUserProfileModel( - user_profile_id="user_profile_id_example", - user_profile_list_id="user_profile_list_id_example", - ), - ), - ], - ) # DeleteUserProfileModelListRequest | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.delete_user_profiles(advertiser_id) - except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->delete_user_profiles: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.delete_user_profiles(advertiser_id, delete_user_profile_model_list_request=delete_user_profile_model_list_request) - except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->delete_user_profiles: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **advertiser_id** | **int**| Criteo Advertiser ID of user profiles' owner | - **delete_user_profile_model_list_request** | [**DeleteUserProfileModelListRequest**](DeleteUserProfileModelListRequest.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Success | - | -**403** | Forbidden | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **estimate_audience_segment_size** > AudienceSegmentSizeEstimationV1Response estimate_audience_segment_size(audience_segment_estimate_size_input_v1) @@ -1702,12 +1511,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **search_audience_segments** -> AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse search_audience_segments(audience_segment_search_input_v1) +# **preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete** +> DeleteAudienceContactListResponse preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) -Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. +Delete all identifiers from a contact list audience-segment. ### Example @@ -1718,8 +1527,8 @@ Returns a list of segments that match the provided filters. If present, the filt import time import criteo_api_marketingsolutions_preview from criteo_api_marketingsolutions_preview.api import audience_api -from criteo_api_marketingsolutions_preview.model.audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response import AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse -from criteo_api_marketingsolutions_preview.model.audience_segment_search_input_v1 import AudienceSegmentSearchInputV1 +from criteo_api_marketingsolutions_preview.model.delete_audience_contact_list_response import DeleteAudienceContactListResponse +from criteo_api_marketingsolutions_preview.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -1748,39 +1557,14 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_search_input_v1 = AudienceSegmentSearchInputV1( - data=AudienceSegmentSearchEntityV1Resource( - type="type_example", - attributes=AudienceSegmentSearchEntityV1( - audience_segment_ids=[ - "audience_segment_ids_example", - ], - advertiser_ids=[ - "advertiser_ids_example", - ], - audience_segment_types=[ - "Unknown", - ], - ), - ), - ) # AudienceSegmentSearchInputV1 | Segment search filters. - limit = 50 # int | The number of elements to be returned. The default is 50 and the maximum is 100. (optional) if omitted the server will use the default value of 50 - offset = 0 # int | The (zero-based) offset into the collection. The default is 0. (optional) if omitted the server will use the default value of 0 - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.search_audience_segments(audience_segment_search_input_v1) - pprint(api_response) - except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.search_audience_segments(audience_segment_search_input_v1, limit=limit, offset=offset) + api_response = api_instance.preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id) pprint(api_response) except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) + print("Exception when calling AudienceApi->preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete: %s\n" % e) ``` @@ -1788,13 +1572,11 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_search_input_v1** | [**AudienceSegmentSearchInputV1**](AudienceSegmentSearchInputV1.md)| Segment search filters. | - **limit** | **int**| The number of elements to be returned. The default is 50 and the maximum is 100. | [optional] if omitted the server will use the default value of 50 - **offset** | **int**| The (zero-based) offset into the collection. The default is 0. | [optional] if omitted the server will use the default value of 0 + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | ### Return type -[**AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse**](AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse.md) +[**DeleteAudienceContactListResponse**](DeleteAudienceContactListResponse.md) ### Authorization @@ -1802,27 +1584,25 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | +**200** | The Contact List was emptied | - | +**403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **search_audiences** -> AudienceEntityV1AudienceSearchMetadataV1ListResponse search_audiences(audience_search_input_v1) +# **preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch** +> ModifyAudienceResponse preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) -Returns a list of audiences that match the provided filters. If present, the filters are AND'ed together when applied. +Add/remove identifiers to or from a contact list audience-segment. ### Example @@ -1833,8 +1613,9 @@ Returns a list of audiences that match the provided filters. If present, the fil import time import criteo_api_marketingsolutions_preview from criteo_api_marketingsolutions_preview.api import audience_api -from criteo_api_marketingsolutions_preview.model.audience_search_input_v1 import AudienceSearchInputV1 -from criteo_api_marketingsolutions_preview.model.audience_entity_v1_audience_search_metadata_v1_list_response import AudienceEntityV1AudienceSearchMetadataV1ListResponse +from criteo_api_marketingsolutions_preview.model.modify_audience_response import ModifyAudienceResponse +from criteo_api_marketingsolutions_preview.model.contactlist_amendment_request import ContactlistAmendmentRequest +from criteo_api_marketingsolutions_preview.model.error_code_response import ErrorCodeResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -1863,42 +1644,27 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_search_input_v1 = AudienceSearchInputV1( - data=AudienceSearchEntityV1Resource( - type="type_example", - attributes=AudienceSearchEntityV1( - audience_ids=[ - "audience_ids_example", - ], - advertiser_ids=[ - "advertiser_ids_example", - ], - audience_segment_ids=[ - "audience_segment_ids_example", - ], - ad_set_ids=[ - "ad_set_ids_example", + audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend + contactlist_amendment_request = ContactlistAmendmentRequest( + data=ContactlistAmendment( + type="ContactlistAmendment", + attributes=ContactlistAmendmentAttributes( + operation="add", + identifier_type="email", + identifiers=[ + "identifiers_example", ], + gum_caller_id=1, ), ), - ) # AudienceSearchInputV1 | Audience search filters. - limit = 50 # int | The number of elements to be returned. The default is 50 and the maximum is 100. (optional) if omitted the server will use the default value of 50 - offset = 0 # int | The (zero-based) offset into the collection. The default is 0. (optional) if omitted the server will use the default value of 0 - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.search_audiences(audience_search_input_v1) - pprint(api_response) - except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->search_audiences: %s\n" % e) + ) # ContactlistAmendmentRequest | # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.search_audiences(audience_search_input_v1, limit=limit, offset=offset) + api_response = api_instance.preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request) pprint(api_response) except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->search_audiences: %s\n" % e) + print("Exception when calling AudienceApi->preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch: %s\n" % e) ``` @@ -1906,13 +1672,12 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_search_input_v1** | [**AudienceSearchInputV1**](AudienceSearchInputV1.md)| Audience search filters. | - **limit** | **int**| The number of elements to be returned. The default is 50 and the maximum is 100. | [optional] if omitted the server will use the default value of 50 - **offset** | **int**| The (zero-based) offset into the collection. The default is 0. | [optional] if omitted the server will use the default value of 0 + **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | + **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | ### Return type -[**AudienceEntityV1AudienceSearchMetadataV1ListResponse**](AudienceEntityV1AudienceSearchMetadataV1ListResponse.md) +[**ModifyAudienceResponse**](ModifyAudienceResponse.md) ### Authorization @@ -1920,27 +1685,26 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | +**200** | Summary of created request | - | +**403** | Forbidden | - | +**404** | Audience 123 not found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **set_user_profiles** -> set_user_profiles(advertiser_id) +# **search_audience_segments** +> AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse search_audience_segments(audience_segment_search_input_v1) -This endpoint will Set User Profiles for a given Advertiser. If a User Profile does not exist, a new one will be created. If a User Profile exists, it will be replaced. +Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. ### Example @@ -1951,7 +1715,8 @@ This endpoint will Set User Profiles for a given Advertiser. If a User Profile d import time import criteo_api_marketingsolutions_preview from criteo_api_marketingsolutions_preview.api import audience_api -from criteo_api_marketingsolutions_preview.model.set_user_profile_model_list_request import SetUserProfileModelListRequest +from criteo_api_marketingsolutions_preview.model.audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response import AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse +from criteo_api_marketingsolutions_preview.model.audience_segment_search_input_v1 import AudienceSegmentSearchInputV1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -1980,43 +1745,39 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - advertiser_id = 1 # int | Criteo Advertiser ID of user profiles' owner - set_user_profile_model_list_request = SetUserProfileModelListRequest( - data=[ - SetUserProfileModelResource( - type="type_example", - attributes=SetUserProfileModel( - user_profile_id="user_profile_id_example", - user_profile_list_id="user_profile_list_id_example", - user_profile_identifiers=[ - UserProfileIdentifierModel( - type="type_example", - value="value_example", - ), - ], - user_profile_attributes=[ - UserProfileAttributeModel( - key="key_example", - value="value_example", - ), - ], - ), + audience_segment_search_input_v1 = AudienceSegmentSearchInputV1( + data=AudienceSegmentSearchEntityV1Resource( + type="type_example", + attributes=AudienceSegmentSearchEntityV1( + audience_segment_ids=[ + "audience_segment_ids_example", + ], + advertiser_ids=[ + "advertiser_ids_example", + ], + audience_segment_types=[ + "Unknown", + ], ), - ], - ) # SetUserProfileModelListRequest | (optional) + ), + ) # AudienceSegmentSearchInputV1 | Segment search filters. + limit = 50 # int | The number of elements to be returned. The default is 50 and the maximum is 100. (optional) if omitted the server will use the default value of 50 + offset = 0 # int | The (zero-based) offset into the collection. The default is 0. (optional) if omitted the server will use the default value of 0 # example passing only required values which don't have defaults set try: - api_instance.set_user_profiles(advertiser_id) + api_response = api_instance.search_audience_segments(audience_segment_search_input_v1) + pprint(api_response) except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->set_user_profiles: %s\n" % e) + print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_instance.set_user_profiles(advertiser_id, set_user_profile_model_list_request=set_user_profile_model_list_request) + api_response = api_instance.search_audience_segments(audience_segment_search_input_v1, limit=limit, offset=offset) + pprint(api_response) except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->set_user_profiles: %s\n" % e) + print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) ``` @@ -2024,12 +1785,13 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **advertiser_id** | **int**| Criteo Advertiser ID of user profiles' owner | - **set_user_profile_model_list_request** | [**SetUserProfileModelListRequest**](SetUserProfileModelListRequest.md)| | [optional] + **audience_segment_search_input_v1** | [**AudienceSegmentSearchInputV1**](AudienceSegmentSearchInputV1.md)| Segment search filters. | + **limit** | **int**| The number of elements to be returned. The default is 50 and the maximum is 100. | [optional] if omitted the server will use the default value of 50 + **offset** | **int**| The (zero-based) offset into the collection. The default is 0. | [optional] if omitted the server will use the default value of 0 ### Return type -void (empty response body) +[**AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse**](AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse.md) ### Authorization @@ -2038,7 +1800,7 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: application/json + - **Accept**: text/plain, application/json, text/json ### HTTP response details @@ -2046,16 +1808,18 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | -**403** | Forbidden | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_contact_list_identifiers** -> ModifyAudienceResponse update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) +# **search_audiences** +> AudienceEntityV1AudienceSearchMetadataV1ListResponse search_audiences(audience_search_input_v1) -Add/remove identifiers to or from a contact list audience-segment. +Returns a list of audiences that match the provided filters. If present, the filters are AND'ed together when applied. ### Example @@ -2066,9 +1830,8 @@ Add/remove identifiers to or from a contact list audience-segment. import time import criteo_api_marketingsolutions_preview from criteo_api_marketingsolutions_preview.api import audience_api -from criteo_api_marketingsolutions_preview.model.modify_audience_response import ModifyAudienceResponse -from criteo_api_marketingsolutions_preview.model.contactlist_amendment_request import ContactlistAmendmentRequest -from criteo_api_marketingsolutions_preview.model.error_code_response import ErrorCodeResponse +from criteo_api_marketingsolutions_preview.model.audience_search_input_v1 import AudienceSearchInputV1 +from criteo_api_marketingsolutions_preview.model.audience_entity_v1_audience_search_metadata_v1_list_response import AudienceEntityV1AudienceSearchMetadataV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -2097,27 +1860,42 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - audience_segment_id = "audience-segment-id_example" # str | The id of the contact list audience-segment to amend - contactlist_amendment_request = ContactlistAmendmentRequest( - data=ContactlistAmendment( - type="ContactlistAmendment", - attributes=ContactlistAmendmentAttributes( - operation="add", - identifier_type="email", - identifiers=[ - "identifiers_example", + audience_search_input_v1 = AudienceSearchInputV1( + data=AudienceSearchEntityV1Resource( + type="type_example", + attributes=AudienceSearchEntityV1( + audience_ids=[ + "audience_ids_example", + ], + advertiser_ids=[ + "advertiser_ids_example", + ], + audience_segment_ids=[ + "audience_segment_ids_example", + ], + ad_set_ids=[ + "ad_set_ids_example", ], - gum_caller_id=1, ), ), - ) # ContactlistAmendmentRequest | + ) # AudienceSearchInputV1 | Audience search filters. + limit = 50 # int | The number of elements to be returned. The default is 50 and the maximum is 100. (optional) if omitted the server will use the default value of 50 + offset = 0 # int | The (zero-based) offset into the collection. The default is 0. (optional) if omitted the server will use the default value of 0 # example passing only required values which don't have defaults set try: - api_response = api_instance.update_contact_list_identifiers(audience_segment_id, contactlist_amendment_request) + api_response = api_instance.search_audiences(audience_search_input_v1) pprint(api_response) except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling AudienceApi->update_contact_list_identifiers: %s\n" % e) + print("Exception when calling AudienceApi->search_audiences: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.search_audiences(audience_search_input_v1, limit=limit, offset=offset) + pprint(api_response) + except criteo_api_marketingsolutions_preview.ApiException as e: + print("Exception when calling AudienceApi->search_audiences: %s\n" % e) ``` @@ -2125,12 +1903,13 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **audience_segment_id** | **str**| The id of the contact list audience-segment to amend | - **contactlist_amendment_request** | [**ContactlistAmendmentRequest**](ContactlistAmendmentRequest.md)| | + **audience_search_input_v1** | [**AudienceSearchInputV1**](AudienceSearchInputV1.md)| Audience search filters. | + **limit** | **int**| The number of elements to be returned. The default is 50 and the maximum is 100. | [optional] if omitted the server will use the default value of 50 + **offset** | **int**| The (zero-based) offset into the collection. The default is 0. | [optional] if omitted the server will use the default value of 0 ### Return type -[**ModifyAudienceResponse**](ModifyAudienceResponse.md) +[**AudienceEntityV1AudienceSearchMetadataV1ListResponse**](AudienceEntityV1AudienceSearchMetadataV1ListResponse.md) ### Authorization @@ -2138,17 +1917,18 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Summary of created request | - | -**403** | Forbidden | - | -**404** | Audience 123 not found | - | +**200** | Success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_preview/docs/CampaignApi.md b/sdks/marketingsolutions_preview/docs/CampaignApi.md index ad6c8edd..a639b8bc 100644 --- a/sdks/marketingsolutions_preview/docs/CampaignApi.md +++ b/sdks/marketingsolutions_preview/docs/CampaignApi.md @@ -4,7 +4,7 @@ All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_ad_set_v24_q1**](CampaignApi.md#create_ad_set_v24_q1) | **POST** /preview/marketing-solutions/ad-sets | +[**create_ad_set_v24_q3**](CampaignApi.md#create_ad_set_v24_q3) | **POST** /preview/marketing-solutions/ad-sets | [**create_campaign**](CampaignApi.md#create_campaign) | **POST** /preview/marketing-solutions/campaigns | [**delete_advertiser_bundle_rules**](CampaignApi.md#delete_advertiser_bundle_rules) | **DELETE** /preview/advertisers/{advertiserId}/targeting/bundle-rules | [**delete_advertiser_domain_rules**](CampaignApi.md#delete_advertiser_domain_rules) | **DELETE** /preview/advertisers/{advertiserId}/targeting/domain-rules | @@ -16,7 +16,7 @@ Method | HTTP request | Description [**disable_ad_set_targeting_video_positioning**](CampaignApi.md#disable_ad_set_targeting_video_positioning) | **POST** /preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/video-positionings/disable | [**get_ad_set_targeting_deal_ids**](CampaignApi.md#get_ad_set_targeting_deal_ids) | **GET** /preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/deal-ids | [**get_ad_set_targeting_video_positioning**](CampaignApi.md#get_ad_set_targeting_video_positioning) | **GET** /preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/video-positioning | -[**get_ad_set_v24_q1**](CampaignApi.md#get_ad_set_v24_q1) | **GET** /preview/marketing-solutions/ad-sets/{ad-set-id} | +[**get_ad_set_v24_q3**](CampaignApi.md#get_ad_set_v24_q3) | **GET** /preview/marketing-solutions/ad-sets/{ad-set-id} | [**get_advertiser_bundle_rules**](CampaignApi.md#get_advertiser_bundle_rules) | **GET** /preview/advertisers/{advertiserId}/targeting/bundle-rules | [**get_advertiser_domain_rules**](CampaignApi.md#get_advertiser_domain_rules) | **GET** /preview/advertisers/{advertiserId}/targeting/domain-rules | [**get_campaign_bundle_rules**](CampaignApi.md#get_campaign_bundle_rules) | **GET** /preview/campaigns/{campaignId}/targeting/bundle-rules | @@ -27,7 +27,7 @@ Method | HTTP request | Description [**get_oc_ibrand_safety_rule**](CampaignApi.md#get_oc_ibrand_safety_rule) | **GET** /preview/brand-safety/oci | [**get_oc_itargeting_rule**](CampaignApi.md#get_oc_itargeting_rule) | **GET** /preview/targeting/oci | [**get_supply_vendor_list**](CampaignApi.md#get_supply_vendor_list) | **GET** /preview/marketing-solutions/ad-sets/targeting/supply-vendors | -[**patch_ad_sets_v24_q1**](CampaignApi.md#patch_ad_sets_v24_q1) | **PATCH** /preview/marketing-solutions/ad-sets | +[**patch_ad_sets_v24_q3**](CampaignApi.md#patch_ad_sets_v24_q3) | **PATCH** /preview/marketing-solutions/ad-sets | [**patch_campaigns**](CampaignApi.md#patch_campaigns) | **PATCH** /preview/marketing-solutions/campaigns | [**patch_category_bid_list**](CampaignApi.md#patch_category_bid_list) | **PATCH** /preview/marketing-solutions/ad-sets/{ad-set-id}/category-bids | [**patch_display_multipliers**](CampaignApi.md#patch_display_multipliers) | **PATCH** /preview/marketing-solutions/ad-sets/{ad-set-id}/display-multipliers | @@ -39,7 +39,7 @@ Method | HTTP request | Description [**put_advertiser_domain_rules**](CampaignApi.md#put_advertiser_domain_rules) | **PUT** /preview/advertisers/{advertiserId}/targeting/domain-rules | [**put_campaign_bundle_rules**](CampaignApi.md#put_campaign_bundle_rules) | **PUT** /preview/campaigns/{campaignId}/targeting/bundle-rules | [**put_campaign_domain_rules**](CampaignApi.md#put_campaign_domain_rules) | **PUT** /preview/campaigns/{campaignId}/targeting/domain-rules | -[**search_ad_sets_v24_q1**](CampaignApi.md#search_ad_sets_v24_q1) | **POST** /preview/marketing-solutions/ad-sets/search | +[**search_ad_sets_v24_q3**](CampaignApi.md#search_ad_sets_v24_q3) | **POST** /preview/marketing-solutions/ad-sets/search | [**search_campaigns_v23_q1**](CampaignApi.md#search_campaigns_v23_q1) | **POST** /preview/marketing-solutions/campaigns/search | [**set_ad_set_targeting_deal_ids**](CampaignApi.md#set_ad_set_targeting_deal_ids) | **PUT** /preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/deal-ids | [**set_ad_set_targeting_video_positioning**](CampaignApi.md#set_ad_set_targeting_video_positioning) | **PUT** /preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/video-positioning | @@ -50,8 +50,8 @@ Method | HTTP request | Description [**upsert_oc_itargeting_rule**](CampaignApi.md#upsert_oc_itargeting_rule) | **POST** /preview/targeting/oci | -# **create_ad_set_v24_q1** -> ResponseReadAdSetV24Q1 create_ad_set_v24_q1(create_ad_set_v24_q1_request) +# **create_ad_set_v24_q3** +> ResponseReadAdSetV24Q3 create_ad_set_v24_q3(create_ad_set_v24_q3_request) @@ -66,8 +66,8 @@ Create the specified ad set import time import criteo_api_marketingsolutions_preview from criteo_api_marketingsolutions_preview.api import campaign_api -from criteo_api_marketingsolutions_preview.model.response_read_ad_set_v24_q1 import ResponseReadAdSetV24Q1 -from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q1_request import CreateAdSetV24Q1Request +from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3_request import CreateAdSetV24Q3Request +from criteo_api_marketingsolutions_preview.model.response_read_ad_set_v24_q3 import ResponseReadAdSetV24Q3 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -96,23 +96,23 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - create_ad_set_v24_q1_request = CreateAdSetV24Q1Request( - data=CreateAdSetV24Q1Resource( - attributes=CreateAdSetV24Q1( + create_ad_set_v24_q3_request = CreateAdSetV24Q3Request( + data=CreateAdSetV24Q3Resource( + attributes=CreateAdSetV24Q3( name="name_example", dataset_id="dataset_id_example", campaign_id="campaign_id_example", objective="customAction", - schedule=CreateAdSetScheduleV24Q1( + schedule=CreateAdSetScheduleV24Q3( start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), end_date=dateutil_parser('1970-01-01T00:00:00.00Z'), ), - bidding=CreateAdSetBiddingV24Q1( + bidding=CreateAdSetBiddingV24Q3( bid_amount=3.14, cost_controller="COS", ), - targeting=CreateAdSetTargetingV24Q1( - delivery_limitations=AdSetDeliveryLimitationsV24Q1( + targeting=CreateAdSetTargetingV24Q3( + delivery_limitations=AdSetDeliveryLimitationsV24Q3( environments=[ "web", ], @@ -123,32 +123,32 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien "android", ], ), - geo_location=CreateAdSetGeoLocationV24Q1( - countries=AdSetTargetingRuleV24Q1( + geo_location=CreateAdSetGeoLocationV24Q3( + countries=AdSetTargetingRuleV24Q3( operand="undefined", values=[ "values_example", ], ), - subdivisions=AdSetTargetingRuleV24Q1( + subdivisions=AdSetTargetingRuleV24Q3( operand="undefined", values=[ "values_example", ], ), - zip_codes=AdSetTargetingRuleV24Q1( + zip_codes=AdSetTargetingRuleV24Q3( operand="undefined", values=[ "values_example", ], ), ), - frequency_capping=AdSetFrequencyCappingV24Q1( + frequency_capping=AdSetFrequencyCappingV24Q3( frequency="hourly", maximum_impressions=1, ), ), - budget=CreateAdSetBudgetV24Q1( + budget=CreateAdSetBudgetV24Q3( budget_strategy="capped", budget_renewal="undefined", budget_delivery_smoothing="accelerated", @@ -160,14 +160,14 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien ), type="AdSet", ), - ) # CreateAdSetV24Q1Request | the ad sets to create + ) # CreateAdSetV24Q3Request | the ad sets to create # example passing only required values which don't have defaults set try: - api_response = api_instance.create_ad_set_v24_q1(create_ad_set_v24_q1_request) + api_response = api_instance.create_ad_set_v24_q3(create_ad_set_v24_q3_request) pprint(api_response) except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling CampaignApi->create_ad_set_v24_q1: %s\n" % e) + print("Exception when calling CampaignApi->create_ad_set_v24_q3: %s\n" % e) ``` @@ -175,11 +175,11 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_ad_set_v24_q1_request** | [**CreateAdSetV24Q1Request**](CreateAdSetV24Q1Request.md)| the ad sets to create | + **create_ad_set_v24_q3_request** | [**CreateAdSetV24Q3Request**](CreateAdSetV24Q3Request.md)| the ad sets to create | ### Return type -[**ResponseReadAdSetV24Q1**](ResponseReadAdSetV24Q1.md) +[**ResponseReadAdSetV24Q3**](ResponseReadAdSetV24Q3.md) ### Authorization @@ -1284,8 +1284,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_ad_set_v24_q1** -> ResponseReadAdSetV24Q1 get_ad_set_v24_q1(ad_set_id) +# **get_ad_set_v24_q3** +> ResponseReadAdSetV24Q3 get_ad_set_v24_q3(ad_set_id) @@ -1300,7 +1300,7 @@ Get the data for the specified ad set import time import criteo_api_marketingsolutions_preview from criteo_api_marketingsolutions_preview.api import campaign_api -from criteo_api_marketingsolutions_preview.model.response_read_ad_set_v24_q1 import ResponseReadAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.response_read_ad_set_v24_q3 import ResponseReadAdSetV24Q3 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -1333,10 +1333,10 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien # example passing only required values which don't have defaults set try: - api_response = api_instance.get_ad_set_v24_q1(ad_set_id) + api_response = api_instance.get_ad_set_v24_q3(ad_set_id) pprint(api_response) except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling CampaignApi->get_ad_set_v24_q1: %s\n" % e) + print("Exception when calling CampaignApi->get_ad_set_v24_q3: %s\n" % e) ``` @@ -1348,7 +1348,7 @@ Name | Type | Description | Notes ### Return type -[**ResponseReadAdSetV24Q1**](ResponseReadAdSetV24Q1.md) +[**ResponseReadAdSetV24Q3**](ResponseReadAdSetV24Q3.md) ### Authorization @@ -2246,8 +2246,8 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_ad_sets_v24_q1** -> ResponsesAdSetIdV24Q1 patch_ad_sets_v24_q1() +# **patch_ad_sets_v24_q3** +> ResponsesAdSetIdV24Q3 patch_ad_sets_v24_q3() @@ -2262,8 +2262,8 @@ Patch a list of AdSets. import time import criteo_api_marketingsolutions_preview from criteo_api_marketingsolutions_preview.api import campaign_api -from criteo_api_marketingsolutions_preview.model.responses_ad_set_id_v24_q1 import ResponsesAdSetIdV24Q1 -from criteo_api_marketingsolutions_preview.model.requests_patch_ad_set_v24_q1 import RequestsPatchAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.requests_patch_ad_set_v24_q3 import RequestsPatchAdSetV24Q3 +from criteo_api_marketingsolutions_preview.model.responses_ad_set_id_v24_q3 import ResponsesAdSetIdV24Q3 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -2292,14 +2292,14 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - requests_patch_ad_set_v24_q1 = RequestsPatchAdSetV24Q1( + requests_patch_ad_set_v24_q3 = RequestsPatchAdSetV24Q3( data=[ - WriteModelPatchAdSetV24Q1( + WriteModelPatchAdSetV24Q3( id="id_example", - type="PatchAdSetV24Q1", - attributes=PatchAdSetV24Q1( + type="PatchAdSetV24Q3", + attributes=PatchAdSetV24Q3( name="name_example", - scheduling=PatchAdSetSchedulingV24Q1( + scheduling=PatchAdSetSchedulingV24Q3( start_date=NillableDateTime( value=dateutil_parser('1970-01-01T00:00:00.00Z'), ), @@ -2307,13 +2307,13 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien value=dateutil_parser('1970-01-01T00:00:00.00Z'), ), ), - bidding=PatchAdSetBiddingV24Q1( + bidding=PatchAdSetBiddingV24Q3( bid_amount=NillableDecimal( value=3.14, ), ), - targeting=AdSetTargetingV24Q1( - delivery_limitations=AdSetDeliveryLimitationsV24Q1( + targeting=AdSetTargetingV24Q3( + delivery_limitations=AdSetDeliveryLimitationsV24Q3( environments=[ "web", ], @@ -2324,23 +2324,23 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien "android", ], ), - geo_location=AdSetGeoLocationV24Q1( - countries=NillableAdSetTargetingRuleV24Q1( - value=NillableAdSetTargetingRuleV24Q1Value(), + geo_location=AdSetGeoLocationV24Q3( + countries=NillableAdSetTargetingRuleV24Q3( + value=NillableAdSetTargetingRuleV24Q3Value(), ), - subdivisions=NillableAdSetTargetingRuleV24Q1( - value=NillableAdSetTargetingRuleV24Q1Value(), + subdivisions=NillableAdSetTargetingRuleV24Q3( + value=NillableAdSetTargetingRuleV24Q3Value(), ), - zip_codes=NillableAdSetTargetingRuleV24Q1( - value=NillableAdSetTargetingRuleV24Q1Value(), + zip_codes=NillableAdSetTargetingRuleV24Q3( + value=NillableAdSetTargetingRuleV24Q3Value(), ), ), - frequency_capping=AdSetFrequencyCappingV24Q1( + frequency_capping=AdSetFrequencyCappingV24Q3( frequency="hourly", maximum_impressions=1, ), ), - budget=PatchAdSetBudgetV24Q1( + budget=PatchAdSetBudgetV24Q3( budget_strategy="capped", budget_renewal="undefined", budget_delivery_smoothing="accelerated", @@ -2352,15 +2352,15 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien ), ), ], - ) # RequestsPatchAdSetV24Q1 | List of adsets to patch. (optional) + ) # RequestsPatchAdSetV24Q3 | List of adsets to patch. (optional) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.patch_ad_sets_v24_q1(requests_patch_ad_set_v24_q1=requests_patch_ad_set_v24_q1) + api_response = api_instance.patch_ad_sets_v24_q3(requests_patch_ad_set_v24_q3=requests_patch_ad_set_v24_q3) pprint(api_response) except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling CampaignApi->patch_ad_sets_v24_q1: %s\n" % e) + print("Exception when calling CampaignApi->patch_ad_sets_v24_q3: %s\n" % e) ``` @@ -2368,11 +2368,11 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **requests_patch_ad_set_v24_q1** | [**RequestsPatchAdSetV24Q1**](RequestsPatchAdSetV24Q1.md)| List of adsets to patch. | [optional] + **requests_patch_ad_set_v24_q3** | [**RequestsPatchAdSetV24Q3**](RequestsPatchAdSetV24Q3.md)| List of adsets to patch. | [optional] ### Return type -[**ResponsesAdSetIdV24Q1**](ResponsesAdSetIdV24Q1.md) +[**ResponsesAdSetIdV24Q3**](ResponsesAdSetIdV24Q3.md) ### Authorization @@ -3622,8 +3622,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **search_ad_sets_v24_q1** -> ResponsesReadAdSetV24Q1 search_ad_sets_v24_q1() +# **search_ad_sets_v24_q3** +> ResponsesReadAdSetV24Q3 search_ad_sets_v24_q3() @@ -3638,8 +3638,8 @@ Search for ad sets import time import criteo_api_marketingsolutions_preview from criteo_api_marketingsolutions_preview.api import campaign_api -from criteo_api_marketingsolutions_preview.model.ad_set_search_request_v24_q1 import AdSetSearchRequestV24Q1 -from criteo_api_marketingsolutions_preview.model.responses_read_ad_set_v24_q1 import ResponsesReadAdSetV24Q1 +from criteo_api_marketingsolutions_preview.model.ad_set_search_request_v24_q3 import AdSetSearchRequestV24Q3 +from criteo_api_marketingsolutions_preview.model.responses_read_ad_set_v24_q3 import ResponsesReadAdSetV24Q3 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -3668,8 +3668,8 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - ad_set_search_request_v24_q1 = AdSetSearchRequestV24Q1( - filters=AdSetSearchFilterV24Q1( + ad_set_search_request_v24_q3 = AdSetSearchRequestV24Q3( + filters=AdSetSearchFilterV24Q3( ad_set_ids=[ "ad_set_ids_example", ], @@ -3680,15 +3680,15 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien "campaign_ids_example", ], ), - ) # AdSetSearchRequestV24Q1 | (optional) + ) # AdSetSearchRequestV24Q3 | (optional) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.search_ad_sets_v24_q1(ad_set_search_request_v24_q1=ad_set_search_request_v24_q1) + api_response = api_instance.search_ad_sets_v24_q3(ad_set_search_request_v24_q3=ad_set_search_request_v24_q3) pprint(api_response) except criteo_api_marketingsolutions_preview.ApiException as e: - print("Exception when calling CampaignApi->search_ad_sets_v24_q1: %s\n" % e) + print("Exception when calling CampaignApi->search_ad_sets_v24_q3: %s\n" % e) ``` @@ -3696,11 +3696,11 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ad_set_search_request_v24_q1** | [**AdSetSearchRequestV24Q1**](AdSetSearchRequestV24Q1.md)| | [optional] + **ad_set_search_request_v24_q3** | [**AdSetSearchRequestV24Q3**](AdSetSearchRequestV24Q3.md)| | [optional] ### Return type -[**ResponsesReadAdSetV24Q1**](ResponsesReadAdSetV24Q1.md) +[**ResponsesReadAdSetV24Q3**](ResponsesReadAdSetV24Q3.md) ### Authorization @@ -3985,6 +3985,9 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien video_placement=[ "InBanner", ], + video_plcmt=[ + "InStream", + ], playback_method=[ "AutoSoundOn", ], diff --git a/sdks/marketingsolutions_preview/docs/CatalogApi.md b/sdks/marketingsolutions_preview/docs/CatalogApi.md index 5f371efc..38de1f18 100644 --- a/sdks/marketingsolutions_preview/docs/CatalogApi.md +++ b/sdks/marketingsolutions_preview/docs/CatalogApi.md @@ -228,6 +228,7 @@ with criteo_api_marketingsolutions_preview.ApiClient(configuration) as api_clien external_seller_name="external_seller_name_example", number_of_reviews=1, product_rating="product_rating_example", + badge="badge_example", ), feed_id="feed_id_example", ), diff --git a/sdks/marketingsolutions_preview/docs/ContactlistAmendmentAttributes.md b/sdks/marketingsolutions_preview/docs/ContactlistAmendmentAttributes.md index a805de72..a99ebe95 100644 --- a/sdks/marketingsolutions_preview/docs/ContactlistAmendmentAttributes.md +++ b/sdks/marketingsolutions_preview/docs/ContactlistAmendmentAttributes.md @@ -6,7 +6,7 @@ the name of the entity type Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **operation** | **str** | Operation to add or remove users | -**identifiers** | **[str]** | The users tos add or remove, each in the schema specified | +**identifiers** | **[str]** | The users to add or remove, each in the schema specified | **identifier_type** | **str, none_type** | What type of identifiers are used | [optional] **gum_caller_id** | **int, none_type** | The Gum caller id of the advertiser patching identifiers of type Gum | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2023-07/docs/CreateAdSetBidding.md b/sdks/marketingsolutions_preview/docs/CreateAdSetBiddingV24Q3.md similarity index 96% rename from sdks/marketingsolutions_2023-07/docs/CreateAdSetBidding.md rename to sdks/marketingsolutions_preview/docs/CreateAdSetBiddingV24Q3.md index 3594ba2e..57437d9a 100644 --- a/sdks/marketingsolutions_2023-07/docs/CreateAdSetBidding.md +++ b/sdks/marketingsolutions_preview/docs/CreateAdSetBiddingV24Q3.md @@ -1,4 +1,4 @@ -# CreateAdSetBidding +# CreateAdSetBiddingV24Q3 ad set bidding create model diff --git a/sdks/marketingsolutions_2023-07/docs/CreateAdSetBudget.md b/sdks/marketingsolutions_preview/docs/CreateAdSetBudgetV24Q3.md similarity index 96% rename from sdks/marketingsolutions_2023-07/docs/CreateAdSetBudget.md rename to sdks/marketingsolutions_preview/docs/CreateAdSetBudgetV24Q3.md index cf5fd312..834f8252 100644 --- a/sdks/marketingsolutions_2023-07/docs/CreateAdSetBudget.md +++ b/sdks/marketingsolutions_preview/docs/CreateAdSetBudgetV24Q3.md @@ -1,4 +1,4 @@ -# CreateAdSetBudget +# CreateAdSetBudgetV24Q3 ad set budget create model diff --git a/sdks/marketingsolutions_2023-07/docs/CreateAdSetGeoLocation.md b/sdks/marketingsolutions_preview/docs/CreateAdSetGeoLocationV24Q3.md similarity index 61% rename from sdks/marketingsolutions_2023-07/docs/CreateAdSetGeoLocation.md rename to sdks/marketingsolutions_preview/docs/CreateAdSetGeoLocationV24Q3.md index c2fde1f0..ce493454 100644 --- a/sdks/marketingsolutions_2023-07/docs/CreateAdSetGeoLocation.md +++ b/sdks/marketingsolutions_preview/docs/CreateAdSetGeoLocationV24Q3.md @@ -1,13 +1,13 @@ -# CreateAdSetGeoLocation +# CreateAdSetGeoLocationV24Q3 Geolocation configuration of the ad set ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**countries** | [**AdSetTargetingRule**](AdSetTargetingRule.md) | | [optional] -**subdivisions** | [**AdSetTargetingRule**](AdSetTargetingRule.md) | | [optional] -**zip_codes** | [**AdSetTargetingRule**](AdSetTargetingRule.md) | | [optional] +**countries** | [**AdSetTargetingRuleV24Q3**](AdSetTargetingRuleV24Q3.md) | | [optional] +**subdivisions** | [**AdSetTargetingRuleV24Q3**](AdSetTargetingRuleV24Q3.md) | | [optional] +**zip_codes** | [**AdSetTargetingRuleV24Q3**](AdSetTargetingRuleV24Q3.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/CreateAdSetSchedule.md b/sdks/marketingsolutions_preview/docs/CreateAdSetScheduleV24Q3.md similarity index 95% rename from sdks/marketingsolutions_2023-07/docs/CreateAdSetSchedule.md rename to sdks/marketingsolutions_preview/docs/CreateAdSetScheduleV24Q3.md index c4e8be2a..6e9e80df 100644 --- a/sdks/marketingsolutions_2023-07/docs/CreateAdSetSchedule.md +++ b/sdks/marketingsolutions_preview/docs/CreateAdSetScheduleV24Q3.md @@ -1,4 +1,4 @@ -# CreateAdSetSchedule +# CreateAdSetScheduleV24Q3 ad set schedule create model diff --git a/sdks/marketingsolutions_2023-07/docs/CreateAdSetTargeting.md b/sdks/marketingsolutions_preview/docs/CreateAdSetTargetingV24Q3.md similarity index 58% rename from sdks/marketingsolutions_2023-07/docs/CreateAdSetTargeting.md rename to sdks/marketingsolutions_preview/docs/CreateAdSetTargetingV24Q3.md index 835a9743..52406428 100644 --- a/sdks/marketingsolutions_2023-07/docs/CreateAdSetTargeting.md +++ b/sdks/marketingsolutions_preview/docs/CreateAdSetTargetingV24Q3.md @@ -1,13 +1,13 @@ -# CreateAdSetTargeting +# CreateAdSetTargetingV24Q3 Targeting configuration of the ad set ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**frequency_capping** | [**AdSetFrequencyCapping**](AdSetFrequencyCapping.md) | | -**delivery_limitations** | [**AdSetDeliveryLimitations**](AdSetDeliveryLimitations.md) | | [optional] -**geo_location** | [**CreateAdSetGeoLocation**](CreateAdSetGeoLocation.md) | | [optional] +**frequency_capping** | [**AdSetFrequencyCappingV24Q3**](AdSetFrequencyCappingV24Q3.md) | | +**delivery_limitations** | [**AdSetDeliveryLimitationsV24Q3**](AdSetDeliveryLimitationsV24Q3.md) | | [optional] +**geo_location** | [**CreateAdSetGeoLocationV24Q3**](CreateAdSetGeoLocationV24Q3.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/CreateAdSet.md b/sdks/marketingsolutions_preview/docs/CreateAdSetV24Q3.md similarity index 72% rename from sdks/marketingsolutions_2023-07/docs/CreateAdSet.md rename to sdks/marketingsolutions_preview/docs/CreateAdSetV24Q3.md index a13ef417..c3f853f5 100644 --- a/sdks/marketingsolutions_2023-07/docs/CreateAdSet.md +++ b/sdks/marketingsolutions_preview/docs/CreateAdSetV24Q3.md @@ -1,4 +1,4 @@ -# CreateAdSet +# CreateAdSetV24Q3 ad set create model @@ -9,10 +9,10 @@ Name | Type | Description | Notes **dataset_id** | **str, none_type** | Dataset id of this ad set | **campaign_id** | **str, none_type** | Campaign id this ad set belongs to | **objective** | **str** | Objective of the ad set | -**schedule** | [**CreateAdSetSchedule**](CreateAdSetSchedule.md) | | -**bidding** | [**CreateAdSetBidding**](CreateAdSetBidding.md) | | -**targeting** | [**CreateAdSetTargeting**](CreateAdSetTargeting.md) | | -**budget** | [**CreateAdSetBudget**](CreateAdSetBudget.md) | | +**schedule** | [**CreateAdSetScheduleV24Q3**](CreateAdSetScheduleV24Q3.md) | | +**bidding** | [**CreateAdSetBiddingV24Q3**](CreateAdSetBiddingV24Q3.md) | | +**targeting** | [**CreateAdSetTargetingV24Q3**](CreateAdSetTargetingV24Q3.md) | | +**budget** | [**CreateAdSetBudgetV24Q3**](CreateAdSetBudgetV24Q3.md) | | **tracking_code** | **str, none_type** | The click tracking code associated to this Ad Set. | **media_type** | **str** | Media type for the ad set | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2023-07/docs/CreateAdSetRequest.md b/sdks/marketingsolutions_preview/docs/CreateAdSetV24Q3Request.md similarity index 80% rename from sdks/marketingsolutions_2023-07/docs/CreateAdSetRequest.md rename to sdks/marketingsolutions_preview/docs/CreateAdSetV24Q3Request.md index 13bee9cc..7aa2460f 100644 --- a/sdks/marketingsolutions_2023-07/docs/CreateAdSetRequest.md +++ b/sdks/marketingsolutions_preview/docs/CreateAdSetV24Q3Request.md @@ -1,11 +1,11 @@ -# CreateAdSetRequest +# CreateAdSetV24Q3Request Data model for an input resources ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**CreateAdSetResource**](CreateAdSetResource.md) | | [optional] +**data** | [**CreateAdSetV24Q3Resource**](CreateAdSetV24Q3Resource.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/CreateAdSetResource.md b/sdks/marketingsolutions_preview/docs/CreateAdSetV24Q3Resource.md similarity index 83% rename from sdks/marketingsolutions_2023-07/docs/CreateAdSetResource.md rename to sdks/marketingsolutions_preview/docs/CreateAdSetV24Q3Resource.md index a09e6d9b..50e96e50 100644 --- a/sdks/marketingsolutions_2023-07/docs/CreateAdSetResource.md +++ b/sdks/marketingsolutions_preview/docs/CreateAdSetV24Q3Resource.md @@ -1,11 +1,11 @@ -# CreateAdSetResource +# CreateAdSetV24Q3Resource Data model for a Resource ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**CreateAdSet**](CreateAdSet.md) | | [optional] +**attributes** | [**CreateAdSetV24Q3**](CreateAdSetV24Q3.md) | | [optional] **type** | **str, none_type** | Canonical type name of the entity | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_preview/docs/DeleteUserProfileModel.md b/sdks/marketingsolutions_preview/docs/DeleteUserProfileModel.md deleted file mode 100644 index 66cdc4d2..00000000 --- a/sdks/marketingsolutions_preview/docs/DeleteUserProfileModel.md +++ /dev/null @@ -1,14 +0,0 @@ -# DeleteUserProfileModel - -Used for the /user-profiles/delete endpoint. Contains information about the user profile that we delete - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_profile_id** | **str** | | -**user_profile_list_id** | **str, none_type** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/marketingsolutions_2023-07/docs/NillableAdSetTargetingRule.md b/sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q3.md similarity index 80% rename from sdks/marketingsolutions_2023-07/docs/NillableAdSetTargetingRule.md rename to sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q3.md index 5efe89ee..4c5a36d7 100644 --- a/sdks/marketingsolutions_2023-07/docs/NillableAdSetTargetingRule.md +++ b/sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q3.md @@ -1,11 +1,11 @@ -# NillableAdSetTargetingRule +# NillableAdSetTargetingRuleV24Q3 structure that encapsulates an object that have valid business null values. If the structure is provided (i.e. not null), then the value in it, even null, is provided. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**NillableAdSetTargetingRuleValue**](NillableAdSetTargetingRuleValue.md) | | [optional] +**value** | [**NillableAdSetTargetingRuleV24Q3Value**](NillableAdSetTargetingRuleV24Q3Value.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/NillableAdSetTargetingRuleValue.md b/sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q3Value.md similarity index 93% rename from sdks/marketingsolutions_2023-07/docs/NillableAdSetTargetingRuleValue.md rename to sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q3Value.md index e0f4b1d5..313f3d3a 100644 --- a/sdks/marketingsolutions_2023-07/docs/NillableAdSetTargetingRuleValue.md +++ b/sdks/marketingsolutions_preview/docs/NillableAdSetTargetingRuleV24Q3Value.md @@ -1,4 +1,4 @@ -# NillableAdSetTargetingRuleValue +# NillableAdSetTargetingRuleV24Q3Value ## Properties diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetBidding.md b/sdks/marketingsolutions_preview/docs/PatchAdSetBiddingV24Q3.md similarity index 95% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetBidding.md rename to sdks/marketingsolutions_preview/docs/PatchAdSetBiddingV24Q3.md index 9c9deec3..0f450c6d 100644 --- a/sdks/marketingsolutions_2023-07/docs/PatchAdSetBidding.md +++ b/sdks/marketingsolutions_preview/docs/PatchAdSetBiddingV24Q3.md @@ -1,4 +1,4 @@ -# PatchAdSetBidding +# PatchAdSetBiddingV24Q3 ad set bidding patch model diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetBudget.md b/sdks/marketingsolutions_preview/docs/PatchAdSetBudgetV24Q3.md similarity index 97% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetBudget.md rename to sdks/marketingsolutions_preview/docs/PatchAdSetBudgetV24Q3.md index ca5d2349..fc36b62e 100644 --- a/sdks/marketingsolutions_2023-07/docs/PatchAdSetBudget.md +++ b/sdks/marketingsolutions_preview/docs/PatchAdSetBudgetV24Q3.md @@ -1,4 +1,4 @@ -# PatchAdSetBudget +# PatchAdSetBudgetV24Q3 ad set budget patch model diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSetScheduling.md b/sdks/marketingsolutions_preview/docs/PatchAdSetSchedulingV24Q3.md similarity index 95% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSetScheduling.md rename to sdks/marketingsolutions_preview/docs/PatchAdSetSchedulingV24Q3.md index d381a19d..9e17f1a5 100644 --- a/sdks/marketingsolutions_2023-07/docs/PatchAdSetScheduling.md +++ b/sdks/marketingsolutions_preview/docs/PatchAdSetSchedulingV24Q3.md @@ -1,4 +1,4 @@ -# PatchAdSetScheduling +# PatchAdSetSchedulingV24Q3 ad set schedule patch model diff --git a/sdks/marketingsolutions_2023-07/docs/Campaign.md b/sdks/marketingsolutions_preview/docs/PatchAdSetV24Q3.md similarity index 58% rename from sdks/marketingsolutions_2023-07/docs/Campaign.md rename to sdks/marketingsolutions_preview/docs/PatchAdSetV24Q3.md index 8040548f..80556025 100644 --- a/sdks/marketingsolutions_2023-07/docs/Campaign.md +++ b/sdks/marketingsolutions_preview/docs/PatchAdSetV24Q3.md @@ -1,15 +1,15 @@ -# Campaign +# PatchAdSetV24Q3 -campaign read model +ad set patch model ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str, none_type** | | [optional] -**advertiser_id** | **str, none_type** | | [optional] -**objective** | **str, none_type** | | [optional] -**spend_limit** | [**CampaignSpendLimit**](CampaignSpendLimit.md) | | [optional] -**goal** | **str, none_type** | | [optional] +**scheduling** | [**PatchAdSetSchedulingV24Q3**](PatchAdSetSchedulingV24Q3.md) | | [optional] +**bidding** | [**PatchAdSetBiddingV24Q3**](PatchAdSetBiddingV24Q3.md) | | [optional] +**targeting** | [**AdSetTargetingV24Q3**](AdSetTargetingV24Q3.md) | | [optional] +**budget** | [**PatchAdSetBudgetV24Q3**](PatchAdSetBudgetV24Q3.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_preview/docs/Product.md b/sdks/marketingsolutions_preview/docs/Product.md index 9f654009..d58e1369 100644 --- a/sdks/marketingsolutions_preview/docs/Product.md +++ b/sdks/marketingsolutions_preview/docs/Product.md @@ -86,6 +86,7 @@ Name | Type | Description | Notes **external_seller_name** | **str, none_type** | The external name of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads. | [optional] **number_of_reviews** | **int, none_type** | The number of customer reviews for the product | [optional] **product_rating** | **str, none_type** | The product rating for the product | [optional] +**badge** | **str, none_type** | URL of a badge image to display on the product. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/ReadAdSetBidding.md b/sdks/marketingsolutions_preview/docs/ReadAdSetBiddingV24Q3.md similarity index 65% rename from sdks/marketingsolutions_2023-07/docs/ReadAdSetBidding.md rename to sdks/marketingsolutions_preview/docs/ReadAdSetBiddingV24Q3.md index 2e916176..0d48c54e 100644 --- a/sdks/marketingsolutions_2023-07/docs/ReadAdSetBidding.md +++ b/sdks/marketingsolutions_preview/docs/ReadAdSetBiddingV24Q3.md @@ -1,12 +1,11 @@ -# ReadAdSetBidding +# ReadAdSetBiddingV24Q3 ad set bidding read model ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**bid_amount** | [**NillableDecimal**](NillableDecimal.md) | | [optional] -**bid_strategy** | **str, none_type** | The intended optimization for the Ad Set | [optional] +**bid_amount** | **float, none_type** | Decimal value target relating to the `adSetObjective` specified. May be `null` for objectives that do not require a target value. At most 4 decimals are supported. Additional decimals are rounded. | [optional] **cost_controller** | **str, none_type** | How spend is controlled | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2023-07/docs/ReadAdSetBudget.md b/sdks/marketingsolutions_preview/docs/ReadAdSetBudgetV24Q3.md similarity index 88% rename from sdks/marketingsolutions_2023-07/docs/ReadAdSetBudget.md rename to sdks/marketingsolutions_preview/docs/ReadAdSetBudgetV24Q3.md index 8ead18f0..060f19f1 100644 --- a/sdks/marketingsolutions_2023-07/docs/ReadAdSetBudget.md +++ b/sdks/marketingsolutions_preview/docs/ReadAdSetBudgetV24Q3.md @@ -1,4 +1,4 @@ -# ReadAdSetBudget +# ReadAdSetBudgetV24Q3 ad set budget read model @@ -9,7 +9,7 @@ Name | Type | Description | Notes **budget_renewal** | **str, none_type** | | [optional] **budget_delivery_smoothing** | **str, none_type** | | [optional] **budget_delivery_week** | **str, none_type** | | [optional] -**budget_amount** | [**NillableDecimal**](NillableDecimal.md) | | [optional] +**budget_amount** | **float, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/ReadAdSetSchedule.md b/sdks/marketingsolutions_preview/docs/ReadAdSetScheduleV24Q3.md similarity index 96% rename from sdks/marketingsolutions_2023-07/docs/ReadAdSetSchedule.md rename to sdks/marketingsolutions_preview/docs/ReadAdSetScheduleV24Q3.md index f53cd239..3df36953 100644 --- a/sdks/marketingsolutions_2023-07/docs/ReadAdSetSchedule.md +++ b/sdks/marketingsolutions_preview/docs/ReadAdSetScheduleV24Q3.md @@ -1,4 +1,4 @@ -# ReadAdSetSchedule +# ReadAdSetScheduleV24Q3 ad set schedule read model diff --git a/sdks/marketingsolutions_2023-07/docs/ReadAdSet.md b/sdks/marketingsolutions_preview/docs/ReadAdSetV24Q3.md similarity index 63% rename from sdks/marketingsolutions_2023-07/docs/ReadAdSet.md rename to sdks/marketingsolutions_preview/docs/ReadAdSetV24Q3.md index eb35ab9d..031fa6a1 100644 --- a/sdks/marketingsolutions_2023-07/docs/ReadAdSet.md +++ b/sdks/marketingsolutions_preview/docs/ReadAdSetV24Q3.md @@ -1,4 +1,4 @@ -# ReadAdSet +# ReadAdSetV24Q3 ad set read model @@ -10,11 +10,13 @@ Name | Type | Description | Notes **dataset_id** | **str, none_type** | | [optional] **campaign_id** | **str, none_type** | | [optional] **destination_environment** | **str, none_type** | | [optional] -**schedule** | [**ReadAdSetSchedule**](ReadAdSetSchedule.md) | | [optional] -**bidding** | [**ReadAdSetBidding**](ReadAdSetBidding.md) | | [optional] -**targeting** | [**AdSetTargeting**](AdSetTargeting.md) | | [optional] -**budget** | [**ReadAdSetBudget**](ReadAdSetBudget.md) | | [optional] +**objective** | **str, none_type** | | [optional] +**schedule** | [**ReadAdSetScheduleV24Q3**](ReadAdSetScheduleV24Q3.md) | | [optional] +**bidding** | [**ReadAdSetBiddingV24Q3**](ReadAdSetBiddingV24Q3.md) | | [optional] +**targeting** | [**AdSetTargetingV24Q3**](AdSetTargetingV24Q3.md) | | [optional] +**budget** | [**ReadAdSetBudgetV24Q3**](ReadAdSetBudgetV24Q3.md) | | [optional] **media_type** | **str, none_type** | | [optional] +**video_channel** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/ReadModelReadAdSet.md b/sdks/marketingsolutions_preview/docs/ReadModelAdSetIdV24Q3.md similarity index 80% rename from sdks/marketingsolutions_2023-07/docs/ReadModelReadAdSet.md rename to sdks/marketingsolutions_preview/docs/ReadModelAdSetIdV24Q3.md index ea7e4385..18540080 100644 --- a/sdks/marketingsolutions_2023-07/docs/ReadModelReadAdSet.md +++ b/sdks/marketingsolutions_preview/docs/ReadModelAdSetIdV24Q3.md @@ -1,4 +1,4 @@ -# ReadModelReadAdSet +# ReadModelAdSetIdV24Q3 read model data for resources @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str, none_type** | Id of the entity | [optional] [readonly] **type** | **str, none_type** | | [optional] [readonly] -**attributes** | [**ReadAdSet**](ReadAdSet.md) | | [optional] +**attributes** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | ad set id model | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignReadResource.md b/sdks/marketingsolutions_preview/docs/ReadModelReadAdSetV24Q3.md similarity index 85% rename from sdks/marketingsolutions_2023-07/docs/CampaignReadResource.md rename to sdks/marketingsolutions_preview/docs/ReadModelReadAdSetV24Q3.md index 23e03d72..69af494d 100644 --- a/sdks/marketingsolutions_2023-07/docs/CampaignReadResource.md +++ b/sdks/marketingsolutions_preview/docs/ReadModelReadAdSetV24Q3.md @@ -1,4 +1,4 @@ -# CampaignReadResource +# ReadModelReadAdSetV24Q3 read model data for resources @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str, none_type** | Id of the entity | [optional] [readonly] **type** | **str, none_type** | | [optional] [readonly] -**attributes** | [**Campaign**](Campaign.md) | | [optional] +**attributes** | [**ReadAdSetV24Q3**](ReadAdSetV24Q3.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/ExternalLineItemCapping202110.md b/sdks/marketingsolutions_preview/docs/ReportDetailWarning.md similarity index 79% rename from sdks/retailmedia_2023-07/docs/ExternalLineItemCapping202110.md rename to sdks/marketingsolutions_preview/docs/ReportDetailWarning.md index 4ecb8f17..bcb6a4b8 100644 --- a/sdks/retailmedia_2023-07/docs/ExternalLineItemCapping202110.md +++ b/sdks/marketingsolutions_preview/docs/ReportDetailWarning.md @@ -1,12 +1,13 @@ -# ExternalLineItemCapping202110 +# ReportDetailWarning -Frequency capping for a preferred line item +A warning on a batch operation. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str** | | -**count** | **int** | | +**message** | **str** | | +**is_server_related** | **bool** | | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_preview/docs/ReportDetailWarnings.md b/sdks/marketingsolutions_preview/docs/ReportDetailWarnings.md new file mode 100644 index 00000000..b6e87448 --- /dev/null +++ b/sdks/marketingsolutions_preview/docs/ReportDetailWarnings.md @@ -0,0 +1,14 @@ +# ReportDetailWarnings + +A list of warnings on a batch operation. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**product_id** | **str** | | +**warnings** | [**[ReportDetailWarning]**](ReportDetailWarning.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_preview/docs/ReportOkResponse.md b/sdks/marketingsolutions_preview/docs/ReportOkResponse.md index bfb3c05e..fff2cfce 100644 --- a/sdks/marketingsolutions_preview/docs/ReportOkResponse.md +++ b/sdks/marketingsolutions_preview/docs/ReportOkResponse.md @@ -12,6 +12,8 @@ Name | Type | Description | Notes **number_of_products_deleted** | **int** | The number of products deleted. | **number_of_products_with_errors** | **int** | The number of products with errors. | **error_details** | [**[ReportDetailErrors]**](ReportDetailErrors.md) | The list of errors with details. | +**number_of_products_with_warnings** | **int** | The number of products with Warnings. | +**warning_details** | [**[ReportDetailWarnings]**](ReportDetailWarnings.md) | The list of Warnings with details. | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/RequestsPatchAdSet.md b/sdks/marketingsolutions_preview/docs/RequestsPatchAdSetV24Q3.md similarity index 78% rename from sdks/marketingsolutions_2023-07/docs/RequestsPatchAdSet.md rename to sdks/marketingsolutions_preview/docs/RequestsPatchAdSetV24Q3.md index 829a789a..97ccfeee 100644 --- a/sdks/marketingsolutions_2023-07/docs/RequestsPatchAdSet.md +++ b/sdks/marketingsolutions_preview/docs/RequestsPatchAdSetV24Q3.md @@ -1,11 +1,11 @@ -# RequestsPatchAdSet +# RequestsPatchAdSetV24Q3 List of input resources ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[WriteModelPatchAdSet], none_type**](WriteModelPatchAdSet.md) | | [optional] +**data** | [**[WriteModelPatchAdSetV24Q3], none_type**](WriteModelPatchAdSetV24Q3.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignResponse.md b/sdks/marketingsolutions_preview/docs/ResponseReadAdSetV24Q3.md similarity index 85% rename from sdks/marketingsolutions_2023-07/docs/CampaignResponse.md rename to sdks/marketingsolutions_preview/docs/ResponseReadAdSetV24Q3.md index 4577f8f2..36f10d1f 100644 --- a/sdks/marketingsolutions_2023-07/docs/CampaignResponse.md +++ b/sdks/marketingsolutions_preview/docs/ResponseReadAdSetV24Q3.md @@ -1,11 +1,11 @@ -# CampaignResponse +# ResponseReadAdSetV24Q3 output resource ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**CampaignReadResource**](CampaignReadResource.md) | | [optional] +**data** | [**ReadModelReadAdSetV24Q3**](ReadModelReadAdSetV24Q3.md) | | [optional] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2023-07/docs/CampaignListResponse.md b/sdks/marketingsolutions_preview/docs/ResponsesAdSetIdV24Q3.md similarity index 83% rename from sdks/marketingsolutions_2023-07/docs/CampaignListResponse.md rename to sdks/marketingsolutions_preview/docs/ResponsesAdSetIdV24Q3.md index 6f271b6b..332720fe 100644 --- a/sdks/marketingsolutions_2023-07/docs/CampaignListResponse.md +++ b/sdks/marketingsolutions_preview/docs/ResponsesAdSetIdV24Q3.md @@ -1,11 +1,11 @@ -# CampaignListResponse +# ResponsesAdSetIdV24Q3 List of output resources ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[CampaignReadResource], none_type**](CampaignReadResource.md) | | [optional] [readonly] +**data** | [**[ReadModelAdSetIdV24Q3], none_type**](ReadModelAdSetIdV24Q3.md) | | [optional] [readonly] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2023-07/docs/ResponsesReadAdSet.md b/sdks/marketingsolutions_preview/docs/ResponsesReadAdSetV24Q3.md similarity index 82% rename from sdks/marketingsolutions_2023-07/docs/ResponsesReadAdSet.md rename to sdks/marketingsolutions_preview/docs/ResponsesReadAdSetV24Q3.md index 9d8943c9..61d3eb5f 100644 --- a/sdks/marketingsolutions_2023-07/docs/ResponsesReadAdSet.md +++ b/sdks/marketingsolutions_preview/docs/ResponsesReadAdSetV24Q3.md @@ -1,11 +1,11 @@ -# ResponsesReadAdSet +# ResponsesReadAdSetV24Q3 List of output resources ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[ReadModelReadAdSet], none_type**](ReadModelReadAdSet.md) | | [optional] [readonly] +**data** | [**[ReadModelReadAdSetV24Q3], none_type**](ReadModelReadAdSetV24Q3.md) | | [optional] [readonly] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_preview/docs/SetAdSetTargetingVideoPositioning.md b/sdks/marketingsolutions_preview/docs/SetAdSetTargetingVideoPositioning.md index 2484e009..dcfc5e8f 100644 --- a/sdks/marketingsolutions_preview/docs/SetAdSetTargetingVideoPositioning.md +++ b/sdks/marketingsolutions_preview/docs/SetAdSetTargetingVideoPositioning.md @@ -6,6 +6,7 @@ Video positioning targeting writing model Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **video_placement** | **[str], none_type** | | [optional] +**video_plcmt** | **[str], none_type** | | [optional] **playback_method** | **[str], none_type** | | [optional] **skippable** | **str, none_type** | | [optional] **video_in_stream_position** | **[str], none_type** | | [optional] diff --git a/sdks/marketingsolutions_preview/docs/SetUserProfileModel.md b/sdks/marketingsolutions_preview/docs/SetUserProfileModel.md deleted file mode 100644 index 52c93c78..00000000 --- a/sdks/marketingsolutions_preview/docs/SetUserProfileModel.md +++ /dev/null @@ -1,16 +0,0 @@ -# SetUserProfileModel - -Used for the /user-profiles/set endpoint. Contains information about the user profile that we add or update - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_profile_id** | **str** | | -**user_profile_list_id** | **str, none_type** | | [optional] -**user_profile_identifiers** | [**[UserProfileIdentifierModel], none_type**](UserProfileIdentifierModel.md) | | [optional] -**user_profile_attributes** | [**[UserProfileAttributeModel], none_type**](UserProfileAttributeModel.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/marketingsolutions_2023-07/docs/WriteModelPatchAdSet.md b/sdks/marketingsolutions_preview/docs/WriteModelPatchAdSetV24Q3.md similarity index 85% rename from sdks/marketingsolutions_2023-07/docs/WriteModelPatchAdSet.md rename to sdks/marketingsolutions_preview/docs/WriteModelPatchAdSetV24Q3.md index d42e121e..5ff6427b 100644 --- a/sdks/marketingsolutions_2023-07/docs/WriteModelPatchAdSet.md +++ b/sdks/marketingsolutions_preview/docs/WriteModelPatchAdSetV24Q3.md @@ -1,4 +1,4 @@ -# WriteModelPatchAdSet +# WriteModelPatchAdSetV24Q3 write model data for resources @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str, none_type** | Id of the entity | [optional] **type** | **str, none_type** | Canonical type name of the entity | [optional] -**attributes** | [**PatchAdSet**](PatchAdSet.md) | | [optional] +**attributes** | [**PatchAdSetV24Q3**](PatchAdSetV24Q3.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_preview/setup.py b/sdks/marketingsolutions_preview/setup.py index 327e0a04..a49eac65 100644 --- a/sdks/marketingsolutions_preview/setup.py +++ b/sdks/marketingsolutions_preview/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-marketingsolutions-sdk" -VERSION = "0.0.240808" +VERSION = "0.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-marketingsolutions-sdk==0.0.240808 +pip install criteo-api-marketingsolutions-sdk==0.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.241029`) Then import the package: ```python diff --git a/sdks/retailmedia_2023-07/.openapi-generator/FILES b/sdks/retailmedia_2023-07/.openapi-generator/FILES deleted file mode 100644 index a15e18dc..00000000 --- a/sdks/retailmedia_2023-07/.openapi-generator/FILES +++ /dev/null @@ -1,414 +0,0 @@ -.gitignore -.gitlab-ci.yml -.openapi-generator-ignore -.travis.yml -README.md -criteo_api_retailmedia_v2023_07/__init__.py -criteo_api_retailmedia_v2023_07/api/__init__.py -criteo_api_retailmedia_v2023_07/api/accounts_api.py -criteo_api_retailmedia_v2023_07/api/analytics_api.py -criteo_api_retailmedia_v2023_07/api/audience_api.py -criteo_api_retailmedia_v2023_07/api/balance_api.py -criteo_api_retailmedia_v2023_07/api/campaign_api.py -criteo_api_retailmedia_v2023_07/api/gateway_api.py -criteo_api_retailmedia_v2023_07/api_client.py -criteo_api_retailmedia_v2023_07/api_client_builder.py -criteo_api_retailmedia_v2023_07/apis/__init__.py -criteo_api_retailmedia_v2023_07/configuration.py -criteo_api_retailmedia_v2023_07/criteo_api_client.py -criteo_api_retailmedia_v2023_07/criteo_auth.py -criteo_api_retailmedia_v2023_07/criteo_rest.py -criteo_api_retailmedia_v2023_07/exceptions.py -criteo_api_retailmedia_v2023_07/flow_constants.py -criteo_api_retailmedia_v2023_07/model/__init__.py -criteo_api_retailmedia_v2023_07/model/add_remove_keyword_model.py -criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model.py -criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model_request.py -criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model_resource.py -criteo_api_retailmedia_v2023_07/model/add_to_basket_ids_update_model202110_request.py -criteo_api_retailmedia_v2023_07/model/add_to_basket_target202110_request.py -criteo_api_retailmedia_v2023_07/model/add_to_basket_target202110_response.py -criteo_api_retailmedia_v2023_07/model/application_summary_model.py -criteo_api_retailmedia_v2023_07/model/application_summary_model_resource.py -criteo_api_retailmedia_v2023_07/model/application_summary_model_response.py -criteo_api_retailmedia_v2023_07/model/approval_status_model.py -criteo_api_retailmedia_v2023_07/model/asset.py -criteo_api_retailmedia_v2023_07/model/asset_resource.py -criteo_api_retailmedia_v2023_07/model/asset_response.py -criteo_api_retailmedia_v2023_07/model/async_campaigns_report.py -criteo_api_retailmedia_v2023_07/model/async_campaigns_report_request.py -criteo_api_retailmedia_v2023_07/model/async_campaigns_report_resource.py -criteo_api_retailmedia_v2023_07/model/async_line_items_report.py -criteo_api_retailmedia_v2023_07/model/async_line_items_report_request.py -criteo_api_retailmedia_v2023_07/model/async_line_items_report_resource.py -criteo_api_retailmedia_v2023_07/model/async_report_response.py -criteo_api_retailmedia_v2023_07/model/auction_line_item_create_model_request.py -criteo_api_retailmedia_v2023_07/model/auction_line_item_paged_list_response.py -criteo_api_retailmedia_v2023_07/model/auction_line_item_response.py -criteo_api_retailmedia_v2023_07/model/auction_line_item_update_model_request.py -criteo_api_retailmedia_v2023_07/model/audience_ids_update_model202110_request.py -criteo_api_retailmedia_v2023_07/model/audience_target202110_request.py -criteo_api_retailmedia_v2023_07/model/audience_target202110_response.py -criteo_api_retailmedia_v2023_07/model/balance202110_paged_list_response.py -criteo_api_retailmedia_v2023_07/model/balance_campaign202110_list_request.py -criteo_api_retailmedia_v2023_07/model/balance_campaign202110_paged_list_response.py -criteo_api_retailmedia_v2023_07/model/campaign_attributes_v202301.py -criteo_api_retailmedia_v2023_07/model/campaign_v202301.py -criteo_api_retailmedia_v2023_07/model/category202204.py -criteo_api_retailmedia_v2023_07/model/category202204_list_response.py -criteo_api_retailmedia_v2023_07/model/choice_option.py -criteo_api_retailmedia_v2023_07/model/choice_variable_specification.py -criteo_api_retailmedia_v2023_07/model/choice_variable_value.py -criteo_api_retailmedia_v2023_07/model/color_variable_value.py -criteo_api_retailmedia_v2023_07/model/common_error.py -criteo_api_retailmedia_v2023_07/model/common_line_item_paged_list_response.py -criteo_api_retailmedia_v2023_07/model/common_line_item_response.py -criteo_api_retailmedia_v2023_07/model/common_problem.py -criteo_api_retailmedia_v2023_07/model/common_warning.py -criteo_api_retailmedia_v2023_07/model/creative202110.py -criteo_api_retailmedia_v2023_07/model/creative202110_list_response.py -criteo_api_retailmedia_v2023_07/model/creative202210.py -criteo_api_retailmedia_v2023_07/model/creative202210_list_response.py -criteo_api_retailmedia_v2023_07/model/creative202210_response.py -criteo_api_retailmedia_v2023_07/model/creative_create_model202207.py -criteo_api_retailmedia_v2023_07/model/creative_update_model202207.py -criteo_api_retailmedia_v2023_07/model/editable_campaign_attributes_v202301.py -criteo_api_retailmedia_v2023_07/model/external_account.py -criteo_api_retailmedia_v2023_07/model/external_add_to_basket_ids_update_model202110.py -criteo_api_retailmedia_v2023_07/model/external_add_to_basket_target202110.py -criteo_api_retailmedia_v2023_07/model/external_auction_line_item.py -criteo_api_retailmedia_v2023_07/model/external_auction_line_item_create_model.py -criteo_api_retailmedia_v2023_07/model/external_auction_line_item_update_model.py -criteo_api_retailmedia_v2023_07/model/external_audience_ids_update_model202110.py -criteo_api_retailmedia_v2023_07/model/external_audience_target202110.py -criteo_api_retailmedia_v2023_07/model/external_balance202110.py -criteo_api_retailmedia_v2023_07/model/external_brand.py -criteo_api_retailmedia_v2023_07/model/external_catalog_request.py -criteo_api_retailmedia_v2023_07/model/external_catalog_status.py -criteo_api_retailmedia_v2023_07/model/external_common_line_item.py -criteo_api_retailmedia_v2023_07/model/external_keyword_target202110.py -criteo_api_retailmedia_v2023_07/model/external_line_item_capping202110.py -criteo_api_retailmedia_v2023_07/model/external_line_item_page202110.py -criteo_api_retailmedia_v2023_07/model/external_line_item_page_category202110.py -criteo_api_retailmedia_v2023_07/model/external_preferred_line_item202110.py -criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_create_model202110.py -criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_update_model202110.py -criteo_api_retailmedia_v2023_07/model/external_promoted_product202110.py -criteo_api_retailmedia_v2023_07/model/external_retailer.py -criteo_api_retailmedia_v2023_07/model/external_retailer_pages202110.py -criteo_api_retailmedia_v2023_07/model/external_store_ids_update_model202110.py -criteo_api_retailmedia_v2023_07/model/external_store_target202110.py -criteo_api_retailmedia_v2023_07/model/files_variable_value.py -criteo_api_retailmedia_v2023_07/model/files_variables_specification.py -criteo_api_retailmedia_v2023_07/model/hyperlink_variable_value.py -criteo_api_retailmedia_v2023_07/model/input_keywords_model.py -criteo_api_retailmedia_v2023_07/model/input_resource_of_auction_line_item_create_model.py -criteo_api_retailmedia_v2023_07/model/input_resource_of_preferred_line_item_create_model202110.py -criteo_api_retailmedia_v2023_07/model/json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301.py -criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_account_and_account.py -criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_brand_and_brand.py -criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301.py -criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py -criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py -criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py -criteo_api_retailmedia_v2023_07/model/json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301.py -criteo_api_retailmedia_v2023_07/model/json_api_body_without_id_of_catalog_request_and_catalog_request.py -criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_account.py -criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_brand.py -criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_campaign_v202301.py -criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_retailer.py -criteo_api_retailmedia_v2023_07/model/json_api_request_of_catalog_request.py -criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_campaign_v202301.py -criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_catalog_status.py -criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_line_item_bid_multipliers.py -criteo_api_retailmedia_v2023_07/model/keyword_data_model.py -criteo_api_retailmedia_v2023_07/model/keyword_target202110_request.py -criteo_api_retailmedia_v2023_07/model/keyword_target202110_response.py -criteo_api_retailmedia_v2023_07/model/keywords_model.py -criteo_api_retailmedia_v2023_07/model/keywords_model_resource.py -criteo_api_retailmedia_v2023_07/model/keywords_model_response.py -criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers.py -criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_request.py -criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_response.py -criteo_api_retailmedia_v2023_07/model/match_type_model.py -criteo_api_retailmedia_v2023_07/model/negotiation_state_model.py -criteo_api_retailmedia_v2023_07/model/page_metadata.py -criteo_api_retailmedia_v2023_07/model/page_type_environment.py -criteo_api_retailmedia_v2023_07/model/post_campaign_v202301.py -criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_paged_list_response.py -criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_response.py -criteo_api_retailmedia_v2023_07/model/preferred_line_item_create_model202110_request.py -criteo_api_retailmedia_v2023_07/model/preferred_line_item_update_model202110_request.py -criteo_api_retailmedia_v2023_07/model/problem_details.py -criteo_api_retailmedia_v2023_07/model/promoted_product202110_list_request.py -criteo_api_retailmedia_v2023_07/model/promoted_product202110_paged_list_response.py -criteo_api_retailmedia_v2023_07/model/proposal_status_model.py -criteo_api_retailmedia_v2023_07/model/proposal_status_model_resource.py -criteo_api_retailmedia_v2023_07/model/proposal_status_model_response.py -criteo_api_retailmedia_v2023_07/model/put_campaign_v202301.py -criteo_api_retailmedia_v2023_07/model/report_outcome.py -criteo_api_retailmedia_v2023_07/model/resource_of_auction_line_item.py -criteo_api_retailmedia_v2023_07/model/resource_of_auction_line_item_update_model.py -criteo_api_retailmedia_v2023_07/model/resource_of_balance202110.py -criteo_api_retailmedia_v2023_07/model/resource_of_balance_campaign202110.py -criteo_api_retailmedia_v2023_07/model/resource_of_category202204.py -criteo_api_retailmedia_v2023_07/model/resource_of_common_line_item.py -criteo_api_retailmedia_v2023_07/model/resource_of_creative202110.py -criteo_api_retailmedia_v2023_07/model/resource_of_creative202210.py -criteo_api_retailmedia_v2023_07/model/resource_of_line_item_bid_multipliers.py -criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item202110.py -criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item_update_model202110.py -criteo_api_retailmedia_v2023_07/model/resource_of_promoted_product202110.py -criteo_api_retailmedia_v2023_07/model/resource_of_template.py -criteo_api_retailmedia_v2023_07/model/resource_outcome.py -criteo_api_retailmedia_v2023_07/model/review_state_model.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_resource.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_response.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_resource.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_response.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v1.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v2.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_list_response.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_resource.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_list_response.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_resource.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_create_v2.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_details_v2.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_customer_list.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_create_v2.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v1.py -criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v2.py -criteo_api_retailmedia_v2023_07/model/rmca_common_problem.py -criteo_api_retailmedia_v2023_07/model/section.py -criteo_api_retailmedia_v2023_07/model/set_bid_model.py -criteo_api_retailmedia_v2023_07/model/set_bids_model.py -criteo_api_retailmedia_v2023_07/model/set_bids_model_request.py -criteo_api_retailmedia_v2023_07/model/set_bids_model_resource.py -criteo_api_retailmedia_v2023_07/model/status_response.py -criteo_api_retailmedia_v2023_07/model/status_response_resource.py -criteo_api_retailmedia_v2023_07/model/store_ids_update_model202110_request.py -criteo_api_retailmedia_v2023_07/model/store_target202110_request.py -criteo_api_retailmedia_v2023_07/model/store_target202110_response.py -criteo_api_retailmedia_v2023_07/model/template.py -criteo_api_retailmedia_v2023_07/model/template_list_response.py -criteo_api_retailmedia_v2023_07/model/template_response.py -criteo_api_retailmedia_v2023_07/model/template_variable.py -criteo_api_retailmedia_v2023_07/model/template_variable_value.py -criteo_api_retailmedia_v2023_07/model/text_variable_specification.py -criteo_api_retailmedia_v2023_07/model/text_variable_value.py -criteo_api_retailmedia_v2023_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py -criteo_api_retailmedia_v2023_07/model/value_type_resource_of_add_to_basket_target202110.py -criteo_api_retailmedia_v2023_07/model/value_type_resource_of_audience_ids_update_model202110.py -criteo_api_retailmedia_v2023_07/model/value_type_resource_of_audience_target202110.py -criteo_api_retailmedia_v2023_07/model/value_type_resource_of_keyword_target202110.py -criteo_api_retailmedia_v2023_07/model/value_type_resource_of_store_ids_update_model202110.py -criteo_api_retailmedia_v2023_07/model/value_type_resource_of_store_target202110.py -criteo_api_retailmedia_v2023_07/model_utils.py -criteo_api_retailmedia_v2023_07/models/__init__.py -criteo_api_retailmedia_v2023_07/rest.py -docs/AccountsApi.md -docs/AddRemoveKeywordModel.md -docs/AddRemoveKeywordsModel.md -docs/AddRemoveKeywordsModelRequest.md -docs/AddRemoveKeywordsModelResource.md -docs/AddToBasketIdsUpdateModel202110Request.md -docs/AddToBasketTarget202110Request.md -docs/AddToBasketTarget202110Response.md -docs/AnalyticsApi.md -docs/ApplicationSummaryModel.md -docs/ApplicationSummaryModelResource.md -docs/ApplicationSummaryModelResponse.md -docs/ApprovalStatusModel.md -docs/Asset.md -docs/AssetResource.md -docs/AssetResponse.md -docs/AsyncCampaignsReport.md -docs/AsyncCampaignsReportRequest.md -docs/AsyncCampaignsReportResource.md -docs/AsyncLineItemsReport.md -docs/AsyncLineItemsReportRequest.md -docs/AsyncLineItemsReportResource.md -docs/AsyncReportResponse.md -docs/AuctionLineItemCreateModelRequest.md -docs/AuctionLineItemPagedListResponse.md -docs/AuctionLineItemResponse.md -docs/AuctionLineItemUpdateModelRequest.md -docs/AudienceApi.md -docs/AudienceIdsUpdateModel202110Request.md -docs/AudienceTarget202110Request.md -docs/AudienceTarget202110Response.md -docs/Balance202110PagedListResponse.md -docs/BalanceApi.md -docs/BalanceCampaign202110ListRequest.md -docs/BalanceCampaign202110PagedListResponse.md -docs/CampaignApi.md -docs/CampaignAttributesV202301.md -docs/CampaignV202301.md -docs/Category202204.md -docs/Category202204ListResponse.md -docs/ChoiceOption.md -docs/ChoiceVariableSpecification.md -docs/ChoiceVariableValue.md -docs/ColorVariableValue.md -docs/CommonError.md -docs/CommonLineItemPagedListResponse.md -docs/CommonLineItemResponse.md -docs/CommonProblem.md -docs/CommonWarning.md -docs/Creative202110.md -docs/Creative202110ListResponse.md -docs/Creative202210.md -docs/Creative202210ListResponse.md -docs/Creative202210Response.md -docs/CreativeCreateModel202207.md -docs/CreativeUpdateModel202207.md -docs/EditableCampaignAttributesV202301.md -docs/ExternalAccount.md -docs/ExternalAddToBasketIdsUpdateModel202110.md -docs/ExternalAddToBasketTarget202110.md -docs/ExternalAuctionLineItem.md -docs/ExternalAuctionLineItemCreateModel.md -docs/ExternalAuctionLineItemUpdateModel.md -docs/ExternalAudienceIdsUpdateModel202110.md -docs/ExternalAudienceTarget202110.md -docs/ExternalBalance202110.md -docs/ExternalBrand.md -docs/ExternalCatalogRequest.md -docs/ExternalCatalogStatus.md -docs/ExternalCommonLineItem.md -docs/ExternalKeywordTarget202110.md -docs/ExternalLineItemCapping202110.md -docs/ExternalLineItemPage202110.md -docs/ExternalLineItemPageCategory202110.md -docs/ExternalPreferredLineItem202110.md -docs/ExternalPreferredLineItemCreateModel202110.md -docs/ExternalPreferredLineItemUpdateModel202110.md -docs/ExternalPromotedProduct202110.md -docs/ExternalRetailer.md -docs/ExternalRetailerPages202110.md -docs/ExternalStoreIdsUpdateModel202110.md -docs/ExternalStoreTarget202110.md -docs/FilesVariableValue.md -docs/FilesVariablesSpecification.md -docs/GatewayApi.md -docs/HyperlinkVariableValue.md -docs/InputKeywordsModel.md -docs/InputResourceOfAuctionLineItemCreateModel.md -docs/InputResourceOfPreferredLineItemCreateModel202110.md -docs/JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301.md -docs/JsonApiBodyWithIdOfInt64AndAccountAndAccount.md -docs/JsonApiBodyWithIdOfInt64AndBrandAndBrand.md -docs/JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301.md -docs/JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus.md -docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers.md -docs/JsonApiBodyWithIdOfInt64AndRetailerAndRetailer.md -docs/JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301.md -docs/JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest.md -docs/JsonApiPageResponseOfAccount.md -docs/JsonApiPageResponseOfBrand.md -docs/JsonApiPageResponseOfCampaignV202301.md -docs/JsonApiPageResponseOfRetailer.md -docs/JsonApiRequestOfCatalogRequest.md -docs/JsonApiSingleResponseOfCampaignV202301.md -docs/JsonApiSingleResponseOfCatalogStatus.md -docs/JsonApiSingleResponseOfLineItemBidMultipliers.md -docs/KeywordDataModel.md -docs/KeywordTarget202110Request.md -docs/KeywordTarget202110Response.md -docs/KeywordsModel.md -docs/KeywordsModelResource.md -docs/KeywordsModelResponse.md -docs/LineItemBidMultipliers.md -docs/LineItemBidMultipliersRequest.md -docs/LineItemBidMultipliersResponse.md -docs/MatchTypeModel.md -docs/NegotiationStateModel.md -docs/PageMetadata.md -docs/PageTypeEnvironment.md -docs/PostCampaignV202301.md -docs/PreferredLineItem202110PagedListResponse.md -docs/PreferredLineItem202110Response.md -docs/PreferredLineItemCreateModel202110Request.md -docs/PreferredLineItemUpdateModel202110Request.md -docs/ProblemDetails.md -docs/PromotedProduct202110ListRequest.md -docs/PromotedProduct202110PagedListResponse.md -docs/ProposalStatusModel.md -docs/ProposalStatusModelResource.md -docs/ProposalStatusModelResponse.md -docs/PutCampaignV202301.md -docs/ReportOutcome.md -docs/ResourceOfAuctionLineItem.md -docs/ResourceOfAuctionLineItemUpdateModel.md -docs/ResourceOfBalance202110.md -docs/ResourceOfBalanceCampaign202110.md -docs/ResourceOfCategory202204.md -docs/ResourceOfCommonLineItem.md -docs/ResourceOfCreative202110.md -docs/ResourceOfCreative202210.md -docs/ResourceOfLineItemBidMultipliers.md -docs/ResourceOfPreferredLineItem202110.md -docs/ResourceOfPreferredLineItemUpdateModel202110.md -docs/ResourceOfPromotedProduct202110.md -docs/ResourceOfTemplate.md -docs/ResourceOutcome.md -docs/ReviewStateModel.md -docs/RmLegacyAudienceCreateEntityV1.md -docs/RmLegacyAudienceCreateEntityV1Resource.md -docs/RmLegacyAudienceCreateEntityV1Response.md -docs/RmLegacyAudienceCreateEntityV2.md -docs/RmLegacyAudienceCreateEntityV2Resource.md -docs/RmLegacyAudienceCreateEntityV2Response.md -docs/RmLegacyAudienceCreateInputEntityV1.md -docs/RmLegacyAudienceCreateInputEntityV2.md -docs/RmLegacyAudienceGetEntityV1.md -docs/RmLegacyAudienceGetEntityV1ListResponse.md -docs/RmLegacyAudienceGetEntityV1Resource.md -docs/RmLegacyAudienceGetEntityV2.md -docs/RmLegacyAudienceGetEntityV2ListResponse.md -docs/RmLegacyAudienceGetEntityV2Resource.md -docs/RmLegacyAudienceUserBehaviorCreateV2.md -docs/RmLegacyAudienceUserBehaviorDetailsV2.md -docs/RmLegacySegmentCustomerList.md -docs/RmLegacySegmentUserBehaviorCreateV2.md -docs/RmLegacySegmentUserBehaviorV1.md -docs/RmLegacySegmentUserBehaviorV2.md -docs/RmcaCommonProblem.md -docs/Section.md -docs/SetBidModel.md -docs/SetBidsModel.md -docs/SetBidsModelRequest.md -docs/SetBidsModelResource.md -docs/StatusResponse.md -docs/StatusResponseResource.md -docs/StoreIdsUpdateModel202110Request.md -docs/StoreTarget202110Request.md -docs/StoreTarget202110Response.md -docs/Template.md -docs/TemplateListResponse.md -docs/TemplateResponse.md -docs/TemplateVariable.md -docs/TemplateVariableValue.md -docs/TextVariableSpecification.md -docs/TextVariableValue.md -docs/ValueTypeResourceOfAddToBasketIdsUpdateModel202110.md -docs/ValueTypeResourceOfAddToBasketTarget202110.md -docs/ValueTypeResourceOfAudienceIdsUpdateModel202110.md -docs/ValueTypeResourceOfAudienceTarget202110.md -docs/ValueTypeResourceOfKeywordTarget202110.md -docs/ValueTypeResourceOfStoreIdsUpdateModel202110.md -docs/ValueTypeResourceOfStoreTarget202110.md -git_push.sh -requirements.txt -setup.cfg -setup.py -test-requirements.txt -test/example_application_with_auth_code.py -test/example_application_with_client_credentials.py -test/example_application_with_refresh_token.py -test/test_gateway_api.py -tox.ini diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/__init__.py b/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/__init__.py deleted file mode 100644 index 958b171c..00000000 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/__init__.py +++ /dev/null @@ -1,31 +0,0 @@ -""" - Criteo API - - Criteo API - RetailMedia # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -__version__ = "2023.07.0.240808" - -# import ApiClient -from criteo_api_retailmedia_v2023_07.api_client import ApiClient -from criteo_api_retailmedia_v2023_07.criteo_api_client import CriteoApiClient -from criteo_api_retailmedia_v2023_07.api_client_builder import ApiClientBuilder -from criteo_api_retailmedia_v2023_07 import flow_constants - -# import Configuration -from criteo_api_retailmedia_v2023_07.configuration import Configuration - -# import exceptions -from criteo_api_retailmedia_v2023_07.exceptions import OpenApiException -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError -from criteo_api_retailmedia_v2023_07.exceptions import ApiTypeError -from criteo_api_retailmedia_v2023_07.exceptions import ApiValueError -from criteo_api_retailmedia_v2023_07.exceptions import ApiKeyError -from criteo_api_retailmedia_v2023_07.exceptions import ApiException - - - diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/balance_api.py b/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/balance_api.py deleted file mode 100644 index b2d6aa56..00000000 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/balance_api.py +++ /dev/null @@ -1,347 +0,0 @@ -""" - Criteo API - - Criteo API - RetailMedia # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_retailmedia_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from criteo_api_retailmedia_v2023_07.model.balance202110_paged_list_response import Balance202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse - - -class BalanceApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_api202110_external_account_balances_by_account_id_endpoint = _Endpoint( - settings={ - 'response_type': (Balance202110PagedListResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/balances', - 'operation_id': 'get_api202110_external_account_balances_by_account_id', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'account_id', - 'limit_to_id', - 'page_index', - 'page_size', - ], - 'required': [ - 'account_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'account_id': - (str,), - 'limit_to_id': - ([str],), - 'page_index': - (int,), - 'page_size': - (int,), - }, - 'attribute_map': { - 'account_id': 'account-id', - 'limit_to_id': 'limitToId', - 'page_index': 'pageIndex', - 'page_size': 'pageSize', - }, - 'location_map': { - 'account_id': 'path', - 'limit_to_id': 'query', - 'page_index': 'query', - 'page_size': 'query', - }, - 'collection_format_map': { - 'limit_to_id': 'multi', - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_api202110_external_balance_campaigns_by_balance_id_endpoint = _Endpoint( - settings={ - 'response_type': (BalanceCampaign202110PagedListResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/2023-07/retail-media/balances/{balance-id}/campaigns', - 'operation_id': 'get_api202110_external_balance_campaigns_by_balance_id', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'balance_id', - 'limit_to_id', - 'page_index', - 'page_size', - ], - 'required': [ - 'balance_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'balance_id': - (str,), - 'limit_to_id': - ([str],), - 'page_index': - (int,), - 'page_size': - (int,), - }, - 'attribute_map': { - 'balance_id': 'balance-id', - 'limit_to_id': 'limitToId', - 'page_index': 'pageIndex', - 'page_size': 'pageSize', - }, - 'location_map': { - 'balance_id': 'path', - 'limit_to_id': 'query', - 'page_index': 'query', - 'page_size': 'query', - }, - 'collection_format_map': { - 'limit_to_id': 'multi', - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def get_api202110_external_account_balances_by_account_id( - self, - account_id, - **kwargs - ): - """get_api202110_external_account_balances_by_account_id # noqa: E501 - - Gets page of balance objects for the given account id # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_api202110_external_account_balances_by_account_id(account_id, async_req=True) - >>> result = thread.get() - - Args: - account_id (str): The account to get balances for - - Keyword Args: - limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] - page_size (int): The maximum number of items you would like to receive in this request. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Balance202110PagedListResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - return self.get_api202110_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs) - - def get_api202110_external_balance_campaigns_by_balance_id( - self, - balance_id, - **kwargs - ): - """get_api202110_external_balance_campaigns_by_balance_id # noqa: E501 - - Gets page of campaigns for the given balanceId # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_api202110_external_balance_campaigns_by_balance_id(balance_id, async_req=True) - >>> result = thread.get() - - Args: - balance_id (str): The balance to get campaigns from - - Keyword Args: - limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] - page_size (int): The maximum number of items you would like to receive in this request. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - BalanceCampaign202110PagedListResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['balance_id'] = \ - balance_id - return self.get_api202110_external_balance_campaigns_by_balance_id_endpoint.call_with_http_info(**kwargs) - diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/apis/__init__.py b/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/apis/__init__.py deleted file mode 100644 index c99b901a..00000000 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/apis/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ - -# flake8: noqa - -# Import all APIs into this package. -# If you have many APIs here with many many models used in each API this may -# raise a `RecursionError`. -# In order to avoid this, import only the API that you directly need like: -# -# from criteo_api_retailmedia_v2023_07.api.accounts_api import AccountsApi -# -# or import this package, but before doing it, use: -# -# import sys -# sys.setrecursionlimit(n) - -# Import APIs into API package: -from criteo_api_retailmedia_v2023_07.api.accounts_api import AccountsApi -from criteo_api_retailmedia_v2023_07.api.analytics_api import AnalyticsApi -from criteo_api_retailmedia_v2023_07.api.audience_api import AudienceApi -from criteo_api_retailmedia_v2023_07.api.balance_api import BalanceApi -from criteo_api_retailmedia_v2023_07.api.campaign_api import CampaignApi -from criteo_api_retailmedia_v2023_07.api.gateway_api import GatewayApi diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_paged_list_response.py b/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_paged_list_response.py deleted file mode 100644 index e68ba628..00000000 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_paged_list_response.py +++ /dev/null @@ -1,287 +0,0 @@ -""" - Criteo API - - Criteo API - RetailMedia # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_preferred_line_item202110 import ResourceOfPreferredLineItem202110 - globals()['PageMetadata'] = PageMetadata - globals()['ProblemDetails'] = ProblemDetails - globals()['ResourceOfPreferredLineItem202110'] = ResourceOfPreferredLineItem202110 - - -class PreferredLineItem202110PagedListResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'metadata': (PageMetadata,), # noqa: E501 - 'data': ([ResourceOfPreferredLineItem202110],), # noqa: E501 - 'warnings': ([ProblemDetails],), # noqa: E501 - 'errors': ([ProblemDetails],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'metadata': 'metadata', # noqa: E501 - 'data': 'data', # noqa: E501 - 'warnings': 'warnings', # noqa: E501 - 'errors': 'errors', # noqa: E501 - } - - read_only_vars = { - 'warnings', # noqa: E501 - 'errors', # noqa: E501 - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PreferredLineItem202110PagedListResponse - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - metadata (PageMetadata): [optional] # noqa: E501 - data ([ResourceOfPreferredLineItem202110]): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """PreferredLineItem202110PagedListResponse - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - metadata (PageMetadata): [optional] # noqa: E501 - data ([ResourceOfPreferredLineItem202110]): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item_update_model202110.py b/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item_update_model202110.py deleted file mode 100644 index 1590fa8b..00000000 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item_update_model202110.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Criteo API - - Criteo API - RetailMedia # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_preferred_line_item_update_model202110 import ExternalPreferredLineItemUpdateModel202110 - globals()['ExternalPreferredLineItemUpdateModel202110'] = ExternalPreferredLineItemUpdateModel202110 - - -class ResourceOfPreferredLineItemUpdateModel202110(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str, none_type,), # noqa: E501 - 'type': (str, none_type,), # noqa: E501 - 'attributes': (ExternalPreferredLineItemUpdateModel202110,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResourceOfPreferredLineItemUpdateModel202110 - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (str, none_type): Id of the entity. [optional] # noqa: E501 - type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ResourceOfPreferredLineItemUpdateModel202110 - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (str, none_type): Id of the entity. [optional] # noqa: E501 - type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1.py b/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1.py deleted file mode 100644 index ed93cf2a..00000000 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1.py +++ /dev/null @@ -1,315 +0,0 @@ -""" - Criteo API - - Criteo API - RetailMedia # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError - - - -class RmLegacyAudienceCreateEntityV1(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('user_type',): { - 'VIEWER': "viewer", - 'BUYER': "buyer", - 'ADDTOCARTER': "addToCarter", - }, - ('lookback_window',): { - 'P7D': "P7D", - 'P14D': "P14D", - 'P30D': "P30D", - 'P45D': "P45D", - 'P60D': "P60D", - 'P90D': "P90D", - 'P120D': "P120D", - 'P150D': "P150D", - 'P180D': "P180D", - }, - } - - validations = { - ('brand_ids',): { - }, - ('category_ids',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'user_type': (str,), # noqa: E501 - 'lookback_window': (str,), # noqa: E501 - 'retailer_id': (int,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'brand_ids': ([int], none_type,), # noqa: E501 - 'category_ids': ([int], none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'user_type': 'userType', # noqa: E501 - 'lookback_window': 'lookbackWindow', # noqa: E501 - 'retailer_id': 'retailerId', # noqa: E501 - 'name': 'name', # noqa: E501 - 'brand_ids': 'brandIds', # noqa: E501 - 'category_ids': 'categoryIds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, user_type, lookback_window, retailer_id, name, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV1 - a model defined in OpenAPI - - Args: - user_type (str): Type of the user - lookback_window (str): Length of lookback window - retailer_id (int): ID of the retailer associated with this audience - name (str): Name of the audience - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501 - category_ids ([int], none_type): The categories to target. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_type = user_type - self.lookback_window = lookback_window - self.retailer_id = retailer_id - self.name = name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, user_type, lookback_window, retailer_id, name, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV1 - a model defined in OpenAPI - - Args: - user_type (str): Type of the user - lookback_window (str): Length of lookback window - retailer_id (int): ID of the retailer associated with this audience - name (str): Name of the audience - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501 - category_ids ([int], none_type): The categories to target. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_type = user_type - self.lookback_window = lookback_window - self.retailer_id = retailer_id - self.name = name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_create_v2.py b/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_create_v2.py deleted file mode 100644 index a9a49698..00000000 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_create_v2.py +++ /dev/null @@ -1,303 +0,0 @@ -""" - Criteo API - - Criteo API - RetailMedia # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError - - - -class RmLegacySegmentUserBehaviorCreateV2(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('user_action',): { - 'BUY': "buy", - 'VIEW': "view", - 'ADDTOCART': "addToCart", - }, - ('lookback_window',): { - 'P7D': "P7D", - 'P14D': "P14D", - 'P30D': "P30D", - 'P45D': "P45D", - 'P60D': "P60D", - 'P90D': "P90D", - 'P120D': "P120D", - 'P150D': "P150D", - 'P180D': "P180D", - }, - } - - validations = { - ('category_ids',): { - }, - ('brand_ids',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'user_action': (str,), # noqa: E501 - 'lookback_window': (str,), # noqa: E501 - 'category_ids': ([int], none_type,), # noqa: E501 - 'brand_ids': ([int], none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'user_action': 'userAction', # noqa: E501 - 'lookback_window': 'lookbackWindow', # noqa: E501 - 'category_ids': 'categoryIds', # noqa: E501 - 'brand_ids': 'brandIds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, user_action, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorCreateV2 - a model defined in OpenAPI - - Args: - user_action (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - category_ids ([int], none_type): The categories to target. [optional] # noqa: E501 - brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_action = user_action - self.lookback_window = lookback_window - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, user_action, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorCreateV2 - a model defined in OpenAPI - - Args: - user_action (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - category_ids ([int], none_type): The categories to target. [optional] # noqa: E501 - brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_action = user_action - self.lookback_window = lookback_window - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v1.py b/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v1.py deleted file mode 100644 index 76d04624..00000000 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v1.py +++ /dev/null @@ -1,306 +0,0 @@ -""" - Criteo API - - Criteo API - RetailMedia # noqa: E501 - - The version of the OpenAPI document: 2023-07 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError - - - -class RmLegacySegmentUserBehaviorV1(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('user_type',): { - 'VIEWER': "viewer", - 'BUYER': "buyer", - 'ADDTOCARTER': "addToCarter", - }, - ('lookback_window',): { - 'P7D': "P7D", - 'P14D': "P14D", - 'P30D': "P30D", - 'P45D': "P45D", - 'P60D': "P60D", - 'P90D': "P90D", - 'P120D': "P120D", - 'P150D': "P150D", - 'P180D': "P180D", - }, - ('target_type',): { - 'None': None, - 'BRAND': "brand", - 'CATEGORY': "category", - }, - } - - validations = { - ('target_ids',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'user_type': (str,), # noqa: E501 - 'lookback_window': (str,), # noqa: E501 - 'target_type': (str, none_type,), # noqa: E501 - 'target_ids': ([str], none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'user_type': 'userType', # noqa: E501 - 'lookback_window': 'lookbackWindow', # noqa: E501 - 'target_type': 'targetType', # noqa: E501 - 'target_ids': 'targetIds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, user_type, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorV1 - a model defined in OpenAPI - - Args: - user_type (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - target_type (str, none_type): Type of target. [optional] # noqa: E501 - target_ids ([str], none_type): The categories to target. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_type = user_type - self.lookback_window = lookback_window - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, user_type, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorV1 - a model defined in OpenAPI - - Args: - user_type (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - target_type (str, none_type): Type of target. [optional] # noqa: E501 - target_ids ([str], none_type): The categories to target. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_type = user_type - self.lookback_window = lookback_window - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/models/__init__.py b/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/models/__init__.py deleted file mode 100644 index c4f6da16..00000000 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/models/__init__.py +++ /dev/null @@ -1,197 +0,0 @@ -# flake8: noqa - -# import all models into this package -# if you have many models here with many references from one model to another this may -# raise a RecursionError -# to avoid this, import only the models that you directly need like: -# from criteo_api_retailmedia_v2023_07.model.pet import Pet -# or import this package, but before doing it, use: -# import sys -# sys.setrecursionlimit(n) - -from criteo_api_retailmedia_v2023_07.model.add_remove_keyword_model import AddRemoveKeywordModel -from criteo_api_retailmedia_v2023_07.model.add_remove_keywords_model import AddRemoveKeywordsModel -from criteo_api_retailmedia_v2023_07.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest -from criteo_api_retailmedia_v2023_07.model.add_remove_keywords_model_resource import AddRemoveKeywordsModelResource -from criteo_api_retailmedia_v2023_07.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.add_to_basket_target202110_request import AddToBasketTarget202110Request -from criteo_api_retailmedia_v2023_07.model.add_to_basket_target202110_response import AddToBasketTarget202110Response -from criteo_api_retailmedia_v2023_07.model.application_summary_model import ApplicationSummaryModel -from criteo_api_retailmedia_v2023_07.model.application_summary_model_resource import ApplicationSummaryModelResource -from criteo_api_retailmedia_v2023_07.model.application_summary_model_response import ApplicationSummaryModelResponse -from criteo_api_retailmedia_v2023_07.model.approval_status_model import ApprovalStatusModel -from criteo_api_retailmedia_v2023_07.model.asset import Asset -from criteo_api_retailmedia_v2023_07.model.asset_resource import AssetResource -from criteo_api_retailmedia_v2023_07.model.asset_response import AssetResponse -from criteo_api_retailmedia_v2023_07.model.async_campaigns_report import AsyncCampaignsReport -from criteo_api_retailmedia_v2023_07.model.async_campaigns_report_request import AsyncCampaignsReportRequest -from criteo_api_retailmedia_v2023_07.model.async_campaigns_report_resource import AsyncCampaignsReportResource -from criteo_api_retailmedia_v2023_07.model.async_line_items_report import AsyncLineItemsReport -from criteo_api_retailmedia_v2023_07.model.async_line_items_report_request import AsyncLineItemsReportRequest -from criteo_api_retailmedia_v2023_07.model.async_line_items_report_resource import AsyncLineItemsReportResource -from criteo_api_retailmedia_v2023_07.model.async_report_response import AsyncReportResponse -from criteo_api_retailmedia_v2023_07.model.auction_line_item_create_model_request import AuctionLineItemCreateModelRequest -from criteo_api_retailmedia_v2023_07.model.auction_line_item_paged_list_response import AuctionLineItemPagedListResponse -from criteo_api_retailmedia_v2023_07.model.auction_line_item_response import AuctionLineItemResponse -from criteo_api_retailmedia_v2023_07.model.auction_line_item_update_model_request import AuctionLineItemUpdateModelRequest -from criteo_api_retailmedia_v2023_07.model.audience_ids_update_model202110_request import AudienceIdsUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.audience_target202110_request import AudienceTarget202110Request -from criteo_api_retailmedia_v2023_07.model.audience_target202110_response import AudienceTarget202110Response -from criteo_api_retailmedia_v2023_07.model.balance202110_paged_list_response import Balance202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.campaign_attributes_v202301 import CampaignAttributesV202301 -from criteo_api_retailmedia_v2023_07.model.campaign_v202301 import CampaignV202301 -from criteo_api_retailmedia_v2023_07.model.category202204 import Category202204 -from criteo_api_retailmedia_v2023_07.model.category202204_list_response import Category202204ListResponse -from criteo_api_retailmedia_v2023_07.model.choice_option import ChoiceOption -from criteo_api_retailmedia_v2023_07.model.choice_variable_specification import ChoiceVariableSpecification -from criteo_api_retailmedia_v2023_07.model.choice_variable_value import ChoiceVariableValue -from criteo_api_retailmedia_v2023_07.model.color_variable_value import ColorVariableValue -from criteo_api_retailmedia_v2023_07.model.common_error import CommonError -from criteo_api_retailmedia_v2023_07.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse -from criteo_api_retailmedia_v2023_07.model.common_line_item_response import CommonLineItemResponse -from criteo_api_retailmedia_v2023_07.model.common_problem import CommonProblem -from criteo_api_retailmedia_v2023_07.model.common_warning import CommonWarning -from criteo_api_retailmedia_v2023_07.model.creative202110 import Creative202110 -from criteo_api_retailmedia_v2023_07.model.creative202110_list_response import Creative202110ListResponse -from criteo_api_retailmedia_v2023_07.model.creative202210 import Creative202210 -from criteo_api_retailmedia_v2023_07.model.creative202210_list_response import Creative202210ListResponse -from criteo_api_retailmedia_v2023_07.model.creative202210_response import Creative202210Response -from criteo_api_retailmedia_v2023_07.model.creative_create_model202207 import CreativeCreateModel202207 -from criteo_api_retailmedia_v2023_07.model.creative_update_model202207 import CreativeUpdateModel202207 -from criteo_api_retailmedia_v2023_07.model.editable_campaign_attributes_v202301 import EditableCampaignAttributesV202301 -from criteo_api_retailmedia_v2023_07.model.external_account import ExternalAccount -from criteo_api_retailmedia_v2023_07.model.external_add_to_basket_ids_update_model202110 import ExternalAddToBasketIdsUpdateModel202110 -from criteo_api_retailmedia_v2023_07.model.external_add_to_basket_target202110 import ExternalAddToBasketTarget202110 -from criteo_api_retailmedia_v2023_07.model.external_auction_line_item import ExternalAuctionLineItem -from criteo_api_retailmedia_v2023_07.model.external_auction_line_item_create_model import ExternalAuctionLineItemCreateModel -from criteo_api_retailmedia_v2023_07.model.external_auction_line_item_update_model import ExternalAuctionLineItemUpdateModel -from criteo_api_retailmedia_v2023_07.model.external_audience_ids_update_model202110 import ExternalAudienceIdsUpdateModel202110 -from criteo_api_retailmedia_v2023_07.model.external_audience_target202110 import ExternalAudienceTarget202110 -from criteo_api_retailmedia_v2023_07.model.external_balance202110 import ExternalBalance202110 -from criteo_api_retailmedia_v2023_07.model.external_brand import ExternalBrand -from criteo_api_retailmedia_v2023_07.model.external_catalog_request import ExternalCatalogRequest -from criteo_api_retailmedia_v2023_07.model.external_catalog_status import ExternalCatalogStatus -from criteo_api_retailmedia_v2023_07.model.external_common_line_item import ExternalCommonLineItem -from criteo_api_retailmedia_v2023_07.model.external_keyword_target202110 import ExternalKeywordTarget202110 -from criteo_api_retailmedia_v2023_07.model.external_line_item_capping202110 import ExternalLineItemCapping202110 -from criteo_api_retailmedia_v2023_07.model.external_line_item_page202110 import ExternalLineItemPage202110 -from criteo_api_retailmedia_v2023_07.model.external_line_item_page_category202110 import ExternalLineItemPageCategory202110 -from criteo_api_retailmedia_v2023_07.model.external_preferred_line_item202110 import ExternalPreferredLineItem202110 -from criteo_api_retailmedia_v2023_07.model.external_preferred_line_item_create_model202110 import ExternalPreferredLineItemCreateModel202110 -from criteo_api_retailmedia_v2023_07.model.external_preferred_line_item_update_model202110 import ExternalPreferredLineItemUpdateModel202110 -from criteo_api_retailmedia_v2023_07.model.external_promoted_product202110 import ExternalPromotedProduct202110 -from criteo_api_retailmedia_v2023_07.model.external_retailer import ExternalRetailer -from criteo_api_retailmedia_v2023_07.model.external_retailer_pages202110 import ExternalRetailerPages202110 -from criteo_api_retailmedia_v2023_07.model.external_store_ids_update_model202110 import ExternalStoreIdsUpdateModel202110 -from criteo_api_retailmedia_v2023_07.model.external_store_target202110 import ExternalStoreTarget202110 -from criteo_api_retailmedia_v2023_07.model.files_variable_value import FilesVariableValue -from criteo_api_retailmedia_v2023_07.model.files_variables_specification import FilesVariablesSpecification -from criteo_api_retailmedia_v2023_07.model.hyperlink_variable_value import HyperlinkVariableValue -from criteo_api_retailmedia_v2023_07.model.input_keywords_model import InputKeywordsModel -from criteo_api_retailmedia_v2023_07.model.input_resource_of_auction_line_item_create_model import InputResourceOfAuctionLineItemCreateModel -from criteo_api_retailmedia_v2023_07.model.input_resource_of_preferred_line_item_create_model202110 import InputResourceOfPreferredLineItemCreateModel202110 -from criteo_api_retailmedia_v2023_07.model.json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301 import JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_account_and_account import JsonApiBodyWithIdOfInt64AndAccountAndAccount -from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_brand_and_brand import JsonApiBodyWithIdOfInt64AndBrandAndBrand -from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301 import JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status import JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus -from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers import JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers -from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_retailer_and_retailer import JsonApiBodyWithIdOfInt64AndRetailerAndRetailer -from criteo_api_retailmedia_v2023_07.model.json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301 import JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.json_api_body_without_id_of_catalog_request_and_catalog_request import JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer -from criteo_api_retailmedia_v2023_07.model.json_api_request_of_catalog_request import JsonApiRequestOfCatalogRequest -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_line_item_bid_multipliers import JsonApiSingleResponseOfLineItemBidMultipliers -from criteo_api_retailmedia_v2023_07.model.keyword_data_model import KeywordDataModel -from criteo_api_retailmedia_v2023_07.model.keyword_target202110_request import KeywordTarget202110Request -from criteo_api_retailmedia_v2023_07.model.keyword_target202110_response import KeywordTarget202110Response -from criteo_api_retailmedia_v2023_07.model.keywords_model import KeywordsModel -from criteo_api_retailmedia_v2023_07.model.keywords_model_resource import KeywordsModelResource -from criteo_api_retailmedia_v2023_07.model.keywords_model_response import KeywordsModelResponse -from criteo_api_retailmedia_v2023_07.model.line_item_bid_multipliers import LineItemBidMultipliers -from criteo_api_retailmedia_v2023_07.model.line_item_bid_multipliers_request import LineItemBidMultipliersRequest -from criteo_api_retailmedia_v2023_07.model.line_item_bid_multipliers_response import LineItemBidMultipliersResponse -from criteo_api_retailmedia_v2023_07.model.match_type_model import MatchTypeModel -from criteo_api_retailmedia_v2023_07.model.negotiation_state_model import NegotiationStateModel -from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata -from criteo_api_retailmedia_v2023_07.model.page_type_environment import PageTypeEnvironment -from criteo_api_retailmedia_v2023_07.model.post_campaign_v202301 import PostCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.preferred_line_item202110_paged_list_response import PreferredLineItem202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.preferred_line_item202110_response import PreferredLineItem202110Response -from criteo_api_retailmedia_v2023_07.model.preferred_line_item_create_model202110_request import PreferredLineItemCreateModel202110Request -from criteo_api_retailmedia_v2023_07.model.preferred_line_item_update_model202110_request import PreferredLineItemUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_list_request import PromotedProduct202110ListRequest -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_paged_list_response import PromotedProduct202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.proposal_status_model import ProposalStatusModel -from criteo_api_retailmedia_v2023_07.model.proposal_status_model_resource import ProposalStatusModelResource -from criteo_api_retailmedia_v2023_07.model.proposal_status_model_response import ProposalStatusModelResponse -from criteo_api_retailmedia_v2023_07.model.put_campaign_v202301 import PutCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.report_outcome import ReportOutcome -from criteo_api_retailmedia_v2023_07.model.resource_of_auction_line_item import ResourceOfAuctionLineItem -from criteo_api_retailmedia_v2023_07.model.resource_of_auction_line_item_update_model import ResourceOfAuctionLineItemUpdateModel -from criteo_api_retailmedia_v2023_07.model.resource_of_balance202110 import ResourceOfBalance202110 -from criteo_api_retailmedia_v2023_07.model.resource_of_balance_campaign202110 import ResourceOfBalanceCampaign202110 -from criteo_api_retailmedia_v2023_07.model.resource_of_category202204 import ResourceOfCategory202204 -from criteo_api_retailmedia_v2023_07.model.resource_of_common_line_item import ResourceOfCommonLineItem -from criteo_api_retailmedia_v2023_07.model.resource_of_creative202110 import ResourceOfCreative202110 -from criteo_api_retailmedia_v2023_07.model.resource_of_creative202210 import ResourceOfCreative202210 -from criteo_api_retailmedia_v2023_07.model.resource_of_line_item_bid_multipliers import ResourceOfLineItemBidMultipliers -from criteo_api_retailmedia_v2023_07.model.resource_of_preferred_line_item202110 import ResourceOfPreferredLineItem202110 -from criteo_api_retailmedia_v2023_07.model.resource_of_preferred_line_item_update_model202110 import ResourceOfPreferredLineItemUpdateModel202110 -from criteo_api_retailmedia_v2023_07.model.resource_of_promoted_product202110 import ResourceOfPromotedProduct202110 -from criteo_api_retailmedia_v2023_07.model.resource_of_template import ResourceOfTemplate -from criteo_api_retailmedia_v2023_07.model.resource_outcome import ResourceOutcome -from criteo_api_retailmedia_v2023_07.model.review_state_model import ReviewStateModel -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v1 import RmLegacyAudienceCreateEntityV1 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v1_resource import RmLegacyAudienceCreateEntityV1Resource -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v1_response import RmLegacyAudienceCreateEntityV1Response -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v2 import RmLegacyAudienceCreateEntityV2 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v2_resource import RmLegacyAudienceCreateEntityV2Resource -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v2_response import RmLegacyAudienceCreateEntityV2Response -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_input_entity_v1 import RmLegacyAudienceCreateInputEntityV1 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_input_entity_v2 import RmLegacyAudienceCreateInputEntityV2 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v1 import RmLegacyAudienceGetEntityV1 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v1_list_response import RmLegacyAudienceGetEntityV1ListResponse -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v1_resource import RmLegacyAudienceGetEntityV1Resource -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v2 import RmLegacyAudienceGetEntityV2 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v2_list_response import RmLegacyAudienceGetEntityV2ListResponse -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v2_resource import RmLegacyAudienceGetEntityV2Resource -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_user_behavior_create_v2 import RmLegacyAudienceUserBehaviorCreateV2 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_user_behavior_details_v2 import RmLegacyAudienceUserBehaviorDetailsV2 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_segment_customer_list import RmLegacySegmentCustomerList -from criteo_api_retailmedia_v2023_07.model.rm_legacy_segment_user_behavior_create_v2 import RmLegacySegmentUserBehaviorCreateV2 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_segment_user_behavior_v1 import RmLegacySegmentUserBehaviorV1 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_segment_user_behavior_v2 import RmLegacySegmentUserBehaviorV2 -from criteo_api_retailmedia_v2023_07.model.rmca_common_problem import RmcaCommonProblem -from criteo_api_retailmedia_v2023_07.model.section import Section -from criteo_api_retailmedia_v2023_07.model.set_bid_model import SetBidModel -from criteo_api_retailmedia_v2023_07.model.set_bids_model import SetBidsModel -from criteo_api_retailmedia_v2023_07.model.set_bids_model_request import SetBidsModelRequest -from criteo_api_retailmedia_v2023_07.model.set_bids_model_resource import SetBidsModelResource -from criteo_api_retailmedia_v2023_07.model.status_response import StatusResponse -from criteo_api_retailmedia_v2023_07.model.status_response_resource import StatusResponseResource -from criteo_api_retailmedia_v2023_07.model.store_ids_update_model202110_request import StoreIdsUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.store_target202110_request import StoreTarget202110Request -from criteo_api_retailmedia_v2023_07.model.store_target202110_response import StoreTarget202110Response -from criteo_api_retailmedia_v2023_07.model.template import Template -from criteo_api_retailmedia_v2023_07.model.template_list_response import TemplateListResponse -from criteo_api_retailmedia_v2023_07.model.template_response import TemplateResponse -from criteo_api_retailmedia_v2023_07.model.template_variable import TemplateVariable -from criteo_api_retailmedia_v2023_07.model.template_variable_value import TemplateVariableValue -from criteo_api_retailmedia_v2023_07.model.text_variable_specification import TextVariableSpecification -from criteo_api_retailmedia_v2023_07.model.text_variable_value import TextVariableValue -from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_add_to_basket_ids_update_model202110 import ValueTypeResourceOfAddToBasketIdsUpdateModel202110 -from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_add_to_basket_target202110 import ValueTypeResourceOfAddToBasketTarget202110 -from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_audience_ids_update_model202110 import ValueTypeResourceOfAudienceIdsUpdateModel202110 -from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_audience_target202110 import ValueTypeResourceOfAudienceTarget202110 -from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_keyword_target202110 import ValueTypeResourceOfKeywordTarget202110 -from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_store_ids_update_model202110 import ValueTypeResourceOfStoreIdsUpdateModel202110 -from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_store_target202110 import ValueTypeResourceOfStoreTarget202110 diff --git a/sdks/retailmedia_2023-07/docs/AccountsApi.md b/sdks/retailmedia_2023-07/docs/AccountsApi.md deleted file mode 100644 index 27842aba..00000000 --- a/sdks/retailmedia_2023-07/docs/AccountsApi.md +++ /dev/null @@ -1,100 +0,0 @@ -# criteo_api_retailmedia_v2023_07.AccountsApi - -All URIs are relative to *https://api.criteo.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_api_v1_external_accounts**](AccountsApi.md#get_api_v1_external_accounts) | **GET** /2023-07/retail-media/accounts | - - -# **get_api_v1_external_accounts** -> JsonApiPageResponseOfAccount get_api_v1_external_accounts() - - - -Gets page of account objects that the current user can access - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import accounts_api -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = accounts_api.AccountsApi(api_client) - limit_to_id = [ - "limitToId_example", - ] # [str] | The ids that you would like to limit your result set to (optional) - page_index = 0 # int | The 0 indexed page index you would like to receive given the page size (optional) if omitted the server will use the default value of 0 - page_size = 25 # int | The maximum number of items you would like to receive in this request (optional) if omitted the server will use the default value of 25 - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_api_v1_external_accounts(limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling AccountsApi->get_api_v1_external_accounts: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] - **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] if omitted the server will use the default value of 0 - **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] if omitted the server will use the default value of 25 - -### Return type - -[**JsonApiPageResponseOfAccount**](JsonApiPageResponseOfAccount.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/plain, application/json, text/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Success | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/retailmedia_2023-07/docs/AudienceApi.md b/sdks/retailmedia_2023-07/docs/AudienceApi.md deleted file mode 100644 index 91336abb..00000000 --- a/sdks/retailmedia_2023-07/docs/AudienceApi.md +++ /dev/null @@ -1,448 +0,0 @@ -# criteo_api_retailmedia_v2023_07.AudienceApi - -All URIs are relative to *https://api.criteo.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**legacy_create_audience_v1**](AudienceApi.md#legacy_create_audience_v1) | **POST** /2023-07/retail-media/accounts/{accountId}/audiences | -[**legacy_get_audience_v1**](AudienceApi.md#legacy_get_audience_v1) | **GET** /2023-07/retail-media/accounts/{accountId}/audiences | -[**legacy_get_audience_v2**](AudienceApi.md#legacy_get_audience_v2) | **GET** /2023-07/retail-media/v2/accounts/{accountId}/audiences | -[**legacy_update_audience_v2**](AudienceApi.md#legacy_update_audience_v2) | **POST** /2023-07/retail-media/v2/accounts/{accountId}/audiences | - - -# **legacy_create_audience_v1** -> RmLegacyAudienceCreateEntityV1Response legacy_create_audience_v1(account_id, rm_legacy_audience_create_input_entity_v1) - - - -Create an Audience (deprecated Public API) - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import audience_api -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v1_response import RmLegacyAudienceCreateEntityV1Response -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_input_entity_v1 import RmLegacyAudienceCreateInputEntityV1 -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - account_id = 1 # int | ID of the account to which this audience belongs. - rm_legacy_audience_create_input_entity_v1 = RmLegacyAudienceCreateInputEntityV1( - data=RmLegacyAudienceCreateEntityV1Resource( - attributes=RmLegacyAudienceCreateEntityV1( - user_type="viewer", - lookback_window="P7D", - brand_ids=[ - 1, - ], - category_ids=[ - 1, - ], - retailer_id=1, - name="name_example", - ), - id="id_example", - type="type_example", - ), - ) # RmLegacyAudienceCreateInputEntityV1 | Audience creation request. - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.legacy_create_audience_v1(account_id, rm_legacy_audience_create_input_entity_v1) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->legacy_create_audience_v1: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **int**| ID of the account to which this audience belongs. | - **rm_legacy_audience_create_input_entity_v1** | [**RmLegacyAudienceCreateInputEntityV1**](RmLegacyAudienceCreateInputEntityV1.md)| Audience creation request. | - -### Return type - -[**RmLegacyAudienceCreateEntityV1Response**](RmLegacyAudienceCreateEntityV1Response.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Success | - | -**201** | The audience that was just created. | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **legacy_get_audience_v1** -> RmLegacyAudienceGetEntityV1ListResponse legacy_get_audience_v1(account_id) - - - -Get a page of Audiences. (deprecated Public API) - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import audience_api -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v1_list_response import RmLegacyAudienceGetEntityV1ListResponse -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - account_id = 1 # int | ID of the account to which this audience belongs. - limit_to_id = [ - 1, - ] # [int] | Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2 (optional) - page_size = 1 # int | Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page. (optional) - page_index = 1 # int | Returns the specified page of results given a pageSize; pages are 0-indexed. (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.legacy_get_audience_v1(account_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->legacy_get_audience_v1: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.legacy_get_audience_v1(account_id, limit_to_id=limit_to_id, page_size=page_size, page_index=page_index) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->legacy_get_audience_v1: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **int**| ID of the account to which this audience belongs. | - **limit_to_id** | **[int]**| Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2 | [optional] - **page_size** | **int**| Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page. | [optional] - **page_index** | **int**| Returns the specified page of results given a pageSize; pages are 0-indexed. | [optional] - -### Return type - -[**RmLegacyAudienceGetEntityV1ListResponse**](RmLegacyAudienceGetEntityV1ListResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/plain, application/json, text/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | A page of audiences for the supplied account or shared by related retailers. | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **legacy_get_audience_v2** -> RmLegacyAudienceGetEntityV2ListResponse legacy_get_audience_v2(account_id) - - - -Get a page of Audiences. (deprecated Public API) - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import audience_api -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v2_list_response import RmLegacyAudienceGetEntityV2ListResponse -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - account_id = 1 # int | ID of the account to which this audience belongs. - limit_to_id = [ - 1, - ] # [int] | Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2 (optional) - page_size = 1 # int | Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page. (optional) - page_index = 1 # int | Returns the specified page of results given a pageSize; pages are 0-indexed. (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.legacy_get_audience_v2(account_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->legacy_get_audience_v2: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.legacy_get_audience_v2(account_id, limit_to_id=limit_to_id, page_size=page_size, page_index=page_index) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->legacy_get_audience_v2: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **int**| ID of the account to which this audience belongs. | - **limit_to_id** | **[int]**| Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2 | [optional] - **page_size** | **int**| Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page. | [optional] - **page_index** | **int**| Returns the specified page of results given a pageSize; pages are 0-indexed. | [optional] - -### Return type - -[**RmLegacyAudienceGetEntityV2ListResponse**](RmLegacyAudienceGetEntityV2ListResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/plain, application/json, text/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | A page of audiences for the supplied account or shared by related retailers. | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **legacy_update_audience_v2** -> RmLegacyAudienceCreateEntityV2Response legacy_update_audience_v2(account_id, rm_legacy_audience_create_input_entity_v2) - - - -Create an Audience (deprecated Public API) - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import audience_api -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v2_response import RmLegacyAudienceCreateEntityV2Response -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_input_entity_v2 import RmLegacyAudienceCreateInputEntityV2 -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - account_id = 1 # int | ID of the account to which this audience belongs. - rm_legacy_audience_create_input_entity_v2 = RmLegacyAudienceCreateInputEntityV2( - data=RmLegacyAudienceCreateEntityV2Resource( - attributes=RmLegacyAudienceCreateEntityV2( - retailer_id=1, - user_behavior_details=RmLegacyAudienceUserBehaviorCreateV2( - inclusive_segment=RmLegacySegmentUserBehaviorCreateV2( - user_action="buy", - lookback_window="P7D", - category_ids=[ - 1, - ], - brand_ids=[ - 1, - ], - ), - exclusive_segment=RmLegacySegmentUserBehaviorCreateV2( - user_action="buy", - lookback_window="P7D", - category_ids=[ - 1, - ], - brand_ids=[ - 1, - ], - ), - ), - name="name_example", - ), - id="id_example", - type="type_example", - ), - ) # RmLegacyAudienceCreateInputEntityV2 | Audience creation request. - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.legacy_update_audience_v2(account_id, rm_legacy_audience_create_input_entity_v2) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling AudienceApi->legacy_update_audience_v2: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **int**| ID of the account to which this audience belongs. | - **rm_legacy_audience_create_input_entity_v2** | [**RmLegacyAudienceCreateInputEntityV2**](RmLegacyAudienceCreateInputEntityV2.md)| Audience creation request. | - -### Return type - -[**RmLegacyAudienceCreateEntityV2Response**](RmLegacyAudienceCreateEntityV2Response.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Success | - | -**201** | The audience that was just created. | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/retailmedia_2023-07/docs/BalanceApi.md b/sdks/retailmedia_2023-07/docs/BalanceApi.md deleted file mode 100644 index 1cf84bac..00000000 --- a/sdks/retailmedia_2023-07/docs/BalanceApi.md +++ /dev/null @@ -1,210 +0,0 @@ -# criteo_api_retailmedia_v2023_07.BalanceApi - -All URIs are relative to *https://api.criteo.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_api202110_external_account_balances_by_account_id**](BalanceApi.md#get_api202110_external_account_balances_by_account_id) | **GET** /2023-07/retail-media/accounts/{account-id}/balances | -[**get_api202110_external_balance_campaigns_by_balance_id**](BalanceApi.md#get_api202110_external_balance_campaigns_by_balance_id) | **GET** /2023-07/retail-media/balances/{balance-id}/campaigns | - - -# **get_api202110_external_account_balances_by_account_id** -> Balance202110PagedListResponse get_api202110_external_account_balances_by_account_id(account_id) - - - -Gets page of balance objects for the given account id - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import balance_api -from criteo_api_retailmedia_v2023_07.model.balance202110_paged_list_response import Balance202110PagedListResponse -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = balance_api.BalanceApi(api_client) - account_id = "account-id_example" # str | The account to get balances for - limit_to_id = [ - "limitToId_example", - ] # [str] | The ids that you would like to limit your result set to (optional) - page_index = 1 # int | The 0 indexed page index you would like to receive given the page size (optional) - page_size = 1 # int | The maximum number of items you would like to receive in this request (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_api202110_external_account_balances_by_account_id(account_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling BalanceApi->get_api202110_external_account_balances_by_account_id: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_api202110_external_account_balances_by_account_id(account_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling BalanceApi->get_api202110_external_account_balances_by_account_id: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **str**| The account to get balances for | - **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] - **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] - **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] - -### Return type - -[**Balance202110PagedListResponse**](Balance202110PagedListResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Success | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api202110_external_balance_campaigns_by_balance_id** -> BalanceCampaign202110PagedListResponse get_api202110_external_balance_campaigns_by_balance_id(balance_id) - - - -Gets page of campaigns for the given balanceId - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import balance_api -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = balance_api.BalanceApi(api_client) - balance_id = "balance-id_example" # str | The balance to get campaigns from - limit_to_id = [ - "limitToId_example", - ] # [str] | The ids that you would like to limit your result set to (optional) - page_index = 1 # int | The 0 indexed page index you would like to receive given the page size (optional) - page_size = 1 # int | The maximum number of items you would like to receive in this request (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_api202110_external_balance_campaigns_by_balance_id(balance_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling BalanceApi->get_api202110_external_balance_campaigns_by_balance_id: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_api202110_external_balance_campaigns_by_balance_id(balance_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling BalanceApi->get_api202110_external_balance_campaigns_by_balance_id: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **balance_id** | **str**| The balance to get campaigns from | - **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] - **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] - **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] - -### Return type - -[**BalanceCampaign202110PagedListResponse**](BalanceCampaign202110PagedListResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Success | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/retailmedia_2023-07/docs/Creative202210ListResponse.md b/sdks/retailmedia_2023-07/docs/Creative202210ListResponse.md deleted file mode 100644 index 31ab557e..00000000 --- a/sdks/retailmedia_2023-07/docs/Creative202210ListResponse.md +++ /dev/null @@ -1,15 +0,0 @@ -# Creative202210ListResponse - -Data model for a list of response resources - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[ResourceOfCreative202210]**](ResourceOfCreative202210.md) | | [optional] -**warnings** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**errors** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/ExternalBalance202110.md b/sdks/retailmedia_2023-07/docs/ExternalBalance202110.md deleted file mode 100644 index b97d82a0..00000000 --- a/sdks/retailmedia_2023-07/docs/ExternalBalance202110.md +++ /dev/null @@ -1,24 +0,0 @@ -# ExternalBalance202110 - -A Retail Media Balance used to determine the funds available for any or all campaigns in an account - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**po_number** | **str** | | -**memo** | **str** | | -**deposited** | **float, none_type** | | -**spent** | **float, none_type** | | -**remaining** | **float, none_type** | | -**start_date** | **date** | Represents the Date as a year, month, and day in the format YYYY-MM-DD | -**status** | **str** | | -**created_at** | **datetime** | | -**updated_at** | **datetime** | | -**private_market_billing_type** | **str** | Billing type for Private Market. | -**end_date** | **date, none_type** | Represents the Date as a year, month, and day in the format YYYY-MM-DD | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/ExternalPromotedProduct202110.md b/sdks/retailmedia_2023-07/docs/ExternalPromotedProduct202110.md deleted file mode 100644 index 60819fac..00000000 --- a/sdks/retailmedia_2023-07/docs/ExternalPromotedProduct202110.md +++ /dev/null @@ -1,13 +0,0 @@ -# ExternalPromotedProduct202110 - -identifies a promoted product - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bid_override** | **float, none_type** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/JsonApiSingleResponseOfLineItemBidMultipliers.md b/sdks/retailmedia_2023-07/docs/JsonApiSingleResponseOfLineItemBidMultipliers.md deleted file mode 100644 index effec147..00000000 --- a/sdks/retailmedia_2023-07/docs/JsonApiSingleResponseOfLineItemBidMultipliers.md +++ /dev/null @@ -1,15 +0,0 @@ -# JsonApiSingleResponseOfLineItemBidMultipliers - -Data model for the response of a line item bid multiplier - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers**](JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers.md) | | -**errors** | [**[CommonError]**](CommonError.md) | | [optional] -**warnings** | [**[CommonWarning]**](CommonWarning.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/LineItemBidMultipliers.md b/sdks/retailmedia_2023-07/docs/LineItemBidMultipliers.md deleted file mode 100644 index b654c293..00000000 --- a/sdks/retailmedia_2023-07/docs/LineItemBidMultipliers.md +++ /dev/null @@ -1,20 +0,0 @@ -# LineItemBidMultipliers - -Data model representing bid multipliers on a line item - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**search** | **float** | | [optional] -**homepage** | **float** | | [optional] -**categories** | **float** | | [optional] -**product_detail** | **float** | | [optional] -**confirmation** | **float** | | [optional] -**merchandising** | **float** | | [optional] -**deals** | **float** | | [optional] -**checkout** | **float** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/LineItemBidMultipliersResponse.md b/sdks/retailmedia_2023-07/docs/LineItemBidMultipliersResponse.md deleted file mode 100644 index f5f4f38f..00000000 --- a/sdks/retailmedia_2023-07/docs/LineItemBidMultipliersResponse.md +++ /dev/null @@ -1,15 +0,0 @@ -# LineItemBidMultipliersResponse - -Data model for response resource - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**ResourceOfLineItemBidMultipliers**](ResourceOfLineItemBidMultipliers.md) | | [optional] -**warnings** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**errors** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/PreferredLineItem202110PagedListResponse.md b/sdks/retailmedia_2023-07/docs/PreferredLineItem202110PagedListResponse.md deleted file mode 100644 index ed58a293..00000000 --- a/sdks/retailmedia_2023-07/docs/PreferredLineItem202110PagedListResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# PreferredLineItem202110PagedListResponse - -Data model for a paged list of response resources - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metadata** | [**PageMetadata**](PageMetadata.md) | | [optional] -**data** | [**[ResourceOfPreferredLineItem202110]**](ResourceOfPreferredLineItem202110.md) | | [optional] -**warnings** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**errors** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/PreferredLineItem202110Response.md b/sdks/retailmedia_2023-07/docs/PreferredLineItem202110Response.md deleted file mode 100644 index 0046cd8c..00000000 --- a/sdks/retailmedia_2023-07/docs/PreferredLineItem202110Response.md +++ /dev/null @@ -1,15 +0,0 @@ -# PreferredLineItem202110Response - -Data model for response resource - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**ResourceOfPreferredLineItem202110**](ResourceOfPreferredLineItem202110.md) | | [optional] -**warnings** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**errors** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/PreferredLineItemUpdateModel202110Request.md b/sdks/retailmedia_2023-07/docs/PreferredLineItemUpdateModel202110Request.md deleted file mode 100644 index 2970a908..00000000 --- a/sdks/retailmedia_2023-07/docs/PreferredLineItemUpdateModel202110Request.md +++ /dev/null @@ -1,13 +0,0 @@ -# PreferredLineItemUpdateModel202110Request - -Data model for an input resource - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**ResourceOfPreferredLineItemUpdateModel202110**](ResourceOfPreferredLineItemUpdateModel202110.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/PromotedProduct202110ListRequest.md b/sdks/retailmedia_2023-07/docs/PromotedProduct202110ListRequest.md deleted file mode 100644 index 126d6533..00000000 --- a/sdks/retailmedia_2023-07/docs/PromotedProduct202110ListRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# PromotedProduct202110ListRequest - -Data model for a list of input resources - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[ResourceOfPromotedProduct202110]**](ResourceOfPromotedProduct202110.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1.md b/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1.md deleted file mode 100644 index aef896e0..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1.md +++ /dev/null @@ -1,18 +0,0 @@ -# RmLegacyAudienceCreateEntityV1 - -Audience definition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_type** | **str** | Type of the user | -**lookback_window** | **str** | Length of lookback window | -**retailer_id** | **int** | ID of the retailer associated with this audience | -**name** | **str** | Name of the audience | -**brand_ids** | **[int], none_type** | The brands to target | [optional] -**category_ids** | **[int], none_type** | The categories to target | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2.md b/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2.md deleted file mode 100644 index 3ec3cad7..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2.md +++ /dev/null @@ -1,15 +0,0 @@ -# RmLegacyAudienceCreateEntityV2 - -Audience definition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**retailer_id** | **int** | ID of the retailer associated with this audience | -**user_behavior_details** | [**RmLegacyAudienceUserBehaviorCreateV2**](RmLegacyAudienceUserBehaviorCreateV2.md) | | -**name** | **str** | Name of the audience | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateInputEntityV1.md b/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateInputEntityV1.md deleted file mode 100644 index 2034af1d..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateInputEntityV1.md +++ /dev/null @@ -1,13 +0,0 @@ -# RmLegacyAudienceCreateInputEntityV1 - -Input to create audience. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**RmLegacyAudienceCreateEntityV1Resource**](RmLegacyAudienceCreateEntityV1Resource.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateInputEntityV2.md b/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateInputEntityV2.md deleted file mode 100644 index c46a8155..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateInputEntityV2.md +++ /dev/null @@ -1,13 +0,0 @@ -# RmLegacyAudienceCreateInputEntityV2 - -Input to create audience. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**RmLegacyAudienceCreateEntityV2Resource**](RmLegacyAudienceCreateEntityV2Resource.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1.md b/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1.md deleted file mode 100644 index d2ae9cfb..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1.md +++ /dev/null @@ -1,16 +0,0 @@ -# RmLegacyAudienceGetEntityV1 - -Audience definition of people of interest for a marketer. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Name of the audience | -**retailer_id** | **str** | ID of the retailer associated with this audience | -**user_behavior_details** | [**RmLegacySegmentUserBehaviorV1**](RmLegacySegmentUserBehaviorV1.md) | | [optional] -**customer_list_details** | [**RmLegacySegmentCustomerList**](RmLegacySegmentCustomerList.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2.md b/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2.md deleted file mode 100644 index 2058682d..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2.md +++ /dev/null @@ -1,16 +0,0 @@ -# RmLegacyAudienceGetEntityV2 - -Audience definition of people of interest for a marketer - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**retailer_id** | **str** | ID of the retailer associated with this audience | -**name** | **str** | Name of the audience | -**user_behavior_details** | [**RmLegacyAudienceUserBehaviorDetailsV2**](RmLegacyAudienceUserBehaviorDetailsV2.md) | | [optional] -**customer_list_details** | [**RmLegacySegmentCustomerList**](RmLegacySegmentCustomerList.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceUserBehaviorCreateV2.md b/sdks/retailmedia_2023-07/docs/RmLegacyAudienceUserBehaviorCreateV2.md deleted file mode 100644 index 50e0a5cf..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceUserBehaviorCreateV2.md +++ /dev/null @@ -1,14 +0,0 @@ -# RmLegacyAudienceUserBehaviorCreateV2 - -User Behavior to include and optionally exclude. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**inclusive_segment** | [**RmLegacySegmentUserBehaviorCreateV2**](RmLegacySegmentUserBehaviorCreateV2.md) | | -**exclusive_segment** | [**RmLegacySegmentUserBehaviorCreateV2**](RmLegacySegmentUserBehaviorCreateV2.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceUserBehaviorDetailsV2.md b/sdks/retailmedia_2023-07/docs/RmLegacyAudienceUserBehaviorDetailsV2.md deleted file mode 100644 index 10073850..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceUserBehaviorDetailsV2.md +++ /dev/null @@ -1,14 +0,0 @@ -# RmLegacyAudienceUserBehaviorDetailsV2 - -User Behavior Details. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**inclusive_segment** | [**RmLegacySegmentUserBehaviorV2**](RmLegacySegmentUserBehaviorV2.md) | | -**exclusive_segment** | [**RmLegacySegmentUserBehaviorV2**](RmLegacySegmentUserBehaviorV2.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacySegmentCustomerList.md b/sdks/retailmedia_2023-07/docs/RmLegacySegmentCustomerList.md deleted file mode 100644 index 79662c14..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacySegmentCustomerList.md +++ /dev/null @@ -1,14 +0,0 @@ -# RmLegacySegmentCustomerList - -Audience definition of people based on a customer list - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**size** | **str** | Number of users in the customer list audience. | -**is_shared** | **bool** | Indicate if the audience is shared. | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorCreateV2.md b/sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorCreateV2.md deleted file mode 100644 index 2dcd4ec4..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorCreateV2.md +++ /dev/null @@ -1,16 +0,0 @@ -# RmLegacySegmentUserBehaviorCreateV2 - -User Behavior Details. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_action** | **str** | Type of shopper activity used to generate the audience. | -**lookback_window** | **str** | Length of lookback window | -**category_ids** | **[int], none_type** | The categories to target | [optional] -**brand_ids** | **[int], none_type** | The brands to target | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorV1.md b/sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorV1.md deleted file mode 100644 index d3563b9b..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorV1.md +++ /dev/null @@ -1,16 +0,0 @@ -# RmLegacySegmentUserBehaviorV1 - -Audience definition of people based on what they visited - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_type** | **str** | Type of shopper activity used to generate the audience. | -**lookback_window** | **str** | Length of lookback window | -**target_type** | **str, none_type** | Type of target | [optional] -**target_ids** | **[str], none_type** | The categories to target | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorV2.md b/sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorV2.md deleted file mode 100644 index 83ee2026..00000000 --- a/sdks/retailmedia_2023-07/docs/RmLegacySegmentUserBehaviorV2.md +++ /dev/null @@ -1,18 +0,0 @@ -# RmLegacySegmentUserBehaviorV2 - -Audience definition of people based on what they visited - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_action** | **str** | Type of shopper activity used to generate the audience. | -**lookback_window** | **str** | Length of lookback window | -**category_ids** | **[int], none_type** | The categories to target | [optional] -**brand_ids** | **[int], none_type** | The brands to target | [optional] -**min_price** | **float, none_type** | The min price of targeted skus. | [optional] -**max_price** | **float, none_type** | The max price of targeted skus. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_2023-10/README.md b/sdks/retailmedia_2023-10/README.md index a842741c..cc4d7732 100644 --- a/sdks/retailmedia_2023-10/README.md +++ b/sdks/retailmedia_2023-10/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2023.10.0.240808 +- Package version: 2023.10.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-retailmedia-sdk==2023.10.0.240808 +pip install criteo-api-retailmedia-sdk==2023.10.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2023.10.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2023.10.0.241029`) Then import the package: ```python diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/__init__.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/__init__.py index 87dcbd7c..348f8a0e 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/__init__.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "2023.10.0.240808" +__version__ = "2023.10.0.241029" # import ApiClient from criteo_api_retailmedia_v2023_10.api_client import ApiClient diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/api/analytics_api.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/api/analytics_api.py index ddbafcae..46cd2f39 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/api/analytics_api.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/api/analytics_api.py @@ -329,7 +329,7 @@ def generate_async_campaigns_report( ): """generate_async_campaigns_report # noqa: E501 - Return an asynchronous Campaigns Report # noqa: E501 + Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -412,7 +412,7 @@ def generate_async_line_items_report( ): """generate_async_line_items_report # noqa: E501 - Returns an asynchronous Line Items Report # noqa: E501 + Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -495,7 +495,7 @@ def generate_async_revenue_report( ): """generate_async_revenue_report # noqa: E501 - Returns an asynchronous Revenue Report # noqa: E501 + Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/api_client.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/api_client.py index 53aeb48f..2d44493e 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/api_client.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2023.10.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2023.10.0.241029/python' def __enter__(self): return self diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/configuration.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/configuration.py index 44b6320b..2016f042 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/configuration.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2023-10\n"\ - "SDK Package Version: 2023.10.0.240808".\ + "SDK Package Version: 2023.10.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/campaign_attributes_v202301.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/campaign_attributes_v202301.py index 7ff5c3f9..2c79a2eb 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/campaign_attributes_v202301.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/campaign_attributes_v202301.py @@ -132,6 +132,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -154,6 +155,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -213,6 +215,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, *a click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -318,6 +321,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, *args, **kw click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/campaign_v202301.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/campaign_v202301.py index 2c06db60..fa83bd41 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/campaign_v202301.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/campaign_v202301.py @@ -146,6 +146,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -175,6 +176,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -241,6 +243,7 @@ def _from_openapi_data(cls, account_id, promoted_brand_ids, budget_spent, budget click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -359,6 +362,7 @@ def __init__(self, account_id, promoted_brand_ids, budget_spent, budget_remainin click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/editable_campaign_attributes_v202301.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/editable_campaign_attributes_v202301.py index bd6bfe7f..b68a6cc4 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/editable_campaign_attributes_v202301.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/editable_campaign_attributes_v202301.py @@ -125,6 +125,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -145,6 +146,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -202,6 +204,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, cl click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -307,6 +310,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, click_attri click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/external_account.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/external_account.py index 1279d97a..18424dba 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/external_account.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/external_account.py @@ -108,6 +108,7 @@ def openapi_types(): 'time_zone': (str,), # noqa: E501 'subtype': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -124,6 +125,7 @@ def discriminator(): 'time_zone': 'timeZone', # noqa: E501 'subtype': 'subtype', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -177,6 +179,7 @@ def _from_openapi_data(cls, name, type, countries, currency, parent_account_labe _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -278,6 +281,7 @@ def __init__(self, name, type, countries, currency, parent_account_label, time_z _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/rm_legacy_audience_get_entity_v1_resource.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/rm_legacy_audience_get_entity_v1_resource.py index e551b2c3..b7372e71 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/rm_legacy_audience_get_entity_v1_resource.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/rm_legacy_audience_get_entity_v1_resource.py @@ -152,8 +152,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ @@ -241,8 +241,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/section.py b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/section.py index 1c990ecd..8e39ec5e 100644 --- a/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/section.py +++ b/sdks/retailmedia_2023-10/criteo_api_retailmedia_v2023_10/model/section.py @@ -87,8 +87,8 @@ def openapi_types(): """ lazy_import() return { - 'title': (str,), # noqa: E501 'template_variables': ([TemplateVariable],), # noqa: E501 + 'title': (str, none_type,), # noqa: E501 } @cached_property @@ -97,8 +97,8 @@ def discriminator(): attribute_map = { - 'title': 'title', # noqa: E501 'template_variables': 'templateVariables', # noqa: E501 + 'title': 'title', # noqa: E501 } read_only_vars = { @@ -108,11 +108,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -146,6 +145,7 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -177,7 +177,6 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -199,11 +198,10 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa ]) @convert_js_args_to_python_args - def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 + def __init__(self, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -237,6 +235,7 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,7 +265,6 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/sdks/retailmedia_2023-10/docs/AnalyticsApi.md b/sdks/retailmedia_2023-10/docs/AnalyticsApi.md index def6ceb6..5ffca719 100644 --- a/sdks/retailmedia_2023-10/docs/AnalyticsApi.md +++ b/sdks/retailmedia_2023-10/docs/AnalyticsApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description -Return an asynchronous Campaigns Report +Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. ### Example @@ -129,7 +129,7 @@ Name | Type | Description | Notes -Returns an asynchronous Line Items Report +Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. ### Example @@ -242,7 +242,7 @@ Name | Type | Description | Notes -Returns an asynchronous Revenue Report +Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. ### Example diff --git a/sdks/retailmedia_2023-10/docs/CampaignApi.md b/sdks/retailmedia_2023-10/docs/CampaignApi.md index 8915583a..03ff595d 100644 --- a/sdks/retailmedia_2023-10/docs/CampaignApi.md +++ b/sdks/retailmedia_2023-10/docs/CampaignApi.md @@ -4550,6 +4550,7 @@ with criteo_api_retailmedia_v2023_10.ApiClient(configuration) as api_client: click_attribution_scope="unknown", view_attribution_scope="unknown", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", ), ), ) # PostCampaignV202301 | Creatable campaign attributes (optional) @@ -5457,6 +5458,7 @@ with criteo_api_retailmedia_v2023_10.ApiClient(configuration) as api_client: click_attribution_scope="unknown", view_attribution_scope="unknown", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", ), ), ) # PutCampaignV202301 | Editable campaign attributes (optional) diff --git a/sdks/retailmedia_2023-10/docs/CampaignAttributesV202301.md b/sdks/retailmedia_2023-10/docs/CampaignAttributesV202301.md index efaef3a0..5d257957 100644 --- a/sdks/retailmedia_2023-10/docs/CampaignAttributesV202301.md +++ b/sdks/retailmedia_2023-10/docs/CampaignAttributesV202301.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-10/docs/CampaignV202301.md b/sdks/retailmedia_2023-10/docs/CampaignV202301.md index 29683d2c..65eb532a 100644 --- a/sdks/retailmedia_2023-10/docs/CampaignV202301.md +++ b/sdks/retailmedia_2023-10/docs/CampaignV202301.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-10/docs/EditableCampaignAttributesV202301.md b/sdks/retailmedia_2023-10/docs/EditableCampaignAttributesV202301.md index 0dbdac3d..b8c8aa20 100644 --- a/sdks/retailmedia_2023-10/docs/EditableCampaignAttributesV202301.md +++ b/sdks/retailmedia_2023-10/docs/EditableCampaignAttributesV202301.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-10/docs/ExternalAccount.md b/sdks/retailmedia_2023-10/docs/ExternalAccount.md index 27965745..4f322ef3 100644 --- a/sdks/retailmedia_2023-10/docs/ExternalAccount.md +++ b/sdks/retailmedia_2023-10/docs/ExternalAccount.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **time_zone** | **str** | | **subtype** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-10/docs/RmLegacyAudienceCreateInputEntityV1.md b/sdks/retailmedia_2023-10/docs/RmLegacyAudienceCreateInputEntityV1.md index 2034af1d..7682e675 100644 --- a/sdks/retailmedia_2023-10/docs/RmLegacyAudienceCreateInputEntityV1.md +++ b/sdks/retailmedia_2023-10/docs/RmLegacyAudienceCreateInputEntityV1.md @@ -1,6 +1,6 @@ # RmLegacyAudienceCreateInputEntityV1 -Input to create audience. +A top-level object that encapsulates a Criteo API request for a single entity. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2023-10/docs/RmLegacyAudienceCreateInputEntityV2.md b/sdks/retailmedia_2023-10/docs/RmLegacyAudienceCreateInputEntityV2.md index c46a8155..1f101ec7 100644 --- a/sdks/retailmedia_2023-10/docs/RmLegacyAudienceCreateInputEntityV2.md +++ b/sdks/retailmedia_2023-10/docs/RmLegacyAudienceCreateInputEntityV2.md @@ -1,6 +1,6 @@ # RmLegacyAudienceCreateInputEntityV2 -Input to create audience. +A top-level object that encapsulates a Criteo API request for a single entity. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2023-10/docs/RmLegacyAudienceGetEntityV1ListResponse.md b/sdks/retailmedia_2023-10/docs/RmLegacyAudienceGetEntityV1ListResponse.md index 177bd87b..6fb23080 100644 --- a/sdks/retailmedia_2023-10/docs/RmLegacyAudienceGetEntityV1ListResponse.md +++ b/sdks/retailmedia_2023-10/docs/RmLegacyAudienceGetEntityV1ListResponse.md @@ -1,6 +1,6 @@ # RmLegacyAudienceGetEntityV1ListResponse -A top-level object that encapsulates a Criteo API response for several entities and metadata +The outcome of an API call. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2023-10/docs/RmLegacyAudienceGetEntityV1Resource.md b/sdks/retailmedia_2023-10/docs/RmLegacyAudienceGetEntityV1Resource.md index dad0c799..e4a69860 100644 --- a/sdks/retailmedia_2023-10/docs/RmLegacyAudienceGetEntityV1Resource.md +++ b/sdks/retailmedia_2023-10/docs/RmLegacyAudienceGetEntityV1Resource.md @@ -6,8 +6,8 @@ A class that represents a domain entity exposed by an API Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attributes** | [**RmLegacyAudienceGetEntityV1**](RmLegacyAudienceGetEntityV1.md) | | [optional] -**id** | **str, none_type** | | [optional] -**audience_type** | **str, none_type** | | [optional] +**id** | **str, none_type** | Unique identifier of this resource. | [optional] +**audience_type** | **str, none_type** | Type of the audience. | [optional] **type** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2023-10/docs/Section.md b/sdks/retailmedia_2023-10/docs/Section.md index 09186289..f09646c7 100644 --- a/sdks/retailmedia_2023-10/docs/Section.md +++ b/sdks/retailmedia_2023-10/docs/Section.md @@ -5,8 +5,8 @@ Section object that hold template variables ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | | **template_variables** | [**[TemplateVariable]**](TemplateVariable.md) | | +**title** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-10/setup.py b/sdks/retailmedia_2023-10/setup.py index 6865bf77..17308839 100644 --- a/sdks/retailmedia_2023-10/setup.py +++ b/sdks/retailmedia_2023-10/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-retailmedia-sdk" -VERSION = "2023.10.0.240808" +VERSION = "2023.10.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-retailmedia-sdk==2023.10.0.240808 +pip install criteo-api-retailmedia-sdk==2023.10.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2023.10.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2023.10.0.241029`) Then import the package: ```python diff --git a/sdks/retailmedia_2024-01/README.md b/sdks/retailmedia_2024-01/README.md index e3cc4634..5ce15e64 100644 --- a/sdks/retailmedia_2024-01/README.md +++ b/sdks/retailmedia_2024-01/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2024.01.0.240808 +- Package version: 2024.01.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-retailmedia-sdk==2024.01.0.240808 +pip install criteo-api-retailmedia-sdk==2024.01.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.01.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.01.0.241029`) Then import the package: ```python diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/__init__.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/__init__.py index 17f06e61..ea5c93f1 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/__init__.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "2024.01.0.240808" +__version__ = "2024.01.0.241029" # import ApiClient from criteo_api_retailmedia_v2024_01.api_client import ApiClient diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/api/analytics_api.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/api/analytics_api.py index 48d6c0cf..3054cdeb 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/api/analytics_api.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/api/analytics_api.py @@ -329,7 +329,7 @@ def generate_async_campaigns_report( ): """generate_async_campaigns_report # noqa: E501 - Return an asynchronous Campaigns Report # noqa: E501 + Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -412,7 +412,7 @@ def generate_async_line_items_report( ): """generate_async_line_items_report # noqa: E501 - Returns an asynchronous Line Items Report # noqa: E501 + Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -495,7 +495,7 @@ def generate_async_revenue_report( ): """generate_async_revenue_report # noqa: E501 - Returns an asynchronous Revenue Report # noqa: E501 + Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/api_client.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/api_client.py index 172bed95..2170a7c6 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/api_client.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2024.01.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2024.01.0.241029/python' def __enter__(self): return self diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/configuration.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/configuration.py index 8c48ea81..3ef1f2b1 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/configuration.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2024-01\n"\ - "SDK Package Version: 2024.01.0.240808".\ + "SDK Package Version: 2024.01.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/campaign_attributes_v202301.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/campaign_attributes_v202301.py index ae7e1745..13ae6137 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/campaign_attributes_v202301.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/campaign_attributes_v202301.py @@ -132,6 +132,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -154,6 +155,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -213,6 +215,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, *a click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -318,6 +321,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, *args, **kw click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/campaign_v202301.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/campaign_v202301.py index 4a634e11..1c721c6a 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/campaign_v202301.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/campaign_v202301.py @@ -146,6 +146,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -175,6 +176,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -241,6 +243,7 @@ def _from_openapi_data(cls, account_id, promoted_brand_ids, budget_spent, budget click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -359,6 +362,7 @@ def __init__(self, account_id, promoted_brand_ids, budget_spent, budget_remainin click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/editable_campaign_attributes_v202301.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/editable_campaign_attributes_v202301.py index bfc70837..0a300d7d 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/editable_campaign_attributes_v202301.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/editable_campaign_attributes_v202301.py @@ -125,6 +125,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -145,6 +146,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -202,6 +204,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, cl click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -307,6 +310,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, click_attri click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/external_account.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/external_account.py index 9309c1d0..974fab8c 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/external_account.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/external_account.py @@ -108,6 +108,7 @@ def openapi_types(): 'time_zone': (str,), # noqa: E501 'subtype': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -124,6 +125,7 @@ def discriminator(): 'time_zone': 'timeZone', # noqa: E501 'subtype': 'subtype', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -177,6 +179,7 @@ def _from_openapi_data(cls, name, type, countries, currency, parent_account_labe _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -278,6 +281,7 @@ def __init__(self, name, type, countries, currency, parent_account_label, time_z _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1_resource.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1_resource.py index f1a205ae..fedd1bc3 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1_resource.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/rm_legacy_audience_get_entity_v1_resource.py @@ -152,8 +152,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ @@ -241,8 +241,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/section.py b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/section.py index 91ed5f34..d3ca3c52 100644 --- a/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/section.py +++ b/sdks/retailmedia_2024-01/criteo_api_retailmedia_v2024_01/model/section.py @@ -87,8 +87,8 @@ def openapi_types(): """ lazy_import() return { - 'title': (str,), # noqa: E501 'template_variables': ([TemplateVariable],), # noqa: E501 + 'title': (str, none_type,), # noqa: E501 } @cached_property @@ -97,8 +97,8 @@ def discriminator(): attribute_map = { - 'title': 'title', # noqa: E501 'template_variables': 'templateVariables', # noqa: E501 + 'title': 'title', # noqa: E501 } read_only_vars = { @@ -108,11 +108,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -146,6 +145,7 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -177,7 +177,6 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -199,11 +198,10 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa ]) @convert_js_args_to_python_args - def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 + def __init__(self, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -237,6 +235,7 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,7 +265,6 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/sdks/retailmedia_2024-01/docs/AnalyticsApi.md b/sdks/retailmedia_2024-01/docs/AnalyticsApi.md index 4d74e092..de48df47 100644 --- a/sdks/retailmedia_2024-01/docs/AnalyticsApi.md +++ b/sdks/retailmedia_2024-01/docs/AnalyticsApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description -Return an asynchronous Campaigns Report +Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. ### Example @@ -129,7 +129,7 @@ Name | Type | Description | Notes -Returns an asynchronous Line Items Report +Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. ### Example @@ -242,7 +242,7 @@ Name | Type | Description | Notes -Returns an asynchronous Revenue Report +Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. ### Example diff --git a/sdks/retailmedia_2024-01/docs/CampaignApi.md b/sdks/retailmedia_2024-01/docs/CampaignApi.md index 006d4982..99d964c5 100644 --- a/sdks/retailmedia_2024-01/docs/CampaignApi.md +++ b/sdks/retailmedia_2024-01/docs/CampaignApi.md @@ -4722,6 +4722,7 @@ with criteo_api_retailmedia_v2024_01.ApiClient(configuration) as api_client: click_attribution_scope="unknown", view_attribution_scope="unknown", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", ), ), ) # PostCampaignV202301 | Creatable campaign attributes (optional) @@ -5629,6 +5630,7 @@ with criteo_api_retailmedia_v2024_01.ApiClient(configuration) as api_client: click_attribution_scope="unknown", view_attribution_scope="unknown", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", ), ), ) # PutCampaignV202301 | Editable campaign attributes (optional) diff --git a/sdks/retailmedia_2024-01/docs/CampaignAttributesV202301.md b/sdks/retailmedia_2024-01/docs/CampaignAttributesV202301.md index efaef3a0..5d257957 100644 --- a/sdks/retailmedia_2024-01/docs/CampaignAttributesV202301.md +++ b/sdks/retailmedia_2024-01/docs/CampaignAttributesV202301.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-01/docs/CampaignV202301.md b/sdks/retailmedia_2024-01/docs/CampaignV202301.md index 29683d2c..65eb532a 100644 --- a/sdks/retailmedia_2024-01/docs/CampaignV202301.md +++ b/sdks/retailmedia_2024-01/docs/CampaignV202301.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-01/docs/EditableCampaignAttributesV202301.md b/sdks/retailmedia_2024-01/docs/EditableCampaignAttributesV202301.md index 0dbdac3d..b8c8aa20 100644 --- a/sdks/retailmedia_2024-01/docs/EditableCampaignAttributesV202301.md +++ b/sdks/retailmedia_2024-01/docs/EditableCampaignAttributesV202301.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-01/docs/ExternalAccount.md b/sdks/retailmedia_2024-01/docs/ExternalAccount.md index 27965745..4f322ef3 100644 --- a/sdks/retailmedia_2024-01/docs/ExternalAccount.md +++ b/sdks/retailmedia_2024-01/docs/ExternalAccount.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **time_zone** | **str** | | **subtype** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-01/docs/RmLegacyAudienceCreateInputEntityV1.md b/sdks/retailmedia_2024-01/docs/RmLegacyAudienceCreateInputEntityV1.md index 2034af1d..7682e675 100644 --- a/sdks/retailmedia_2024-01/docs/RmLegacyAudienceCreateInputEntityV1.md +++ b/sdks/retailmedia_2024-01/docs/RmLegacyAudienceCreateInputEntityV1.md @@ -1,6 +1,6 @@ # RmLegacyAudienceCreateInputEntityV1 -Input to create audience. +A top-level object that encapsulates a Criteo API request for a single entity. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2024-01/docs/RmLegacyAudienceCreateInputEntityV2.md b/sdks/retailmedia_2024-01/docs/RmLegacyAudienceCreateInputEntityV2.md index c46a8155..1f101ec7 100644 --- a/sdks/retailmedia_2024-01/docs/RmLegacyAudienceCreateInputEntityV2.md +++ b/sdks/retailmedia_2024-01/docs/RmLegacyAudienceCreateInputEntityV2.md @@ -1,6 +1,6 @@ # RmLegacyAudienceCreateInputEntityV2 -Input to create audience. +A top-level object that encapsulates a Criteo API request for a single entity. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2024-01/docs/RmLegacyAudienceGetEntityV1ListResponse.md b/sdks/retailmedia_2024-01/docs/RmLegacyAudienceGetEntityV1ListResponse.md index 177bd87b..6fb23080 100644 --- a/sdks/retailmedia_2024-01/docs/RmLegacyAudienceGetEntityV1ListResponse.md +++ b/sdks/retailmedia_2024-01/docs/RmLegacyAudienceGetEntityV1ListResponse.md @@ -1,6 +1,6 @@ # RmLegacyAudienceGetEntityV1ListResponse -A top-level object that encapsulates a Criteo API response for several entities and metadata +The outcome of an API call. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2024-01/docs/RmLegacyAudienceGetEntityV1Resource.md b/sdks/retailmedia_2024-01/docs/RmLegacyAudienceGetEntityV1Resource.md index dad0c799..e4a69860 100644 --- a/sdks/retailmedia_2024-01/docs/RmLegacyAudienceGetEntityV1Resource.md +++ b/sdks/retailmedia_2024-01/docs/RmLegacyAudienceGetEntityV1Resource.md @@ -6,8 +6,8 @@ A class that represents a domain entity exposed by an API Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attributes** | [**RmLegacyAudienceGetEntityV1**](RmLegacyAudienceGetEntityV1.md) | | [optional] -**id** | **str, none_type** | | [optional] -**audience_type** | **str, none_type** | | [optional] +**id** | **str, none_type** | Unique identifier of this resource. | [optional] +**audience_type** | **str, none_type** | Type of the audience. | [optional] **type** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2024-01/docs/Section.md b/sdks/retailmedia_2024-01/docs/Section.md index 09186289..f09646c7 100644 --- a/sdks/retailmedia_2024-01/docs/Section.md +++ b/sdks/retailmedia_2024-01/docs/Section.md @@ -5,8 +5,8 @@ Section object that hold template variables ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | | **template_variables** | [**[TemplateVariable]**](TemplateVariable.md) | | +**title** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-01/setup.py b/sdks/retailmedia_2024-01/setup.py index 0edfc829..3384d166 100644 --- a/sdks/retailmedia_2024-01/setup.py +++ b/sdks/retailmedia_2024-01/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-retailmedia-sdk" -VERSION = "2024.01.0.240808" +VERSION = "2024.01.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-retailmedia-sdk==2024.01.0.240808 +pip install criteo-api-retailmedia-sdk==2024.01.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.01.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.01.0.241029`) Then import the package: ```python diff --git a/sdks/retailmedia_2024-04/README.md b/sdks/retailmedia_2024-04/README.md index 5d41a971..1c86faaf 100644 --- a/sdks/retailmedia_2024-04/README.md +++ b/sdks/retailmedia_2024-04/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2024.04.0.240808 +- Package version: 2024.04.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-retailmedia-sdk==2024.04.0.240808 +pip install criteo-api-retailmedia-sdk==2024.04.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.04.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.04.0.241029`) Then import the package: ```python diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/__init__.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/__init__.py index cd64e018..1b257285 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/__init__.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "2024.04.0.240808" +__version__ = "2024.04.0.241029" # import ApiClient from criteo_api_retailmedia_v2024_04.api_client import ApiClient diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/api/analytics_api.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/api/analytics_api.py index 114ca943..946dae31 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/api/analytics_api.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/api/analytics_api.py @@ -329,7 +329,7 @@ def generate_async_campaigns_report( ): """generate_async_campaigns_report # noqa: E501 - Return an asynchronous Campaigns Report # noqa: E501 + Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -412,7 +412,7 @@ def generate_async_line_items_report( ): """generate_async_line_items_report # noqa: E501 - Returns an asynchronous Line Items Report # noqa: E501 + Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -495,7 +495,7 @@ def generate_async_revenue_report( ): """generate_async_revenue_report # noqa: E501 - Returns an asynchronous Revenue Report # noqa: E501 + Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/api_client.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/api_client.py index 49a4c0fe..9034a926 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/api_client.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2024.04.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2024.04.0.241029/python' def __enter__(self): return self diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/configuration.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/configuration.py index d7bc615c..f16261e5 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/configuration.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2024-04\n"\ - "SDK Package Version: 2024.04.0.240808".\ + "SDK Package Version: 2024.04.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/campaign_attributes_v202301.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/campaign_attributes_v202301.py index c9412b2e..34ef2a1c 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/campaign_attributes_v202301.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/campaign_attributes_v202301.py @@ -132,6 +132,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -154,6 +155,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -213,6 +215,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, *a click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -318,6 +321,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, *args, **kw click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/campaign_v202301.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/campaign_v202301.py index d624fe44..226cde66 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/campaign_v202301.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/campaign_v202301.py @@ -146,6 +146,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -175,6 +176,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -241,6 +243,7 @@ def _from_openapi_data(cls, account_id, promoted_brand_ids, budget_spent, budget click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -359,6 +362,7 @@ def __init__(self, account_id, promoted_brand_ids, budget_spent, budget_remainin click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/editable_campaign_attributes_v202301.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/editable_campaign_attributes_v202301.py index 04b5a021..3b301f3a 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/editable_campaign_attributes_v202301.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/editable_campaign_attributes_v202301.py @@ -125,6 +125,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -145,6 +146,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -202,6 +204,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, cl click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -307,6 +310,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, click_attri click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/external_account.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/external_account.py index 92b45899..b45c08b5 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/external_account.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/external_account.py @@ -108,6 +108,7 @@ def openapi_types(): 'time_zone': (str,), # noqa: E501 'subtype': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -124,6 +125,7 @@ def discriminator(): 'time_zone': 'timeZone', # noqa: E501 'subtype': 'subtype', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -177,6 +179,7 @@ def _from_openapi_data(cls, name, type, countries, currency, parent_account_labe _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -278,6 +281,7 @@ def __init__(self, name, type, countries, currency, parent_account_label, time_z _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/retail_media_account.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/retail_media_account.py index fa1b6913..d2975f51 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/retail_media_account.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/retail_media_account.py @@ -89,6 +89,7 @@ def openapi_types(): return { 'name': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 'sub_type': (str, none_type,), # noqa: E501 'country_ids': ([str], none_type,), # noqa: E501 @@ -105,6 +106,7 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 'type': 'type', # noqa: E501 'sub_type': 'subType', # noqa: E501 'country_ids': 'countryIds', # noqa: E501 @@ -155,7 +157,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): account name. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 type (str, none_type): Type for the account. [optional] # noqa: E501 sub_type (str, none_type): subtype for the account. [optional] # noqa: E501 country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501 @@ -248,7 +251,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): account name. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 type (str, none_type): Type for the account. [optional] # noqa: E501 sub_type (str, none_type): subtype for the account. [optional] # noqa: E501 country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501 diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/retail_media_brand_account_creation.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/retail_media_brand_account_creation.py index 9cde578a..d2da7224 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/retail_media_brand_account_creation.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/retail_media_brand_account_creation.py @@ -77,6 +77,7 @@ def openapi_types(): return { 'name': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 'brands': ([int], none_type,), # noqa: E501 } @@ -88,6 +89,7 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 'brands': 'brands', # noqa: E501 } @@ -133,7 +135,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501 """ @@ -221,7 +224,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v1_resource.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v1_resource.py index 134a5624..c2cded75 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v1_resource.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v1_resource.py @@ -152,8 +152,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ @@ -241,8 +241,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/section.py b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/section.py index bf830b27..76093f36 100644 --- a/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/section.py +++ b/sdks/retailmedia_2024-04/criteo_api_retailmedia_v2024_04/model/section.py @@ -87,8 +87,8 @@ def openapi_types(): """ lazy_import() return { - 'title': (str,), # noqa: E501 'template_variables': ([TemplateVariable],), # noqa: E501 + 'title': (str, none_type,), # noqa: E501 } @cached_property @@ -97,8 +97,8 @@ def discriminator(): attribute_map = { - 'title': 'title', # noqa: E501 'template_variables': 'templateVariables', # noqa: E501 + 'title': 'title', # noqa: E501 } read_only_vars = { @@ -108,11 +108,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -146,6 +145,7 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -177,7 +177,6 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -199,11 +198,10 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa ]) @convert_js_args_to_python_args - def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 + def __init__(self, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -237,6 +235,7 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,7 +265,6 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/sdks/retailmedia_2024-04/docs/AccountsApi.md b/sdks/retailmedia_2024-04/docs/AccountsApi.md index 59e2c386..d9e82e53 100644 --- a/sdks/retailmedia_2024-04/docs/AccountsApi.md +++ b/sdks/retailmedia_2024-04/docs/AccountsApi.md @@ -167,6 +167,7 @@ with criteo_api_retailmedia_v2024_04.ApiClient(configuration) as api_client: attributes=RetailMediaBrandAccountCreation( name="name_example", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", brands=[ 1, ], diff --git a/sdks/retailmedia_2024-04/docs/AnalyticsApi.md b/sdks/retailmedia_2024-04/docs/AnalyticsApi.md index b938143f..f653c689 100644 --- a/sdks/retailmedia_2024-04/docs/AnalyticsApi.md +++ b/sdks/retailmedia_2024-04/docs/AnalyticsApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description -Return an asynchronous Campaigns Report +Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. ### Example @@ -129,7 +129,7 @@ Name | Type | Description | Notes -Returns an asynchronous Line Items Report +Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. ### Example @@ -242,7 +242,7 @@ Name | Type | Description | Notes -Returns an asynchronous Revenue Report +Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. ### Example diff --git a/sdks/retailmedia_2024-04/docs/CampaignApi.md b/sdks/retailmedia_2024-04/docs/CampaignApi.md index ad9e4eef..5730cfa1 100644 --- a/sdks/retailmedia_2024-04/docs/CampaignApi.md +++ b/sdks/retailmedia_2024-04/docs/CampaignApi.md @@ -4821,6 +4821,7 @@ with criteo_api_retailmedia_v2024_04.ApiClient(configuration) as api_client: click_attribution_scope="unknown", view_attribution_scope="unknown", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", ), ), ) # PostCampaignV202301 | Creatable campaign attributes (optional) @@ -5728,6 +5729,7 @@ with criteo_api_retailmedia_v2024_04.ApiClient(configuration) as api_client: click_attribution_scope="unknown", view_attribution_scope="unknown", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", ), ), ) # PutCampaignV202301 | Editable campaign attributes (optional) diff --git a/sdks/retailmedia_2024-04/docs/CampaignAttributesV202301.md b/sdks/retailmedia_2024-04/docs/CampaignAttributesV202301.md index efaef3a0..5d257957 100644 --- a/sdks/retailmedia_2024-04/docs/CampaignAttributesV202301.md +++ b/sdks/retailmedia_2024-04/docs/CampaignAttributesV202301.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-04/docs/CampaignV202301.md b/sdks/retailmedia_2024-04/docs/CampaignV202301.md index 29683d2c..65eb532a 100644 --- a/sdks/retailmedia_2024-04/docs/CampaignV202301.md +++ b/sdks/retailmedia_2024-04/docs/CampaignV202301.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-04/docs/EditableCampaignAttributesV202301.md b/sdks/retailmedia_2024-04/docs/EditableCampaignAttributesV202301.md index 0dbdac3d..b8c8aa20 100644 --- a/sdks/retailmedia_2024-04/docs/EditableCampaignAttributesV202301.md +++ b/sdks/retailmedia_2024-04/docs/EditableCampaignAttributesV202301.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-04/docs/ExternalAccount.md b/sdks/retailmedia_2024-04/docs/ExternalAccount.md index 27965745..4f322ef3 100644 --- a/sdks/retailmedia_2024-04/docs/ExternalAccount.md +++ b/sdks/retailmedia_2024-04/docs/ExternalAccount.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **time_zone** | **str** | | **subtype** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-04/docs/RetailMediaAccount.md b/sdks/retailmedia_2024-04/docs/RetailMediaAccount.md index efc008b5..ba688f16 100644 --- a/sdks/retailmedia_2024-04/docs/RetailMediaAccount.md +++ b/sdks/retailmedia_2024-04/docs/RetailMediaAccount.md @@ -6,7 +6,8 @@ The details for a newly created account Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str, none_type** | account name | [optional] -**company_name** | **str, none_type** | Display name for reporting the owning entity of ads for the Digital Services Act in the European Union | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] **type** | **str, none_type** | Type for the account | [optional] **sub_type** | **str, none_type** | subtype for the account | [optional] **country_ids** | **[str], none_type** | list of countries associated with the account | [optional] diff --git a/sdks/retailmedia_2024-04/docs/RetailMediaBrandAccountCreation.md b/sdks/retailmedia_2024-04/docs/RetailMediaBrandAccountCreation.md index 3d80fbce..90ef3c4e 100644 --- a/sdks/retailmedia_2024-04/docs/RetailMediaBrandAccountCreation.md +++ b/sdks/retailmedia_2024-04/docs/RetailMediaBrandAccountCreation.md @@ -6,7 +6,8 @@ the initial set up and configuration options for a new private market demand bra Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str, none_type** | the name of the account, must be unique across all accounts | [optional] -**company_name** | **str, none_type** | Display name for reporting the owning entity of ads for the Digital Services Act in the European Union | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] **brands** | **[int], none_type** | list of brands to link to the new account | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-04/docs/RmLegacyAudienceCreateInputEntityV1.md b/sdks/retailmedia_2024-04/docs/RmLegacyAudienceCreateInputEntityV1.md index 2034af1d..7682e675 100644 --- a/sdks/retailmedia_2024-04/docs/RmLegacyAudienceCreateInputEntityV1.md +++ b/sdks/retailmedia_2024-04/docs/RmLegacyAudienceCreateInputEntityV1.md @@ -1,6 +1,6 @@ # RmLegacyAudienceCreateInputEntityV1 -Input to create audience. +A top-level object that encapsulates a Criteo API request for a single entity. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2024-04/docs/RmLegacyAudienceCreateInputEntityV2.md b/sdks/retailmedia_2024-04/docs/RmLegacyAudienceCreateInputEntityV2.md index c46a8155..1f101ec7 100644 --- a/sdks/retailmedia_2024-04/docs/RmLegacyAudienceCreateInputEntityV2.md +++ b/sdks/retailmedia_2024-04/docs/RmLegacyAudienceCreateInputEntityV2.md @@ -1,6 +1,6 @@ # RmLegacyAudienceCreateInputEntityV2 -Input to create audience. +A top-level object that encapsulates a Criteo API request for a single entity. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2024-04/docs/RmLegacyAudienceGetEntityV1ListResponse.md b/sdks/retailmedia_2024-04/docs/RmLegacyAudienceGetEntityV1ListResponse.md index 177bd87b..6fb23080 100644 --- a/sdks/retailmedia_2024-04/docs/RmLegacyAudienceGetEntityV1ListResponse.md +++ b/sdks/retailmedia_2024-04/docs/RmLegacyAudienceGetEntityV1ListResponse.md @@ -1,6 +1,6 @@ # RmLegacyAudienceGetEntityV1ListResponse -A top-level object that encapsulates a Criteo API response for several entities and metadata +The outcome of an API call. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2024-04/docs/RmLegacyAudienceGetEntityV1Resource.md b/sdks/retailmedia_2024-04/docs/RmLegacyAudienceGetEntityV1Resource.md index dad0c799..e4a69860 100644 --- a/sdks/retailmedia_2024-04/docs/RmLegacyAudienceGetEntityV1Resource.md +++ b/sdks/retailmedia_2024-04/docs/RmLegacyAudienceGetEntityV1Resource.md @@ -6,8 +6,8 @@ A class that represents a domain entity exposed by an API Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attributes** | [**RmLegacyAudienceGetEntityV1**](RmLegacyAudienceGetEntityV1.md) | | [optional] -**id** | **str, none_type** | | [optional] -**audience_type** | **str, none_type** | | [optional] +**id** | **str, none_type** | Unique identifier of this resource. | [optional] +**audience_type** | **str, none_type** | Type of the audience. | [optional] **type** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2024-04/docs/Section.md b/sdks/retailmedia_2024-04/docs/Section.md index 09186289..f09646c7 100644 --- a/sdks/retailmedia_2024-04/docs/Section.md +++ b/sdks/retailmedia_2024-04/docs/Section.md @@ -5,8 +5,8 @@ Section object that hold template variables ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | | **template_variables** | [**[TemplateVariable]**](TemplateVariable.md) | | +**title** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-04/setup.py b/sdks/retailmedia_2024-04/setup.py index deeb367b..edba7dfd 100644 --- a/sdks/retailmedia_2024-04/setup.py +++ b/sdks/retailmedia_2024-04/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-retailmedia-sdk" -VERSION = "2024.04.0.240808" +VERSION = "2024.04.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-retailmedia-sdk==2024.04.0.240808 +pip install criteo-api-retailmedia-sdk==2024.04.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.04.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.04.0.241029`) Then import the package: ```python diff --git a/sdks/retailmedia_2024-07/README.md b/sdks/retailmedia_2024-07/README.md index 7ff7afa0..ad3f058c 100644 --- a/sdks/retailmedia_2024-07/README.md +++ b/sdks/retailmedia_2024-07/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2024.07.0.240808 +- Package version: 2024.07.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-retailmedia-sdk==2024.07.0.240808 +pip install criteo-api-retailmedia-sdk==2024.07.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.07.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.07.0.241029`) Then import the package: ```python diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/__init__.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/__init__.py index 3b6649f0..522c3613 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/__init__.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "2024.07.0.240808" +__version__ = "2024.07.0.241029" # import ApiClient from criteo_api_retailmedia_v2024_07.api_client import ApiClient diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/api/analytics_api.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/api/analytics_api.py index 506b91f7..a5fe33f3 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/api/analytics_api.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/api/analytics_api.py @@ -329,7 +329,7 @@ def generate_async_campaigns_report( ): """generate_async_campaigns_report # noqa: E501 - Return an asynchronous Campaigns Report # noqa: E501 + Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -412,7 +412,7 @@ def generate_async_line_items_report( ): """generate_async_line_items_report # noqa: E501 - Returns an asynchronous Line Items Report # noqa: E501 + Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -495,7 +495,7 @@ def generate_async_revenue_report( ): """generate_async_revenue_report # noqa: E501 - Returns an asynchronous Revenue Report # noqa: E501 + Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/api_client.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/api_client.py index 83b2c38d..13e52471 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/api_client.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2024.07.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2024.07.0.241029/python' def __enter__(self): return self diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/configuration.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/configuration.py index 14bd8921..32b34143 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/configuration.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2024-07\n"\ - "SDK Package Version: 2024.07.0.240808".\ + "SDK Package Version: 2024.07.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py index a7b720c3..048551e8 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py @@ -132,6 +132,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -154,6 +155,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -213,6 +215,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, *a click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -318,6 +321,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, *args, **kw click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/campaign_v202301.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/campaign_v202301.py index bf1bbf43..c4d7ced4 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/campaign_v202301.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/campaign_v202301.py @@ -146,6 +146,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -175,6 +176,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -241,6 +243,7 @@ def _from_openapi_data(cls, account_id, promoted_brand_ids, budget_spent, budget click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -359,6 +362,7 @@ def __init__(self, account_id, promoted_brand_ids, budget_spent, budget_remainin click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py index 37f62894..ba30f733 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py @@ -125,6 +125,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -145,6 +146,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -202,6 +204,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, cl click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -307,6 +310,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, click_attri click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/external_account.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/external_account.py index f819e9b1..26dc8d82 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/external_account.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/external_account.py @@ -108,6 +108,7 @@ def openapi_types(): 'time_zone': (str,), # noqa: E501 'subtype': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -124,6 +125,7 @@ def discriminator(): 'time_zone': 'timeZone', # noqa: E501 'subtype': 'subtype', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -177,6 +179,7 @@ def _from_openapi_data(cls, name, type, countries, currency, parent_account_labe _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -278,6 +281,7 @@ def __init__(self, name, type, countries, currency, parent_account_label, time_z _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_account.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_account.py index 8d62d3a4..b7697857 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_account.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_account.py @@ -89,6 +89,7 @@ def openapi_types(): return { 'name': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 'sub_type': (str, none_type,), # noqa: E501 'country_ids': ([str], none_type,), # noqa: E501 @@ -105,6 +106,7 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 'type': 'type', # noqa: E501 'sub_type': 'subType', # noqa: E501 'country_ids': 'countryIds', # noqa: E501 @@ -155,7 +157,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): account name. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 type (str, none_type): Type for the account. [optional] # noqa: E501 sub_type (str, none_type): subtype for the account. [optional] # noqa: E501 country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501 @@ -248,7 +251,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): account name. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 type (str, none_type): Type for the account. [optional] # noqa: E501 sub_type (str, none_type): subtype for the account. [optional] # noqa: E501 country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501 diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_brand_account_creation.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_brand_account_creation.py index ac80b5be..bcda34ca 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_brand_account_creation.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_brand_account_creation.py @@ -77,6 +77,7 @@ def openapi_types(): return { 'name': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 'brands': ([int], none_type,), # noqa: E501 } @@ -88,6 +89,7 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 'brands': 'brands', # noqa: E501 } @@ -133,7 +135,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501 """ @@ -221,7 +224,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_seller_account_creation.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_seller_account_creation.py index 08ed8f19..fbe929f1 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_seller_account_creation.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/retail_media_seller_account_creation.py @@ -82,6 +82,7 @@ def openapi_types(): return { 'name': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 'sellers': ([RetailMediaSeller], none_type,), # noqa: E501 } @@ -93,6 +94,7 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 'sellers': 'sellers', # noqa: E501 } @@ -138,7 +140,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 sellers ([RetailMediaSeller], none_type): list of sellers to associate to the new account. [optional] # noqa: E501 """ @@ -226,7 +229,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 sellers ([RetailMediaSeller], none_type): list of sellers to associate to the new account. [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py index 86a52252..e49db0fa 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py @@ -152,8 +152,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ @@ -241,8 +241,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/section.py b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/section.py index 2b4e72a5..97e9ee8a 100644 --- a/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/section.py +++ b/sdks/retailmedia_2024-07/criteo_api_retailmedia_v2024_07/model/section.py @@ -87,8 +87,8 @@ def openapi_types(): """ lazy_import() return { - 'title': (str,), # noqa: E501 'template_variables': ([TemplateVariable],), # noqa: E501 + 'title': (str, none_type,), # noqa: E501 } @cached_property @@ -97,8 +97,8 @@ def discriminator(): attribute_map = { - 'title': 'title', # noqa: E501 'template_variables': 'templateVariables', # noqa: E501 + 'title': 'title', # noqa: E501 } read_only_vars = { @@ -108,11 +108,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -146,6 +145,7 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -177,7 +177,6 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -199,11 +198,10 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa ]) @convert_js_args_to_python_args - def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 + def __init__(self, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -237,6 +235,7 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,7 +265,6 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/sdks/retailmedia_2024-07/docs/AccountsApi.md b/sdks/retailmedia_2024-07/docs/AccountsApi.md index 1c68c409..bd708bdf 100644 --- a/sdks/retailmedia_2024-07/docs/AccountsApi.md +++ b/sdks/retailmedia_2024-07/docs/AccountsApi.md @@ -169,6 +169,7 @@ with criteo_api_retailmedia_v2024_07.ApiClient(configuration) as api_client: attributes=RetailMediaBrandAccountCreation( name="name_example", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", brands=[ 1, ], @@ -275,6 +276,7 @@ with criteo_api_retailmedia_v2024_07.ApiClient(configuration) as api_client: attributes=RetailMediaSellerAccountCreation( name="name_example", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", sellers=[ RetailMediaSeller( seller_id="seller_id_example", diff --git a/sdks/retailmedia_2024-07/docs/AnalyticsApi.md b/sdks/retailmedia_2024-07/docs/AnalyticsApi.md index b550e087..b4033268 100644 --- a/sdks/retailmedia_2024-07/docs/AnalyticsApi.md +++ b/sdks/retailmedia_2024-07/docs/AnalyticsApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description -Return an asynchronous Campaigns Report +Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. ### Example @@ -129,7 +129,7 @@ Name | Type | Description | Notes -Returns an asynchronous Line Items Report +Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. ### Example @@ -242,7 +242,7 @@ Name | Type | Description | Notes -Returns an asynchronous Revenue Report +Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. ### Example diff --git a/sdks/retailmedia_2024-07/docs/CampaignApi.md b/sdks/retailmedia_2024-07/docs/CampaignApi.md index 91427496..2fd374c8 100644 --- a/sdks/retailmedia_2024-07/docs/CampaignApi.md +++ b/sdks/retailmedia_2024-07/docs/CampaignApi.md @@ -4629,6 +4629,7 @@ with criteo_api_retailmedia_v2024_07.ApiClient(configuration) as api_client: click_attribution_scope="unknown", view_attribution_scope="unknown", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", ), ), ) # PostCampaignV202301 | Creatable campaign attributes (optional) @@ -5536,6 +5537,7 @@ with criteo_api_retailmedia_v2024_07.ApiClient(configuration) as api_client: click_attribution_scope="unknown", view_attribution_scope="unknown", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", ), ), ) # PutCampaignV202301 | Editable campaign attributes (optional) diff --git a/sdks/retailmedia_2024-07/docs/CampaignAttributesV202301.md b/sdks/retailmedia_2024-07/docs/CampaignAttributesV202301.md index efaef3a0..5d257957 100644 --- a/sdks/retailmedia_2024-07/docs/CampaignAttributesV202301.md +++ b/sdks/retailmedia_2024-07/docs/CampaignAttributesV202301.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-07/docs/CampaignV202301.md b/sdks/retailmedia_2024-07/docs/CampaignV202301.md index 29683d2c..65eb532a 100644 --- a/sdks/retailmedia_2024-07/docs/CampaignV202301.md +++ b/sdks/retailmedia_2024-07/docs/CampaignV202301.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-07/docs/EditableCampaignAttributesV202301.md b/sdks/retailmedia_2024-07/docs/EditableCampaignAttributesV202301.md index 0dbdac3d..b8c8aa20 100644 --- a/sdks/retailmedia_2024-07/docs/EditableCampaignAttributesV202301.md +++ b/sdks/retailmedia_2024-07/docs/EditableCampaignAttributesV202301.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-07/docs/ExternalAccount.md b/sdks/retailmedia_2024-07/docs/ExternalAccount.md index 27965745..4f322ef3 100644 --- a/sdks/retailmedia_2024-07/docs/ExternalAccount.md +++ b/sdks/retailmedia_2024-07/docs/ExternalAccount.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **time_zone** | **str** | | **subtype** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-07/docs/RetailMediaAccount.md b/sdks/retailmedia_2024-07/docs/RetailMediaAccount.md index efc008b5..ba688f16 100644 --- a/sdks/retailmedia_2024-07/docs/RetailMediaAccount.md +++ b/sdks/retailmedia_2024-07/docs/RetailMediaAccount.md @@ -6,7 +6,8 @@ The details for a newly created account Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str, none_type** | account name | [optional] -**company_name** | **str, none_type** | Display name for reporting the owning entity of ads for the Digital Services Act in the European Union | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] **type** | **str, none_type** | Type for the account | [optional] **sub_type** | **str, none_type** | subtype for the account | [optional] **country_ids** | **[str], none_type** | list of countries associated with the account | [optional] diff --git a/sdks/retailmedia_2024-07/docs/RetailMediaBrandAccountCreation.md b/sdks/retailmedia_2024-07/docs/RetailMediaBrandAccountCreation.md index 3d80fbce..90ef3c4e 100644 --- a/sdks/retailmedia_2024-07/docs/RetailMediaBrandAccountCreation.md +++ b/sdks/retailmedia_2024-07/docs/RetailMediaBrandAccountCreation.md @@ -6,7 +6,8 @@ the initial set up and configuration options for a new private market demand bra Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str, none_type** | the name of the account, must be unique across all accounts | [optional] -**company_name** | **str, none_type** | Display name for reporting the owning entity of ads for the Digital Services Act in the European Union | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] **brands** | **[int], none_type** | list of brands to link to the new account | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-07/docs/RetailMediaSellerAccountCreation.md b/sdks/retailmedia_2024-07/docs/RetailMediaSellerAccountCreation.md index e7b2eef9..4b6fd25c 100644 --- a/sdks/retailmedia_2024-07/docs/RetailMediaSellerAccountCreation.md +++ b/sdks/retailmedia_2024-07/docs/RetailMediaSellerAccountCreation.md @@ -6,7 +6,8 @@ the initial set up and configuration options for a new private market demand bra Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str, none_type** | the name of the account, must be unique across all accounts | [optional] -**company_name** | **str, none_type** | Display name for reporting the owning entity of ads for the Digital Services Act in the European Union | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] **sellers** | [**[RetailMediaSeller], none_type**](RetailMediaSeller.md) | list of sellers to associate to the new account | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-07/docs/RmLegacyAudienceCreateInputEntityV1.md b/sdks/retailmedia_2024-07/docs/RmLegacyAudienceCreateInputEntityV1.md index 2034af1d..7682e675 100644 --- a/sdks/retailmedia_2024-07/docs/RmLegacyAudienceCreateInputEntityV1.md +++ b/sdks/retailmedia_2024-07/docs/RmLegacyAudienceCreateInputEntityV1.md @@ -1,6 +1,6 @@ # RmLegacyAudienceCreateInputEntityV1 -Input to create audience. +A top-level object that encapsulates a Criteo API request for a single entity. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2024-07/docs/RmLegacyAudienceCreateInputEntityV2.md b/sdks/retailmedia_2024-07/docs/RmLegacyAudienceCreateInputEntityV2.md index c46a8155..1f101ec7 100644 --- a/sdks/retailmedia_2024-07/docs/RmLegacyAudienceCreateInputEntityV2.md +++ b/sdks/retailmedia_2024-07/docs/RmLegacyAudienceCreateInputEntityV2.md @@ -1,6 +1,6 @@ # RmLegacyAudienceCreateInputEntityV2 -Input to create audience. +A top-level object that encapsulates a Criteo API request for a single entity. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2024-07/docs/RmLegacyAudienceGetEntityV1ListResponse.md b/sdks/retailmedia_2024-07/docs/RmLegacyAudienceGetEntityV1ListResponse.md index 177bd87b..6fb23080 100644 --- a/sdks/retailmedia_2024-07/docs/RmLegacyAudienceGetEntityV1ListResponse.md +++ b/sdks/retailmedia_2024-07/docs/RmLegacyAudienceGetEntityV1ListResponse.md @@ -1,6 +1,6 @@ # RmLegacyAudienceGetEntityV1ListResponse -A top-level object that encapsulates a Criteo API response for several entities and metadata +The outcome of an API call. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_2024-07/docs/RmLegacyAudienceGetEntityV1Resource.md b/sdks/retailmedia_2024-07/docs/RmLegacyAudienceGetEntityV1Resource.md index dad0c799..e4a69860 100644 --- a/sdks/retailmedia_2024-07/docs/RmLegacyAudienceGetEntityV1Resource.md +++ b/sdks/retailmedia_2024-07/docs/RmLegacyAudienceGetEntityV1Resource.md @@ -6,8 +6,8 @@ A class that represents a domain entity exposed by an API Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attributes** | [**RmLegacyAudienceGetEntityV1**](RmLegacyAudienceGetEntityV1.md) | | [optional] -**id** | **str, none_type** | | [optional] -**audience_type** | **str, none_type** | | [optional] +**id** | **str, none_type** | Unique identifier of this resource. | [optional] +**audience_type** | **str, none_type** | Type of the audience. | [optional] **type** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2024-07/docs/Section.md b/sdks/retailmedia_2024-07/docs/Section.md index 09186289..f09646c7 100644 --- a/sdks/retailmedia_2024-07/docs/Section.md +++ b/sdks/retailmedia_2024-07/docs/Section.md @@ -5,8 +5,8 @@ Section object that hold template variables ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | | **template_variables** | [**[TemplateVariable]**](TemplateVariable.md) | | +**title** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-07/setup.py b/sdks/retailmedia_2024-07/setup.py index 82f8fa81..e1ec5454 100644 --- a/sdks/retailmedia_2024-07/setup.py +++ b/sdks/retailmedia_2024-07/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-retailmedia-sdk" -VERSION = "2024.07.0.240808" +VERSION = "2024.07.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-retailmedia-sdk==2024.07.0.240808 +pip install criteo-api-retailmedia-sdk==2024.07.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.07.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.07.0.241029`) Then import the package: ```python diff --git a/sdks/retailmedia_2023-07/.gitignore b/sdks/retailmedia_2024-10/.gitignore similarity index 100% rename from sdks/retailmedia_2023-07/.gitignore rename to sdks/retailmedia_2024-10/.gitignore diff --git a/sdks/retailmedia_2023-07/.gitlab-ci.yml b/sdks/retailmedia_2024-10/.gitlab-ci.yml similarity index 88% rename from sdks/retailmedia_2023-07/.gitlab-ci.yml rename to sdks/retailmedia_2024-10/.gitlab-ci.yml index ab2679bb..38c25d78 100644 --- a/sdks/retailmedia_2023-07/.gitlab-ci.yml +++ b/sdks/retailmedia_2024-10/.gitlab-ci.yml @@ -8,7 +8,7 @@ stages: script: - pip install -r requirements.txt - pip install -r test-requirements.txt - - pytest --cov=criteo_api_retailmedia_v2023_07 + - pytest --cov=criteo_api_retailmedia_v2024_10 test-3.6: extends: .tests diff --git a/sdks/retailmedia_2024-10/.openapi-generator/FILES b/sdks/retailmedia_2024-10/.openapi-generator/FILES new file mode 100644 index 00000000..cc639196 --- /dev/null +++ b/sdks/retailmedia_2024-10/.openapi-generator/FILES @@ -0,0 +1,582 @@ +.gitignore +.gitlab-ci.yml +.openapi-generator-ignore +.travis.yml +README.md +criteo_api_retailmedia_v2024_10/__init__.py +criteo_api_retailmedia_v2024_10/api/__init__.py +criteo_api_retailmedia_v2024_10/api/accounts_api.py +criteo_api_retailmedia_v2024_10/api/analytics_api.py +criteo_api_retailmedia_v2024_10/api/audience_api.py +criteo_api_retailmedia_v2024_10/api/balance_api.py +criteo_api_retailmedia_v2024_10/api/campaign_api.py +criteo_api_retailmedia_v2024_10/api/gateway_api.py +criteo_api_retailmedia_v2024_10/api_client.py +criteo_api_retailmedia_v2024_10/api_client_builder.py +criteo_api_retailmedia_v2024_10/apis/__init__.py +criteo_api_retailmedia_v2024_10/configuration.py +criteo_api_retailmedia_v2024_10/criteo_api_client.py +criteo_api_retailmedia_v2024_10/criteo_auth.py +criteo_api_retailmedia_v2024_10/criteo_rest.py +criteo_api_retailmedia_v2024_10/exceptions.py +criteo_api_retailmedia_v2024_10/flow_constants.py +criteo_api_retailmedia_v2024_10/model/__init__.py +criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2.py +criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2_request.py +criteo_api_retailmedia_v2024_10/model/add_remove_keyword_model.py +criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model.py +criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model_request.py +criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model_resource.py +criteo_api_retailmedia_v2024_10/model/add_to_basket_ids_update_model202110_request.py +criteo_api_retailmedia_v2024_10/model/add_to_basket_target202110_request.py +criteo_api_retailmedia_v2024_10/model/add_to_basket_target202110_response.py +criteo_api_retailmedia_v2024_10/model/application_summary_model.py +criteo_api_retailmedia_v2024_10/model/application_summary_model_resource.py +criteo_api_retailmedia_v2024_10/model/application_summary_model_response.py +criteo_api_retailmedia_v2024_10/model/approval_status_model.py +criteo_api_retailmedia_v2024_10/model/asset.py +criteo_api_retailmedia_v2024_10/model/asset_resource.py +criteo_api_retailmedia_v2024_10/model/asset_response.py +criteo_api_retailmedia_v2024_10/model/async_campaigns_report.py +criteo_api_retailmedia_v2024_10/model/async_campaigns_report_request.py +criteo_api_retailmedia_v2024_10/model/async_campaigns_report_resource.py +criteo_api_retailmedia_v2024_10/model/async_line_items_report.py +criteo_api_retailmedia_v2024_10/model/async_line_items_report_request.py +criteo_api_retailmedia_v2024_10/model/async_line_items_report_resource.py +criteo_api_retailmedia_v2024_10/model/async_report_response.py +criteo_api_retailmedia_v2024_10/model/async_revenue_report.py +criteo_api_retailmedia_v2024_10/model/async_revenue_report_request.py +criteo_api_retailmedia_v2024_10/model/async_revenue_report_resource.py +criteo_api_retailmedia_v2024_10/model/auction_line_item_create_model_request.py +criteo_api_retailmedia_v2024_10/model/auction_line_item_paged_list_response.py +criteo_api_retailmedia_v2024_10/model/auction_line_item_response.py +criteo_api_retailmedia_v2024_10/model/auction_line_item_update_model_request.py +criteo_api_retailmedia_v2024_10/model/audience_error.py +criteo_api_retailmedia_v2024_10/model/audience_ids_update_model202110_request.py +criteo_api_retailmedia_v2024_10/model/audience_target202110_request.py +criteo_api_retailmedia_v2024_10/model/audience_target202110_response.py +criteo_api_retailmedia_v2024_10/model/audience_warning.py +criteo_api_retailmedia_v2024_10/model/balance_campaign202110_list_request.py +criteo_api_retailmedia_v2024_10/model/balance_campaign202110_paged_list_response.py +criteo_api_retailmedia_v2024_10/model/balance_history_change_data_capture_v1.py +criteo_api_retailmedia_v2024_10/model/balance_response_v2.py +criteo_api_retailmedia_v2024_10/model/balance_response_v2_response.py +criteo_api_retailmedia_v2024_10/model/campaign_attributes_v202301.py +criteo_api_retailmedia_v2024_10/model/campaign_budget_overrides.py +criteo_api_retailmedia_v2024_10/model/campaign_daily_budget_override.py +criteo_api_retailmedia_v2024_10/model/campaign_monthly_budget_override.py +criteo_api_retailmedia_v2024_10/model/campaign_v202301.py +criteo_api_retailmedia_v2024_10/model/category202204.py +criteo_api_retailmedia_v2024_10/model/category202204_list_response.py +criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2.py +criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2_request.py +criteo_api_retailmedia_v2024_10/model/change_details_v1.py +criteo_api_retailmedia_v2024_10/model/choice_option.py +criteo_api_retailmedia_v2024_10/model/choice_variable_specification.py +criteo_api_retailmedia_v2024_10/model/choice_variable_value.py +criteo_api_retailmedia_v2024_10/model/color_variable_value.py +criteo_api_retailmedia_v2024_10/model/common_error.py +criteo_api_retailmedia_v2024_10/model/common_line_item_paged_list_response.py +criteo_api_retailmedia_v2024_10/model/common_line_item_response.py +criteo_api_retailmedia_v2024_10/model/common_problem.py +criteo_api_retailmedia_v2024_10/model/common_warning.py +criteo_api_retailmedia_v2024_10/model/create_balance_v2.py +criteo_api_retailmedia_v2024_10/model/create_balance_v2_request.py +criteo_api_retailmedia_v2024_10/model/creative202110.py +criteo_api_retailmedia_v2024_10/model/creative202110_list_response.py +criteo_api_retailmedia_v2024_10/model/creative202210.py +criteo_api_retailmedia_v2024_10/model/creative202210_response.py +criteo_api_retailmedia_v2024_10/model/creative_create_model202207.py +criteo_api_retailmedia_v2024_10/model/creative_update_model202207.py +criteo_api_retailmedia_v2024_10/model/creative_v2_list_response.py +criteo_api_retailmedia_v2024_10/model/creative_v2_response.py +criteo_api_retailmedia_v2024_10/model/daily_line_item_budget_override.py +criteo_api_retailmedia_v2024_10/model/editable_campaign_attributes_v202301.py +criteo_api_retailmedia_v2024_10/model/error_code_response.py +criteo_api_retailmedia_v2024_10/model/external_account.py +criteo_api_retailmedia_v2024_10/model/external_add_to_basket_ids_update_model202110.py +criteo_api_retailmedia_v2024_10/model/external_add_to_basket_target202110.py +criteo_api_retailmedia_v2024_10/model/external_auction_line_item.py +criteo_api_retailmedia_v2024_10/model/external_auction_line_item_create_model.py +criteo_api_retailmedia_v2024_10/model/external_auction_line_item_update_model.py +criteo_api_retailmedia_v2024_10/model/external_audience_ids_update_model202110.py +criteo_api_retailmedia_v2024_10/model/external_audience_target202110.py +criteo_api_retailmedia_v2024_10/model/external_brand.py +criteo_api_retailmedia_v2024_10/model/external_catalog_request.py +criteo_api_retailmedia_v2024_10/model/external_catalog_status.py +criteo_api_retailmedia_v2024_10/model/external_choice_variable_value.py +criteo_api_retailmedia_v2024_10/model/external_color_variable_value.py +criteo_api_retailmedia_v2024_10/model/external_common_line_item.py +criteo_api_retailmedia_v2024_10/model/external_creative_v2.py +criteo_api_retailmedia_v2024_10/model/external_files_variable_value.py +criteo_api_retailmedia_v2024_10/model/external_hyperlink_variable_value.py +criteo_api_retailmedia_v2024_10/model/external_keyword_target202110.py +criteo_api_retailmedia_v2024_10/model/external_line_item_bid_multipliers_v2.py +criteo_api_retailmedia_v2024_10/model/external_line_item_capping_v2.py +criteo_api_retailmedia_v2024_10/model/external_line_item_page_category_v2.py +criteo_api_retailmedia_v2024_10/model/external_line_item_page_v2.py +criteo_api_retailmedia_v2024_10/model/external_page_type_environment.py +criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_create_model_v2.py +criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_update_model_v2.py +criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_v2.py +criteo_api_retailmedia_v2024_10/model/external_retailer.py +criteo_api_retailmedia_v2024_10/model/external_retailer_pages202110.py +criteo_api_retailmedia_v2024_10/model/external_store_ids_update_model202110.py +criteo_api_retailmedia_v2024_10/model/external_store_target202110.py +criteo_api_retailmedia_v2024_10/model/external_template_variable_value.py +criteo_api_retailmedia_v2024_10/model/external_text_variable_value.py +criteo_api_retailmedia_v2024_10/model/external_video_variable_value.py +criteo_api_retailmedia_v2024_10/model/files_variable_value.py +criteo_api_retailmedia_v2024_10/model/files_variables_specification.py +criteo_api_retailmedia_v2024_10/model/hyperlink_variable_value.py +criteo_api_retailmedia_v2024_10/model/input_keywords_model.py +criteo_api_retailmedia_v2024_10/model/input_resource_of_auction_line_item_create_model.py +criteo_api_retailmedia_v2024_10/model/input_resource_of_preferred_line_item_create_model_v2.py +criteo_api_retailmedia_v2024_10/model/json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301.py +criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_account_and_account.py +criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301.py +criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py +criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +criteo_api_retailmedia_v2024_10/model/json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301.py +criteo_api_retailmedia_v2024_10/model/json_api_body_without_id_of_catalog_request_and_catalog_request.py +criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_account.py +criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_brand.py +criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_campaign_v202301.py +criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_retailer.py +criteo_api_retailmedia_v2024_10/model/json_api_request_of_catalog_request.py +criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_campaign_v202301.py +criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_catalog_status.py +criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +criteo_api_retailmedia_v2024_10/model/keyword_data_model.py +criteo_api_retailmedia_v2024_10/model/keyword_target202110_request.py +criteo_api_retailmedia_v2024_10/model/keyword_target202110_response.py +criteo_api_retailmedia_v2024_10/model/keywords_model.py +criteo_api_retailmedia_v2024_10/model/keywords_model_resource.py +criteo_api_retailmedia_v2024_10/model/keywords_model_response.py +criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_request.py +criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_response.py +criteo_api_retailmedia_v2024_10/model/line_item_budget_overrides.py +criteo_api_retailmedia_v2024_10/model/line_item_product_status.py +criteo_api_retailmedia_v2024_10/model/match_type_model.py +criteo_api_retailmedia_v2024_10/model/metadata.py +criteo_api_retailmedia_v2024_10/model/monthly_line_item_budeget_override.py +criteo_api_retailmedia_v2024_10/model/negotiation_state_model.py +criteo_api_retailmedia_v2024_10/model/nillable_string.py +criteo_api_retailmedia_v2024_10/model/page_metadata.py +criteo_api_retailmedia_v2024_10/model/page_of_balance_history_change_data_capture_v1.py +criteo_api_retailmedia_v2024_10/model/page_type_environment.py +criteo_api_retailmedia_v2024_10/model/paged_resource_collection_outcome_of_balance_response_v2.py +criteo_api_retailmedia_v2024_10/model/post_campaign_v202301.py +criteo_api_retailmedia_v2024_10/model/preferred_line_item_create_model_v2_request.py +criteo_api_retailmedia_v2024_10/model/preferred_line_item_update_model_v2_request.py +criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_paged_list_response.py +criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_response.py +criteo_api_retailmedia_v2024_10/model/problem_details.py +criteo_api_retailmedia_v2024_10/model/product_metadata.py +criteo_api_retailmedia_v2024_10/model/product_resource_outcome.py +criteo_api_retailmedia_v2024_10/model/promoted_product.py +criteo_api_retailmedia_v2024_10/model/promoted_product_resource.py +criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_input.py +criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_outcome.py +criteo_api_retailmedia_v2024_10/model/proposal_status_model.py +criteo_api_retailmedia_v2024_10/model/proposal_status_model_resource.py +criteo_api_retailmedia_v2024_10/model/proposal_status_model_response.py +criteo_api_retailmedia_v2024_10/model/put_campaign_v202301.py +criteo_api_retailmedia_v2024_10/model/report_outcome.py +criteo_api_retailmedia_v2024_10/model/resource_of_add_funds_to_balance_v2.py +criteo_api_retailmedia_v2024_10/model/resource_of_auction_line_item.py +criteo_api_retailmedia_v2024_10/model/resource_of_auction_line_item_update_model.py +criteo_api_retailmedia_v2024_10/model/resource_of_balance_campaign202110.py +criteo_api_retailmedia_v2024_10/model/resource_of_balance_response_v2.py +criteo_api_retailmedia_v2024_10/model/resource_of_category202204.py +criteo_api_retailmedia_v2024_10/model/resource_of_change_dates_of_balance_v2.py +criteo_api_retailmedia_v2024_10/model/resource_of_common_line_item.py +criteo_api_retailmedia_v2024_10/model/resource_of_create_balance_v2.py +criteo_api_retailmedia_v2024_10/model/resource_of_creative202110.py +criteo_api_retailmedia_v2024_10/model/resource_of_creative202210.py +criteo_api_retailmedia_v2024_10/model/resource_of_creative_v2.py +criteo_api_retailmedia_v2024_10/model/resource_of_line_item_bid_multipliers_v2.py +criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_update_model_v2.py +criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_v2.py +criteo_api_retailmedia_v2024_10/model/resource_of_retail_media_account.py +criteo_api_retailmedia_v2024_10/model/resource_of_template.py +criteo_api_retailmedia_v2024_10/model/resource_of_update_balance_model_v2.py +criteo_api_retailmedia_v2024_10/model/resource_outcome.py +criteo_api_retailmedia_v2024_10/model/resource_outcome_of_retail_media_account.py +criteo_api_retailmedia_v2024_10/model/retail_media_account.py +criteo_api_retailmedia_v2024_10/model/retail_media_brand_account_creation.py +criteo_api_retailmedia_v2024_10/model/retail_media_brands.py +criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment.py +criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_attributes.py +criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_request.py +criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation.py +criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes.py +criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes_attributes.py +criteo_api_retailmedia_v2024_10/model/retail_media_seller.py +criteo_api_retailmedia_v2024_10/model/retail_media_seller_account_creation.py +criteo_api_retailmedia_v2024_10/model/review_state_model.py +criteo_api_retailmedia_v2024_10/model/rm_algebra_node_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_resource.py +criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1_resource.py +criteo_api_retailmedia_v2024_10/model/rm_audience_search_input_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_search_metadata_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_create_input_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_delete_input_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_update_input_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1_resource.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_delete_entity_v1_resource.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_list_response.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_resource.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_list_response.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_resource.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1_resource.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_input_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_metadata_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1.py +criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1_resource.py +criteo_api_retailmedia_v2024_10/model/rm_contact_list_create_v1.py +criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1.py +criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_resource.py +criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_response.py +criteo_api_retailmedia_v2024_10/model/rm_contact_list_v1.py +criteo_api_retailmedia_v2024_10/model/rm_events_v1.py +criteo_api_retailmedia_v2024_10/model/rmca_common_problem.py +criteo_api_retailmedia_v2024_10/model/section.py +criteo_api_retailmedia_v2024_10/model/set_bid_model.py +criteo_api_retailmedia_v2024_10/model/set_bids_model.py +criteo_api_retailmedia_v2024_10/model/set_bids_model_request.py +criteo_api_retailmedia_v2024_10/model/set_bids_model_resource.py +criteo_api_retailmedia_v2024_10/model/status_response.py +criteo_api_retailmedia_v2024_10/model/status_response_resource.py +criteo_api_retailmedia_v2024_10/model/store_ids_update_model202110_request.py +criteo_api_retailmedia_v2024_10/model/store_target202110_request.py +criteo_api_retailmedia_v2024_10/model/store_target202110_response.py +criteo_api_retailmedia_v2024_10/model/template.py +criteo_api_retailmedia_v2024_10/model/template_list_response.py +criteo_api_retailmedia_v2024_10/model/template_response.py +criteo_api_retailmedia_v2024_10/model/template_variable.py +criteo_api_retailmedia_v2024_10/model/template_variable_value.py +criteo_api_retailmedia_v2024_10/model/text_variable_specification.py +criteo_api_retailmedia_v2024_10/model/text_variable_value.py +criteo_api_retailmedia_v2024_10/model/update_balance_model_v2.py +criteo_api_retailmedia_v2024_10/model/update_balance_model_v2_request.py +criteo_api_retailmedia_v2024_10/model/value_resource_collection_input_of_retail_media_seller.py +criteo_api_retailmedia_v2024_10/model/value_resource_collection_outcome_of_retail_media_seller.py +criteo_api_retailmedia_v2024_10/model/value_resource_input_of_campaign_budget_overrides.py +criteo_api_retailmedia_v2024_10/model/value_resource_input_of_line_item_budget_overrides.py +criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brand_account_creation.py +criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brands.py +criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_seller_account_creation.py +criteo_api_retailmedia_v2024_10/model/value_resource_of_campaign_budget_overrides.py +criteo_api_retailmedia_v2024_10/model/value_resource_of_line_item_budget_overrides.py +criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brand_account_creation.py +criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brands.py +criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller.py +criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller_account_creation.py +criteo_api_retailmedia_v2024_10/model/value_resource_outcome_of_campaign_budget_overrides.py +criteo_api_retailmedia_v2024_10/model/value_resource_outcome_of_line_item_budget_overrides.py +criteo_api_retailmedia_v2024_10/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +criteo_api_retailmedia_v2024_10/model/value_type_resource_of_add_to_basket_target202110.py +criteo_api_retailmedia_v2024_10/model/value_type_resource_of_audience_ids_update_model202110.py +criteo_api_retailmedia_v2024_10/model/value_type_resource_of_audience_target202110.py +criteo_api_retailmedia_v2024_10/model/value_type_resource_of_keyword_target202110.py +criteo_api_retailmedia_v2024_10/model/value_type_resource_of_store_ids_update_model202110.py +criteo_api_retailmedia_v2024_10/model/value_type_resource_of_store_target202110.py +criteo_api_retailmedia_v2024_10/model_utils.py +criteo_api_retailmedia_v2024_10/models/__init__.py +criteo_api_retailmedia_v2024_10/rest.py +docs/AccountsApi.md +docs/AddFundsToBalanceV2.md +docs/AddFundsToBalanceV2Request.md +docs/AddRemoveKeywordModel.md +docs/AddRemoveKeywordsModel.md +docs/AddRemoveKeywordsModelRequest.md +docs/AddRemoveKeywordsModelResource.md +docs/AddToBasketIdsUpdateModel202110Request.md +docs/AddToBasketTarget202110Request.md +docs/AddToBasketTarget202110Response.md +docs/AnalyticsApi.md +docs/ApplicationSummaryModel.md +docs/ApplicationSummaryModelResource.md +docs/ApplicationSummaryModelResponse.md +docs/ApprovalStatusModel.md +docs/Asset.md +docs/AssetResource.md +docs/AssetResponse.md +docs/AsyncCampaignsReport.md +docs/AsyncCampaignsReportRequest.md +docs/AsyncCampaignsReportResource.md +docs/AsyncLineItemsReport.md +docs/AsyncLineItemsReportRequest.md +docs/AsyncLineItemsReportResource.md +docs/AsyncReportResponse.md +docs/AsyncRevenueReport.md +docs/AsyncRevenueReportRequest.md +docs/AsyncRevenueReportResource.md +docs/AuctionLineItemCreateModelRequest.md +docs/AuctionLineItemPagedListResponse.md +docs/AuctionLineItemResponse.md +docs/AuctionLineItemUpdateModelRequest.md +docs/AudienceApi.md +docs/AudienceError.md +docs/AudienceIdsUpdateModel202110Request.md +docs/AudienceTarget202110Request.md +docs/AudienceTarget202110Response.md +docs/AudienceWarning.md +docs/BalanceApi.md +docs/BalanceCampaign202110ListRequest.md +docs/BalanceCampaign202110PagedListResponse.md +docs/BalanceHistoryChangeDataCaptureV1.md +docs/BalanceResponseV2.md +docs/BalanceResponseV2Response.md +docs/CampaignApi.md +docs/CampaignAttributesV202301.md +docs/CampaignBudgetOverrides.md +docs/CampaignDailyBudgetOverride.md +docs/CampaignMonthlyBudgetOverride.md +docs/CampaignV202301.md +docs/Category202204.md +docs/Category202204ListResponse.md +docs/ChangeDatesOfBalanceV2.md +docs/ChangeDatesOfBalanceV2Request.md +docs/ChangeDetailsV1.md +docs/ChoiceOption.md +docs/ChoiceVariableSpecification.md +docs/ChoiceVariableValue.md +docs/ColorVariableValue.md +docs/CommonError.md +docs/CommonLineItemPagedListResponse.md +docs/CommonLineItemResponse.md +docs/CommonProblem.md +docs/CommonWarning.md +docs/CreateBalanceV2.md +docs/CreateBalanceV2Request.md +docs/Creative202110.md +docs/Creative202110ListResponse.md +docs/Creative202210.md +docs/Creative202210Response.md +docs/CreativeCreateModel202207.md +docs/CreativeUpdateModel202207.md +docs/CreativeV2ListResponse.md +docs/CreativeV2Response.md +docs/DailyLineItemBudgetOverride.md +docs/EditableCampaignAttributesV202301.md +docs/ErrorCodeResponse.md +docs/ExternalAccount.md +docs/ExternalAddToBasketIdsUpdateModel202110.md +docs/ExternalAddToBasketTarget202110.md +docs/ExternalAuctionLineItem.md +docs/ExternalAuctionLineItemCreateModel.md +docs/ExternalAuctionLineItemUpdateModel.md +docs/ExternalAudienceIdsUpdateModel202110.md +docs/ExternalAudienceTarget202110.md +docs/ExternalBrand.md +docs/ExternalCatalogRequest.md +docs/ExternalCatalogStatus.md +docs/ExternalChoiceVariableValue.md +docs/ExternalColorVariableValue.md +docs/ExternalCommonLineItem.md +docs/ExternalCreativeV2.md +docs/ExternalFilesVariableValue.md +docs/ExternalHyperlinkVariableValue.md +docs/ExternalKeywordTarget202110.md +docs/ExternalLineItemBidMultipliersV2.md +docs/ExternalLineItemCappingV2.md +docs/ExternalLineItemPageCategoryV2.md +docs/ExternalLineItemPageV2.md +docs/ExternalPageTypeEnvironment.md +docs/ExternalPreferredLineItemCreateModelV2.md +docs/ExternalPreferredLineItemUpdateModelV2.md +docs/ExternalPreferredLineItemV2.md +docs/ExternalRetailer.md +docs/ExternalRetailerPages202110.md +docs/ExternalStoreIdsUpdateModel202110.md +docs/ExternalStoreTarget202110.md +docs/ExternalTemplateVariableValue.md +docs/ExternalTextVariableValue.md +docs/ExternalVideoVariableValue.md +docs/FilesVariableValue.md +docs/FilesVariablesSpecification.md +docs/GatewayApi.md +docs/HyperlinkVariableValue.md +docs/InputKeywordsModel.md +docs/InputResourceOfAuctionLineItemCreateModel.md +docs/InputResourceOfPreferredLineItemCreateModelV2.md +docs/JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301.md +docs/JsonApiBodyWithIdOfInt64AndAccountAndAccount.md +docs/JsonApiBodyWithIdOfInt64AndBrandAndBrand.md +docs/JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301.md +docs/JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus.md +docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2.md +docs/JsonApiBodyWithIdOfInt64AndRetailerAndRetailer.md +docs/JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301.md +docs/JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest.md +docs/JsonApiPageResponseOfAccount.md +docs/JsonApiPageResponseOfBrand.md +docs/JsonApiPageResponseOfCampaignV202301.md +docs/JsonApiPageResponseOfRetailer.md +docs/JsonApiRequestOfCatalogRequest.md +docs/JsonApiSingleResponseOfCampaignV202301.md +docs/JsonApiSingleResponseOfCatalogStatus.md +docs/JsonApiSingleResponseOfLineItemBidMultipliersV2.md +docs/KeywordDataModel.md +docs/KeywordTarget202110Request.md +docs/KeywordTarget202110Response.md +docs/KeywordsModel.md +docs/KeywordsModelResource.md +docs/KeywordsModelResponse.md +docs/LineItemBidMultipliersV2Request.md +docs/LineItemBidMultipliersV2Response.md +docs/LineItemBudgetOverrides.md +docs/LineItemProductStatus.md +docs/MatchTypeModel.md +docs/Metadata.md +docs/MonthlyLineItemBudegetOverride.md +docs/NegotiationStateModel.md +docs/NillableString.md +docs/PageMetadata.md +docs/PageOfBalanceHistoryChangeDataCaptureV1.md +docs/PageTypeEnvironment.md +docs/PagedResourceCollectionOutcomeOfBalanceResponseV2.md +docs/PostCampaignV202301.md +docs/PreferredLineItemCreateModelV2Request.md +docs/PreferredLineItemUpdateModelV2Request.md +docs/PreferredLineItemV2PagedListResponse.md +docs/PreferredLineItemV2Response.md +docs/ProblemDetails.md +docs/ProductMetadata.md +docs/ProductResourceOutcome.md +docs/PromotedProduct.md +docs/PromotedProductResource.md +docs/PromotedProductResourceCollectionInput.md +docs/PromotedProductResourceCollectionOutcome.md +docs/ProposalStatusModel.md +docs/ProposalStatusModelResource.md +docs/ProposalStatusModelResponse.md +docs/PutCampaignV202301.md +docs/ReportOutcome.md +docs/ResourceOfAddFundsToBalanceV2.md +docs/ResourceOfAuctionLineItem.md +docs/ResourceOfAuctionLineItemUpdateModel.md +docs/ResourceOfBalanceCampaign202110.md +docs/ResourceOfBalanceResponseV2.md +docs/ResourceOfCategory202204.md +docs/ResourceOfChangeDatesOfBalanceV2.md +docs/ResourceOfCommonLineItem.md +docs/ResourceOfCreateBalanceV2.md +docs/ResourceOfCreative202110.md +docs/ResourceOfCreative202210.md +docs/ResourceOfCreativeV2.md +docs/ResourceOfLineItemBidMultipliersV2.md +docs/ResourceOfPreferredLineItemUpdateModelV2.md +docs/ResourceOfPreferredLineItemV2.md +docs/ResourceOfRetailMediaAccount.md +docs/ResourceOfTemplate.md +docs/ResourceOfUpdateBalanceModelV2.md +docs/ResourceOutcome.md +docs/ResourceOutcomeOfRetailMediaAccount.md +docs/RetailMediaAccount.md +docs/RetailMediaBrandAccountCreation.md +docs/RetailMediaBrands.md +docs/RetailMediaContactlistAmendment.md +docs/RetailMediaContactlistAmendmentAttributes.md +docs/RetailMediaContactlistAmendmentRequest.md +docs/RetailMediaContactlistOperation.md +docs/RetailMediaContactlistOperationResponseAttributes.md +docs/RetailMediaContactlistOperationResponseAttributesAttributes.md +docs/RetailMediaSeller.md +docs/RetailMediaSellerAccountCreation.md +docs/ReviewStateModel.md +docs/RmAlgebraNodeV1.md +docs/RmAudienceEntityV1.md +docs/RmAudienceEntityV1Resource.md +docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md +docs/RmAudienceSearchEntityV1.md +docs/RmAudienceSearchEntityV1Resource.md +docs/RmAudienceSearchInputV1.md +docs/RmAudienceSearchMetadataV1.md +docs/RmAudienceSegmentBulkCreateInputV1.md +docs/RmAudienceSegmentBulkDeleteInputV1.md +docs/RmAudienceSegmentBulkUpdateInputV1.md +docs/RmAudienceSegmentCreateEntityV1.md +docs/RmAudienceSegmentCreateEntityV1Resource.md +docs/RmAudienceSegmentDeleteEntityV1Resource.md +docs/RmAudienceSegmentEntityV1.md +docs/RmAudienceSegmentEntityV1ListResponse.md +docs/RmAudienceSegmentEntityV1Resource.md +docs/RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse.md +docs/RmAudienceSegmentIdEntityV1ListResponse.md +docs/RmAudienceSegmentIdEntityV1Resource.md +docs/RmAudienceSegmentSearchEntityV1.md +docs/RmAudienceSegmentSearchEntityV1Resource.md +docs/RmAudienceSegmentSearchInputV1.md +docs/RmAudienceSegmentSearchMetadataV1.md +docs/RmAudienceSegmentUpdateEntityV1.md +docs/RmAudienceSegmentUpdateEntityV1Resource.md +docs/RmContactListCreateV1.md +docs/RmContactListStatisticsEntityV1.md +docs/RmContactListStatisticsEntityV1Resource.md +docs/RmContactListStatisticsEntityV1Response.md +docs/RmContactListV1.md +docs/RmEventsV1.md +docs/RmcaCommonProblem.md +docs/Section.md +docs/SetBidModel.md +docs/SetBidsModel.md +docs/SetBidsModelRequest.md +docs/SetBidsModelResource.md +docs/StatusResponse.md +docs/StatusResponseResource.md +docs/StoreIdsUpdateModel202110Request.md +docs/StoreTarget202110Request.md +docs/StoreTarget202110Response.md +docs/Template.md +docs/TemplateListResponse.md +docs/TemplateResponse.md +docs/TemplateVariable.md +docs/TemplateVariableValue.md +docs/TextVariableSpecification.md +docs/TextVariableValue.md +docs/UpdateBalanceModelV2.md +docs/UpdateBalanceModelV2Request.md +docs/ValueResourceCollectionInputOfRetailMediaSeller.md +docs/ValueResourceCollectionOutcomeOfRetailMediaSeller.md +docs/ValueResourceInputOfCampaignBudgetOverrides.md +docs/ValueResourceInputOfLineItemBudgetOverrides.md +docs/ValueResourceInputOfRetailMediaBrandAccountCreation.md +docs/ValueResourceInputOfRetailMediaBrands.md +docs/ValueResourceInputOfRetailMediaSellerAccountCreation.md +docs/ValueResourceOfCampaignBudgetOverrides.md +docs/ValueResourceOfLineItemBudgetOverrides.md +docs/ValueResourceOfRetailMediaBrandAccountCreation.md +docs/ValueResourceOfRetailMediaBrands.md +docs/ValueResourceOfRetailMediaSeller.md +docs/ValueResourceOfRetailMediaSellerAccountCreation.md +docs/ValueResourceOutcomeOfCampaignBudgetOverrides.md +docs/ValueResourceOutcomeOfLineItemBudgetOverrides.md +docs/ValueTypeResourceOfAddToBasketIdsUpdateModel202110.md +docs/ValueTypeResourceOfAddToBasketTarget202110.md +docs/ValueTypeResourceOfAudienceIdsUpdateModel202110.md +docs/ValueTypeResourceOfAudienceTarget202110.md +docs/ValueTypeResourceOfKeywordTarget202110.md +docs/ValueTypeResourceOfStoreIdsUpdateModel202110.md +docs/ValueTypeResourceOfStoreTarget202110.md +git_push.sh +requirements.txt +setup.cfg +setup.py +test-requirements.txt +test/example_application_with_auth_code.py +test/example_application_with_client_credentials.py +test/example_application_with_refresh_token.py +test/test_gateway_api.py +tox.ini diff --git a/sdks/retailmedia_2023-07/.openapi-generator/VERSION b/sdks/retailmedia_2024-10/.openapi-generator/VERSION similarity index 100% rename from sdks/retailmedia_2023-07/.openapi-generator/VERSION rename to sdks/retailmedia_2024-10/.openapi-generator/VERSION diff --git a/sdks/retailmedia_2023-07/README.md b/sdks/retailmedia_2024-10/README.md similarity index 53% rename from sdks/retailmedia_2023-07/README.md rename to sdks/retailmedia_2024-10/README.md index d589c68b..f411a0e2 100644 --- a/sdks/retailmedia_2023-07/README.md +++ b/sdks/retailmedia_2024-10/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 2023.07.0.240808 +- Package version: 2024.10.0.241029 ## Requirements @@ -18,13 +18,13 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-retailmedia-sdk==2023.07.0.240808 +pip install criteo-api-retailmedia-sdk==2024.10.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2023.07.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.10.0.241029`) Then import the package: ```python -import criteo_api_retailmedia_v2023_07 +import criteo_api_retailmedia_v2024_10 ``` ### Manual Installation using [Setuptools](http://pypi.python.org/pypi/setuptools) @@ -38,7 +38,7 @@ python setup.py install --user Then import the package: ```python -import criteo_api_retailmedia_v2023_07 +import criteo_api_retailmedia_v2024_10 ``` ## Example @@ -60,6 +60,8 @@ Class | Method | HTTP request | Description ## Documentation For Models + - [AddFundsToBalanceV2](docs/AddFundsToBalanceV2.md) + - [AddFundsToBalanceV2Request](docs/AddFundsToBalanceV2Request.md) - [AddRemoveKeywordModel](docs/AddRemoveKeywordModel.md) - [AddRemoveKeywordsModel](docs/AddRemoveKeywordsModel.md) - [AddRemoveKeywordsModelRequest](docs/AddRemoveKeywordsModelRequest.md) @@ -81,20 +83,33 @@ Class | Method | HTTP request | Description - [AsyncLineItemsReportRequest](docs/AsyncLineItemsReportRequest.md) - [AsyncLineItemsReportResource](docs/AsyncLineItemsReportResource.md) - [AsyncReportResponse](docs/AsyncReportResponse.md) + - [AsyncRevenueReport](docs/AsyncRevenueReport.md) + - [AsyncRevenueReportRequest](docs/AsyncRevenueReportRequest.md) + - [AsyncRevenueReportResource](docs/AsyncRevenueReportResource.md) - [AuctionLineItemCreateModelRequest](docs/AuctionLineItemCreateModelRequest.md) - [AuctionLineItemPagedListResponse](docs/AuctionLineItemPagedListResponse.md) - [AuctionLineItemResponse](docs/AuctionLineItemResponse.md) - [AuctionLineItemUpdateModelRequest](docs/AuctionLineItemUpdateModelRequest.md) + - [AudienceError](docs/AudienceError.md) - [AudienceIdsUpdateModel202110Request](docs/AudienceIdsUpdateModel202110Request.md) - [AudienceTarget202110Request](docs/AudienceTarget202110Request.md) - [AudienceTarget202110Response](docs/AudienceTarget202110Response.md) - - [Balance202110PagedListResponse](docs/Balance202110PagedListResponse.md) + - [AudienceWarning](docs/AudienceWarning.md) - [BalanceCampaign202110ListRequest](docs/BalanceCampaign202110ListRequest.md) - [BalanceCampaign202110PagedListResponse](docs/BalanceCampaign202110PagedListResponse.md) + - [BalanceHistoryChangeDataCaptureV1](docs/BalanceHistoryChangeDataCaptureV1.md) + - [BalanceResponseV2](docs/BalanceResponseV2.md) + - [BalanceResponseV2Response](docs/BalanceResponseV2Response.md) - [CampaignAttributesV202301](docs/CampaignAttributesV202301.md) + - [CampaignBudgetOverrides](docs/CampaignBudgetOverrides.md) + - [CampaignDailyBudgetOverride](docs/CampaignDailyBudgetOverride.md) + - [CampaignMonthlyBudgetOverride](docs/CampaignMonthlyBudgetOverride.md) - [CampaignV202301](docs/CampaignV202301.md) - [Category202204](docs/Category202204.md) - [Category202204ListResponse](docs/Category202204ListResponse.md) + - [ChangeDatesOfBalanceV2](docs/ChangeDatesOfBalanceV2.md) + - [ChangeDatesOfBalanceV2Request](docs/ChangeDatesOfBalanceV2Request.md) + - [ChangeDetailsV1](docs/ChangeDetailsV1.md) - [ChoiceOption](docs/ChoiceOption.md) - [ChoiceVariableSpecification](docs/ChoiceVariableSpecification.md) - [ChoiceVariableValue](docs/ChoiceVariableValue.md) @@ -104,14 +119,19 @@ Class | Method | HTTP request | Description - [CommonLineItemResponse](docs/CommonLineItemResponse.md) - [CommonProblem](docs/CommonProblem.md) - [CommonWarning](docs/CommonWarning.md) + - [CreateBalanceV2](docs/CreateBalanceV2.md) + - [CreateBalanceV2Request](docs/CreateBalanceV2Request.md) - [Creative202110](docs/Creative202110.md) - [Creative202110ListResponse](docs/Creative202110ListResponse.md) - [Creative202210](docs/Creative202210.md) - - [Creative202210ListResponse](docs/Creative202210ListResponse.md) - [Creative202210Response](docs/Creative202210Response.md) - [CreativeCreateModel202207](docs/CreativeCreateModel202207.md) - [CreativeUpdateModel202207](docs/CreativeUpdateModel202207.md) + - [CreativeV2ListResponse](docs/CreativeV2ListResponse.md) + - [CreativeV2Response](docs/CreativeV2Response.md) + - [DailyLineItemBudgetOverride](docs/DailyLineItemBudgetOverride.md) - [EditableCampaignAttributesV202301](docs/EditableCampaignAttributesV202301.md) + - [ErrorCodeResponse](docs/ErrorCodeResponse.md) - [ExternalAccount](docs/ExternalAccount.md) - [ExternalAddToBasketIdsUpdateModel202110](docs/ExternalAddToBasketIdsUpdateModel202110.md) - [ExternalAddToBasketTarget202110](docs/ExternalAddToBasketTarget202110.md) @@ -120,35 +140,43 @@ Class | Method | HTTP request | Description - [ExternalAuctionLineItemUpdateModel](docs/ExternalAuctionLineItemUpdateModel.md) - [ExternalAudienceIdsUpdateModel202110](docs/ExternalAudienceIdsUpdateModel202110.md) - [ExternalAudienceTarget202110](docs/ExternalAudienceTarget202110.md) - - [ExternalBalance202110](docs/ExternalBalance202110.md) - [ExternalBrand](docs/ExternalBrand.md) - [ExternalCatalogRequest](docs/ExternalCatalogRequest.md) - [ExternalCatalogStatus](docs/ExternalCatalogStatus.md) + - [ExternalChoiceVariableValue](docs/ExternalChoiceVariableValue.md) + - [ExternalColorVariableValue](docs/ExternalColorVariableValue.md) - [ExternalCommonLineItem](docs/ExternalCommonLineItem.md) + - [ExternalCreativeV2](docs/ExternalCreativeV2.md) + - [ExternalFilesVariableValue](docs/ExternalFilesVariableValue.md) + - [ExternalHyperlinkVariableValue](docs/ExternalHyperlinkVariableValue.md) - [ExternalKeywordTarget202110](docs/ExternalKeywordTarget202110.md) - - [ExternalLineItemCapping202110](docs/ExternalLineItemCapping202110.md) - - [ExternalLineItemPage202110](docs/ExternalLineItemPage202110.md) - - [ExternalLineItemPageCategory202110](docs/ExternalLineItemPageCategory202110.md) - - [ExternalPreferredLineItem202110](docs/ExternalPreferredLineItem202110.md) - - [ExternalPreferredLineItemCreateModel202110](docs/ExternalPreferredLineItemCreateModel202110.md) - - [ExternalPreferredLineItemUpdateModel202110](docs/ExternalPreferredLineItemUpdateModel202110.md) - - [ExternalPromotedProduct202110](docs/ExternalPromotedProduct202110.md) + - [ExternalLineItemBidMultipliersV2](docs/ExternalLineItemBidMultipliersV2.md) + - [ExternalLineItemCappingV2](docs/ExternalLineItemCappingV2.md) + - [ExternalLineItemPageCategoryV2](docs/ExternalLineItemPageCategoryV2.md) + - [ExternalLineItemPageV2](docs/ExternalLineItemPageV2.md) + - [ExternalPageTypeEnvironment](docs/ExternalPageTypeEnvironment.md) + - [ExternalPreferredLineItemCreateModelV2](docs/ExternalPreferredLineItemCreateModelV2.md) + - [ExternalPreferredLineItemUpdateModelV2](docs/ExternalPreferredLineItemUpdateModelV2.md) + - [ExternalPreferredLineItemV2](docs/ExternalPreferredLineItemV2.md) - [ExternalRetailer](docs/ExternalRetailer.md) - [ExternalRetailerPages202110](docs/ExternalRetailerPages202110.md) - [ExternalStoreIdsUpdateModel202110](docs/ExternalStoreIdsUpdateModel202110.md) - [ExternalStoreTarget202110](docs/ExternalStoreTarget202110.md) + - [ExternalTemplateVariableValue](docs/ExternalTemplateVariableValue.md) + - [ExternalTextVariableValue](docs/ExternalTextVariableValue.md) + - [ExternalVideoVariableValue](docs/ExternalVideoVariableValue.md) - [FilesVariableValue](docs/FilesVariableValue.md) - [FilesVariablesSpecification](docs/FilesVariablesSpecification.md) - [HyperlinkVariableValue](docs/HyperlinkVariableValue.md) - [InputKeywordsModel](docs/InputKeywordsModel.md) - [InputResourceOfAuctionLineItemCreateModel](docs/InputResourceOfAuctionLineItemCreateModel.md) - - [InputResourceOfPreferredLineItemCreateModel202110](docs/InputResourceOfPreferredLineItemCreateModel202110.md) + - [InputResourceOfPreferredLineItemCreateModelV2](docs/InputResourceOfPreferredLineItemCreateModelV2.md) - [JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301](docs/JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301.md) - [JsonApiBodyWithIdOfInt64AndAccountAndAccount](docs/JsonApiBodyWithIdOfInt64AndAccountAndAccount.md) - [JsonApiBodyWithIdOfInt64AndBrandAndBrand](docs/JsonApiBodyWithIdOfInt64AndBrandAndBrand.md) - [JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301](docs/JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301.md) - [JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus](docs/JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus.md) - - [JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers](docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers.md) + - [JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2](docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2.md) - [JsonApiBodyWithIdOfInt64AndRetailerAndRetailer](docs/JsonApiBodyWithIdOfInt64AndRetailerAndRetailer.md) - [JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301](docs/JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301.md) - [JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest](docs/JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest.md) @@ -159,68 +187,107 @@ Class | Method | HTTP request | Description - [JsonApiRequestOfCatalogRequest](docs/JsonApiRequestOfCatalogRequest.md) - [JsonApiSingleResponseOfCampaignV202301](docs/JsonApiSingleResponseOfCampaignV202301.md) - [JsonApiSingleResponseOfCatalogStatus](docs/JsonApiSingleResponseOfCatalogStatus.md) - - [JsonApiSingleResponseOfLineItemBidMultipliers](docs/JsonApiSingleResponseOfLineItemBidMultipliers.md) + - [JsonApiSingleResponseOfLineItemBidMultipliersV2](docs/JsonApiSingleResponseOfLineItemBidMultipliersV2.md) - [KeywordDataModel](docs/KeywordDataModel.md) - [KeywordTarget202110Request](docs/KeywordTarget202110Request.md) - [KeywordTarget202110Response](docs/KeywordTarget202110Response.md) - [KeywordsModel](docs/KeywordsModel.md) - [KeywordsModelResource](docs/KeywordsModelResource.md) - [KeywordsModelResponse](docs/KeywordsModelResponse.md) - - [LineItemBidMultipliers](docs/LineItemBidMultipliers.md) - - [LineItemBidMultipliersRequest](docs/LineItemBidMultipliersRequest.md) - - [LineItemBidMultipliersResponse](docs/LineItemBidMultipliersResponse.md) + - [LineItemBidMultipliersV2Request](docs/LineItemBidMultipliersV2Request.md) + - [LineItemBidMultipliersV2Response](docs/LineItemBidMultipliersV2Response.md) + - [LineItemBudgetOverrides](docs/LineItemBudgetOverrides.md) + - [LineItemProductStatus](docs/LineItemProductStatus.md) - [MatchTypeModel](docs/MatchTypeModel.md) + - [Metadata](docs/Metadata.md) + - [MonthlyLineItemBudegetOverride](docs/MonthlyLineItemBudegetOverride.md) - [NegotiationStateModel](docs/NegotiationStateModel.md) + - [NillableString](docs/NillableString.md) - [PageMetadata](docs/PageMetadata.md) + - [PageOfBalanceHistoryChangeDataCaptureV1](docs/PageOfBalanceHistoryChangeDataCaptureV1.md) - [PageTypeEnvironment](docs/PageTypeEnvironment.md) + - [PagedResourceCollectionOutcomeOfBalanceResponseV2](docs/PagedResourceCollectionOutcomeOfBalanceResponseV2.md) - [PostCampaignV202301](docs/PostCampaignV202301.md) - - [PreferredLineItem202110PagedListResponse](docs/PreferredLineItem202110PagedListResponse.md) - - [PreferredLineItem202110Response](docs/PreferredLineItem202110Response.md) - - [PreferredLineItemCreateModel202110Request](docs/PreferredLineItemCreateModel202110Request.md) - - [PreferredLineItemUpdateModel202110Request](docs/PreferredLineItemUpdateModel202110Request.md) + - [PreferredLineItemCreateModelV2Request](docs/PreferredLineItemCreateModelV2Request.md) + - [PreferredLineItemUpdateModelV2Request](docs/PreferredLineItemUpdateModelV2Request.md) + - [PreferredLineItemV2PagedListResponse](docs/PreferredLineItemV2PagedListResponse.md) + - [PreferredLineItemV2Response](docs/PreferredLineItemV2Response.md) - [ProblemDetails](docs/ProblemDetails.md) - - [PromotedProduct202110ListRequest](docs/PromotedProduct202110ListRequest.md) - - [PromotedProduct202110PagedListResponse](docs/PromotedProduct202110PagedListResponse.md) + - [ProductMetadata](docs/ProductMetadata.md) + - [ProductResourceOutcome](docs/ProductResourceOutcome.md) + - [PromotedProduct](docs/PromotedProduct.md) + - [PromotedProductResource](docs/PromotedProductResource.md) + - [PromotedProductResourceCollectionInput](docs/PromotedProductResourceCollectionInput.md) + - [PromotedProductResourceCollectionOutcome](docs/PromotedProductResourceCollectionOutcome.md) - [ProposalStatusModel](docs/ProposalStatusModel.md) - [ProposalStatusModelResource](docs/ProposalStatusModelResource.md) - [ProposalStatusModelResponse](docs/ProposalStatusModelResponse.md) - [PutCampaignV202301](docs/PutCampaignV202301.md) - [ReportOutcome](docs/ReportOutcome.md) + - [ResourceOfAddFundsToBalanceV2](docs/ResourceOfAddFundsToBalanceV2.md) - [ResourceOfAuctionLineItem](docs/ResourceOfAuctionLineItem.md) - [ResourceOfAuctionLineItemUpdateModel](docs/ResourceOfAuctionLineItemUpdateModel.md) - - [ResourceOfBalance202110](docs/ResourceOfBalance202110.md) - [ResourceOfBalanceCampaign202110](docs/ResourceOfBalanceCampaign202110.md) + - [ResourceOfBalanceResponseV2](docs/ResourceOfBalanceResponseV2.md) - [ResourceOfCategory202204](docs/ResourceOfCategory202204.md) + - [ResourceOfChangeDatesOfBalanceV2](docs/ResourceOfChangeDatesOfBalanceV2.md) - [ResourceOfCommonLineItem](docs/ResourceOfCommonLineItem.md) + - [ResourceOfCreateBalanceV2](docs/ResourceOfCreateBalanceV2.md) - [ResourceOfCreative202110](docs/ResourceOfCreative202110.md) - [ResourceOfCreative202210](docs/ResourceOfCreative202210.md) - - [ResourceOfLineItemBidMultipliers](docs/ResourceOfLineItemBidMultipliers.md) - - [ResourceOfPreferredLineItem202110](docs/ResourceOfPreferredLineItem202110.md) - - [ResourceOfPreferredLineItemUpdateModel202110](docs/ResourceOfPreferredLineItemUpdateModel202110.md) - - [ResourceOfPromotedProduct202110](docs/ResourceOfPromotedProduct202110.md) + - [ResourceOfCreativeV2](docs/ResourceOfCreativeV2.md) + - [ResourceOfLineItemBidMultipliersV2](docs/ResourceOfLineItemBidMultipliersV2.md) + - [ResourceOfPreferredLineItemUpdateModelV2](docs/ResourceOfPreferredLineItemUpdateModelV2.md) + - [ResourceOfPreferredLineItemV2](docs/ResourceOfPreferredLineItemV2.md) + - [ResourceOfRetailMediaAccount](docs/ResourceOfRetailMediaAccount.md) - [ResourceOfTemplate](docs/ResourceOfTemplate.md) + - [ResourceOfUpdateBalanceModelV2](docs/ResourceOfUpdateBalanceModelV2.md) - [ResourceOutcome](docs/ResourceOutcome.md) + - [ResourceOutcomeOfRetailMediaAccount](docs/ResourceOutcomeOfRetailMediaAccount.md) + - [RetailMediaAccount](docs/RetailMediaAccount.md) + - [RetailMediaBrandAccountCreation](docs/RetailMediaBrandAccountCreation.md) + - [RetailMediaBrands](docs/RetailMediaBrands.md) + - [RetailMediaContactlistAmendment](docs/RetailMediaContactlistAmendment.md) + - [RetailMediaContactlistAmendmentAttributes](docs/RetailMediaContactlistAmendmentAttributes.md) + - [RetailMediaContactlistAmendmentRequest](docs/RetailMediaContactlistAmendmentRequest.md) + - [RetailMediaContactlistOperation](docs/RetailMediaContactlistOperation.md) + - [RetailMediaContactlistOperationResponseAttributes](docs/RetailMediaContactlistOperationResponseAttributes.md) + - [RetailMediaContactlistOperationResponseAttributesAttributes](docs/RetailMediaContactlistOperationResponseAttributesAttributes.md) + - [RetailMediaSeller](docs/RetailMediaSeller.md) + - [RetailMediaSellerAccountCreation](docs/RetailMediaSellerAccountCreation.md) - [ReviewStateModel](docs/ReviewStateModel.md) - - [RmLegacyAudienceCreateEntityV1](docs/RmLegacyAudienceCreateEntityV1.md) - - [RmLegacyAudienceCreateEntityV1Resource](docs/RmLegacyAudienceCreateEntityV1Resource.md) - - [RmLegacyAudienceCreateEntityV1Response](docs/RmLegacyAudienceCreateEntityV1Response.md) - - [RmLegacyAudienceCreateEntityV2](docs/RmLegacyAudienceCreateEntityV2.md) - - [RmLegacyAudienceCreateEntityV2Resource](docs/RmLegacyAudienceCreateEntityV2Resource.md) - - [RmLegacyAudienceCreateEntityV2Response](docs/RmLegacyAudienceCreateEntityV2Response.md) - - [RmLegacyAudienceCreateInputEntityV1](docs/RmLegacyAudienceCreateInputEntityV1.md) - - [RmLegacyAudienceCreateInputEntityV2](docs/RmLegacyAudienceCreateInputEntityV2.md) - - [RmLegacyAudienceGetEntityV1](docs/RmLegacyAudienceGetEntityV1.md) - - [RmLegacyAudienceGetEntityV1ListResponse](docs/RmLegacyAudienceGetEntityV1ListResponse.md) - - [RmLegacyAudienceGetEntityV1Resource](docs/RmLegacyAudienceGetEntityV1Resource.md) - - [RmLegacyAudienceGetEntityV2](docs/RmLegacyAudienceGetEntityV2.md) - - [RmLegacyAudienceGetEntityV2ListResponse](docs/RmLegacyAudienceGetEntityV2ListResponse.md) - - [RmLegacyAudienceGetEntityV2Resource](docs/RmLegacyAudienceGetEntityV2Resource.md) - - [RmLegacyAudienceUserBehaviorCreateV2](docs/RmLegacyAudienceUserBehaviorCreateV2.md) - - [RmLegacyAudienceUserBehaviorDetailsV2](docs/RmLegacyAudienceUserBehaviorDetailsV2.md) - - [RmLegacySegmentCustomerList](docs/RmLegacySegmentCustomerList.md) - - [RmLegacySegmentUserBehaviorCreateV2](docs/RmLegacySegmentUserBehaviorCreateV2.md) - - [RmLegacySegmentUserBehaviorV1](docs/RmLegacySegmentUserBehaviorV1.md) - - [RmLegacySegmentUserBehaviorV2](docs/RmLegacySegmentUserBehaviorV2.md) + - [RmAlgebraNodeV1](docs/RmAlgebraNodeV1.md) + - [RmAudienceEntityV1](docs/RmAudienceEntityV1.md) + - [RmAudienceEntityV1Resource](docs/RmAudienceEntityV1Resource.md) + - [RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse](docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md) + - [RmAudienceSearchEntityV1](docs/RmAudienceSearchEntityV1.md) + - [RmAudienceSearchEntityV1Resource](docs/RmAudienceSearchEntityV1Resource.md) + - [RmAudienceSearchInputV1](docs/RmAudienceSearchInputV1.md) + - [RmAudienceSearchMetadataV1](docs/RmAudienceSearchMetadataV1.md) + - [RmAudienceSegmentBulkCreateInputV1](docs/RmAudienceSegmentBulkCreateInputV1.md) + - [RmAudienceSegmentBulkDeleteInputV1](docs/RmAudienceSegmentBulkDeleteInputV1.md) + - [RmAudienceSegmentBulkUpdateInputV1](docs/RmAudienceSegmentBulkUpdateInputV1.md) + - [RmAudienceSegmentCreateEntityV1](docs/RmAudienceSegmentCreateEntityV1.md) + - [RmAudienceSegmentCreateEntityV1Resource](docs/RmAudienceSegmentCreateEntityV1Resource.md) + - [RmAudienceSegmentDeleteEntityV1Resource](docs/RmAudienceSegmentDeleteEntityV1Resource.md) + - [RmAudienceSegmentEntityV1](docs/RmAudienceSegmentEntityV1.md) + - [RmAudienceSegmentEntityV1ListResponse](docs/RmAudienceSegmentEntityV1ListResponse.md) + - [RmAudienceSegmentEntityV1Resource](docs/RmAudienceSegmentEntityV1Resource.md) + - [RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse](docs/RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse.md) + - [RmAudienceSegmentIdEntityV1ListResponse](docs/RmAudienceSegmentIdEntityV1ListResponse.md) + - [RmAudienceSegmentIdEntityV1Resource](docs/RmAudienceSegmentIdEntityV1Resource.md) + - [RmAudienceSegmentSearchEntityV1](docs/RmAudienceSegmentSearchEntityV1.md) + - [RmAudienceSegmentSearchEntityV1Resource](docs/RmAudienceSegmentSearchEntityV1Resource.md) + - [RmAudienceSegmentSearchInputV1](docs/RmAudienceSegmentSearchInputV1.md) + - [RmAudienceSegmentSearchMetadataV1](docs/RmAudienceSegmentSearchMetadataV1.md) + - [RmAudienceSegmentUpdateEntityV1](docs/RmAudienceSegmentUpdateEntityV1.md) + - [RmAudienceSegmentUpdateEntityV1Resource](docs/RmAudienceSegmentUpdateEntityV1Resource.md) + - [RmContactListCreateV1](docs/RmContactListCreateV1.md) + - [RmContactListStatisticsEntityV1](docs/RmContactListStatisticsEntityV1.md) + - [RmContactListStatisticsEntityV1Resource](docs/RmContactListStatisticsEntityV1Resource.md) + - [RmContactListStatisticsEntityV1Response](docs/RmContactListStatisticsEntityV1Response.md) + - [RmContactListV1](docs/RmContactListV1.md) + - [RmEventsV1](docs/RmEventsV1.md) - [RmcaCommonProblem](docs/RmcaCommonProblem.md) - [Section](docs/Section.md) - [SetBidModel](docs/SetBidModel.md) @@ -239,6 +306,23 @@ Class | Method | HTTP request | Description - [TemplateVariableValue](docs/TemplateVariableValue.md) - [TextVariableSpecification](docs/TextVariableSpecification.md) - [TextVariableValue](docs/TextVariableValue.md) + - [UpdateBalanceModelV2](docs/UpdateBalanceModelV2.md) + - [UpdateBalanceModelV2Request](docs/UpdateBalanceModelV2Request.md) + - [ValueResourceCollectionInputOfRetailMediaSeller](docs/ValueResourceCollectionInputOfRetailMediaSeller.md) + - [ValueResourceCollectionOutcomeOfRetailMediaSeller](docs/ValueResourceCollectionOutcomeOfRetailMediaSeller.md) + - [ValueResourceInputOfCampaignBudgetOverrides](docs/ValueResourceInputOfCampaignBudgetOverrides.md) + - [ValueResourceInputOfLineItemBudgetOverrides](docs/ValueResourceInputOfLineItemBudgetOverrides.md) + - [ValueResourceInputOfRetailMediaBrandAccountCreation](docs/ValueResourceInputOfRetailMediaBrandAccountCreation.md) + - [ValueResourceInputOfRetailMediaBrands](docs/ValueResourceInputOfRetailMediaBrands.md) + - [ValueResourceInputOfRetailMediaSellerAccountCreation](docs/ValueResourceInputOfRetailMediaSellerAccountCreation.md) + - [ValueResourceOfCampaignBudgetOverrides](docs/ValueResourceOfCampaignBudgetOverrides.md) + - [ValueResourceOfLineItemBudgetOverrides](docs/ValueResourceOfLineItemBudgetOverrides.md) + - [ValueResourceOfRetailMediaBrandAccountCreation](docs/ValueResourceOfRetailMediaBrandAccountCreation.md) + - [ValueResourceOfRetailMediaBrands](docs/ValueResourceOfRetailMediaBrands.md) + - [ValueResourceOfRetailMediaSeller](docs/ValueResourceOfRetailMediaSeller.md) + - [ValueResourceOfRetailMediaSellerAccountCreation](docs/ValueResourceOfRetailMediaSellerAccountCreation.md) + - [ValueResourceOutcomeOfCampaignBudgetOverrides](docs/ValueResourceOutcomeOfCampaignBudgetOverrides.md) + - [ValueResourceOutcomeOfLineItemBudgetOverrides](docs/ValueResourceOutcomeOfLineItemBudgetOverrides.md) - [ValueTypeResourceOfAddToBasketIdsUpdateModel202110](docs/ValueTypeResourceOfAddToBasketIdsUpdateModel202110.md) - [ValueTypeResourceOfAddToBasketTarget202110](docs/ValueTypeResourceOfAddToBasketTarget202110.md) - [ValueTypeResourceOfAudienceIdsUpdateModel202110](docs/ValueTypeResourceOfAudienceIdsUpdateModel202110.md) diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/__init__.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/__init__.py new file mode 100644 index 00000000..9b147f63 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/__init__.py @@ -0,0 +1,31 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +__version__ = "2024.10.0.241029" + +# import ApiClient +from criteo_api_retailmedia_v2024_10.api_client import ApiClient +from criteo_api_retailmedia_v2024_10.criteo_api_client import CriteoApiClient +from criteo_api_retailmedia_v2024_10.api_client_builder import ApiClientBuilder +from criteo_api_retailmedia_v2024_10 import flow_constants + +# import Configuration +from criteo_api_retailmedia_v2024_10.configuration import Configuration + +# import exceptions +from criteo_api_retailmedia_v2024_10.exceptions import OpenApiException +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiTypeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiValueError +from criteo_api_retailmedia_v2024_10.exceptions import ApiKeyError +from criteo_api_retailmedia_v2024_10.exceptions import ApiException + + + diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/__init__.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/__init__.py similarity index 73% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/__init__.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/__init__.py index 792e3a1e..fe430376 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/__init__.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/__init__.py @@ -1,3 +1,3 @@ # do not import all apis into this module because that uses a lot of memory and stack frames # if you need the ability to import all apis from one package, import them with -# from criteo_api_retailmedia_v2023_07.apis import AccountsApi +# from criteo_api_retailmedia_v2024_10.apis import AccountsApi diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/audience_api.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/accounts_api.py similarity index 51% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/audience_api.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/accounts_api.py index 1eebf066..0c4b8b4e 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/audience_api.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/accounts_api.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,15 +21,17 @@ none_type, validate_and_convert_types ) -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v1_response import RmLegacyAudienceCreateEntityV1Response -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v2_response import RmLegacyAudienceCreateEntityV2Response -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_input_entity_v1 import RmLegacyAudienceCreateInputEntityV1 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_input_entity_v2 import RmLegacyAudienceCreateInputEntityV2 -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v1_list_response import RmLegacyAudienceGetEntityV1ListResponse -from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v2_list_response import RmLegacyAudienceGetEntityV2ListResponse +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount +from criteo_api_retailmedia_v2024_10.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount +from criteo_api_retailmedia_v2024_10.model.value_resource_collection_input_of_retail_media_seller import ValueResourceCollectionInputOfRetailMediaSeller +from criteo_api_retailmedia_v2024_10.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_brand_account_creation import ValueResourceInputOfRetailMediaBrandAccountCreation +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_brands import ValueResourceInputOfRetailMediaBrands +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_seller_account_creation import ValueResourceInputOfRetailMediaSellerAccountCreation +from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_brands import ValueResourceOfRetailMediaBrands -class AudienceApi(object): +class AccountsApi(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -40,26 +42,25 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.legacy_create_audience_v1_endpoint = _Endpoint( + self.add_brands_endpoint = _Endpoint( settings={ - 'response_type': (RmLegacyAudienceCreateEntityV1Response,), + 'response_type': (ValueResourceOfRetailMediaBrands,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{accountId}/audiences', - 'operation_id': 'legacy_create_audience_v1', + 'endpoint_path': '/2024-10/retail-media/account-management/accounts/{accountId}/brands/add', + 'operation_id': 'add_brands', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'account_id', - 'rm_legacy_audience_create_input_entity_v1', + 'value_resource_input_of_retail_media_brands', ], 'required': [ 'account_id', - 'rm_legacy_audience_create_input_entity_v1', ], 'nullable': [ ], @@ -75,25 +76,23 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'account_id': - (int,), - 'rm_legacy_audience_create_input_entity_v1': - (RmLegacyAudienceCreateInputEntityV1,), + (str,), + 'value_resource_input_of_retail_media_brands': + (ValueResourceInputOfRetailMediaBrands,), }, 'attribute_map': { 'account_id': 'accountId', }, 'location_map': { 'account_id': 'path', - 'rm_legacy_audience_create_input_entity_v1': 'body', + 'value_resource_input_of_retail_media_brands': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ 'application/json-patch+json', @@ -104,24 +103,22 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.legacy_get_audience_v1_endpoint = _Endpoint( + self.create_private_market_demand_brand_account_endpoint = _Endpoint( settings={ - 'response_type': (RmLegacyAudienceGetEntityV1ListResponse,), + 'response_type': (ResourceOutcomeOfRetailMediaAccount,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{accountId}/audiences', - 'operation_id': 'legacy_get_audience_v1', - 'http_method': 'GET', + 'endpoint_path': '/2024-10/retail-media/account-management/accounts/{accountId}/create-brand-account', + 'operation_id': 'create_private_market_demand_brand_account', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'account_id', - 'limit_to_id', - 'page_size', - 'page_index', + 'value_resource_input_of_retail_media_brand_account_creation', ], 'required': [ 'account_id', @@ -140,58 +137,49 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'account_id': - (int,), - 'limit_to_id': - ([int],), - 'page_size': - (int,), - 'page_index': - (int,), + (str,), + 'value_resource_input_of_retail_media_brand_account_creation': + (ValueResourceInputOfRetailMediaBrandAccountCreation,), }, 'attribute_map': { 'account_id': 'accountId', - 'limit_to_id': 'limitToId', - 'page_size': 'pageSize', - 'page_index': 'pageIndex', }, 'location_map': { 'account_id': 'path', - 'limit_to_id': 'query', - 'page_size': 'query', - 'page_index': 'query', + 'value_resource_input_of_retail_media_brand_account_creation': 'body', }, 'collection_format_map': { - 'limit_to_id': 'multi', } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], - 'content_type': [], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] }, api_client=api_client ) - self.legacy_get_audience_v2_endpoint = _Endpoint( + self.create_private_market_demand_seller_account_endpoint = _Endpoint( settings={ - 'response_type': (RmLegacyAudienceGetEntityV2ListResponse,), + 'response_type': (ResourceOutcomeOfRetailMediaAccount,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/v2/accounts/{accountId}/audiences', - 'operation_id': 'legacy_get_audience_v2', - 'http_method': 'GET', + 'endpoint_path': '/2024-10/retail-media/account-management/accounts/{accountId}/create-seller-account', + 'operation_id': 'create_private_market_demand_seller_account', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'account_id', - 'limit_to_id', - 'page_size', - 'page_index', + 'value_resource_input_of_retail_media_seller_account_creation', ], 'required': [ 'account_id', @@ -210,25 +198,81 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'account_id': - (int,), + (str,), + 'value_resource_input_of_retail_media_seller_account_creation': + (ValueResourceInputOfRetailMediaSellerAccountCreation,), + }, + 'attribute_map': { + 'account_id': 'accountId', + }, + 'location_map': { + 'account_id': 'path', + 'value_resource_input_of_retail_media_seller_account_creation': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.get_api_v1_external_accounts_endpoint = _Endpoint( + settings={ + 'response_type': (JsonApiPageResponseOfAccount,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts', + 'operation_id': 'get_api_v1_external_accounts', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'limit_to_id', + 'page_index', + 'page_size', + ], + 'required': [], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { 'limit_to_id': - ([int],), - 'page_size': - (int,), + ([str],), 'page_index': (int,), + 'page_size': + (int,), }, 'attribute_map': { - 'account_id': 'accountId', 'limit_to_id': 'limitToId', - 'page_size': 'pageSize', 'page_index': 'pageIndex', + 'page_size': 'pageSize', }, 'location_map': { - 'account_id': 'path', 'limit_to_id': 'query', - 'page_size': 'query', 'page_index': 'query', + 'page_size': 'query', }, 'collection_format_map': { 'limit_to_id': 'multi', @@ -244,26 +288,25 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.legacy_update_audience_v2_endpoint = _Endpoint( + self.remove_brands_endpoint = _Endpoint( settings={ - 'response_type': (RmLegacyAudienceCreateEntityV2Response,), + 'response_type': (ValueResourceOfRetailMediaBrands,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/v2/accounts/{accountId}/audiences', - 'operation_id': 'legacy_update_audience_v2', + 'endpoint_path': '/2024-10/retail-media/account-management/accounts/{accountId}/brands/remove', + 'operation_id': 'remove_brands', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'account_id', - 'rm_legacy_audience_create_input_entity_v2', + 'value_resource_input_of_retail_media_brands', ], 'required': [ 'account_id', - 'rm_legacy_audience_create_input_entity_v2', ], 'nullable': [ ], @@ -279,25 +322,84 @@ def __init__(self, api_client=None): }, 'openapi_types': { 'account_id': - (int,), - 'rm_legacy_audience_create_input_entity_v2': - (RmLegacyAudienceCreateInputEntityV2,), + (str,), + 'value_resource_input_of_retail_media_brands': + (ValueResourceInputOfRetailMediaBrands,), }, 'attribute_map': { 'account_id': 'accountId', }, 'location_map': { 'account_id': 'path', - 'rm_legacy_audience_create_input_entity_v2': 'body', + 'value_resource_input_of_retail_media_brands': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', + 'application/json' + ], + 'content_type': [ + 'application/json-patch+json', 'application/json', - 'text/json' + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.update_sellers_endpoint = _Endpoint( + settings={ + 'response_type': (ValueResourceCollectionOutcomeOfRetailMediaSeller,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/account-management/accounts/{accountId}/sellers', + 'operation_id': 'update_sellers', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'value_resource_collection_input_of_retail_media_seller', + ], + 'required': [ + 'account_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'value_resource_collection_input_of_retail_media_seller': + (ValueResourceCollectionInputOfRetailMediaSeller,), + }, + 'attribute_map': { + 'account_id': 'accountId', + }, + 'location_map': { + 'account_id': 'path', + 'value_resource_collection_input_of_retail_media_seller': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' ], 'content_type': [ 'application/json-patch+json', @@ -309,26 +411,25 @@ def __init__(self, api_client=None): api_client=api_client ) - def legacy_create_audience_v1( + def add_brands( self, account_id, - rm_legacy_audience_create_input_entity_v1, **kwargs ): - """legacy_create_audience_v1 # noqa: E501 + """add_brands # noqa: E501 - Create an Audience (deprecated Public API) # noqa: E501 + Add brands to an account # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.legacy_create_audience_v1(account_id, rm_legacy_audience_create_input_entity_v1, async_req=True) + >>> thread = api.add_brands(account_id, async_req=True) >>> result = thread.get() Args: - account_id (int): ID of the account to which this audience belongs. - rm_legacy_audience_create_input_entity_v1 (RmLegacyAudienceCreateInputEntityV1): Audience creation request. + account_id (str): the account id to update Keyword Args: + value_resource_input_of_retail_media_brands (ValueResourceInputOfRetailMediaBrands): brands to associate to account. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -361,7 +462,7 @@ def legacy_create_audience_v1( async_req (bool): execute request asynchronously Returns: - RmLegacyAudienceCreateEntityV1Response + ValueResourceOfRetailMediaBrands If the method is called asynchronously, returns the request thread. """ @@ -392,31 +493,27 @@ def legacy_create_audience_v1( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['account_id'] = \ account_id - kwargs['rm_legacy_audience_create_input_entity_v1'] = \ - rm_legacy_audience_create_input_entity_v1 - return self.legacy_create_audience_v1_endpoint.call_with_http_info(**kwargs) + return self.add_brands_endpoint.call_with_http_info(**kwargs) - def legacy_get_audience_v1( + def create_private_market_demand_brand_account( self, account_id, **kwargs ): - """legacy_get_audience_v1 # noqa: E501 + """create_private_market_demand_brand_account # noqa: E501 - Get a page of Audiences. (deprecated Public API) # noqa: E501 + Creates a new child Demand Brand Account for the provided parent private market account # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.legacy_get_audience_v1(account_id, async_req=True) + >>> thread = api.create_private_market_demand_brand_account(account_id, async_req=True) >>> result = thread.get() Args: - account_id (int): ID of the account to which this audience belongs. + account_id (str): Account Id for the parent private market account Keyword Args: - limit_to_id ([int]): Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2. [optional] - page_size (int): Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page.. [optional] - page_index (int): Returns the specified page of results given a pageSize; pages are 0-indexed.. [optional] + value_resource_input_of_retail_media_brand_account_creation (ValueResourceInputOfRetailMediaBrandAccountCreation): Initial creation and configuration options for the new account. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -449,7 +546,7 @@ def legacy_get_audience_v1( async_req (bool): execute request asynchronously Returns: - RmLegacyAudienceGetEntityV1ListResponse + ResourceOutcomeOfRetailMediaAccount If the method is called asynchronously, returns the request thread. """ @@ -480,29 +577,192 @@ def legacy_get_audience_v1( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['account_id'] = \ account_id - return self.legacy_get_audience_v1_endpoint.call_with_http_info(**kwargs) + return self.create_private_market_demand_brand_account_endpoint.call_with_http_info(**kwargs) + + def create_private_market_demand_seller_account( + self, + account_id, + **kwargs + ): + """create_private_market_demand_seller_account # noqa: E501 + + Creates a new child Demand Seller Account for the provided parent private market account # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_private_market_demand_seller_account(account_id, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): Account Id for the parent private market account + + Keyword Args: + value_resource_input_of_retail_media_seller_account_creation (ValueResourceInputOfRetailMediaSellerAccountCreation): Initial creation and configuration options for the new account. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + ResourceOutcomeOfRetailMediaAccount + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + return self.create_private_market_demand_seller_account_endpoint.call_with_http_info(**kwargs) + + def get_api_v1_external_accounts( + self, + **kwargs + ): + """get_api_v1_external_accounts # noqa: E501 + + Gets page of account objects that the current user can access # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_v1_external_accounts(async_req=True) + >>> result = thread.get() + + + Keyword Args: + limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] + page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0 + page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25 + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + JsonApiPageResponseOfAccount + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs) - def legacy_get_audience_v2( + def remove_brands( self, account_id, **kwargs ): - """legacy_get_audience_v2 # noqa: E501 + """remove_brands # noqa: E501 - Get a page of Audiences. (deprecated Public API) # noqa: E501 + Remove a brand from an account # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.legacy_get_audience_v2(account_id, async_req=True) + >>> thread = api.remove_brands(account_id, async_req=True) >>> result = thread.get() Args: - account_id (int): ID of the account to which this audience belongs. + account_id (str): The account id to update Keyword Args: - limit_to_id ([int]): Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2. [optional] - page_size (int): Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page.. [optional] - page_index (int): Returns the specified page of results given a pageSize; pages are 0-indexed.. [optional] + value_resource_input_of_retail_media_brands (ValueResourceInputOfRetailMediaBrands): Brands to remove from account. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -535,7 +795,7 @@ def legacy_get_audience_v2( async_req (bool): execute request asynchronously Returns: - RmLegacyAudienceGetEntityV2ListResponse + ValueResourceOfRetailMediaBrands If the method is called asynchronously, returns the request thread. """ @@ -566,28 +826,27 @@ def legacy_get_audience_v2( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['account_id'] = \ account_id - return self.legacy_get_audience_v2_endpoint.call_with_http_info(**kwargs) + return self.remove_brands_endpoint.call_with_http_info(**kwargs) - def legacy_update_audience_v2( + def update_sellers( self, account_id, - rm_legacy_audience_create_input_entity_v2, **kwargs ): - """legacy_update_audience_v2 # noqa: E501 + """update_sellers # noqa: E501 - Create an Audience (deprecated Public API) # noqa: E501 + replace the sellers assoiated with an account # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.legacy_update_audience_v2(account_id, rm_legacy_audience_create_input_entity_v2, async_req=True) + >>> thread = api.update_sellers(account_id, async_req=True) >>> result = thread.get() Args: - account_id (int): ID of the account to which this audience belongs. - rm_legacy_audience_create_input_entity_v2 (RmLegacyAudienceCreateInputEntityV2): Audience creation request. + account_id (str): the account id to update Keyword Args: + value_resource_collection_input_of_retail_media_seller (ValueResourceCollectionInputOfRetailMediaSeller): sellers to associate. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -620,7 +879,7 @@ def legacy_update_audience_v2( async_req (bool): execute request asynchronously Returns: - RmLegacyAudienceCreateEntityV2Response + ValueResourceCollectionOutcomeOfRetailMediaSeller If the method is called asynchronously, returns the request thread. """ @@ -651,7 +910,5 @@ def legacy_update_audience_v2( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['account_id'] = \ account_id - kwargs['rm_legacy_audience_create_input_entity_v2'] = \ - rm_legacy_audience_create_input_entity_v2 - return self.legacy_update_audience_v2_endpoint.call_with_http_info(**kwargs) + return self.update_sellers_endpoint.call_with_http_info(**kwargs) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/analytics_api.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/analytics_api.py similarity index 76% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/analytics_api.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/analytics_api.py index b9c5e140..cb0b501d 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/analytics_api.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/analytics_api.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,10 +21,11 @@ none_type, validate_and_convert_types ) -from criteo_api_retailmedia_v2023_07.model.async_campaigns_report_request import AsyncCampaignsReportRequest -from criteo_api_retailmedia_v2023_07.model.async_line_items_report_request import AsyncLineItemsReportRequest -from criteo_api_retailmedia_v2023_07.model.async_report_response import AsyncReportResponse -from criteo_api_retailmedia_v2023_07.model.report_outcome import ReportOutcome +from criteo_api_retailmedia_v2024_10.model.async_campaigns_report_request import AsyncCampaignsReportRequest +from criteo_api_retailmedia_v2024_10.model.async_line_items_report_request import AsyncLineItemsReportRequest +from criteo_api_retailmedia_v2024_10.model.async_report_response import AsyncReportResponse +from criteo_api_retailmedia_v2024_10.model.async_revenue_report_request import AsyncRevenueReportRequest +from criteo_api_retailmedia_v2024_10.model.report_outcome import ReportOutcome class AnalyticsApi(object): @@ -45,7 +46,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/reports/campaigns', + 'endpoint_path': '/2024-10/retail-media/reports/campaigns', 'operation_id': 'generate_async_campaigns_report', 'http_method': 'POST', 'servers': None, @@ -103,7 +104,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/reports/line-items', + 'endpoint_path': '/2024-10/retail-media/reports/line-items', 'operation_id': 'generate_async_line_items_report', 'http_method': 'POST', 'servers': None, @@ -154,6 +155,64 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.generate_async_revenue_report_endpoint = _Endpoint( + settings={ + 'response_type': (AsyncReportResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/reports/revenue', + 'operation_id': 'generate_async_revenue_report', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'async_revenue_report_request', + ], + 'required': [ + 'async_revenue_report_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'async_revenue_report_request': + (AsyncRevenueReportRequest,), + }, + 'attribute_map': { + }, + 'location_map': { + 'async_revenue_report_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) self.get_async_export_output_endpoint = _Endpoint( settings={ 'response_type': (str,), @@ -161,7 +220,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/reports/{reportId}/output', + 'endpoint_path': '/2024-10/retail-media/reports/{reportId}/output', 'operation_id': 'get_async_export_output', 'http_method': 'GET', 'servers': None, @@ -215,7 +274,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/reports/{reportId}/status', + 'endpoint_path': '/2024-10/retail-media/reports/{reportId}/status', 'operation_id': 'get_async_export_status', 'http_method': 'GET', 'servers': None, @@ -270,7 +329,7 @@ def generate_async_campaigns_report( ): """generate_async_campaigns_report # noqa: E501 - Return an asynchronous Campaigns Report # noqa: E501 + Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -353,7 +412,7 @@ def generate_async_line_items_report( ): """generate_async_line_items_report # noqa: E501 - Returns an asynchronous Line Items Report # noqa: E501 + Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -429,6 +488,89 @@ def generate_async_line_items_report( async_line_items_report_request return self.generate_async_line_items_report_endpoint.call_with_http_info(**kwargs) + def generate_async_revenue_report( + self, + async_revenue_report_request, + **kwargs + ): + """generate_async_revenue_report # noqa: E501 + + Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.generate_async_revenue_report(async_revenue_report_request, async_req=True) + >>> result = thread.get() + + Args: + async_revenue_report_request (AsyncRevenueReportRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AsyncReportResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['async_revenue_report_request'] = \ + async_revenue_report_request + return self.generate_async_revenue_report_endpoint.call_with_http_info(**kwargs) + def get_async_export_output( self, report_id, diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/audience_api.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/audience_api.py new file mode 100644 index 00000000..9a3a55b1 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/audience_api.py @@ -0,0 +1,1269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from criteo_api_retailmedia_v2024_10.model.error_code_response import ErrorCodeResponse +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_amendment_request import RetailMediaContactlistAmendmentRequest +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_operation import RetailMediaContactlistOperation +from criteo_api_retailmedia_v2024_10.model.rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response import RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_search_input_v1 import RmAudienceSearchInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_bulk_create_input_v1 import RmAudienceSegmentBulkCreateInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_bulk_delete_input_v1 import RmAudienceSegmentBulkDeleteInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_bulk_update_input_v1 import RmAudienceSegmentBulkUpdateInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_list_response import RmAudienceSegmentEntityV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response import RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_id_entity_v1_list_response import RmAudienceSegmentIdEntityV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_search_input_v1 import RmAudienceSegmentSearchInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_contact_list_statistics_entity_v1_response import RmContactListStatisticsEntityV1Response + + +class AudienceApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.bulk_create_audience_segments_endpoint = _Endpoint( + settings={ + 'response_type': (RmAudienceSegmentEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/audience-segments/create', + 'operation_id': 'bulk_create_audience_segments', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'rm_audience_segment_bulk_create_input_v1', + ], + 'required': [ + 'account_id', + 'rm_audience_segment_bulk_create_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'rm_audience_segment_bulk_create_input_v1': + (RmAudienceSegmentBulkCreateInputV1,), + }, + 'attribute_map': { + 'account_id': 'account-id', + }, + 'location_map': { + 'account_id': 'path', + 'rm_audience_segment_bulk_create_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.bulk_delete_audience_segments_endpoint = _Endpoint( + settings={ + 'response_type': (RmAudienceSegmentIdEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/audience-segments/delete', + 'operation_id': 'bulk_delete_audience_segments', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'rm_audience_segment_bulk_delete_input_v1', + ], + 'required': [ + 'account_id', + 'rm_audience_segment_bulk_delete_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'rm_audience_segment_bulk_delete_input_v1': + (RmAudienceSegmentBulkDeleteInputV1,), + }, + 'attribute_map': { + 'account_id': 'account-id', + }, + 'location_map': { + 'account_id': 'path', + 'rm_audience_segment_bulk_delete_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.bulk_update_audience_segments_endpoint = _Endpoint( + settings={ + 'response_type': (RmAudienceSegmentEntityV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/audience-segments', + 'operation_id': 'bulk_update_audience_segments', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'rm_audience_segment_bulk_update_input_v1', + ], + 'required': [ + 'account_id', + 'rm_audience_segment_bulk_update_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'rm_audience_segment_bulk_update_input_v1': + (RmAudienceSegmentBulkUpdateInputV1,), + }, + 'attribute_map': { + 'account_id': 'account-id', + }, + 'location_map': { + 'account_id': 'path', + 'rm_audience_segment_bulk_update_input_v1': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.delete_contact_list_identifiers_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/audience-segments/{audience-segment-id}/contact-list/clear', + 'operation_id': 'delete_contact_list_identifiers', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_id', + ], + 'required': [ + 'audience_segment_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_id': + (int,), + }, + 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', + }, + 'location_map': { + 'audience_segment_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_audience_segment_contact_list_statistics_endpoint = _Endpoint( + settings={ + 'response_type': (RmContactListStatisticsEntityV1Response,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/audience-segments/{audience-segment-id}/contact-list', + 'operation_id': 'get_audience_segment_contact_list_statistics', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'audience_segment_id', + ], + 'required': [ + 'account_id', + 'audience_segment_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'audience_segment_id': + (str,), + }, + 'attribute_map': { + 'account_id': 'account-id', + 'audience_segment_id': 'audience-segment-id', + }, + 'location_map': { + 'account_id': 'path', + 'audience_segment_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.search_audience_segments_endpoint = _Endpoint( + settings={ + 'response_type': (RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/audience-segments/search', + 'operation_id': 'search_audience_segments', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'rm_audience_segment_search_input_v1', + 'limit', + 'offset', + ], + 'required': [ + 'account_id', + 'rm_audience_segment_search_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 100, + 'inclusive_minimum': 0, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'rm_audience_segment_search_input_v1': + (RmAudienceSegmentSearchInputV1,), + 'limit': + (int,), + 'offset': + (int,), + }, + 'attribute_map': { + 'account_id': 'account-id', + 'limit': 'limit', + 'offset': 'offset', + }, + 'location_map': { + 'account_id': 'path', + 'rm_audience_segment_search_input_v1': 'body', + 'limit': 'query', + 'offset': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.search_audiences_endpoint = _Endpoint( + settings={ + 'response_type': (RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/audiences/search', + 'operation_id': 'search_audiences', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'rm_audience_search_input_v1', + 'limit', + 'offset', + ], + 'required': [ + 'account_id', + 'rm_audience_search_input_v1', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 100, + 'inclusive_minimum': 0, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'rm_audience_search_input_v1': + (RmAudienceSearchInputV1,), + 'limit': + (int,), + 'offset': + (int,), + }, + 'attribute_map': { + 'account_id': 'account-id', + 'limit': 'limit', + 'offset': 'offset', + }, + 'location_map': { + 'account_id': 'path', + 'rm_audience_search_input_v1': 'body', + 'limit': 'query', + 'offset': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.update_contact_list_identifiers_endpoint = _Endpoint( + settings={ + 'response_type': (RetailMediaContactlistOperation,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/audience-segments/{audience-segment-id}/contact-list/add-remove', + 'operation_id': 'update_contact_list_identifiers', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'audience_segment_id', + 'retail_media_contactlist_amendment_request', + ], + 'required': [ + 'audience_segment_id', + 'retail_media_contactlist_amendment_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'audience_segment_id': + (int,), + 'retail_media_contactlist_amendment_request': + (RetailMediaContactlistAmendmentRequest,), + }, + 'attribute_map': { + 'audience_segment_id': 'audience-segment-id', + }, + 'location_map': { + 'audience_segment_id': 'path', + 'retail_media_contactlist_amendment_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def bulk_create_audience_segments( + self, + account_id, + rm_audience_segment_bulk_create_input_v1, + **kwargs + ): + """bulk_create_audience_segments # noqa: E501 + + Creates all segments with a valid configuration, and returns the full segments. For those that cannot be created, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_create_audience_segments(account_id, rm_audience_segment_bulk_create_input_v1, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): Account Id + rm_audience_segment_bulk_create_input_v1 (RmAudienceSegmentBulkCreateInputV1): Segment creation parameter + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + RmAudienceSegmentEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['rm_audience_segment_bulk_create_input_v1'] = \ + rm_audience_segment_bulk_create_input_v1 + return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) + + def bulk_delete_audience_segments( + self, + account_id, + rm_audience_segment_bulk_delete_input_v1, + **kwargs + ): + """bulk_delete_audience_segments # noqa: E501 + + Delete the segments associated to the given audience IDs. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_delete_audience_segments(account_id, rm_audience_segment_bulk_delete_input_v1, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): Account id + rm_audience_segment_bulk_delete_input_v1 (RmAudienceSegmentBulkDeleteInputV1): Segment delete request. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + RmAudienceSegmentIdEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['rm_audience_segment_bulk_delete_input_v1'] = \ + rm_audience_segment_bulk_delete_input_v1 + return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) + + def bulk_update_audience_segments( + self, + account_id, + rm_audience_segment_bulk_update_input_v1, + **kwargs + ): + """bulk_update_audience_segments # noqa: E501 + + Updates the properties of all segments with a valid configuration, and returns the full segments. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bulk_update_audience_segments(account_id, rm_audience_segment_bulk_update_input_v1, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): Account id + rm_audience_segment_bulk_update_input_v1 (RmAudienceSegmentBulkUpdateInputV1): Segment Update request + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + RmAudienceSegmentEntityV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['rm_audience_segment_bulk_update_input_v1'] = \ + rm_audience_segment_bulk_update_input_v1 + return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) + + def delete_contact_list_identifiers( + self, + audience_segment_id, + **kwargs + ): + """delete_contact_list_identifiers # noqa: E501 + + Delete all identifiers from a retail-media contact list audience-segment, with external audience segment id. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.delete_contact_list_identifiers(audience_segment_id, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_id (int): The id of the contact list audience-segment to amend, we only accept external Id here + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.delete_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) + + def get_audience_segment_contact_list_statistics( + self, + account_id, + audience_segment_id, + **kwargs + ): + """get_audience_segment_contact_list_statistics # noqa: E501 + + Returns the statistics of a contact list segment. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_audience_segment_contact_list_statistics(account_id, audience_segment_id, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): Account Id + audience_segment_id (str): Segment Id. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + RmContactListStatisticsEntityV1Response + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['audience_segment_id'] = \ + audience_segment_id + return self.get_audience_segment_contact_list_statistics_endpoint.call_with_http_info(**kwargs) + + def search_audience_segments( + self, + account_id, + rm_audience_segment_search_input_v1, + **kwargs + ): + """search_audience_segments # noqa: E501 + + Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_audience_segments(account_id, rm_audience_segment_search_input_v1, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): Account Id + rm_audience_segment_search_input_v1 (RmAudienceSegmentSearchInputV1): Segment search filters. + + Keyword Args: + limit (int): The number of elements to be returned. The default is 50 and the maximum is 100.. [optional] if omitted the server will use the default value of 50 + offset (int): The (zero-based) offset into the collection. The default is 0.. [optional] if omitted the server will use the default value of 0 + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['rm_audience_segment_search_input_v1'] = \ + rm_audience_segment_search_input_v1 + return self.search_audience_segments_endpoint.call_with_http_info(**kwargs) + + def search_audiences( + self, + account_id, + rm_audience_search_input_v1, + **kwargs + ): + """search_audiences # noqa: E501 + + Returns a list of audiences that match the provided filters. If present, the filters are AND'ed together when applied. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.search_audiences(account_id, rm_audience_search_input_v1, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): Account Id + rm_audience_search_input_v1 (RmAudienceSearchInputV1): Audience search filters. + + Keyword Args: + limit (int): The number of elements to be returned. The default is 50 and the maximum is 100.. [optional] if omitted the server will use the default value of 50 + offset (int): The (zero-based) offset into the collection. The default is 0.. [optional] if omitted the server will use the default value of 0 + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['rm_audience_search_input_v1'] = \ + rm_audience_search_input_v1 + return self.search_audiences_endpoint.call_with_http_info(**kwargs) + + def update_contact_list_identifiers( + self, + audience_segment_id, + retail_media_contactlist_amendment_request, + **kwargs + ): + """update_contact_list_identifiers # noqa: E501 + + Add/remove identifiers to or from a retail-media contact list audience-segment, with external audience segment id. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.update_contact_list_identifiers(audience_segment_id, retail_media_contactlist_amendment_request, async_req=True) + >>> result = thread.get() + + Args: + audience_segment_id (int): The id of the contact list audience-segment to amend, we only accept external Id here + retail_media_contactlist_amendment_request (RetailMediaContactlistAmendmentRequest): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + RetailMediaContactlistOperation + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['audience_segment_id'] = \ + audience_segment_id + kwargs['retail_media_contactlist_amendment_request'] = \ + retail_media_contactlist_amendment_request + return self.update_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/balance_api.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/balance_api.py new file mode 100644 index 00000000..3b70904e --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/balance_api.py @@ -0,0 +1,1289 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from criteo_api_retailmedia_v2024_10.model.add_funds_to_balance_v2_request import AddFundsToBalanceV2Request +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse +from criteo_api_retailmedia_v2024_10.model.balance_response_v2_response import BalanceResponseV2Response +from criteo_api_retailmedia_v2024_10.model.change_dates_of_balance_v2_request import ChangeDatesOfBalanceV2Request +from criteo_api_retailmedia_v2024_10.model.create_balance_v2_request import CreateBalanceV2Request +from criteo_api_retailmedia_v2024_10.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1 +from criteo_api_retailmedia_v2024_10.model.paged_resource_collection_outcome_of_balance_response_v2 import PagedResourceCollectionOutcomeOfBalanceResponseV2 +from criteo_api_retailmedia_v2024_10.model.update_balance_model_v2_request import UpdateBalanceModelV2Request + + +class BalanceApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.get_api202110_external_balance_campaigns_by_balance_id_endpoint = _Endpoint( + settings={ + 'response_type': (BalanceCampaign202110PagedListResponse,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/balances/{balance-id}/campaigns', + 'operation_id': 'get_api202110_external_balance_campaigns_by_balance_id', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'balance_id', + 'limit_to_id', + 'page_index', + 'page_size', + ], + 'required': [ + 'balance_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'balance_id': + (str,), + 'limit_to_id': + ([str],), + 'page_index': + (int,), + 'page_size': + (int,), + }, + 'attribute_map': { + 'balance_id': 'balance-id', + 'limit_to_id': 'limitToId', + 'page_index': 'pageIndex', + 'page_size': 'pageSize', + }, + 'location_map': { + 'balance_id': 'path', + 'limit_to_id': 'query', + 'page_index': 'query', + 'page_size': 'query', + }, + 'collection_format_map': { + 'limit_to_id': 'multi', + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_api_v2_external_account_balances_by_account_id_endpoint = _Endpoint( + settings={ + 'response_type': (PagedResourceCollectionOutcomeOfBalanceResponseV2,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/balances', + 'operation_id': 'get_api_v2_external_account_balances_by_account_id', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'limit_to_id', + 'page_index', + 'page_size', + ], + 'required': [ + 'account_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'limit_to_id': + ([str],), + 'page_index': + (int,), + 'page_size': + (int,), + }, + 'attribute_map': { + 'account_id': 'account-id', + 'limit_to_id': 'limitToId', + 'page_index': 'pageIndex', + 'page_size': 'pageSize', + }, + 'location_map': { + 'account_id': 'path', + 'limit_to_id': 'query', + 'page_index': 'query', + 'page_size': 'query', + }, + 'collection_format_map': { + 'limit_to_id': 'multi', + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_api_v2_external_account_by_account_id_balancesbalance_id_endpoint = _Endpoint( + settings={ + 'response_type': (BalanceResponseV2Response,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/balances/{balance-id}', + 'operation_id': 'get_api_v2_external_account_by_account_id_balancesbalance_id', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'balance_id', + ], + 'required': [ + 'account_id', + 'balance_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'balance_id': + (str,), + }, + 'attribute_map': { + 'account_id': 'account-id', + 'balance_id': 'balance-id', + }, + 'location_map': { + 'account_id': 'path', + 'balance_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_balance_history_endpoint = _Endpoint( + settings={ + 'response_type': (PageOfBalanceHistoryChangeDataCaptureV1,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/balances/{balanceId}/history', + 'operation_id': 'get_balance_history', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'balance_id', + 'offset', + 'limit', + 'limit_to_change_types', + ], + 'required': [ + 'balance_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'offset', + 'limit', + ] + }, + root_map={ + 'validations': { + ('offset',): { + + 'inclusive_maximum': 2147483647, + 'inclusive_minimum': 0, + }, + ('limit',): { + + 'inclusive_maximum': 100, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'balance_id': + (str,), + 'offset': + (int,), + 'limit': + (int,), + 'limit_to_change_types': + (str,), + }, + 'attribute_map': { + 'balance_id': 'balanceId', + 'offset': 'offset', + 'limit': 'limit', + 'limit_to_change_types': 'limitToChangeTypes', + }, + 'location_map': { + 'balance_id': 'path', + 'offset': 'query', + 'limit': 'query', + 'limit_to_change_types': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.patch_api_v2_external_account_by_account_id_balancesbalance_id_endpoint = _Endpoint( + settings={ + 'response_type': (BalanceResponseV2Response,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/balances/{balance-id}', + 'operation_id': 'patch_api_v2_external_account_by_account_id_balancesbalance_id', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'balance_id', + 'update_balance_model_v2_request', + ], + 'required': [ + 'account_id', + 'balance_id', + 'update_balance_model_v2_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'balance_id': + (str,), + 'update_balance_model_v2_request': + (UpdateBalanceModelV2Request,), + }, + 'attribute_map': { + 'account_id': 'account-id', + 'balance_id': 'balance-id', + }, + 'location_map': { + 'account_id': 'path', + 'balance_id': 'path', + 'update_balance_model_v2_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id_endpoint = _Endpoint( + settings={ + 'response_type': (BalanceResponseV2Response,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/balances/{balance-id}/add-funds', + 'operation_id': 'post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'balance_id', + 'add_funds_to_balance_v2_request', + ], + 'required': [ + 'account_id', + 'balance_id', + 'add_funds_to_balance_v2_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'balance_id': + (str,), + 'add_funds_to_balance_v2_request': + (AddFundsToBalanceV2Request,), + }, + 'attribute_map': { + 'account_id': 'account-id', + 'balance_id': 'balance-id', + }, + 'location_map': { + 'account_id': 'path', + 'balance_id': 'path', + 'add_funds_to_balance_v2_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.post_api_v2_external_account_balances_by_account_id_endpoint = _Endpoint( + settings={ + 'response_type': (BalanceResponseV2Response,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/balances', + 'operation_id': 'post_api_v2_external_account_balances_by_account_id', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'create_balance_v2_request', + ], + 'required': [ + 'account_id', + 'create_balance_v2_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'create_balance_v2_request': + (CreateBalanceV2Request,), + }, + 'attribute_map': { + 'account_id': 'account-id', + }, + 'location_map': { + 'account_id': 'path', + 'create_balance_v2_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id_endpoint = _Endpoint( + settings={ + 'response_type': (BalanceResponseV2Response,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/balances/{balance-id}/change-dates', + 'operation_id': 'post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'balance_id', + 'change_dates_of_balance_v2_request', + ], + 'required': [ + 'account_id', + 'balance_id', + 'change_dates_of_balance_v2_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'balance_id': + (str,), + 'change_dates_of_balance_v2_request': + (ChangeDatesOfBalanceV2Request,), + }, + 'attribute_map': { + 'account_id': 'account-id', + 'balance_id': 'balance-id', + }, + 'location_map': { + 'account_id': 'path', + 'balance_id': 'path', + 'change_dates_of_balance_v2_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'text/plain', + 'application/json', + 'text/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def get_api202110_external_balance_campaigns_by_balance_id( + self, + balance_id, + **kwargs + ): + """get_api202110_external_balance_campaigns_by_balance_id # noqa: E501 + + Gets page of campaigns for the given balanceId # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api202110_external_balance_campaigns_by_balance_id(balance_id, async_req=True) + >>> result = thread.get() + + Args: + balance_id (str): The balance to get campaigns from + + Keyword Args: + limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] + page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] + page_size (int): The maximum number of items you would like to receive in this request. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + BalanceCampaign202110PagedListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['balance_id'] = \ + balance_id + return self.get_api202110_external_balance_campaigns_by_balance_id_endpoint.call_with_http_info(**kwargs) + + def get_api_v2_external_account_balances_by_account_id( + self, + account_id, + **kwargs + ): + """get_api_v2_external_account_balances_by_account_id # noqa: E501 + + Gets page of balance objects for the given account id # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_v2_external_account_balances_by_account_id(account_id, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): The account to get balances for + + Keyword Args: + limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] + page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0 + page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25 + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + PagedResourceCollectionOutcomeOfBalanceResponseV2 + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + return self.get_api_v2_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs) + + def get_api_v2_external_account_by_account_id_balancesbalance_id( + self, + account_id, + balance_id, + **kwargs + ): + """get_api_v2_external_account_by_account_id_balancesbalance_id # noqa: E501 + + Get a balance for the given account id and balance id # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): The account of the balance + balance_id (str): The balance id + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + BalanceResponseV2Response + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['balance_id'] = \ + balance_id + return self.get_api_v2_external_account_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs) + + def get_balance_history( + self, + balance_id, + **kwargs + ): + """get_balance_history # noqa: E501 + + Gets the balance's historical change data. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_balance_history(balance_id, async_req=True) + >>> result = thread.get() + + Args: + balance_id (str): Balance id. + + Keyword Args: + offset (int): The (zero-based) starting offset in the collection.. [optional] if omitted the server will use the default value of 0 + limit (int): The number of elements to be returned.. [optional] if omitted the server will use the default value of 25 + limit_to_change_types (str): Comma separated change types string that will be queried.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + PageOfBalanceHistoryChangeDataCaptureV1 + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['balance_id'] = \ + balance_id + return self.get_balance_history_endpoint.call_with_http_info(**kwargs) + + def patch_api_v2_external_account_by_account_id_balancesbalance_id( + self, + account_id, + balance_id, + update_balance_model_v2_request, + **kwargs + ): + """patch_api_v2_external_account_by_account_id_balancesbalance_id # noqa: E501 + + Modify a balance for the given account id # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.patch_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id, update_balance_model_v2_request, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): The account of the balance + balance_id (str): The balance to change the dates + update_balance_model_v2_request (UpdateBalanceModelV2Request): An object that represents the available options to modify a balance. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + BalanceResponseV2Response + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['balance_id'] = \ + balance_id + kwargs['update_balance_model_v2_request'] = \ + update_balance_model_v2_request + return self.patch_api_v2_external_account_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs) + + def post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id( + self, + account_id, + balance_id, + add_funds_to_balance_v2_request, + **kwargs + ): + """post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id # noqa: E501 + + Add funds to a balance for the given account id # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id(account_id, balance_id, add_funds_to_balance_v2_request, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): The account of the balance + balance_id (str): The balance to add funds to + add_funds_to_balance_v2_request (AddFundsToBalanceV2Request): An object that represents the available options of adding funds to a balance. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + BalanceResponseV2Response + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['balance_id'] = \ + balance_id + kwargs['add_funds_to_balance_v2_request'] = \ + add_funds_to_balance_v2_request + return self.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs) + + def post_api_v2_external_account_balances_by_account_id( + self, + account_id, + create_balance_v2_request, + **kwargs + ): + """post_api_v2_external_account_balances_by_account_id # noqa: E501 + + Create balance for the given account id # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.post_api_v2_external_account_balances_by_account_id(account_id, create_balance_v2_request, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): The account to create balances for + create_balance_v2_request (CreateBalanceV2Request): An object that represents the available options to set when creating a Retail Media Balance + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + BalanceResponseV2Response + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['create_balance_v2_request'] = \ + create_balance_v2_request + return self.post_api_v2_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs) + + def post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id( + self, + account_id, + balance_id, + change_dates_of_balance_v2_request, + **kwargs + ): + """post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id # noqa: E501 + + Change dates of a balance for the given account id # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id(account_id, balance_id, change_dates_of_balance_v2_request, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): The account of the balance + balance_id (str): The balance to change the dates + change_dates_of_balance_v2_request (ChangeDatesOfBalanceV2Request): An object that represents the available options to modify schedule of a balance. + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + BalanceResponseV2Response + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + kwargs['balance_id'] = \ + balance_id + kwargs['change_dates_of_balance_v2_request'] = \ + change_dates_of_balance_v2_request + return self.post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id_endpoint.call_with_http_info(**kwargs) + diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/campaign_api.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/campaign_api.py similarity index 88% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/campaign_api.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/campaign_api.py index 44bdf11f..6e8765f7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/campaign_api.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/campaign_api.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,58 +21,64 @@ none_type, validate_and_convert_types ) -from criteo_api_retailmedia_v2023_07.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest -from criteo_api_retailmedia_v2023_07.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.add_to_basket_target202110_request import AddToBasketTarget202110Request -from criteo_api_retailmedia_v2023_07.model.add_to_basket_target202110_response import AddToBasketTarget202110Response -from criteo_api_retailmedia_v2023_07.model.asset_response import AssetResponse -from criteo_api_retailmedia_v2023_07.model.auction_line_item_create_model_request import AuctionLineItemCreateModelRequest -from criteo_api_retailmedia_v2023_07.model.auction_line_item_paged_list_response import AuctionLineItemPagedListResponse -from criteo_api_retailmedia_v2023_07.model.auction_line_item_response import AuctionLineItemResponse -from criteo_api_retailmedia_v2023_07.model.auction_line_item_update_model_request import AuctionLineItemUpdateModelRequest -from criteo_api_retailmedia_v2023_07.model.audience_ids_update_model202110_request import AudienceIdsUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.audience_target202110_request import AudienceTarget202110Request -from criteo_api_retailmedia_v2023_07.model.audience_target202110_response import AudienceTarget202110Response -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.category202204 import Category202204 -from criteo_api_retailmedia_v2023_07.model.category202204_list_response import Category202204ListResponse -from criteo_api_retailmedia_v2023_07.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse -from criteo_api_retailmedia_v2023_07.model.common_line_item_response import CommonLineItemResponse -from criteo_api_retailmedia_v2023_07.model.creative202110_list_response import Creative202110ListResponse -from criteo_api_retailmedia_v2023_07.model.creative202210_list_response import Creative202210ListResponse -from criteo_api_retailmedia_v2023_07.model.creative202210_response import Creative202210Response -from criteo_api_retailmedia_v2023_07.model.creative_create_model202207 import CreativeCreateModel202207 -from criteo_api_retailmedia_v2023_07.model.creative_update_model202207 import CreativeUpdateModel202207 -from criteo_api_retailmedia_v2023_07.model.external_retailer_pages202110 import ExternalRetailerPages202110 -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer -from criteo_api_retailmedia_v2023_07.model.json_api_request_of_catalog_request import JsonApiRequestOfCatalogRequest -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_line_item_bid_multipliers import JsonApiSingleResponseOfLineItemBidMultipliers -from criteo_api_retailmedia_v2023_07.model.keyword_target202110_request import KeywordTarget202110Request -from criteo_api_retailmedia_v2023_07.model.keyword_target202110_response import KeywordTarget202110Response -from criteo_api_retailmedia_v2023_07.model.keywords_model_response import KeywordsModelResponse -from criteo_api_retailmedia_v2023_07.model.line_item_bid_multipliers_request import LineItemBidMultipliersRequest -from criteo_api_retailmedia_v2023_07.model.line_item_bid_multipliers_response import LineItemBidMultipliersResponse -from criteo_api_retailmedia_v2023_07.model.post_campaign_v202301 import PostCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.preferred_line_item202110_paged_list_response import PreferredLineItem202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.preferred_line_item202110_response import PreferredLineItem202110Response -from criteo_api_retailmedia_v2023_07.model.preferred_line_item_create_model202110_request import PreferredLineItemCreateModel202110Request -from criteo_api_retailmedia_v2023_07.model.preferred_line_item_update_model202110_request import PreferredLineItemUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_list_request import PromotedProduct202110ListRequest -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_paged_list_response import PromotedProduct202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.proposal_status_model_response import ProposalStatusModelResponse -from criteo_api_retailmedia_v2023_07.model.put_campaign_v202301 import PutCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.resource_outcome import ResourceOutcome -from criteo_api_retailmedia_v2023_07.model.set_bids_model_request import SetBidsModelRequest -from criteo_api_retailmedia_v2023_07.model.store_ids_update_model202110_request import StoreIdsUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.store_target202110_request import StoreTarget202110Request -from criteo_api_retailmedia_v2023_07.model.store_target202110_response import StoreTarget202110Response -from criteo_api_retailmedia_v2023_07.model.template_list_response import TemplateListResponse -from criteo_api_retailmedia_v2023_07.model.template_response import TemplateResponse +from criteo_api_retailmedia_v2024_10.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest +from criteo_api_retailmedia_v2024_10.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.add_to_basket_target202110_request import AddToBasketTarget202110Request +from criteo_api_retailmedia_v2024_10.model.add_to_basket_target202110_response import AddToBasketTarget202110Response +from criteo_api_retailmedia_v2024_10.model.asset_response import AssetResponse +from criteo_api_retailmedia_v2024_10.model.auction_line_item_create_model_request import AuctionLineItemCreateModelRequest +from criteo_api_retailmedia_v2024_10.model.auction_line_item_paged_list_response import AuctionLineItemPagedListResponse +from criteo_api_retailmedia_v2024_10.model.auction_line_item_response import AuctionLineItemResponse +from criteo_api_retailmedia_v2024_10.model.auction_line_item_update_model_request import AuctionLineItemUpdateModelRequest +from criteo_api_retailmedia_v2024_10.model.audience_ids_update_model202110_request import AudienceIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.audience_target202110_request import AudienceTarget202110Request +from criteo_api_retailmedia_v2024_10.model.audience_target202110_response import AudienceTarget202110Response +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse +from criteo_api_retailmedia_v2024_10.model.category202204 import Category202204 +from criteo_api_retailmedia_v2024_10.model.category202204_list_response import Category202204ListResponse +from criteo_api_retailmedia_v2024_10.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse +from criteo_api_retailmedia_v2024_10.model.common_line_item_response import CommonLineItemResponse +from criteo_api_retailmedia_v2024_10.model.creative202110_list_response import Creative202110ListResponse +from criteo_api_retailmedia_v2024_10.model.creative202210_response import Creative202210Response +from criteo_api_retailmedia_v2024_10.model.creative_create_model202207 import CreativeCreateModel202207 +from criteo_api_retailmedia_v2024_10.model.creative_update_model202207 import CreativeUpdateModel202207 +from criteo_api_retailmedia_v2024_10.model.creative_v2_list_response import CreativeV2ListResponse +from criteo_api_retailmedia_v2024_10.model.creative_v2_response import CreativeV2Response +from criteo_api_retailmedia_v2024_10.model.external_retailer_pages202110 import ExternalRetailerPages202110 +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer +from criteo_api_retailmedia_v2024_10.model.json_api_request_of_catalog_request import JsonApiRequestOfCatalogRequest +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2 +from criteo_api_retailmedia_v2024_10.model.keyword_target202110_request import KeywordTarget202110Request +from criteo_api_retailmedia_v2024_10.model.keyword_target202110_response import KeywordTarget202110Response +from criteo_api_retailmedia_v2024_10.model.keywords_model_response import KeywordsModelResponse +from criteo_api_retailmedia_v2024_10.model.line_item_bid_multipliers_v2_request import LineItemBidMultipliersV2Request +from criteo_api_retailmedia_v2024_10.model.line_item_bid_multipliers_v2_response import LineItemBidMultipliersV2Response +from criteo_api_retailmedia_v2024_10.model.post_campaign_v202301 import PostCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_v2_paged_list_response import PreferredLineItemV2PagedListResponse +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_v2_response import PreferredLineItemV2Response +from criteo_api_retailmedia_v2024_10.model.product_resource_outcome import ProductResourceOutcome +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource_collection_outcome import PromotedProductResourceCollectionOutcome +from criteo_api_retailmedia_v2024_10.model.proposal_status_model_response import ProposalStatusModelResponse +from criteo_api_retailmedia_v2024_10.model.put_campaign_v202301 import PutCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.resource_outcome import ResourceOutcome +from criteo_api_retailmedia_v2024_10.model.set_bids_model_request import SetBidsModelRequest +from criteo_api_retailmedia_v2024_10.model.store_ids_update_model202110_request import StoreIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.store_target202110_request import StoreTarget202110Request +from criteo_api_retailmedia_v2024_10.model.store_target202110_response import StoreTarget202110Response +from criteo_api_retailmedia_v2024_10.model.template_list_response import TemplateListResponse +from criteo_api_retailmedia_v2024_10.model.template_response import TemplateResponse +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides class CampaignApi(object): @@ -93,7 +99,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{id}/keywords/add-remove', + 'endpoint_path': '/2024-10/retail-media/line-items/{id}/keywords/add-remove', 'operation_id': 'add_remove_keywords', 'http_method': 'POST', 'servers': None, @@ -144,24 +150,25 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.create_asset_endpoint = _Endpoint( + self.append_promoted_products_endpoint = _Endpoint( settings={ - 'response_type': (AssetResponse,), + 'response_type': None, 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/assets', - 'operation_id': 'create_asset', + 'endpoint_path': '/2024-10/retail-media/line-items/{line-item-id}/products/append', + 'operation_id': 'append_promoted_products', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'asset_file', + 'line_item_id', + 'promoted_product_resource_collection_input', ], 'required': [ - 'asset_file', + 'line_item_id', ], 'nullable': [ ], @@ -176,48 +183,49 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'asset_file': - (file_type,), + 'line_item_id': + (str,), + 'promoted_product_resource_collection_input': + (PromotedProductResourceCollectionInput,), }, 'attribute_map': { - 'asset_file': 'AssetFile', + 'line_item_id': 'line-item-id', }, 'location_map': { - 'asset_file': 'form', + 'line_item_id': 'path', + 'promoted_product_resource_collection_input': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'multipart/form-data' + 'application/json' ] }, api_client=api_client ) - self.fetch_keywords_endpoint = _Endpoint( + self.create_asset_endpoint = _Endpoint( settings={ - 'response_type': (KeywordsModelResponse,), + 'response_type': (AssetResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{id}/keywords', - 'operation_id': 'fetch_keywords', - 'http_method': 'GET', + 'endpoint_path': '/2024-10/retail-media/assets', + 'operation_id': 'create_asset', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'id', + 'asset_file', ], 'required': [ - 'id', + 'asset_file', ], 'nullable': [ ], @@ -232,44 +240,49 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'id': - (str,), + 'asset_file': + (file_type,), }, 'attribute_map': { - 'id': 'id', + 'asset_file': 'AssetFile', }, 'location_map': { - 'id': 'path', + 'asset_file': 'form', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'application/json' + 'text/plain', + 'application/json', + 'text/json' ], - 'content_type': [], + 'content_type': [ + 'multipart/form-data' + ] }, api_client=api_client ) - self.fetch_proposal_endpoint = _Endpoint( + self.delete_promoted_products_endpoint = _Endpoint( settings={ - 'response_type': (ProposalStatusModelResponse,), + 'response_type': None, 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-deal-line-items/{id}/proposal', - 'operation_id': 'fetch_proposal', - 'http_method': 'GET', + 'endpoint_path': '/2024-10/retail-media/line-items/{line-item-id}/products/delete', + 'operation_id': 'delete_promoted_products', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'id', + 'line_item_id', + 'promoted_product_resource_collection_input', ], 'required': [ - 'id', + 'line_item_id', ], 'nullable': [ ], @@ -284,14 +297,17 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'id': + 'line_item_id': (str,), + 'promoted_product_resource_collection_input': + (PromotedProductResourceCollectionInput,), }, 'attribute_map': { - 'id': 'id', + 'line_item_id': 'line-item-id', }, 'location_map': { - 'id': 'path', + 'line_item_id': 'path', + 'promoted_product_resource_collection_input': 'body', }, 'collection_format_map': { } @@ -300,28 +316,30 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [], + 'content_type': [ + 'application/json' + ] }, api_client=api_client ) - self.get_api202110_external_account_creatives_by_account_id_endpoint = _Endpoint( + self.fetch_keywords_endpoint = _Endpoint( settings={ - 'response_type': (Creative202110ListResponse,), + 'response_type': (KeywordsModelResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/creatives', - 'operation_id': 'get_api202110_external_account_creatives_by_account_id', + 'endpoint_path': '/2024-10/retail-media/line-items/{id}/keywords', + 'operation_id': 'fetch_keywords', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'account_id', + 'id', ], 'required': [ - 'account_id', + 'id', ], 'nullable': [ ], @@ -336,14 +354,14 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'account_id': + 'id': (str,), }, 'attribute_map': { - 'account_id': 'account-id', + 'id': 'id', }, 'location_map': { - 'account_id': 'path', + 'id': 'path', }, 'collection_format_map': { } @@ -356,21 +374,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id_endpoint = _Endpoint( + self.fetch_promoted_products_endpoint = _Endpoint( settings={ - 'response_type': (KeywordTarget202110Response,), + 'response_type': (PromotedProductResourceCollectionOutcome,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/auction-line-items/{line-item-id}/targeting/keywords', - 'operation_id': 'get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/line-items/{line-item-id}/products', + 'operation_id': 'fetch_promoted_products', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'line_item_id', + 'offset', + 'limit', + 'fields', ], 'required': [ 'line_item_id', @@ -390,12 +411,24 @@ def __init__(self, api_client=None): 'openapi_types': { 'line_item_id': (str,), + 'offset': + (int,), + 'limit': + (int,), + 'fields': + (str,), }, 'attribute_map': { 'line_item_id': 'line-item-id', + 'offset': 'offset', + 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'line_item_id': 'path', + 'offset': 'query', + 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -408,27 +441,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint( + self.fetch_proposal_endpoint = _Endpoint( settings={ - 'response_type': (PreferredLineItem202110PagedListResponse,), + 'response_type': (ProposalStatusModelResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/campaigns/{campaign-id}/preferred-line-items', - 'operation_id': 'get_api202110_external_campaign_preferred_line_items_by_campaign_id', + 'endpoint_path': '/2024-10/retail-media/preferred-deal-line-items/{id}/proposal', + 'operation_id': 'fetch_proposal', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'campaign_id', - 'limit_to_id', - 'page_index', - 'page_size', + 'id', ], 'required': [ - 'campaign_id', + 'id', ], 'nullable': [ ], @@ -443,29 +473,16 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'campaign_id': + 'id': (str,), - 'limit_to_id': - ([str],), - 'page_index': - (int,), - 'page_size': - (int,), }, 'attribute_map': { - 'campaign_id': 'campaign-id', - 'limit_to_id': 'limitToId', - 'page_index': 'pageIndex', - 'page_size': 'pageSize', + 'id': 'id', }, 'location_map': { - 'campaign_id': 'path', - 'limit_to_id': 'query', - 'page_index': 'query', - 'page_size': 'query', + 'id': 'path', }, 'collection_format_map': { - 'limit_to_id': 'multi', } }, headers_map={ @@ -476,27 +493,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_api202110_external_line_item_products_by_line_item_id_endpoint = _Endpoint( + self.get_api202110_external_account_creatives_by_account_id_endpoint = _Endpoint( settings={ - 'response_type': (PromotedProduct202110PagedListResponse,), + 'response_type': (Creative202110ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{line-item-id}/products', - 'operation_id': 'get_api202110_external_line_item_products_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/creatives', + 'operation_id': 'get_api202110_external_account_creatives_by_account_id', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'line_item_id', - 'limit_to_id', - 'page_index', - 'page_size', + 'account_id', ], 'required': [ - 'line_item_id', + 'account_id', ], 'nullable': [ ], @@ -511,29 +525,16 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'line_item_id': + 'account_id': (str,), - 'limit_to_id': - ([str],), - 'page_index': - (int,), - 'page_size': - (int,), }, 'attribute_map': { - 'line_item_id': 'line-item-id', - 'limit_to_id': 'limitToId', - 'page_index': 'pageIndex', - 'page_size': 'pageSize', + 'account_id': 'account-id', }, 'location_map': { - 'line_item_id': 'path', - 'limit_to_id': 'query', - 'page_index': 'query', - 'page_size': 'query', + 'account_id': 'path', }, 'collection_format_map': { - 'limit_to_id': 'multi', } }, headers_map={ @@ -544,15 +545,15 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_api202110_external_preferred_line_item_by_line_item_id_endpoint = _Endpoint( + self.get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id_endpoint = _Endpoint( settings={ - 'response_type': (PreferredLineItem202110Response,), + 'response_type': (KeywordTarget202110Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}', - 'operation_id': 'get_api202110_external_preferred_line_item_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/auction-line-items/{line-item-id}/targeting/keywords', + 'operation_id': 'get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id', 'http_method': 'GET', 'servers': None, }, @@ -603,7 +604,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket', 'operation_id': 'get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id', 'http_method': 'GET', 'servers': None, @@ -655,7 +656,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/audiences', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/audiences', 'operation_id': 'get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id', 'http_method': 'GET', 'servers': None, @@ -707,7 +708,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/stores', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/stores', 'operation_id': 'get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id', 'http_method': 'GET', 'servers': None, @@ -759,7 +760,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/retailers/{retailerId}/pages', + 'endpoint_path': '/2024-10/retail-media/retailers/{retailerId}/pages', 'operation_id': 'get_api202110_external_retailer_pages_by_retailer_id', 'http_method': 'GET', 'servers': None, @@ -811,7 +812,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/categories/{categoryId}', + 'endpoint_path': '/2024-10/retail-media/categories/{categoryId}', 'operation_id': 'get_api202204_external_categorie_by_category_id', 'http_method': 'GET', 'servers': None, @@ -863,7 +864,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/categories', + 'endpoint_path': '/2024-10/retail-media/categories', 'operation_id': 'get_api202204_external_categories', 'http_method': 'GET', 'servers': None, @@ -940,7 +941,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/retailers/{retailer-id}/templates/{template-id}', + 'endpoint_path': '/2024-10/retail-media/retailers/{retailer-id}/templates/{template-id}', 'operation_id': 'get_api202207_external_retailer_by_retailer_id_templatestemplate_id', 'http_method': 'GET', 'servers': None, @@ -998,7 +999,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/retailers/{retailer-id}/templates', + 'endpoint_path': '/2024-10/retail-media/retailers/{retailer-id}/templates', 'operation_id': 'get_api202207_external_retailer_templates_by_retailer_id', 'http_method': 'GET', 'servers': None, @@ -1043,64 +1044,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_api202210_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint( - settings={ - 'response_type': (Creative202210Response,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/creatives/{creative-id}', - 'operation_id': 'get_api202210_external_account_by_account_id_creativescreative_id', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'account_id', - 'creative_id', - ], - 'required': [ - 'account_id', - 'creative_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'account_id': - (str,), - 'creative_id': - (str,), - }, - 'attribute_map': { - 'account_id': 'account-id', - 'creative_id': 'creative-id', - }, - 'location_map': { - 'account_id': 'path', - 'creative_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) self.get_api202301_external_account_campaigns_by_account_id_endpoint = _Endpoint( settings={ 'response_type': (JsonApiPageResponseOfCampaignV202301,), @@ -1108,7 +1051,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/campaigns', + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/campaigns', 'operation_id': 'get_api202301_external_account_campaigns_by_account_id', 'http_method': 'GET', 'servers': None, @@ -1176,7 +1119,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/campaigns/{campaignId}', + 'endpoint_path': '/2024-10/retail-media/campaigns/{campaignId}', 'operation_id': 'get_api202301_external_campaign_by_campaign_id', 'http_method': 'GET', 'servers': None, @@ -1221,24 +1164,27 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint( + self.get_api_v1_external_account_brands_by_account_id_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiSingleResponseOfLineItemBidMultipliers,), + 'response_type': (JsonApiPageResponseOfBrand,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{line-item-id}/bid-multipliers', - 'operation_id': 'get_api202301_external_line_item_bid_multipliers_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/accounts/{accountId}/brands', + 'operation_id': 'get_api_v1_external_account_brands_by_account_id', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'line_item_id', + 'account_id', + 'limit_to_id', + 'page_index', + 'page_size', ], 'required': [ - 'line_item_id', + 'account_id', ], 'nullable': [ ], @@ -1253,16 +1199,29 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'line_item_id': + 'account_id': (str,), + 'limit_to_id': + ([str],), + 'page_index': + (int,), + 'page_size': + (int,), }, 'attribute_map': { - 'line_item_id': 'line-item-id', + 'account_id': 'accountId', + 'limit_to_id': 'limitToId', + 'page_index': 'pageIndex', + 'page_size': 'pageSize', }, 'location_map': { - 'line_item_id': 'path', + 'account_id': 'path', + 'limit_to_id': 'query', + 'page_index': 'query', + 'page_size': 'query', }, 'collection_format_map': { + 'limit_to_id': 'multi', } }, headers_map={ @@ -1275,15 +1234,15 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_api_v1_external_account_brands_by_account_id_endpoint = _Endpoint( + self.get_api_v1_external_account_retailers_by_account_id_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiPageResponseOfBrand,), + 'response_type': (JsonApiPageResponseOfRetailer,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{accountId}/brands', - 'operation_id': 'get_api_v1_external_account_brands_by_account_id', + 'endpoint_path': '/2024-10/retail-media/accounts/{accountId}/retailers', + 'operation_id': 'get_api_v1_external_account_retailers_by_account_id', 'http_method': 'GET', 'servers': None, }, @@ -1345,27 +1304,24 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_api_v1_external_account_retailers_by_account_id_endpoint = _Endpoint( + self.get_api_v1_external_catalog_output_by_catalog_id_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiPageResponseOfRetailer,), + 'response_type': (file_type,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{accountId}/retailers', - 'operation_id': 'get_api_v1_external_account_retailers_by_account_id', + 'endpoint_path': '/2024-10/retail-media/catalogs/{catalogId}/output', + 'operation_id': 'get_api_v1_external_catalog_output_by_catalog_id', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'account_id', - 'limit_to_id', - 'page_index', - 'page_size', + 'catalog_id', ], 'required': [ - 'account_id', + 'catalog_id', ], 'nullable': [ ], @@ -1380,50 +1336,36 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'account_id': + 'catalog_id': (str,), - 'limit_to_id': - ([str],), - 'page_index': - (int,), - 'page_size': - (int,), }, 'attribute_map': { - 'account_id': 'accountId', - 'limit_to_id': 'limitToId', - 'page_index': 'pageIndex', - 'page_size': 'pageSize', + 'catalog_id': 'catalogId', }, 'location_map': { - 'account_id': 'path', - 'limit_to_id': 'query', - 'page_index': 'query', - 'page_size': 'query', + 'catalog_id': 'path', }, 'collection_format_map': { - 'limit_to_id': 'multi', } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/x-json-stream', + 'application/json' ], 'content_type': [], }, api_client=api_client ) - self.get_api_v1_external_catalog_output_by_catalog_id_endpoint = _Endpoint( + self.get_api_v1_external_catalog_status_by_catalog_id_endpoint = _Endpoint( settings={ - 'response_type': (file_type,), + 'response_type': (JsonApiSingleResponseOfCatalogStatus,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/catalogs/{catalogId}/output', - 'operation_id': 'get_api_v1_external_catalog_output_by_catalog_id', + 'endpoint_path': '/2024-10/retail-media/catalogs/{catalogId}/status', + 'operation_id': 'get_api_v1_external_catalog_status_by_catalog_id', 'http_method': 'GET', 'servers': None, }, @@ -1461,31 +1403,32 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ - 'application/x-json-stream', 'application/json' ], 'content_type': [], }, api_client=api_client ) - self.get_api_v1_external_catalog_status_by_catalog_id_endpoint = _Endpoint( + self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiSingleResponseOfCatalogStatus,), + 'response_type': (CreativeV2Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/catalogs/{catalogId}/status', - 'operation_id': 'get_api_v1_external_catalog_status_by_catalog_id', + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/creatives/{creative-id}', + 'operation_id': 'get_api_v2_external_account_by_account_id_creativescreative_id', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'catalog_id', + 'account_id', + 'creative_id', ], 'required': [ - 'catalog_id', + 'account_id', + 'creative_id', ], 'nullable': [ ], @@ -1500,21 +1443,27 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'catalog_id': + 'account_id': + (str,), + 'creative_id': (str,), }, 'attribute_map': { - 'catalog_id': 'catalogId', + 'account_id': 'account-id', + 'creative_id': 'creative-id', }, 'location_map': { - 'catalog_id': 'path', + 'account_id': 'path', + 'creative_id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'application/json' + 'text/plain', + 'application/json', + 'text/json' ], 'content_type': [], }, @@ -1527,7 +1476,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/line-items', + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/line-items', 'operation_id': 'get_api_v2_external_account_line_items_by_account_id', 'http_method': 'GET', 'servers': None, @@ -1613,7 +1562,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/auction-line-items/{line-item-id}', + 'endpoint_path': '/2024-10/retail-media/auction-line-items/{line-item-id}', 'operation_id': 'get_api_v2_external_auction_line_item_by_line_item_id', 'http_method': 'GET', 'servers': None, @@ -1665,7 +1614,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/campaigns/{campaign-id}/auction-line-items', + 'endpoint_path': '/2024-10/retail-media/campaigns/{campaign-id}/auction-line-items', 'operation_id': 'get_api_v2_external_campaign_auction_line_items_by_campaign_id', 'http_method': 'GET', 'servers': None, @@ -1726,24 +1675,27 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_api_v2_external_line_item_by_line_item_id_endpoint = _Endpoint( + self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint( settings={ - 'response_type': (CommonLineItemResponse,), + 'response_type': (PreferredLineItemV2PagedListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{line-item-id}', - 'operation_id': 'get_api_v2_external_line_item_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/campaigns/{campaign-id}/preferred-line-items', + 'operation_id': 'get_api_v2_external_campaign_preferred_line_items_by_campaign_id', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'line_item_id', + 'campaign_id', + 'limit_to_id', + 'page_index', + 'page_size', ], 'required': [ - 'line_item_id', + 'campaign_id', ], 'nullable': [ ], @@ -1758,16 +1710,29 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'line_item_id': + 'campaign_id': (str,), + 'limit_to_id': + ([str],), + 'page_index': + (int,), + 'page_size': + (int,), }, 'attribute_map': { - 'line_item_id': 'line-item-id', + 'campaign_id': 'campaign-id', + 'limit_to_id': 'limitToId', + 'page_index': 'pageIndex', + 'page_size': 'pageSize', }, 'location_map': { - 'line_item_id': 'path', + 'campaign_id': 'path', + 'limit_to_id': 'query', + 'page_index': 'query', + 'page_size': 'query', }, 'collection_format_map': { + 'limit_to_id': 'multi', } }, headers_map={ @@ -1778,22 +1743,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint = _Endpoint( + self.get_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint( settings={ - 'response_type': (KeywordTarget202110Response,), + 'response_type': (JsonApiSingleResponseOfLineItemBidMultipliersV2,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append', - 'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id', - 'http_method': 'POST', + 'endpoint_path': '/2024-10/retail-media/line-items/{line-item-id}/bid-multipliers', + 'operation_id': 'get_api_v2_external_line_item_bid_multipliers_by_line_item_id', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'line_item_id', - 'keyword_target202110_request', ], 'required': [ 'line_item_id', @@ -1813,45 +1777,41 @@ def __init__(self, api_client=None): 'openapi_types': { 'line_item_id': (str,), - 'keyword_target202110_request': - (KeywordTarget202110Request,), }, 'attribute_map': { 'line_item_id': 'line-item-id', }, 'location_map': { 'line_item_id': 'path', - 'keyword_target202110_request': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'application/json' + 'text/plain', + 'application/json', + 'text/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) - self.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id_endpoint = _Endpoint( + self.get_api_v2_external_line_item_by_line_item_id_endpoint = _Endpoint( settings={ - 'response_type': (KeywordTarget202110Response,), + 'response_type': (CommonLineItemResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/auction-line-items/{line-item-id}/targeting/keywords/delete', - 'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id', - 'http_method': 'POST', + 'endpoint_path': '/2024-10/retail-media/line-items/{line-item-id}', + 'operation_id': 'get_api_v2_external_line_item_by_line_item_id', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'line_item_id', - 'keyword_target202110_request', ], 'required': [ 'line_item_id', @@ -1871,15 +1831,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'line_item_id': (str,), - 'keyword_target202110_request': - (KeywordTarget202110Request,), }, 'attribute_map': { 'line_item_id': 'line-item-id', }, 'location_map': { 'line_item_id': 'path', - 'keyword_target202110_request': 'body', }, 'collection_format_map': { } @@ -1888,31 +1845,28 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) - self.post_api202110_external_balance_campaigns_append_by_balance_id_endpoint = _Endpoint( + self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint = _Endpoint( settings={ - 'response_type': (BalanceCampaign202110PagedListResponse,), + 'response_type': (PreferredLineItemV2Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/balances/{balance-id}/campaigns/append', - 'operation_id': 'post_api202110_external_balance_campaigns_append_by_balance_id', - 'http_method': 'POST', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}', + 'operation_id': 'get_api_v2_external_preferred_line_item_by_line_item_id', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'balance_id', - 'balance_campaign202110_list_request', + 'line_item_id', ], 'required': [ - 'balance_id', + 'line_item_id', ], 'nullable': [ ], @@ -1927,17 +1881,14 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'balance_id': + 'line_item_id': (str,), - 'balance_campaign202110_list_request': - (BalanceCampaign202110ListRequest,), }, 'attribute_map': { - 'balance_id': 'balance-id', + 'line_item_id': 'line-item-id', }, 'location_map': { - 'balance_id': 'path', - 'balance_campaign202110_list_request': 'body', + 'line_item_id': 'path', }, 'collection_format_map': { } @@ -1946,31 +1897,28 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) - self.post_api202110_external_balance_campaigns_delete_by_balance_id_endpoint = _Endpoint( + self.get_campaign_budget_overrides_endpoint = _Endpoint( settings={ - 'response_type': (BalanceCampaign202110PagedListResponse,), + 'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/balances/{balance-id}/campaigns/delete', - 'operation_id': 'post_api202110_external_balance_campaigns_delete_by_balance_id', - 'http_method': 'POST', + 'endpoint_path': '/2024-10/retail-media/campaigns/{campaignId}/campaign-budget-overrides', + 'operation_id': 'get_campaign_budget_overrides', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'balance_id', - 'balance_campaign202110_list_request', + 'campaign_id', ], 'required': [ - 'balance_id', + 'campaign_id', ], 'nullable': [ ], @@ -1985,17 +1933,14 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'balance_id': - (str,), - 'balance_campaign202110_list_request': - (BalanceCampaign202110ListRequest,), + 'campaign_id': + (int,), }, 'attribute_map': { - 'balance_id': 'balance-id', + 'campaign_id': 'campaignId', }, 'location_map': { - 'balance_id': 'path', - 'balance_campaign202110_list_request': 'body', + 'campaign_id': 'path', }, 'collection_format_map': { } @@ -2004,31 +1949,28 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) - self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint( + self.get_line_item_budget_overrides_endpoint = _Endpoint( settings={ - 'response_type': (PreferredLineItem202110Response,), + 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/campaigns/{campaign-id}/preferred-line-items', - 'operation_id': 'post_api202110_external_campaign_preferred_line_items_by_campaign_id', - 'http_method': 'POST', + 'endpoint_path': '/2024-10/retail-media/line-items/{lineItemId}/line-item-budget-overrides', + 'operation_id': 'get_line_item_budget_overrides', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'campaign_id', - 'preferred_line_item_create_model202110_request', + 'line_item_id', ], 'required': [ - 'campaign_id', + 'line_item_id', ], 'nullable': [ ], @@ -2043,17 +1985,14 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'campaign_id': + 'line_item_id': (str,), - 'preferred_line_item_create_model202110_request': - (PreferredLineItemCreateModel202110Request,), }, 'attribute_map': { - 'campaign_id': 'campaign-id', + 'line_item_id': 'lineItemId', }, 'location_map': { - 'campaign_id': 'path', - 'preferred_line_item_create_model202110_request': 'body', + 'line_item_id': 'path', }, 'collection_format_map': { } @@ -2062,28 +2001,26 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) - self.post_api202110_external_line_item_products_append_by_line_item_id_endpoint = _Endpoint( + self.pause_promoted_products_endpoint = _Endpoint( settings={ - 'response_type': (PromotedProduct202110PagedListResponse,), + 'response_type': None, 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{line-item-id}/products/append', - 'operation_id': 'post_api202110_external_line_item_products_append_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/line-items/{line-item-id}/products/pause', + 'operation_id': 'pause_promoted_products', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'line_item_id', - 'promoted_product202110_list_request', + 'promoted_product_resource_collection_input', ], 'required': [ 'line_item_id', @@ -2103,15 +2040,15 @@ def __init__(self, api_client=None): 'openapi_types': { 'line_item_id': (str,), - 'promoted_product202110_list_request': - (PromotedProduct202110ListRequest,), + 'promoted_product_resource_collection_input': + (PromotedProductResourceCollectionInput,), }, 'attribute_map': { 'line_item_id': 'line-item-id', }, 'location_map': { 'line_item_id': 'path', - 'promoted_product202110_list_request': 'body', + 'promoted_product_resource_collection_input': 'body', }, 'collection_format_map': { } @@ -2126,22 +2063,22 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.post_api202110_external_line_item_products_delete_by_line_item_id_endpoint = _Endpoint( + self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint = _Endpoint( settings={ - 'response_type': (PromotedProduct202110PagedListResponse,), + 'response_type': (KeywordTarget202110Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{line-item-id}/products/delete', - 'operation_id': 'post_api202110_external_line_item_products_delete_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append', + 'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'line_item_id', - 'promoted_product202110_list_request', + 'keyword_target202110_request', ], 'required': [ 'line_item_id', @@ -2161,15 +2098,15 @@ def __init__(self, api_client=None): 'openapi_types': { 'line_item_id': (str,), - 'promoted_product202110_list_request': - (PromotedProduct202110ListRequest,), + 'keyword_target202110_request': + (KeywordTarget202110Request,), }, 'attribute_map': { 'line_item_id': 'line-item-id', }, 'location_map': { 'line_item_id': 'path', - 'promoted_product202110_list_request': 'body', + 'keyword_target202110_request': 'body', }, 'collection_format_map': { } @@ -2184,22 +2121,22 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.post_api202110_external_line_item_products_pause_by_line_item_id_endpoint = _Endpoint( + self.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id_endpoint = _Endpoint( settings={ - 'response_type': None, + 'response_type': (KeywordTarget202110Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{line-item-id}/products/pause', - 'operation_id': 'post_api202110_external_line_item_products_pause_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/auction-line-items/{line-item-id}/targeting/keywords/delete', + 'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'line_item_id', - 'promoted_product202110_list_request', + 'keyword_target202110_request', ], 'required': [ 'line_item_id', @@ -2219,46 +2156,48 @@ def __init__(self, api_client=None): 'openapi_types': { 'line_item_id': (str,), - 'promoted_product202110_list_request': - (PromotedProduct202110ListRequest,), + 'keyword_target202110_request': + (KeywordTarget202110Request,), }, 'attribute_map': { 'line_item_id': 'line-item-id', }, 'location_map': { 'line_item_id': 'path', - 'promoted_product202110_list_request': 'body', + 'keyword_target202110_request': 'body', }, 'collection_format_map': { } }, headers_map={ - 'accept': [], + 'accept': [ + 'application/json' + ], 'content_type': [ 'application/json' ] }, api_client=api_client ) - self.post_api202110_external_line_item_products_unpause_by_line_item_id_endpoint = _Endpoint( + self.post_api202110_external_balance_campaigns_append_by_balance_id_endpoint = _Endpoint( settings={ - 'response_type': None, + 'response_type': (BalanceCampaign202110PagedListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{line-item-id}/products/unpause', - 'operation_id': 'post_api202110_external_line_item_products_unpause_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/balances/{balance-id}/campaigns/append', + 'operation_id': 'post_api202110_external_balance_campaigns_append_by_balance_id', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'line_item_id', - 'promoted_product202110_list_request', + 'balance_id', + 'balance_campaign202110_list_request', ], 'required': [ - 'line_item_id', + 'balance_id', ], 'nullable': [ ], @@ -2273,48 +2212,50 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'line_item_id': + 'balance_id': (str,), - 'promoted_product202110_list_request': - (PromotedProduct202110ListRequest,), + 'balance_campaign202110_list_request': + (BalanceCampaign202110ListRequest,), }, 'attribute_map': { - 'line_item_id': 'line-item-id', + 'balance_id': 'balance-id', }, 'location_map': { - 'line_item_id': 'path', - 'promoted_product202110_list_request': 'body', + 'balance_id': 'path', + 'balance_campaign202110_list_request': 'body', }, 'collection_format_map': { } }, headers_map={ - 'accept': [], + 'accept': [ + 'application/json' + ], 'content_type': [ 'application/json' ] }, api_client=api_client ) - self.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id_endpoint = _Endpoint( + self.post_api202110_external_balance_campaigns_delete_by_balance_id_endpoint = _Endpoint( settings={ - 'response_type': (AddToBasketTarget202110Response,), + 'response_type': (BalanceCampaign202110PagedListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append', - 'operation_id': 'post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/balances/{balance-id}/campaigns/delete', + 'operation_id': 'post_api202110_external_balance_campaigns_delete_by_balance_id', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'line_item_id', - 'add_to_basket_ids_update_model202110_request', + 'balance_id', + 'balance_campaign202110_list_request', ], 'required': [ - 'line_item_id', + 'balance_id', ], 'nullable': [ ], @@ -2329,17 +2270,17 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'line_item_id': + 'balance_id': (str,), - 'add_to_basket_ids_update_model202110_request': - (AddToBasketIdsUpdateModel202110Request,), + 'balance_campaign202110_list_request': + (BalanceCampaign202110ListRequest,), }, 'attribute_map': { - 'line_item_id': 'line-item-id', + 'balance_id': 'balance-id', }, 'location_map': { - 'line_item_id': 'path', - 'add_to_basket_ids_update_model202110_request': 'body', + 'balance_id': 'path', + 'balance_campaign202110_list_request': 'body', }, 'collection_format_map': { } @@ -2354,25 +2295,26 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id_endpoint = _Endpoint( + self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint( settings={ - 'response_type': (AddToBasketTarget202110Response,), + 'response_type': (PreferredLineItemV2Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/delete', - 'operation_id': 'post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/campaigns/{campaign-id}/preferred-line-items', + 'operation_id': 'post_api202110_external_campaign_preferred_line_items_by_campaign_id', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'line_item_id', - 'add_to_basket_ids_update_model202110_request', + 'campaign_id', + 'preferred_line_item_create_model_v2_request', ], 'required': [ - 'line_item_id', + 'campaign_id', + 'preferred_line_item_create_model_v2_request', ], 'nullable': [ ], @@ -2387,7 +2329,123 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'line_item_id': + 'campaign_id': + (str,), + 'preferred_line_item_create_model_v2_request': + (PreferredLineItemCreateModelV2Request,), + }, + 'attribute_map': { + 'campaign_id': 'campaign-id', + }, + 'location_map': { + 'campaign_id': 'path', + 'preferred_line_item_create_model_v2_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id_endpoint = _Endpoint( + settings={ + 'response_type': (AddToBasketTarget202110Response,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append', + 'operation_id': 'post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'line_item_id', + 'add_to_basket_ids_update_model202110_request', + ], + 'required': [ + 'line_item_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'line_item_id': + (str,), + 'add_to_basket_ids_update_model202110_request': + (AddToBasketIdsUpdateModel202110Request,), + }, + 'attribute_map': { + 'line_item_id': 'line-item-id', + }, + 'location_map': { + 'line_item_id': 'path', + 'add_to_basket_ids_update_model202110_request': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id_endpoint = _Endpoint( + settings={ + 'response_type': (AddToBasketTarget202110Response,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/delete', + 'operation_id': 'post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'line_item_id', + 'add_to_basket_ids_update_model202110_request', + ], + 'required': [ + 'line_item_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'line_item_id': (str,), 'add_to_basket_ids_update_model202110_request': (AddToBasketIdsUpdateModel202110Request,), @@ -2419,7 +2477,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/append', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/append', 'operation_id': 'post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id', 'http_method': 'POST', 'servers': None, @@ -2477,7 +2535,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/delete', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/delete', 'operation_id': 'post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id', 'http_method': 'POST', 'servers': None, @@ -2535,7 +2593,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/stores/append', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/stores/append', 'operation_id': 'post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id', 'http_method': 'POST', 'servers': None, @@ -2593,7 +2651,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/stores/delete', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/stores/delete', 'operation_id': 'post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id', 'http_method': 'POST', 'servers': None, @@ -2651,7 +2709,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/creatives', + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/creatives', 'operation_id': 'post_api202210_external_account_creatives_by_account_id', 'http_method': 'POST', 'servers': None, @@ -2702,22 +2760,22 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.post_api202210_external_account_creatives_search_by_account_id_endpoint = _Endpoint( + self.post_api202301_external_account_campaigns_by_account_id_endpoint = _Endpoint( settings={ - 'response_type': (Creative202210ListResponse,), + 'response_type': (JsonApiSingleResponseOfCampaignV202301,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/creatives/search', - 'operation_id': 'post_api202210_external_account_creatives_search_by_account_id', + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/campaigns', + 'operation_id': 'post_api202301_external_account_campaigns_by_account_id', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'account_id', - 'creative_ids', + 'post_campaign_v202301', ], 'required': [ 'account_id', @@ -2737,45 +2795,45 @@ def __init__(self, api_client=None): 'openapi_types': { 'account_id': (str,), - 'creative_ids': - ([str],), + 'post_campaign_v202301': + (PostCampaignV202301,), }, 'attribute_map': { 'account_id': 'account-id', - 'creative_ids': 'creative-ids', }, 'location_map': { 'account_id': 'path', - 'creative_ids': 'query', + 'post_campaign_v202301': 'body', }, 'collection_format_map': { - 'creative_ids': 'multi', } }, headers_map={ 'accept': [ 'application/json' ], - 'content_type': [], + 'content_type': [ + 'application/json' + ] }, api_client=api_client ) - self.post_api202301_external_account_campaigns_by_account_id_endpoint = _Endpoint( + self.post_api_v1_external_account_catalogs_by_account_id_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiSingleResponseOfCampaignV202301,), + 'response_type': (JsonApiSingleResponseOfCatalogStatus,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/campaigns', - 'operation_id': 'post_api202301_external_account_campaigns_by_account_id', + 'endpoint_path': '/2024-10/retail-media/accounts/{accountId}/catalogs', + 'operation_id': 'post_api_v1_external_account_catalogs_by_account_id', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'account_id', - 'post_campaign_v202301', + 'json_api_request_of_catalog_request', ], 'required': [ 'account_id', @@ -2795,15 +2853,15 @@ def __init__(self, api_client=None): 'openapi_types': { 'account_id': (str,), - 'post_campaign_v202301': - (PostCampaignV202301,), + 'json_api_request_of_catalog_request': + (JsonApiRequestOfCatalogRequest,), }, 'attribute_map': { - 'account_id': 'account-id', + 'account_id': 'accountId', }, 'location_map': { 'account_id': 'path', - 'post_campaign_v202301': 'body', + 'json_api_request_of_catalog_request': 'body', }, 'collection_format_map': { } @@ -2818,22 +2876,22 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.post_api_v1_external_account_catalogs_by_account_id_endpoint = _Endpoint( + self.post_api_v2_external_account_creatives_search_by_account_id_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiSingleResponseOfCatalogStatus,), + 'response_type': (CreativeV2ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{accountId}/catalogs', - 'operation_id': 'post_api_v1_external_account_catalogs_by_account_id', + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/creatives/search', + 'operation_id': 'post_api_v2_external_account_creatives_search_by_account_id', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'account_id', - 'json_api_request_of_catalog_request', + 'creative_ids', ], 'required': [ 'account_id', @@ -2853,26 +2911,28 @@ def __init__(self, api_client=None): 'openapi_types': { 'account_id': (str,), - 'json_api_request_of_catalog_request': - (JsonApiRequestOfCatalogRequest,), + 'creative_ids': + ([str],), }, 'attribute_map': { - 'account_id': 'accountId', + 'account_id': 'account-id', + 'creative_ids': 'creative-ids', }, 'location_map': { 'account_id': 'path', - 'json_api_request_of_catalog_request': 'body', + 'creative_ids': 'query', }, 'collection_format_map': { + 'creative_ids': 'multi', } }, headers_map={ 'accept': [ - 'application/json' + 'text/plain', + 'application/json', + 'text/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) @@ -2883,7 +2943,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/campaigns/{campaign-id}/auction-line-items', + 'endpoint_path': '/2024-10/retail-media/campaigns/{campaign-id}/auction-line-items', 'operation_id': 'post_api_v2_external_campaign_auction_line_items_by_campaign_id', 'http_method': 'POST', 'servers': None, @@ -2936,12 +2996,12 @@ def __init__(self, api_client=None): ) self.put_api202110_external_preferred_line_item_by_line_item_id_endpoint = _Endpoint( settings={ - 'response_type': (PreferredLineItem202110Response,), + 'response_type': (PreferredLineItemV2Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}', 'operation_id': 'put_api202110_external_preferred_line_item_by_line_item_id', 'http_method': 'PUT', 'servers': None, @@ -2949,10 +3009,11 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'line_item_id', - 'preferred_line_item_update_model202110_request', + 'preferred_line_item_update_model_v2_request', ], 'required': [ 'line_item_id', + 'preferred_line_item_update_model_v2_request', ], 'nullable': [ ], @@ -2969,15 +3030,15 @@ def __init__(self, api_client=None): 'openapi_types': { 'line_item_id': (str,), - 'preferred_line_item_update_model202110_request': - (PreferredLineItemUpdateModel202110Request,), + 'preferred_line_item_update_model_v2_request': + (PreferredLineItemUpdateModelV2Request,), }, 'attribute_map': { 'line_item_id': 'line-item-id', }, 'location_map': { 'line_item_id': 'path', - 'preferred_line_item_update_model202110_request': 'body', + 'preferred_line_item_update_model_v2_request': 'body', }, 'collection_format_map': { } @@ -2999,7 +3060,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket', 'operation_id': 'put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id', 'http_method': 'PUT', 'servers': None, @@ -3057,7 +3118,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/audiences', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/audiences', 'operation_id': 'put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id', 'http_method': 'PUT', 'servers': None, @@ -3115,7 +3176,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/stores', + 'endpoint_path': '/2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/stores', 'operation_id': 'put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id', 'http_method': 'PUT', 'servers': None, @@ -3173,7 +3234,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/creatives/{creative-id}', + 'endpoint_path': '/2024-10/retail-media/accounts/{account-id}/creatives/{creative-id}', 'operation_id': 'put_api202210_external_account_by_account_id_creativescreative_id', 'http_method': 'PUT', 'servers': None, @@ -3237,7 +3298,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/campaigns/{campaignId}', + 'endpoint_path': '/2024-10/retail-media/campaigns/{campaignId}', 'operation_id': 'put_api202301_external_campaign_by_campaign_id', 'http_method': 'PUT', 'servers': None, @@ -3288,22 +3349,22 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.put_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint( + self.put_api_v2_external_auction_line_item_by_line_item_id_endpoint = _Endpoint( settings={ - 'response_type': (LineItemBidMultipliersResponse,), + 'response_type': (AuctionLineItemResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{line-item-id}/bid-multipliers', - 'operation_id': 'put_api202301_external_line_item_bid_multipliers_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/auction-line-items/{line-item-id}', + 'operation_id': 'put_api_v2_external_auction_line_item_by_line_item_id', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'line_item_id', - 'line_item_bid_multipliers_request', + 'auction_line_item_update_model_request', ], 'required': [ 'line_item_id', @@ -3323,24 +3384,22 @@ def __init__(self, api_client=None): 'openapi_types': { 'line_item_id': (str,), - 'line_item_bid_multipliers_request': - (LineItemBidMultipliersRequest,), + 'auction_line_item_update_model_request': + (AuctionLineItemUpdateModelRequest,), }, 'attribute_map': { 'line_item_id': 'line-item-id', }, 'location_map': { 'line_item_id': 'path', - 'line_item_bid_multipliers_request': 'body', + 'auction_line_item_update_model_request': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ 'application/json' @@ -3348,22 +3407,22 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.put_api_v2_external_auction_line_item_by_line_item_id_endpoint = _Endpoint( + self.put_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint( settings={ - 'response_type': (AuctionLineItemResponse,), + 'response_type': (LineItemBidMultipliersV2Response,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/auction-line-items/{line-item-id}', - 'operation_id': 'put_api_v2_external_auction_line_item_by_line_item_id', + 'endpoint_path': '/2024-10/retail-media/line-items/{line-item-id}/bid-multipliers', + 'operation_id': 'put_api_v2_external_line_item_bid_multipliers_by_line_item_id', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'line_item_id', - 'auction_line_item_update_model_request', + 'line_item_bid_multipliers_v2_request', ], 'required': [ 'line_item_id', @@ -3383,22 +3442,24 @@ def __init__(self, api_client=None): 'openapi_types': { 'line_item_id': (str,), - 'auction_line_item_update_model_request': - (AuctionLineItemUpdateModelRequest,), + 'line_item_bid_multipliers_v2_request': + (LineItemBidMultipliersV2Request,), }, 'attribute_map': { 'line_item_id': 'line-item-id', }, 'location_map': { 'line_item_id': 'path', - 'auction_line_item_update_model_request': 'body', + 'line_item_bid_multipliers_v2_request': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'application/json' + 'text/plain', + 'application/json', + 'text/json' ], 'content_type': [ 'application/json' @@ -3413,7 +3474,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/line-items/{id}/keywords/set-bid', + 'endpoint_path': '/2024-10/retail-media/line-items/{id}/keywords/set-bid', 'operation_id': 'set_keyword_bids', 'http_method': 'POST', 'servers': None, @@ -3471,7 +3532,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/preferred-deal-line-items/{id}/proposal/submit', + 'endpoint_path': '/2024-10/retail-media/preferred-deal-line-items/{id}/proposal/submit', 'operation_id': 'submit_proposal', 'http_method': 'POST', 'servers': None, @@ -3516,26 +3577,457 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.unpause_promoted_products_endpoint = _Endpoint( + settings={ + 'response_type': None, + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/line-items/{line-item-id}/products/unpause', + 'operation_id': 'unpause_promoted_products', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'line_item_id', + 'promoted_product_resource_collection_input', + ], + 'required': [ + 'line_item_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'line_item_id': + (str,), + 'promoted_product_resource_collection_input': + (PromotedProductResourceCollectionInput,), + }, + 'attribute_map': { + 'line_item_id': 'line-item-id', + }, + 'location_map': { + 'line_item_id': 'path', + 'promoted_product_resource_collection_input': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.update_campaign_budget_overrides_endpoint = _Endpoint( + settings={ + 'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/campaigns/{campaignId}/campaign-budget-overrides', + 'operation_id': 'update_campaign_budget_overrides', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'campaign_id', + 'value_resource_input_of_campaign_budget_overrides', + ], + 'required': [ + 'campaign_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'campaign_id': + (int,), + 'value_resource_input_of_campaign_budget_overrides': + (ValueResourceInputOfCampaignBudgetOverrides,), + }, + 'attribute_map': { + 'campaign_id': 'campaignId', + }, + 'location_map': { + 'campaign_id': 'path', + 'value_resource_input_of_campaign_budget_overrides': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + self.update_line_item_budget_overrides_endpoint = _Endpoint( + settings={ + 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/2024-10/retail-media/line-items/{lineItemId}/line-item-budget-overrides', + 'operation_id': 'update_line_item_budget_overrides', + 'http_method': 'PUT', + 'servers': None, + }, + params_map={ + 'all': [ + 'line_item_id', + 'value_resource_input_of_line_item_budget_overrides', + ], + 'required': [ + 'line_item_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'line_item_id': + (str,), + 'value_resource_input_of_line_item_budget_overrides': + (ValueResourceInputOfLineItemBudgetOverrides,), + }, + 'attribute_map': { + 'line_item_id': 'lineItemId', + }, + 'location_map': { + 'line_item_id': 'path', + 'value_resource_input_of_line_item_budget_overrides': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json-patch+json', + 'application/json', + 'text/json', + 'application/*+json' + ] + }, + api_client=api_client + ) + + def add_remove_keywords( + self, + id, + **kwargs + ): + """add_remove_keywords # noqa: E501 + + Add or Remove keywords from the line item in bulk # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.add_remove_keywords(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): ID of the line item + + Keyword Args: + add_remove_keywords_model_request (AddRemoveKeywordsModelRequest): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + ResourceOutcome + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['id'] = \ + id + return self.add_remove_keywords_endpoint.call_with_http_info(**kwargs) + + def append_promoted_products( + self, + line_item_id, + **kwargs + ): + """append_promoted_products # noqa: E501 + + Append a collection of promoted products to a line item # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.append_promoted_products(line_item_id, async_req=True) + >>> result = thread.get() + + Args: + line_item_id (str): ID of the line item + + Keyword Args: + promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + None + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['line_item_id'] = \ + line_item_id + return self.append_promoted_products_endpoint.call_with_http_info(**kwargs) + + def create_asset( + self, + asset_file, + **kwargs + ): + """create_asset # noqa: E501 + + Creates an asset # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.create_asset(asset_file, async_req=True) + >>> result = thread.get() + + Args: + asset_file (file_type): The asset binary content + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AssetResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['asset_file'] = \ + asset_file + return self.create_asset_endpoint.call_with_http_info(**kwargs) - def add_remove_keywords( + def delete_promoted_products( self, - id, + line_item_id, **kwargs ): - """add_remove_keywords # noqa: E501 + """delete_promoted_products # noqa: E501 - Add or Remove keywords from the line item in bulk # noqa: E501 + Remove a collection of promoted products from a line item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.add_remove_keywords(id, async_req=True) + >>> thread = api.delete_promoted_products(line_item_id, async_req=True) >>> result = thread.get() Args: - id (str): ID of the line item + line_item_id (str): ID of the line item Keyword Args: - add_remove_keywords_model_request (AddRemoveKeywordsModelRequest): [optional] + promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3568,7 +4060,7 @@ def add_remove_keywords( async_req (bool): execute request asynchronously Returns: - ResourceOutcome + None If the method is called asynchronously, returns the request thread. """ @@ -3597,26 +4089,26 @@ def add_remove_keywords( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.add_remove_keywords_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs) - def create_asset( + def fetch_keywords( self, - asset_file, + id, **kwargs ): - """create_asset # noqa: E501 + """fetch_keywords # noqa: E501 - Creates an asset # noqa: E501 + Fetch keywords associated with the specified line item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.create_asset(asset_file, async_req=True) + >>> thread = api.fetch_keywords(id, async_req=True) >>> result = thread.get() Args: - asset_file (file_type): The asset binary content + id (str): ID of the line item Keyword Args: _return_http_data_only (bool): response data without head status @@ -3651,7 +4143,7 @@ def create_asset( async_req (bool): execute request asynchronously Returns: - AssetResponse + KeywordsModelResponse If the method is called asynchronously, returns the request thread. """ @@ -3680,28 +4172,31 @@ def create_asset( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['asset_file'] = \ - asset_file - return self.create_asset_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.fetch_keywords_endpoint.call_with_http_info(**kwargs) - def fetch_keywords( + def fetch_promoted_products( self, - id, + line_item_id, **kwargs ): - """fetch_keywords # noqa: E501 + """fetch_promoted_products # noqa: E501 - Fetch keywords associated with the specified line item # noqa: E501 + Retrieve a page of promoted products for a line item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.fetch_keywords(id, async_req=True) + >>> thread = api.fetch_promoted_products(line_item_id, async_req=True) >>> result = thread.get() Args: - id (str): ID of the line item + line_item_id (str): ID of the line item. Keyword Args: + offset (int): Offset of the first item to fetch. Defaults to zero.. [optional] + limit (int): Maximum page size to fetch. Defaults to 500.. [optional] + fields (str): A comma separated list of attribute names from the response model to compute and return. Valid values are `status` and `bidOverride` in any order. Defaults to `status`.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3734,7 +4229,7 @@ def fetch_keywords( async_req (bool): execute request asynchronously Returns: - KeywordsModelResponse + PromotedProductResourceCollectionOutcome If the method is called asynchronously, returns the request thread. """ @@ -3763,9 +4258,9 @@ def fetch_keywords( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.fetch_keywords_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs) def fetch_proposal( self, @@ -4016,27 +4511,24 @@ def get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id( line_item_id return self.get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def get_api202110_external_campaign_preferred_line_items_by_campaign_id( + def get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id( self, - campaign_id, + line_item_id, **kwargs ): - """get_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501 + """get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id # noqa: E501 - Gets page of preferred line item objects for the given campaign id # noqa: E501 + This endpoint gets the add to basket target on the specified line item. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True) + >>> thread = api.get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - campaign_id (str): The given campaign id + line_item_id (str): The line item to interact with Keyword Args: - limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] - page_size (int): The maximum number of items you would like to receive in this request. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4069,7 +4561,7 @@ def get_api202110_external_campaign_preferred_line_items_by_campaign_id( async_req (bool): execute request asynchronously Returns: - PreferredLineItem202110PagedListResponse + AddToBasketTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -4098,31 +4590,28 @@ def get_api202110_external_campaign_preferred_line_items_by_campaign_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['campaign_id'] = \ - campaign_id - return self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def get_api202110_external_line_item_products_by_line_item_id( + def get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id( self, line_item_id, **kwargs ): - """get_api202110_external_line_item_products_by_line_item_id # noqa: E501 + """get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id # noqa: E501 - This endpoint gets the promoted products on the specified line item. # noqa: E501 + This endpoint gets the audience target on the specified line item. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202110_external_line_item_products_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: line_item_id (str): The line item to interact with Keyword Args: - limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] - page_size (int): The maximum number of items you would like to receive in this request. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4155,7 +4644,7 @@ def get_api202110_external_line_item_products_by_line_item_id( async_req (bool): execute request asynchronously Returns: - PromotedProduct202110PagedListResponse + AudienceTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -4186,24 +4675,24 @@ def get_api202110_external_line_item_products_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.get_api202110_external_line_item_products_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def get_api202110_external_preferred_line_item_by_line_item_id( + def get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id( self, line_item_id, **kwargs ): - """get_api202110_external_preferred_line_item_by_line_item_id # noqa: E501 + """get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id # noqa: E501 - Gets the preferred line item for the given line item id # noqa: E501 + This endpoint gets the store target on the specified line item. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202110_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The given line item id + line_item_id (str): The line item to interact with Keyword Args: _return_http_data_only (bool): response data without head status @@ -4238,7 +4727,7 @@ def get_api202110_external_preferred_line_item_by_line_item_id( async_req (bool): execute request asynchronously Returns: - PreferredLineItem202110Response + StoreTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -4269,24 +4758,24 @@ def get_api202110_external_preferred_line_item_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.get_api202110_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id( + def get_api202110_external_retailer_pages_by_retailer_id( self, - line_item_id, + retailer_id, **kwargs ): - """get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id # noqa: E501 + """get_api202110_external_retailer_pages_by_retailer_id # noqa: E501 - This endpoint gets the add to basket target on the specified line item. # noqa: E501 + Get the page types available for the given retailer # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.get_api202110_external_retailer_pages_by_retailer_id(retailer_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + retailer_id (int): The retailers to fetch pages for Keyword Args: _return_http_data_only (bool): response data without head status @@ -4321,7 +4810,7 @@ def get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_i async_req (bool): execute request asynchronously Returns: - AddToBasketTarget202110Response + ExternalRetailerPages202110 If the method is called asynchronously, returns the request thread. """ @@ -4350,26 +4839,26 @@ def get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_i '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['retailer_id'] = \ + retailer_id + return self.get_api202110_external_retailer_pages_by_retailer_id_endpoint.call_with_http_info(**kwargs) - def get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id( + def get_api202204_external_categorie_by_category_id( self, - line_item_id, + category_id, **kwargs ): - """get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id # noqa: E501 + """get_api202204_external_categorie_by_category_id # noqa: E501 - This endpoint gets the audience target on the specified line item. # noqa: E501 + Endpoint to search for a specific category by categoryId. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.get_api202204_external_categorie_by_category_id(category_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + category_id (int): ID of the desired category Keyword Args: _return_http_data_only (bool): response data without head status @@ -4404,7 +4893,7 @@ def get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_ async_req (bool): execute request asynchronously Returns: - AudienceTarget202110Response + Category202204 If the method is called asynchronously, returns the request thread. """ @@ -4433,26 +4922,110 @@ def get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_ '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['category_id'] = \ + category_id + return self.get_api202204_external_categorie_by_category_id_endpoint.call_with_http_info(**kwargs) - def get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id( + def get_api202204_external_categories( self, - line_item_id, **kwargs ): - """get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id # noqa: E501 + """get_api202204_external_categories # noqa: E501 - This endpoint gets the store target on the specified line item. # noqa: E501 + Endpoint to search categories by text and retailer. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.get_api202204_external_categories(async_req=True) + >>> result = thread.get() + + + Keyword Args: + retailer_id (int): The retailer id for which Categories fetched. [optional] + text_substring (str): Query string to search across Categories. [optional] + page_index (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0 + page_size (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100 + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + Category202204ListResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + return self.get_api202204_external_categories_endpoint.call_with_http_info(**kwargs) + + def get_api202207_external_retailer_by_retailer_id_templatestemplate_id( + self, + retailer_id, + template_id, + **kwargs + ): + """get_api202207_external_retailer_by_retailer_id_templatestemplate_id # noqa: E501 + + Gets the template for the specified retailer id and template id # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api202207_external_retailer_by_retailer_id_templatestemplate_id(retailer_id, template_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + retailer_id (int): Retailer Id + template_id (int): Template Id Keyword Args: _return_http_data_only (bool): response data without head status @@ -4487,7 +5060,7 @@ def get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id( async_req (bool): execute request asynchronously Returns: - StoreTarget202110Response + TemplateResponse If the method is called asynchronously, returns the request thread. """ @@ -4516,26 +5089,28 @@ def get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['retailer_id'] = \ + retailer_id + kwargs['template_id'] = \ + template_id + return self.get_api202207_external_retailer_by_retailer_id_templatestemplate_id_endpoint.call_with_http_info(**kwargs) - def get_api202110_external_retailer_pages_by_retailer_id( + def get_api202207_external_retailer_templates_by_retailer_id( self, retailer_id, **kwargs ): - """get_api202110_external_retailer_pages_by_retailer_id # noqa: E501 + """get_api202207_external_retailer_templates_by_retailer_id # noqa: E501 - Get the page types available for the given retailer # noqa: E501 + Get retailer creative templates # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202110_external_retailer_pages_by_retailer_id(retailer_id, async_req=True) + >>> thread = api.get_api202207_external_retailer_templates_by_retailer_id(retailer_id, async_req=True) >>> result = thread.get() Args: - retailer_id (int): The retailers to fetch pages for + retailer_id (int): External retailer id to retrieve creative templates for Keyword Args: _return_http_data_only (bool): response data without head status @@ -4570,7 +5145,7 @@ def get_api202110_external_retailer_pages_by_retailer_id( async_req (bool): execute request asynchronously Returns: - ExternalRetailerPages202110 + TemplateListResponse If the method is called asynchronously, returns the request thread. """ @@ -4601,26 +5176,29 @@ def get_api202110_external_retailer_pages_by_retailer_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['retailer_id'] = \ retailer_id - return self.get_api202110_external_retailer_pages_by_retailer_id_endpoint.call_with_http_info(**kwargs) + return self.get_api202207_external_retailer_templates_by_retailer_id_endpoint.call_with_http_info(**kwargs) - def get_api202204_external_categorie_by_category_id( + def get_api202301_external_account_campaigns_by_account_id( self, - category_id, + account_id, **kwargs ): - """get_api202204_external_categorie_by_category_id # noqa: E501 + """get_api202301_external_account_campaigns_by_account_id # noqa: E501 - Endpoint to search for a specific category by categoryId. # noqa: E501 + Get all the editable and creatable campaign attributes including all types of budgets for each campaigns in relation to the account id, limited by the campaign ids. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202204_external_categorie_by_category_id(category_id, async_req=True) + >>> thread = api.get_api202301_external_account_campaigns_by_account_id(account_id, async_req=True) >>> result = thread.get() Args: - category_id (int): ID of the desired category + account_id (str): The account to request the campaign for. Keyword Args: + limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] + page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0 + page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4653,7 +5231,7 @@ def get_api202204_external_categorie_by_category_id( async_req (bool): execute request asynchronously Returns: - Category202204 + JsonApiPageResponseOfCampaignV202301 If the method is called asynchronously, returns the request thread. """ @@ -4682,29 +5260,28 @@ def get_api202204_external_categorie_by_category_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['category_id'] = \ - category_id - return self.get_api202204_external_categorie_by_category_id_endpoint.call_with_http_info(**kwargs) + kwargs['account_id'] = \ + account_id + return self.get_api202301_external_account_campaigns_by_account_id_endpoint.call_with_http_info(**kwargs) - def get_api202204_external_categories( + def get_api202301_external_campaign_by_campaign_id( self, + campaign_id, **kwargs ): - """get_api202204_external_categories # noqa: E501 + """get_api202301_external_campaign_by_campaign_id # noqa: E501 - Endpoint to search categories by text and retailer. # noqa: E501 + Get all the editable and creatable campaign attributes including all types of budgets given the campaign id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202204_external_categories(async_req=True) + >>> thread = api.get_api202301_external_campaign_by_campaign_id(campaign_id, async_req=True) >>> result = thread.get() + Args: + campaign_id (str): Campaign Id of the campaign detail Keyword Args: - retailer_id (int): The retailer id for which Categories fetched. [optional] - text_substring (str): Query string to search across Categories. [optional] - page_index (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0 - page_size (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4737,7 +5314,7 @@ def get_api202204_external_categories( async_req (bool): execute request asynchronously Returns: - Category202204ListResponse + JsonApiSingleResponseOfCampaignV202301 If the method is called asynchronously, returns the request thread. """ @@ -4766,28 +5343,31 @@ def get_api202204_external_categories( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_api202204_external_categories_endpoint.call_with_http_info(**kwargs) + kwargs['campaign_id'] = \ + campaign_id + return self.get_api202301_external_campaign_by_campaign_id_endpoint.call_with_http_info(**kwargs) - def get_api202207_external_retailer_by_retailer_id_templatestemplate_id( + def get_api_v1_external_account_brands_by_account_id( self, - retailer_id, - template_id, + account_id, **kwargs ): - """get_api202207_external_retailer_by_retailer_id_templatestemplate_id # noqa: E501 + """get_api_v1_external_account_brands_by_account_id # noqa: E501 - Gets the template for the specified retailer id and template id # noqa: E501 + Gets page of retailer objects that are associated with the given account # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202207_external_retailer_by_retailer_id_templatestemplate_id(retailer_id, template_id, async_req=True) + >>> thread = api.get_api_v1_external_account_brands_by_account_id(account_id, async_req=True) >>> result = thread.get() Args: - retailer_id (int): Retailer Id - template_id (int): Template Id + account_id (str): The given account id Keyword Args: + limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] + page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0 + page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4820,7 +5400,7 @@ def get_api202207_external_retailer_by_retailer_id_templatestemplate_id( async_req (bool): execute request asynchronously Returns: - TemplateResponse + JsonApiPageResponseOfBrand If the method is called asynchronously, returns the request thread. """ @@ -4849,30 +5429,31 @@ def get_api202207_external_retailer_by_retailer_id_templatestemplate_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['retailer_id'] = \ - retailer_id - kwargs['template_id'] = \ - template_id - return self.get_api202207_external_retailer_by_retailer_id_templatestemplate_id_endpoint.call_with_http_info(**kwargs) + kwargs['account_id'] = \ + account_id + return self.get_api_v1_external_account_brands_by_account_id_endpoint.call_with_http_info(**kwargs) - def get_api202207_external_retailer_templates_by_retailer_id( + def get_api_v1_external_account_retailers_by_account_id( self, - retailer_id, + account_id, **kwargs ): - """get_api202207_external_retailer_templates_by_retailer_id # noqa: E501 + """get_api_v1_external_account_retailers_by_account_id # noqa: E501 - Get retailer creative templates # noqa: E501 + Gets page of retailer objects that are associated with the given account # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202207_external_retailer_templates_by_retailer_id(retailer_id, async_req=True) + >>> thread = api.get_api_v1_external_account_retailers_by_account_id(account_id, async_req=True) >>> result = thread.get() Args: - retailer_id (int): External retailer id to retrieve creative templates for + account_id (str): The given account id Keyword Args: + limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] + page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0 + page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4905,7 +5486,7 @@ def get_api202207_external_retailer_templates_by_retailer_id( async_req (bool): execute request asynchronously Returns: - TemplateListResponse + JsonApiPageResponseOfRetailer If the method is called asynchronously, returns the request thread. """ @@ -4934,28 +5515,26 @@ def get_api202207_external_retailer_templates_by_retailer_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['retailer_id'] = \ - retailer_id - return self.get_api202207_external_retailer_templates_by_retailer_id_endpoint.call_with_http_info(**kwargs) + kwargs['account_id'] = \ + account_id + return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs) - def get_api202210_external_account_by_account_id_creativescreative_id( + def get_api_v1_external_catalog_output_by_catalog_id( self, - account_id, - creative_id, + catalog_id, **kwargs ): - """get_api202210_external_account_by_account_id_creativescreative_id # noqa: E501 + """get_api_v1_external_catalog_output_by_catalog_id # noqa: E501 - Get the specified creative # noqa: E501 + Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True) + >>> thread = api.get_api_v1_external_catalog_output_by_catalog_id(catalog_id, async_req=True) >>> result = thread.get() Args: - account_id (str): External account id to retrieve creatives for - creative_id (str): Creative to get + catalog_id (str): A catalog ID returned from an account catalog request. Keyword Args: _return_http_data_only (bool): response data without head status @@ -4990,7 +5569,7 @@ def get_api202210_external_account_by_account_id_creativescreative_id( async_req (bool): execute request asynchronously Returns: - Creative202210Response + file_type If the method is called asynchronously, returns the request thread. """ @@ -5019,33 +5598,28 @@ def get_api202210_external_account_by_account_id_creativescreative_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - kwargs['creative_id'] = \ - creative_id - return self.get_api202210_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs) + kwargs['catalog_id'] = \ + catalog_id + return self.get_api_v1_external_catalog_output_by_catalog_id_endpoint.call_with_http_info(**kwargs) - def get_api202301_external_account_campaigns_by_account_id( + def get_api_v1_external_catalog_status_by_catalog_id( self, - account_id, + catalog_id, **kwargs ): - """get_api202301_external_account_campaigns_by_account_id # noqa: E501 + """get_api_v1_external_catalog_status_by_catalog_id # noqa: E501 - Get all the editable and creatable campaign attributes including all types of budgets for each campaigns in relation to the account id, limited by the campaign ids. # noqa: E501 + Check the status of a catalog request. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202301_external_account_campaigns_by_account_id(account_id, async_req=True) + >>> thread = api.get_api_v1_external_catalog_status_by_catalog_id(catalog_id, async_req=True) >>> result = thread.get() Args: - account_id (str): The account to request the campaign for. + catalog_id (str): A catalog ID returned from an account catalog request. Keyword Args: - limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0 - page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5078,7 +5652,7 @@ def get_api202301_external_account_campaigns_by_account_id( async_req (bool): execute request asynchronously Returns: - JsonApiPageResponseOfCampaignV202301 + JsonApiSingleResponseOfCatalogStatus If the method is called asynchronously, returns the request thread. """ @@ -5107,26 +5681,28 @@ def get_api202301_external_account_campaigns_by_account_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - return self.get_api202301_external_account_campaigns_by_account_id_endpoint.call_with_http_info(**kwargs) + kwargs['catalog_id'] = \ + catalog_id + return self.get_api_v1_external_catalog_status_by_catalog_id_endpoint.call_with_http_info(**kwargs) - def get_api202301_external_campaign_by_campaign_id( + def get_api_v2_external_account_by_account_id_creativescreative_id( self, - campaign_id, + account_id, + creative_id, **kwargs ): - """get_api202301_external_campaign_by_campaign_id # noqa: E501 + """get_api_v2_external_account_by_account_id_creativescreative_id # noqa: E501 - Get all the editable and creatable campaign attributes including all types of budgets given the campaign id # noqa: E501 + Get the specified creative # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202301_external_campaign_by_campaign_id(campaign_id, async_req=True) + >>> thread = api.get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True) >>> result = thread.get() Args: - campaign_id (str): Campaign Id of the campaign detail + account_id (str): External account id to retrieve creatives for + creative_id (str): Creative to get Keyword Args: _return_http_data_only (bool): response data without head status @@ -5161,7 +5737,7 @@ def get_api202301_external_campaign_by_campaign_id( async_req (bool): execute request asynchronously Returns: - JsonApiSingleResponseOfCampaignV202301 + CreativeV2Response If the method is called asynchronously, returns the request thread. """ @@ -5190,28 +5766,35 @@ def get_api202301_external_campaign_by_campaign_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['campaign_id'] = \ - campaign_id - return self.get_api202301_external_campaign_by_campaign_id_endpoint.call_with_http_info(**kwargs) + kwargs['account_id'] = \ + account_id + kwargs['creative_id'] = \ + creative_id + return self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs) - def get_api202301_external_line_item_bid_multipliers_by_line_item_id( + def get_api_v2_external_account_line_items_by_account_id( self, - line_item_id, + account_id, **kwargs ): - """get_api202301_external_line_item_bid_multipliers_by_line_item_id # noqa: E501 + """get_api_v2_external_account_line_items_by_account_id # noqa: E501 - Get bid multipliers by line item # noqa: E501 + Gets page of line item objects for the given account id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api202301_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.get_api_v2_external_account_line_items_by_account_id(account_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): Long external id of the associated line item + account_id (str): The given account id Keyword Args: + limit_to_campaign_id ([str]): The campaign ids that you would like to limit your result set to. [optional] + limit_to_type (str): The campaign types that you would like to limit your result set to. [optional] + limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] + page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] + page_size (int): The maximum number of items you would like to receive in this request. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5244,7 +5827,7 @@ def get_api202301_external_line_item_bid_multipliers_by_line_item_id( async_req (bool): execute request asynchronously Returns: - JsonApiSingleResponseOfLineItemBidMultipliers + CommonLineItemPagedListResponse If the method is called asynchronously, returns the request thread. """ @@ -5273,31 +5856,28 @@ def get_api202301_external_line_item_bid_multipliers_by_line_item_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.get_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['account_id'] = \ + account_id + return self.get_api_v2_external_account_line_items_by_account_id_endpoint.call_with_http_info(**kwargs) - def get_api_v1_external_account_brands_by_account_id( + def get_api_v2_external_auction_line_item_by_line_item_id( self, - account_id, + line_item_id, **kwargs ): - """get_api_v1_external_account_brands_by_account_id # noqa: E501 + """get_api_v2_external_auction_line_item_by_line_item_id # noqa: E501 - Gets page of retailer objects that are associated with the given account # noqa: E501 + Gets the auction line item for the given line item id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_v1_external_account_brands_by_account_id(account_id, async_req=True) + >>> thread = api.get_api_v2_external_auction_line_item_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - account_id (str): The given account id + line_item_id (str): The given line item id Keyword Args: - limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0 - page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5330,7 +5910,7 @@ def get_api_v1_external_account_brands_by_account_id( async_req (bool): execute request asynchronously Returns: - JsonApiPageResponseOfBrand + AuctionLineItemResponse If the method is called asynchronously, returns the request thread. """ @@ -5359,31 +5939,31 @@ def get_api_v1_external_account_brands_by_account_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - return self.get_api_v1_external_account_brands_by_account_id_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.get_api_v2_external_auction_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def get_api_v1_external_account_retailers_by_account_id( + def get_api_v2_external_campaign_auction_line_items_by_campaign_id( self, - account_id, + campaign_id, **kwargs ): - """get_api_v1_external_account_retailers_by_account_id # noqa: E501 + """get_api_v2_external_campaign_auction_line_items_by_campaign_id # noqa: E501 - Gets page of retailer objects that are associated with the given account # noqa: E501 + Gets page of auction line item objects for the given campaign id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_v1_external_account_retailers_by_account_id(account_id, async_req=True) + >>> thread = api.get_api_v2_external_campaign_auction_line_items_by_campaign_id(campaign_id, async_req=True) >>> result = thread.get() Args: - account_id (str): The given account id + campaign_id (str): The given campaign id Keyword Args: limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0 - page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25 + page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] + page_size (int): The maximum number of items you would like to receive in this request. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5416,7 +5996,7 @@ def get_api_v1_external_account_retailers_by_account_id( async_req (bool): execute request asynchronously Returns: - JsonApiPageResponseOfRetailer + AuctionLineItemPagedListResponse If the method is called asynchronously, returns the request thread. """ @@ -5445,28 +6025,31 @@ def get_api_v1_external_account_retailers_by_account_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs) + kwargs['campaign_id'] = \ + campaign_id + return self.get_api_v2_external_campaign_auction_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs) - def get_api_v1_external_catalog_output_by_catalog_id( + def get_api_v2_external_campaign_preferred_line_items_by_campaign_id( self, - catalog_id, + campaign_id, **kwargs ): - """get_api_v1_external_catalog_output_by_catalog_id # noqa: E501 + """get_api_v2_external_campaign_preferred_line_items_by_campaign_id # noqa: E501 - Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. # noqa: E501 + Gets page of preferred line item objects for the given campaign id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_v1_external_catalog_output_by_catalog_id(catalog_id, async_req=True) + >>> thread = api.get_api_v2_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True) >>> result = thread.get() Args: - catalog_id (str): A catalog ID returned from an account catalog request. + campaign_id (str): The given campaign id Keyword Args: + limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] + page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] + page_size (int): The maximum number of items you would like to receive in this request. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5499,7 +6082,7 @@ def get_api_v1_external_catalog_output_by_catalog_id( async_req (bool): execute request asynchronously Returns: - file_type + PreferredLineItemV2PagedListResponse If the method is called asynchronously, returns the request thread. """ @@ -5528,26 +6111,26 @@ def get_api_v1_external_catalog_output_by_catalog_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['catalog_id'] = \ - catalog_id - return self.get_api_v1_external_catalog_output_by_catalog_id_endpoint.call_with_http_info(**kwargs) + kwargs['campaign_id'] = \ + campaign_id + return self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs) - def get_api_v1_external_catalog_status_by_catalog_id( + def get_api_v2_external_line_item_bid_multipliers_by_line_item_id( self, - catalog_id, + line_item_id, **kwargs ): - """get_api_v1_external_catalog_status_by_catalog_id # noqa: E501 + """get_api_v2_external_line_item_bid_multipliers_by_line_item_id # noqa: E501 - Check the status of a catalog request. # noqa: E501 + Fetch all bid multipliers for a given line item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_v1_external_catalog_status_by_catalog_id(catalog_id, async_req=True) + >>> thread = api.get_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - catalog_id (str): A catalog ID returned from an account catalog request. + line_item_id (str): External LineItemId for bid multiplier retrieval Keyword Args: _return_http_data_only (bool): response data without head status @@ -5582,7 +6165,7 @@ def get_api_v1_external_catalog_status_by_catalog_id( async_req (bool): execute request asynchronously Returns: - JsonApiSingleResponseOfCatalogStatus + JsonApiSingleResponseOfLineItemBidMultipliersV2 If the method is called asynchronously, returns the request thread. """ @@ -5611,33 +6194,28 @@ def get_api_v1_external_catalog_status_by_catalog_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['catalog_id'] = \ - catalog_id - return self.get_api_v1_external_catalog_status_by_catalog_id_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.get_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def get_api_v2_external_account_line_items_by_account_id( + def get_api_v2_external_line_item_by_line_item_id( self, - account_id, + line_item_id, **kwargs ): - """get_api_v2_external_account_line_items_by_account_id # noqa: E501 + """get_api_v2_external_line_item_by_line_item_id # noqa: E501 - Gets page of line item objects for the given account id # noqa: E501 + Gets the line item for the given line item id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_v2_external_account_line_items_by_account_id(account_id, async_req=True) + >>> thread = api.get_api_v2_external_line_item_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - account_id (str): The given account id + line_item_id (str): The given line item id Keyword Args: - limit_to_campaign_id ([str]): The campaign ids that you would like to limit your result set to. [optional] - limit_to_type (str): The campaign types that you would like to limit your result set to. [optional] - limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] - page_size (int): The maximum number of items you would like to receive in this request. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5670,7 +6248,7 @@ def get_api_v2_external_account_line_items_by_account_id( async_req (bool): execute request asynchronously Returns: - CommonLineItemPagedListResponse + CommonLineItemResponse If the method is called asynchronously, returns the request thread. """ @@ -5699,22 +6277,22 @@ def get_api_v2_external_account_line_items_by_account_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - return self.get_api_v2_external_account_line_items_by_account_id_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.get_api_v2_external_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def get_api_v2_external_auction_line_item_by_line_item_id( + def get_api_v2_external_preferred_line_item_by_line_item_id( self, line_item_id, **kwargs ): - """get_api_v2_external_auction_line_item_by_line_item_id # noqa: E501 + """get_api_v2_external_preferred_line_item_by_line_item_id # noqa: E501 - Gets the auction line item for the given line item id # noqa: E501 + Gets the preferred line item for the given line item id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_v2_external_auction_line_item_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.get_api_v2_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: @@ -5753,7 +6331,7 @@ def get_api_v2_external_auction_line_item_by_line_item_id( async_req (bool): execute request asynchronously Returns: - AuctionLineItemResponse + PreferredLineItemV2Response If the method is called asynchronously, returns the request thread. """ @@ -5784,29 +6362,26 @@ def get_api_v2_external_auction_line_item_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.get_api_v2_external_auction_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def get_api_v2_external_campaign_auction_line_items_by_campaign_id( + def get_campaign_budget_overrides( self, campaign_id, **kwargs ): - """get_api_v2_external_campaign_auction_line_items_by_campaign_id # noqa: E501 + """get_campaign_budget_overrides # noqa: E501 - Gets page of auction line item objects for the given campaign id # noqa: E501 + Get current campaign budget overrides by given external campaign id. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_v2_external_campaign_auction_line_items_by_campaign_id(campaign_id, async_req=True) + >>> thread = api.get_campaign_budget_overrides(campaign_id, async_req=True) >>> result = thread.get() Args: - campaign_id (str): The given campaign id + campaign_id (int): External campaign id. Keyword Args: - limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] - page_size (int): The maximum number of items you would like to receive in this request. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5839,7 +6414,7 @@ def get_api_v2_external_campaign_auction_line_items_by_campaign_id( async_req (bool): execute request asynchronously Returns: - AuctionLineItemPagedListResponse + ValueResourceOutcomeOfCampaignBudgetOverrides If the method is called asynchronously, returns the request thread. """ @@ -5870,24 +6445,24 @@ def get_api_v2_external_campaign_auction_line_items_by_campaign_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['campaign_id'] = \ campaign_id - return self.get_api_v2_external_campaign_auction_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs) + return self.get_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs) - def get_api_v2_external_line_item_by_line_item_id( + def get_line_item_budget_overrides( self, line_item_id, **kwargs ): - """get_api_v2_external_line_item_by_line_item_id # noqa: E501 + """get_line_item_budget_overrides # noqa: E501 - Gets the line item for the given line item id # noqa: E501 + Gets a collection of monthly and daily budget overrides for the provided line item. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_v2_external_line_item_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.get_line_item_budget_overrides(line_item_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The given line item id + line_item_id (str): The line item id to get budget overrides for. Keyword Args: _return_http_data_only (bool): response data without head status @@ -5922,7 +6497,7 @@ def get_api_v2_external_line_item_by_line_item_id( async_req (bool): execute request asynchronously Returns: - CommonLineItemResponse + ValueResourceOutcomeOfLineItemBudgetOverrides If the method is called asynchronously, returns the request thread. """ @@ -5953,27 +6528,27 @@ def get_api_v2_external_line_item_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.get_api_v2_external_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.get_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id( + def pause_promoted_products( self, line_item_id, **kwargs ): - """post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id # noqa: E501 + """pause_promoted_products # noqa: E501 - This endpoint appends one or more keywords to targeting on the specified line item. The resulting state of the keyword target is returned. # noqa: E501 + Pause a collection of promoted products associated with a line item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.pause_promoted_products(line_item_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + line_item_id (str): ID of the line item Keyword Args: - keyword_target202110_request (KeywordTarget202110Request): . [optional] + promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6006,7 +6581,7 @@ def post_api202110_external_auction_line_item_targeting_keywords_append_by_line_ async_req (bool): execute request asynchronously Returns: - KeywordTarget202110Response + None If the method is called asynchronously, returns the request thread. """ @@ -6037,20 +6612,20 @@ def post_api202110_external_auction_line_item_targeting_keywords_append_by_line_ kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.pause_promoted_products_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id( + def post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id( self, line_item_id, **kwargs ): - """post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id # noqa: E501 + """post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id # noqa: E501 - This endpoint removes one or more keywords from targeting on the specified line item. The resulting state of the keyword target is returned. # noqa: E501 + This endpoint appends one or more keywords to targeting on the specified line item. The resulting state of the keyword target is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: @@ -6121,27 +6696,27 @@ def post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_ kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_balance_campaigns_append_by_balance_id( + def post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id( self, - balance_id, + line_item_id, **kwargs ): - """post_api202110_external_balance_campaigns_append_by_balance_id # noqa: E501 + """post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id # noqa: E501 - appends one or more campaigns to the specified balance # noqa: E501 + This endpoint removes one or more keywords from targeting on the specified line item. The resulting state of the keyword target is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_balance_campaigns_append_by_balance_id(balance_id, async_req=True) + >>> thread = api.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - balance_id (str): The balance to add campaigns from + line_item_id (str): The line item to interact with Keyword Args: - balance_campaign202110_list_request (BalanceCampaign202110ListRequest): The campaigns to append. [optional] + keyword_target202110_request (KeywordTarget202110Request): . [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6174,7 +6749,7 @@ def post_api202110_external_balance_campaigns_append_by_balance_id( async_req (bool): execute request asynchronously Returns: - BalanceCampaign202110PagedListResponse + KeywordTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -6203,26 +6778,26 @@ def post_api202110_external_balance_campaigns_append_by_balance_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['balance_id'] = \ - balance_id - return self.post_api202110_external_balance_campaigns_append_by_balance_id_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_balance_campaigns_delete_by_balance_id( + def post_api202110_external_balance_campaigns_append_by_balance_id( self, balance_id, **kwargs ): - """post_api202110_external_balance_campaigns_delete_by_balance_id # noqa: E501 + """post_api202110_external_balance_campaigns_append_by_balance_id # noqa: E501 - Removes one or more campaigns on the specified balance # noqa: E501 + appends one or more campaigns to the specified balance # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_balance_campaigns_delete_by_balance_id(balance_id, async_req=True) + >>> thread = api.post_api202110_external_balance_campaigns_append_by_balance_id(balance_id, async_req=True) >>> result = thread.get() Args: - balance_id (str): The balance to remove campaigns from + balance_id (str): The balance to add campaigns from Keyword Args: balance_campaign202110_list_request (BalanceCampaign202110ListRequest): The campaigns to append. [optional] @@ -6289,27 +6864,27 @@ def post_api202110_external_balance_campaigns_delete_by_balance_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['balance_id'] = \ balance_id - return self.post_api202110_external_balance_campaigns_delete_by_balance_id_endpoint.call_with_http_info(**kwargs) + return self.post_api202110_external_balance_campaigns_append_by_balance_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_campaign_preferred_line_items_by_campaign_id( + def post_api202110_external_balance_campaigns_delete_by_balance_id( self, - campaign_id, + balance_id, **kwargs ): - """post_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501 + """post_api202110_external_balance_campaigns_delete_by_balance_id # noqa: E501 - Creates a new preferred line item with the specified settings # noqa: E501 + Removes one or more campaigns on the specified balance # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True) + >>> thread = api.post_api202110_external_balance_campaigns_delete_by_balance_id(balance_id, async_req=True) >>> result = thread.get() Args: - campaign_id (str): The given campaign id + balance_id (str): The balance to remove campaigns from Keyword Args: - preferred_line_item_create_model202110_request (PreferredLineItemCreateModel202110Request): The line item settings to create a line item with. [optional] + balance_campaign202110_list_request (BalanceCampaign202110ListRequest): The campaigns to append. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6342,7 +6917,7 @@ def post_api202110_external_campaign_preferred_line_items_by_campaign_id( async_req (bool): execute request asynchronously Returns: - PreferredLineItem202110Response + BalanceCampaign202110PagedListResponse If the method is called asynchronously, returns the request thread. """ @@ -6371,29 +6946,30 @@ def post_api202110_external_campaign_preferred_line_items_by_campaign_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['campaign_id'] = \ - campaign_id - return self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs) + kwargs['balance_id'] = \ + balance_id + return self.post_api202110_external_balance_campaigns_delete_by_balance_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_line_item_products_append_by_line_item_id( + def post_api202110_external_campaign_preferred_line_items_by_campaign_id( self, - line_item_id, + campaign_id, + preferred_line_item_create_model_v2_request, **kwargs ): - """post_api202110_external_line_item_products_append_by_line_item_id # noqa: E501 + """post_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501 - This endpoint appends one or more products to promote on the specified line item. The resulting state of the line item is returned. # noqa: E501 + Creates a new preferred line item with the specified settings # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_line_item_products_append_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, preferred_line_item_create_model_v2_request, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + campaign_id (str): The given campaign id + preferred_line_item_create_model_v2_request (PreferredLineItemCreateModelV2Request): The line item settings to create a line item with Keyword Args: - promoted_product202110_list_request (PromotedProduct202110ListRequest): the products to append to this line item. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6426,7 +7002,7 @@ def post_api202110_external_line_item_products_append_by_line_item_id( async_req (bool): execute request asynchronously Returns: - PromotedProduct202110PagedListResponse + PreferredLineItemV2Response If the method is called asynchronously, returns the request thread. """ @@ -6455,29 +7031,31 @@ def post_api202110_external_line_item_products_append_by_line_item_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.post_api202110_external_line_item_products_append_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['campaign_id'] = \ + campaign_id + kwargs['preferred_line_item_create_model_v2_request'] = \ + preferred_line_item_create_model_v2_request + return self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_line_item_products_delete_by_line_item_id( + def post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id( self, line_item_id, **kwargs ): - """post_api202110_external_line_item_products_delete_by_line_item_id # noqa: E501 + """post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id # noqa: E501 - This endpoint removes one or more products from promotion on the specified line item. The resulting state of the line item is returned. # noqa: E501 + This endpoint appends one or more add to basket ids to targeting on the specified line item. The resulting state of the add to basket target is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_line_item_products_delete_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: line_item_id (str): The line item to interact with Keyword Args: - promoted_product202110_list_request (PromotedProduct202110ListRequest): . [optional] + add_to_basket_ids_update_model202110_request (AddToBasketIdsUpdateModel202110Request): Ids to append to the target. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6510,7 +7088,7 @@ def post_api202110_external_line_item_products_delete_by_line_item_id( async_req (bool): execute request asynchronously Returns: - PromotedProduct202110PagedListResponse + AddToBasketTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -6541,27 +7119,27 @@ def post_api202110_external_line_item_products_delete_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.post_api202110_external_line_item_products_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_line_item_products_pause_by_line_item_id( + def post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id( self, line_item_id, **kwargs ): - """post_api202110_external_line_item_products_pause_by_line_item_id # noqa: E501 + """post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id # noqa: E501 - This endpoint pauses one or more promoted products on a specified line item. # noqa: E501 + This endpoint removes one or more add to basket ids from targeting on the specified line item. The resulting state of the add to basket target is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_line_item_products_pause_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with. + line_item_id (str): The line item to interact with Keyword Args: - promoted_product202110_list_request (PromotedProduct202110ListRequest): The products from which their IDs will be used to pause.. [optional] + add_to_basket_ids_update_model202110_request (AddToBasketIdsUpdateModel202110Request): Ids to remove from the target. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6594,7 +7172,7 @@ def post_api202110_external_line_item_products_pause_by_line_item_id( async_req (bool): execute request asynchronously Returns: - None + AddToBasketTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -6625,27 +7203,27 @@ def post_api202110_external_line_item_products_pause_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.post_api202110_external_line_item_products_pause_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_line_item_products_unpause_by_line_item_id( + def post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id( self, line_item_id, **kwargs ): - """post_api202110_external_line_item_products_unpause_by_line_item_id # noqa: E501 + """post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id # noqa: E501 - This endpoint unpauses one or more promoted products on a specified line item. # noqa: E501 + This endpoint appends one or more audiences ids to targeting on the specified line item. The resulting state of the audience target is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_line_item_products_unpause_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with. + line_item_id (str): The line item to interact with Keyword Args: - promoted_product202110_list_request (PromotedProduct202110ListRequest): The products from which their IDs will be used to unpause.. [optional] + audience_ids_update_model202110_request (AudienceIdsUpdateModel202110Request): Audience ids to append to the target. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6678,7 +7256,7 @@ def post_api202110_external_line_item_products_unpause_by_line_item_id( async_req (bool): execute request asynchronously Returns: - None + AudienceTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -6709,27 +7287,27 @@ def post_api202110_external_line_item_products_unpause_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.post_api202110_external_line_item_products_unpause_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id( + def post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id( self, line_item_id, **kwargs ): - """post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id # noqa: E501 + """post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id # noqa: E501 - This endpoint appends one or more add to basket ids to targeting on the specified line item. The resulting state of the add to basket target is returned. # noqa: E501 + This endpoint removes one or more audiences ids from targeting on the specified line item. The resulting state of the audience target is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: line_item_id (str): The line item to interact with Keyword Args: - add_to_basket_ids_update_model202110_request (AddToBasketIdsUpdateModel202110Request): Ids to append to the target. [optional] + audience_ids_update_model202110_request (AudienceIdsUpdateModel202110Request): Audience ids to remove from the target. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6762,7 +7340,7 @@ def post_api202110_external_preferred_line_item_targeting_add_to_basket_append_b async_req (bool): execute request asynchronously Returns: - AddToBasketTarget202110Response + AudienceTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -6793,27 +7371,27 @@ def post_api202110_external_preferred_line_item_targeting_add_to_basket_append_b kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id( + def post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id( self, line_item_id, **kwargs ): - """post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id # noqa: E501 + """post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id # noqa: E501 - This endpoint removes one or more add to basket ids from targeting on the specified line item. The resulting state of the add to basket target is returned. # noqa: E501 + This endpoint appends one or more store ids to targeting on the specified line item. The resulting state of the store target is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: line_item_id (str): The line item to interact with Keyword Args: - add_to_basket_ids_update_model202110_request (AddToBasketIdsUpdateModel202110Request): Ids to remove from the target. [optional] + store_ids_update_model202110_request (StoreIdsUpdateModel202110Request): Store ids to append to the target. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6846,7 +7424,7 @@ def post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_b async_req (bool): execute request asynchronously Returns: - AddToBasketTarget202110Response + StoreTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -6877,27 +7455,27 @@ def post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_b kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id( + def post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id( self, line_item_id, **kwargs ): - """post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id # noqa: E501 + """post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id # noqa: E501 - This endpoint appends one or more audiences ids to targeting on the specified line item. The resulting state of the audience target is returned. # noqa: E501 + This endpoint removes one or more store ids from targeting on the specified line item. The resulting state of the store target is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: line_item_id (str): The line item to interact with Keyword Args: - audience_ids_update_model202110_request (AudienceIdsUpdateModel202110Request): Audience ids to append to the target. [optional] + store_ids_update_model202110_request (StoreIdsUpdateModel202110Request): Store ids to remove from the target. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6930,7 +7508,7 @@ def post_api202110_external_preferred_line_item_targeting_audiences_append_by_li async_req (bool): execute request asynchronously Returns: - AudienceTarget202110Response + StoreTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -6961,27 +7539,27 @@ def post_api202110_external_preferred_line_item_targeting_audiences_append_by_li kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id( + def post_api202210_external_account_creatives_by_account_id( self, - line_item_id, + account_id, **kwargs ): - """post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id # noqa: E501 + """post_api202210_external_account_creatives_by_account_id # noqa: E501 - This endpoint removes one or more audiences ids from targeting on the specified line item. The resulting state of the audience target is returned. # noqa: E501 + Create a creative for an account # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202210_external_account_creatives_by_account_id(account_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + account_id (str): External account id to create a creative for Keyword Args: - audience_ids_update_model202110_request (AudienceIdsUpdateModel202110Request): Audience ids to remove from the target. [optional] + creative_create_model202207 (CreativeCreateModel202207): The creative to create. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7014,7 +7592,7 @@ def post_api202110_external_preferred_line_item_targeting_audiences_delete_by_li async_req (bool): execute request asynchronously Returns: - AudienceTarget202110Response + Creative202210Response If the method is called asynchronously, returns the request thread. """ @@ -7043,29 +7621,29 @@ def post_api202110_external_preferred_line_item_targeting_audiences_delete_by_li '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['account_id'] = \ + account_id + return self.post_api202210_external_account_creatives_by_account_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id( + def post_api202301_external_account_campaigns_by_account_id( self, - line_item_id, + account_id, **kwargs ): - """post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id # noqa: E501 + """post_api202301_external_account_campaigns_by_account_id # noqa: E501 - This endpoint appends one or more store ids to targeting on the specified line item. The resulting state of the store target is returned. # noqa: E501 + Create a campaign and assign budgets for the given account id with creatable campaign attributes given in request body constrained by business validation. The validation error includes details and source of errors. Pacing can be adjusted and affected by the status of the campaign and the days left on the campaign if auto daily pacing is enabled. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api202301_external_account_campaigns_by_account_id(account_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + account_id (str): The account to request the campaign for. Keyword Args: - store_ids_update_model202110_request (StoreIdsUpdateModel202110Request): Store ids to append to the target. [optional] + post_campaign_v202301 (PostCampaignV202301): Creatable campaign attributes. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7098,7 +7676,7 @@ def post_api202110_external_preferred_line_item_targeting_stores_append_by_line_ async_req (bool): execute request asynchronously Returns: - StoreTarget202110Response + JsonApiSingleResponseOfCampaignV202301 If the method is called asynchronously, returns the request thread. """ @@ -7127,29 +7705,29 @@ def post_api202110_external_preferred_line_item_targeting_stores_append_by_line_ '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['account_id'] = \ + account_id + return self.post_api202301_external_account_campaigns_by_account_id_endpoint.call_with_http_info(**kwargs) - def post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id( + def post_api_v1_external_account_catalogs_by_account_id( self, - line_item_id, + account_id, **kwargs ): - """post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id # noqa: E501 + """post_api_v1_external_account_catalogs_by_account_id # noqa: E501 - This endpoint removes one or more store ids from targeting on the specified line item. The resulting state of the store target is returned. # noqa: E501 + Create a request for a Catalog available to the indicated account. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.post_api_v1_external_account_catalogs_by_account_id(account_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + account_id (str): The account to request the catalog for. Keyword Args: - store_ids_update_model202110_request (StoreIdsUpdateModel202110Request): Store ids to remove from the target. [optional] + json_api_request_of_catalog_request (JsonApiRequestOfCatalogRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7182,7 +7760,7 @@ def post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_ async_req (bool): execute request asynchronously Returns: - StoreTarget202110Response + JsonApiSingleResponseOfCatalogStatus If the method is called asynchronously, returns the request thread. """ @@ -7211,29 +7789,29 @@ def post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_ '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['account_id'] = \ + account_id + return self.post_api_v1_external_account_catalogs_by_account_id_endpoint.call_with_http_info(**kwargs) - def post_api202210_external_account_creatives_by_account_id( + def post_api_v2_external_account_creatives_search_by_account_id( self, account_id, **kwargs ): - """post_api202210_external_account_creatives_by_account_id # noqa: E501 + """post_api_v2_external_account_creatives_search_by_account_id # noqa: E501 - Create a creative for an account # noqa: E501 + Get account creatives # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202210_external_account_creatives_by_account_id(account_id, async_req=True) + >>> thread = api.post_api_v2_external_account_creatives_search_by_account_id(account_id, async_req=True) >>> result = thread.get() Args: - account_id (str): External account id to create a creative for + account_id (str): External account id to retrieve creatives for Keyword Args: - creative_create_model202207 (CreativeCreateModel202207): The creative to create. [optional] + creative_ids ([str]): Creatives to filter by. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7266,7 +7844,7 @@ def post_api202210_external_account_creatives_by_account_id( async_req (bool): execute request asynchronously Returns: - Creative202210Response + CreativeV2ListResponse If the method is called asynchronously, returns the request thread. """ @@ -7297,27 +7875,27 @@ def post_api202210_external_account_creatives_by_account_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['account_id'] = \ account_id - return self.post_api202210_external_account_creatives_by_account_id_endpoint.call_with_http_info(**kwargs) + return self.post_api_v2_external_account_creatives_search_by_account_id_endpoint.call_with_http_info(**kwargs) - def post_api202210_external_account_creatives_search_by_account_id( + def post_api_v2_external_campaign_auction_line_items_by_campaign_id( self, - account_id, + campaign_id, **kwargs ): - """post_api202210_external_account_creatives_search_by_account_id # noqa: E501 + """post_api_v2_external_campaign_auction_line_items_by_campaign_id # noqa: E501 - Get account creatives # noqa: E501 + Creates new auction line item with the specified settings # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202210_external_account_creatives_search_by_account_id(account_id, async_req=True) + >>> thread = api.post_api_v2_external_campaign_auction_line_items_by_campaign_id(campaign_id, async_req=True) >>> result = thread.get() Args: - account_id (str): External account id to retrieve creatives for + campaign_id (str): The given campaign id Keyword Args: - creative_ids ([str]): Creatives to filter by. [optional] + auction_line_item_create_model_request (AuctionLineItemCreateModelRequest): The line item settings to create a line item with. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7350,7 +7928,7 @@ def post_api202210_external_account_creatives_search_by_account_id( async_req (bool): execute request asynchronously Returns: - Creative202210ListResponse + AuctionLineItemResponse If the method is called asynchronously, returns the request thread. """ @@ -7379,29 +7957,30 @@ def post_api202210_external_account_creatives_search_by_account_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - return self.post_api202210_external_account_creatives_search_by_account_id_endpoint.call_with_http_info(**kwargs) + kwargs['campaign_id'] = \ + campaign_id + return self.post_api_v2_external_campaign_auction_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs) - def post_api202301_external_account_campaigns_by_account_id( + def put_api202110_external_preferred_line_item_by_line_item_id( self, - account_id, + line_item_id, + preferred_line_item_update_model_v2_request, **kwargs ): - """post_api202301_external_account_campaigns_by_account_id # noqa: E501 + """put_api202110_external_preferred_line_item_by_line_item_id # noqa: E501 - Create a campaign and assign budgets for the given account id with creatable campaign attributes given in request body constrained by business validation. The validation error includes details and source of errors. Pacing can be adjusted and affected by the status of the campaign and the days left on the campaign if auto daily pacing is enabled. # noqa: E501 + Updates the preferred line item for the given line item id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api202301_external_account_campaigns_by_account_id(account_id, async_req=True) + >>> thread = api.put_api202110_external_preferred_line_item_by_line_item_id(line_item_id, preferred_line_item_update_model_v2_request, async_req=True) >>> result = thread.get() Args: - account_id (str): The account to request the campaign for. + line_item_id (str): The given line item id + preferred_line_item_update_model_v2_request (PreferredLineItemUpdateModelV2Request): The line item settings to create a line item with Keyword Args: - post_campaign_v202301 (PostCampaignV202301): Creatable campaign attributes. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7434,7 +8013,7 @@ def post_api202301_external_account_campaigns_by_account_id( async_req (bool): execute request asynchronously Returns: - JsonApiSingleResponseOfCampaignV202301 + PreferredLineItemV2Response If the method is called asynchronously, returns the request thread. """ @@ -7463,29 +8042,31 @@ def post_api202301_external_account_campaigns_by_account_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - return self.post_api202301_external_account_campaigns_by_account_id_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + kwargs['preferred_line_item_update_model_v2_request'] = \ + preferred_line_item_update_model_v2_request + return self.put_api202110_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api_v1_external_account_catalogs_by_account_id( + def put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id( self, - account_id, + line_item_id, **kwargs ): - """post_api_v1_external_account_catalogs_by_account_id # noqa: E501 + """put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id # noqa: E501 - Create a request for a Catalog available to the indicated account. # noqa: E501 + This endpoint sets the scope of the add to basket target on the specified line item. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api_v1_external_account_catalogs_by_account_id(account_id, async_req=True) + >>> thread = api.put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - account_id (str): The account to request the catalog for. + line_item_id (str): The line item to interact with Keyword Args: - json_api_request_of_catalog_request (JsonApiRequestOfCatalogRequest): [optional] + add_to_basket_target202110_request (AddToBasketTarget202110Request): The add to basket target to set the scope for. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7518,7 +8099,7 @@ def post_api_v1_external_account_catalogs_by_account_id( async_req (bool): execute request asynchronously Returns: - JsonApiSingleResponseOfCatalogStatus + AddToBasketTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -7547,29 +8128,29 @@ def post_api_v1_external_account_catalogs_by_account_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - return self.post_api_v1_external_account_catalogs_by_account_id_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def post_api_v2_external_campaign_auction_line_items_by_campaign_id( + def put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id( self, - campaign_id, + line_item_id, **kwargs ): - """post_api_v2_external_campaign_auction_line_items_by_campaign_id # noqa: E501 + """put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id # noqa: E501 - Creates new auction line item with the specified settings # noqa: E501 + This endpoint sets the scope of the audience target on the specified line item. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.post_api_v2_external_campaign_auction_line_items_by_campaign_id(campaign_id, async_req=True) + >>> thread = api.put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - campaign_id (str): The given campaign id + line_item_id (str): The line item to interact with Keyword Args: - auction_line_item_create_model_request (AuctionLineItemCreateModelRequest): The line item settings to create a line item with. [optional] + audience_target202110_request (AudienceTarget202110Request): The audience target to set the scope for. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7602,7 +8183,7 @@ def post_api_v2_external_campaign_auction_line_items_by_campaign_id( async_req (bool): execute request asynchronously Returns: - AuctionLineItemResponse + AudienceTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -7631,29 +8212,29 @@ def post_api_v2_external_campaign_auction_line_items_by_campaign_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['campaign_id'] = \ - campaign_id - return self.post_api_v2_external_campaign_auction_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def put_api202110_external_preferred_line_item_by_line_item_id( + def put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id( self, line_item_id, **kwargs ): - """put_api202110_external_preferred_line_item_by_line_item_id # noqa: E501 + """put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id # noqa: E501 - Updates the preferred line item for the given line item id # noqa: E501 + This endpoint sets the scope of the store target on the specified line item. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.put_api202110_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The given line item id + line_item_id (str): The line item to interact with Keyword Args: - preferred_line_item_update_model202110_request (PreferredLineItemUpdateModel202110Request): The line item settings to create a line item with. [optional] + store_target202110_request (StoreTarget202110Request): The store target to set the scope for. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7686,7 +8267,7 @@ def put_api202110_external_preferred_line_item_by_line_item_id( async_req (bool): execute request asynchronously Returns: - PreferredLineItem202110Response + StoreTarget202110Response If the method is called asynchronously, returns the request thread. """ @@ -7717,27 +8298,29 @@ def put_api202110_external_preferred_line_item_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.put_api202110_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id( + def put_api202210_external_account_by_account_id_creativescreative_id( self, - line_item_id, + account_id, + creative_id, **kwargs ): - """put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id # noqa: E501 + """put_api202210_external_account_by_account_id_creativescreative_id # noqa: E501 - This endpoint sets the scope of the add to basket target on the specified line item. # noqa: E501 + Update a creative # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.put_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + account_id (str): External account id containing the creative + creative_id (str): Creative to update Keyword Args: - add_to_basket_target202110_request (AddToBasketTarget202110Request): The add to basket target to set the scope for. [optional] + creative_update_model202207 (CreativeUpdateModel202207): The creative to create. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7770,7 +8353,7 @@ def put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_i async_req (bool): execute request asynchronously Returns: - AddToBasketTarget202110Response + Creative202210Response If the method is called asynchronously, returns the request thread. """ @@ -7799,29 +8382,31 @@ def put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_i '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['account_id'] = \ + account_id + kwargs['creative_id'] = \ + creative_id + return self.put_api202210_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs) - def put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id( + def put_api202301_external_campaign_by_campaign_id( self, - line_item_id, + campaign_id, **kwargs ): - """put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id # noqa: E501 + """put_api202301_external_campaign_by_campaign_id # noqa: E501 - This endpoint sets the scope of the audience target on the specified line item. # noqa: E501 + Edit a campaign for the given campaign id with a given editable attributes. This will return updated creatable and editable attributes of the campaign as the result of the operation. Pacing can be adjusted and affected by the status of the campaign and the days left on the campaign if auto daily pacing is enabled. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.put_api202301_external_campaign_by_campaign_id(campaign_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + campaign_id (str): Campaign Id of the updating campaign Keyword Args: - audience_target202110_request (AudienceTarget202110Request): The audience target to set the scope for. [optional] + put_campaign_v202301 (PutCampaignV202301): Editable campaign attributes. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7854,7 +8439,7 @@ def put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_ async_req (bool): execute request asynchronously Returns: - AudienceTarget202110Response + JsonApiSingleResponseOfCampaignV202301 If the method is called asynchronously, returns the request thread. """ @@ -7883,29 +8468,29 @@ def put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_ '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['campaign_id'] = \ + campaign_id + return self.put_api202301_external_campaign_by_campaign_id_endpoint.call_with_http_info(**kwargs) - def put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id( + def put_api_v2_external_auction_line_item_by_line_item_id( self, line_item_id, **kwargs ): - """put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id # noqa: E501 + """put_api_v2_external_auction_line_item_by_line_item_id # noqa: E501 - This endpoint sets the scope of the store target on the specified line item. # noqa: E501 + Updates the auction line item for the given line item id # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.put_api_v2_external_auction_line_item_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The line item to interact with + line_item_id (str): The given line item id Keyword Args: - store_target202110_request (StoreTarget202110Request): The store target to set the scope for. [optional] + auction_line_item_update_model_request (AuctionLineItemUpdateModelRequest): The line item settings to create a line item with. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7938,7 +8523,7 @@ def put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id( async_req (bool): execute request asynchronously Returns: - StoreTarget202110Response + AuctionLineItemResponse If the method is called asynchronously, returns the request thread. """ @@ -7969,29 +8554,27 @@ def put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.put_api_v2_external_auction_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def put_api202210_external_account_by_account_id_creativescreative_id( + def put_api_v2_external_line_item_bid_multipliers_by_line_item_id( self, - account_id, - creative_id, + line_item_id, **kwargs ): - """put_api202210_external_account_by_account_id_creativescreative_id # noqa: E501 + """put_api_v2_external_line_item_bid_multipliers_by_line_item_id # noqa: E501 - Update a creative # noqa: E501 + Updates the bid multipliers for a given line item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.put_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True) + >>> thread = api.put_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True) >>> result = thread.get() Args: - account_id (str): External account id containing the creative - creative_id (str): Creative to update + line_item_id (str): External LineItemId for bid multiplier retrieval Keyword Args: - creative_update_model202207 (CreativeUpdateModel202207): The creative to create. [optional] + line_item_bid_multipliers_v2_request (LineItemBidMultipliersV2Request): New Bid Multipliers to be set. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -8024,7 +8607,7 @@ def put_api202210_external_account_by_account_id_creativescreative_id( async_req (bool): execute request asynchronously Returns: - Creative202210Response + LineItemBidMultipliersV2Response If the method is called asynchronously, returns the request thread. """ @@ -8053,31 +8636,29 @@ def put_api202210_external_account_by_account_id_creativescreative_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - kwargs['creative_id'] = \ - creative_id - return self.put_api202210_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.put_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def put_api202301_external_campaign_by_campaign_id( + def set_keyword_bids( self, - campaign_id, + id, **kwargs ): - """put_api202301_external_campaign_by_campaign_id # noqa: E501 + """set_keyword_bids # noqa: E501 - Edit a campaign for the given campaign id with a given editable attributes. This will return updated creatable and editable attributes of the campaign as the result of the operation. Pacing can be adjusted and affected by the status of the campaign and the days left on the campaign if auto daily pacing is enabled. # noqa: E501 + Set bid overrides for associated keywords to the given line item in bulk # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.put_api202301_external_campaign_by_campaign_id(campaign_id, async_req=True) + >>> thread = api.set_keyword_bids(id, async_req=True) >>> result = thread.get() Args: - campaign_id (str): Campaign Id of the updating campaign + id (str): ID of the line item Keyword Args: - put_campaign_v202301 (PutCampaignV202301): Editable campaign attributes. [optional] + set_bids_model_request (SetBidsModelRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -8110,7 +8691,7 @@ def put_api202301_external_campaign_by_campaign_id( async_req (bool): execute request asynchronously Returns: - JsonApiSingleResponseOfCampaignV202301 + ResourceOutcome If the method is called asynchronously, returns the request thread. """ @@ -8139,29 +8720,28 @@ def put_api202301_external_campaign_by_campaign_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['campaign_id'] = \ - campaign_id - return self.put_api202301_external_campaign_by_campaign_id_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs) - def put_api202301_external_line_item_bid_multipliers_by_line_item_id( + def submit_proposal( self, - line_item_id, + id, **kwargs ): - """put_api202301_external_line_item_bid_multipliers_by_line_item_id # noqa: E501 + """submit_proposal # noqa: E501 - Replace bid multipliers on a line item # noqa: E501 + Only the components of the Line Item that are in a valid state will be reviewed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.put_api202301_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.submit_proposal(id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): Long external id of the associated line item + id (str): ID of the line item Keyword Args: - line_item_bid_multipliers_request (LineItemBidMultipliersRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -8194,7 +8774,7 @@ def put_api202301_external_line_item_bid_multipliers_by_line_item_id( async_req (bool): execute request asynchronously Returns: - LineItemBidMultipliersResponse + ProposalStatusModelResponse If the method is called asynchronously, returns the request thread. """ @@ -8223,29 +8803,29 @@ def put_api202301_external_line_item_bid_multipliers_by_line_item_id( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.put_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.submit_proposal_endpoint.call_with_http_info(**kwargs) - def put_api_v2_external_auction_line_item_by_line_item_id( + def unpause_promoted_products( self, line_item_id, **kwargs ): - """put_api_v2_external_auction_line_item_by_line_item_id # noqa: E501 + """unpause_promoted_products # noqa: E501 - Updates the auction line item for the given line item id # noqa: E501 + Un-pause a collection of promoted products associated with a line item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.put_api_v2_external_auction_line_item_by_line_item_id(line_item_id, async_req=True) + >>> thread = api.unpause_promoted_products(line_item_id, async_req=True) >>> result = thread.get() Args: - line_item_id (str): The given line item id + line_item_id (str): ID of the line item Keyword Args: - auction_line_item_update_model_request (AuctionLineItemUpdateModelRequest): The line item settings to create a line item with. [optional] + promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -8278,7 +8858,7 @@ def put_api_v2_external_auction_line_item_by_line_item_id( async_req (bool): execute request asynchronously Returns: - AuctionLineItemResponse + None If the method is called asynchronously, returns the request thread. """ @@ -8309,27 +8889,27 @@ def put_api_v2_external_auction_line_item_by_line_item_id( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['line_item_id'] = \ line_item_id - return self.put_api_v2_external_auction_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) + return self.unpause_promoted_products_endpoint.call_with_http_info(**kwargs) - def set_keyword_bids( + def update_campaign_budget_overrides( self, - id, + campaign_id, **kwargs ): - """set_keyword_bids # noqa: E501 + """update_campaign_budget_overrides # noqa: E501 - Set bid overrides for associated keywords to the given line item in bulk # noqa: E501 + Update campaign budget overrides by given external campaign id and new campaign budget overrides settings. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.set_keyword_bids(id, async_req=True) + >>> thread = api.update_campaign_budget_overrides(campaign_id, async_req=True) >>> result = thread.get() Args: - id (str): ID of the line item + campaign_id (int): External campaign id. Keyword Args: - set_bids_model_request (SetBidsModelRequest): [optional] + value_resource_input_of_campaign_budget_overrides (ValueResourceInputOfCampaignBudgetOverrides): New campaign budget overrides settings value resource input.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -8362,7 +8942,7 @@ def set_keyword_bids( async_req (bool): execute request asynchronously Returns: - ResourceOutcome + ValueResourceOutcomeOfCampaignBudgetOverrides If the method is called asynchronously, returns the request thread. """ @@ -8391,28 +8971,29 @@ def set_keyword_bids( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs) + kwargs['campaign_id'] = \ + campaign_id + return self.update_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs) - def submit_proposal( + def update_line_item_budget_overrides( self, - id, + line_item_id, **kwargs ): - """submit_proposal # noqa: E501 + """update_line_item_budget_overrides # noqa: E501 - Only the components of the Line Item that are in a valid state will be reviewed. # noqa: E501 + Update line item budget overrides by given external line item id and new line item budget overrides settings. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.submit_proposal(id, async_req=True) + >>> thread = api.update_line_item_budget_overrides(line_item_id, async_req=True) >>> result = thread.get() Args: - id (str): ID of the line item + line_item_id (str): Line item external id. Keyword Args: + value_resource_input_of_line_item_budget_overrides (ValueResourceInputOfLineItemBudgetOverrides): New line item budget overrides settings value resource input.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -8445,7 +9026,7 @@ def submit_proposal( async_req (bool): execute request asynchronously Returns: - ProposalStatusModelResponse + ValueResourceOutcomeOfLineItemBudgetOverrides If the method is called asynchronously, returns the request thread. """ @@ -8474,7 +9055,7 @@ def submit_proposal( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.submit_proposal_endpoint.call_with_http_info(**kwargs) + kwargs['line_item_id'] = \ + line_item_id + return self.update_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/gateway_api.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/gateway_api.py similarity index 94% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/gateway_api.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/gateway_api.py index 7cb7a301..5efec228 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/gateway_api.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api/gateway_api.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,7 +21,7 @@ none_type, validate_and_convert_types ) -from criteo_api_retailmedia_v2023_07.model.application_summary_model_response import ApplicationSummaryModelResponse +from criteo_api_retailmedia_v2024_10.model.application_summary_model_response import ApplicationSummaryModelResponse class GatewayApi(object): @@ -42,7 +42,7 @@ def __init__(self, api_client=None): 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/me', + 'endpoint_path': '/2024-10/retail-media/me', 'operation_id': 'get_current_application', 'http_method': 'GET', 'servers': None, diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api_client.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api_client.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api_client.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api_client.py index a10da8ed..fd89c81c 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api_client.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api_client.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -20,10 +20,10 @@ from urllib3.fields import RequestField -from criteo_api_retailmedia_v2023_07 import rest -from criteo_api_retailmedia_v2023_07.configuration import Configuration -from criteo_api_retailmedia_v2023_07.exceptions import ApiTypeError, ApiValueError, ApiException -from criteo_api_retailmedia_v2023_07.model_utils import ( +from criteo_api_retailmedia_v2024_10 import rest +from criteo_api_retailmedia_v2024_10.configuration import Configuration +from criteo_api_retailmedia_v2024_10.exceptions import ApiTypeError, ApiValueError, ApiException +from criteo_api_retailmedia_v2024_10.model_utils import ( ModelNormal, ModelSimple, ModelComposed, @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2023.07.0.240808/python' + self.user_agent = 'OpenAPI-Generator/2024.10.0.241029/python' def __enter__(self): return self @@ -804,10 +804,10 @@ def __call__(self, *args, **kwargs): Example: api_instance = AccountsApi() - api_instance.get_api_v1_external_accounts # this is an instance of the class Endpoint - api_instance.get_api_v1_external_accounts() # this invokes api_instance.get_api_v1_external_accounts.__call__() + api_instance.add_brands # this is an instance of the class Endpoint + api_instance.add_brands() # this invokes api_instance.add_brands.__call__() which then invokes the callable functions stored in that endpoint at - api_instance.get_api_v1_external_accounts.callable or self.callable in this class + api_instance.add_brands.callable or self.callable in this class """ return self.callable(self, *args, **kwargs) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api_client_builder.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api_client_builder.py similarity index 87% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api_client_builder.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api_client_builder.py index f4a2afc0..c5cdf036 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api_client_builder.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/api_client_builder.py @@ -1,6 +1,6 @@ -from criteo_api_retailmedia_v2023_07.configuration import Configuration -from criteo_api_retailmedia_v2023_07.criteo_api_client import CriteoApiClient -from criteo_api_retailmedia_v2023_07 import flow_constants +from criteo_api_retailmedia_v2024_10.configuration import Configuration +from criteo_api_retailmedia_v2024_10.criteo_api_client import CriteoApiClient +from criteo_api_retailmedia_v2024_10 import flow_constants class ApiClientBuilder : diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/apis/__init__.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/apis/__init__.py new file mode 100644 index 00000000..d564d817 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/apis/__init__.py @@ -0,0 +1,22 @@ + +# flake8: noqa + +# Import all APIs into this package. +# If you have many APIs here with many many models used in each API this may +# raise a `RecursionError`. +# In order to avoid this, import only the API that you directly need like: +# +# from criteo_api_retailmedia_v2024_10.api.accounts_api import AccountsApi +# +# or import this package, but before doing it, use: +# +# import sys +# sys.setrecursionlimit(n) + +# Import APIs into API package: +from criteo_api_retailmedia_v2024_10.api.accounts_api import AccountsApi +from criteo_api_retailmedia_v2024_10.api.analytics_api import AnalyticsApi +from criteo_api_retailmedia_v2024_10.api.audience_api import AudienceApi +from criteo_api_retailmedia_v2024_10.api.balance_api import BalanceApi +from criteo_api_retailmedia_v2024_10.api.campaign_api import CampaignApi +from criteo_api_retailmedia_v2024_10.api.gateway_api import GatewayApi diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/configuration.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/configuration.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/configuration.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/configuration.py index 8e64101b..40187fe6 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/configuration.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/configuration.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -15,7 +15,7 @@ import urllib3 from http import client as http_client -from criteo_api_retailmedia_v2023_07.exceptions import ApiValueError +from criteo_api_retailmedia_v2024_10.exceptions import ApiValueError JSON_SCHEMA_VALIDATION_KEYWORDS = { @@ -133,7 +133,7 @@ def __init__(self, host=None, self.logger = {} """Logging Settings """ - self.logger["package_logger"] = logging.getLogger("criteo_api_retailmedia_v2023_07") + self.logger["package_logger"] = logging.getLogger("criteo_api_retailmedia_v2024_10") self.logger["urllib3_logger"] = logging.getLogger("urllib3") self.logger_format = '%(asctime)s %(levelname)s %(message)s' """Log format @@ -394,8 +394,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 2023-07\n"\ - "SDK Package Version: 2023.07.0.240808".\ + "Version of the API: 2024-10\n"\ + "SDK Package Version: 2024.10.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/criteo_api_client.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/criteo_api_client.py similarity index 80% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/criteo_api_client.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/criteo_api_client.py index 107334e6..6c4baf96 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/criteo_api_client.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/criteo_api_client.py @@ -1,5 +1,5 @@ -from criteo_api_retailmedia_v2023_07.api_client import ApiClient -from criteo_api_retailmedia_v2023_07.criteo_rest import CriteoRESTClientObject +from criteo_api_retailmedia_v2024_10.api_client import ApiClient +from criteo_api_retailmedia_v2024_10.criteo_rest import CriteoRESTClientObject class CriteoApiClient(ApiClient): def __init__(self, configuration=None, header_name=None, header_value=None, diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/criteo_auth.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/criteo_auth.py similarity index 96% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/criteo_auth.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/criteo_auth.py index 0b911e8d..936111eb 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/criteo_auth.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/criteo_auth.py @@ -1,8 +1,8 @@ import json from datetime import datetime, timedelta -from criteo_api_retailmedia_v2023_07.exceptions import ApiException -from criteo_api_retailmedia_v2023_07.api_client import ApiClient -from criteo_api_retailmedia_v2023_07 import flow_constants +from criteo_api_retailmedia_v2024_10.exceptions import ApiException +from criteo_api_retailmedia_v2024_10.api_client import ApiClient +from criteo_api_retailmedia_v2024_10 import flow_constants class Token(object): diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/criteo_rest.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/criteo_rest.py similarity index 94% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/criteo_rest.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/criteo_rest.py index 68a90d19..b105aae6 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/criteo_rest.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/criteo_rest.py @@ -1,6 +1,6 @@ -from criteo_api_retailmedia_v2023_07.rest import RESTClientObject -from criteo_api_retailmedia_v2023_07.criteo_auth import * -from criteo_api_retailmedia_v2023_07 import flow_constants +from criteo_api_retailmedia_v2024_10.rest import RESTClientObject +from criteo_api_retailmedia_v2024_10.criteo_auth import * +from criteo_api_retailmedia_v2024_10 import flow_constants class CriteoRESTClientObject(RESTClientObject): diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/exceptions.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/exceptions.py similarity index 99% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/exceptions.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/exceptions.py index 0ed4af4b..7acdbe85 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/exceptions.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/exceptions.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/flow_constants.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/flow_constants.py similarity index 100% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/flow_constants.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/flow_constants.py diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/__init__.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/__init__.py similarity index 82% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/__init__.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/__init__.py index ab22acc8..ed6118c3 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/__init__.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/__init__.py @@ -2,4 +2,4 @@ # reference which would not work in python2 # do not import all models into this module because that uses a lot of memory and stack frames # if you need the ability to import all models from one package, import them with -# from criteo_api_retailmedia_v2023_07.models import ModelA, ModelB +# from criteo_api_retailmedia_v2024_10.models import ModelA, ModelB diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_customer_list.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2.py similarity index 88% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_customer_list.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2.py index d04b531a..a3a2c11f 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_customer_list.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -class RmLegacySegmentCustomerList(ModelNormal): +class AddFundsToBalanceV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -81,8 +81,9 @@ def openapi_types(): and the value is attribute type. """ return { - 'size': (str,), # noqa: E501 - 'is_shared': (bool,), # noqa: E501 + 'delta_amount': (float,), # noqa: E501 + 'po_number': (str, none_type,), # noqa: E501 + 'memo': (str, none_type,), # noqa: E501 } @cached_property @@ -91,8 +92,9 @@ def discriminator(): attribute_map = { - 'size': 'size', # noqa: E501 - 'is_shared': 'isShared', # noqa: E501 + 'delta_amount': 'deltaAmount', # noqa: E501 + 'po_number': 'poNumber', # noqa: E501 + 'memo': 'memo', # noqa: E501 } read_only_vars = { @@ -102,12 +104,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, size, is_shared, *args, **kwargs): # noqa: E501 - """RmLegacySegmentCustomerList - a model defined in OpenAPI + def _from_openapi_data(cls, delta_amount, *args, **kwargs): # noqa: E501 + """AddFundsToBalanceV2 - a model defined in OpenAPI Args: - size (str): Number of users in the customer list audience. - is_shared (bool): Indicate if the audience is shared. + delta_amount (float): Amount of billable funds to be added / decreased allotted to the balance. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,6 +141,8 @@ def _from_openapi_data(cls, size, is_shared, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501 + memo (str, none_type): Memo. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -171,8 +174,7 @@ def _from_openapi_data(cls, size, is_shared, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.size = size - self.is_shared = is_shared + self.delta_amount = delta_amount for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -193,12 +195,11 @@ def _from_openapi_data(cls, size, is_shared, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, size, is_shared, *args, **kwargs): # noqa: E501 - """RmLegacySegmentCustomerList - a model defined in OpenAPI + def __init__(self, delta_amount, *args, **kwargs): # noqa: E501 + """AddFundsToBalanceV2 - a model defined in OpenAPI Args: - size (str): Number of users in the customer list audience. - is_shared (bool): Indicate if the audience is shared. + delta_amount (float): Amount of billable funds to be added / decreased allotted to the balance. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -231,6 +232,8 @@ def __init__(self, size, is_shared, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501 + memo (str, none_type): Memo. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -260,8 +263,7 @@ def __init__(self, size, is_shared, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.size = size - self.is_shared = is_shared + self.delta_amount = delta_amount for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2_request.py new file mode 100644 index 00000000..cb6000c0 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_funds_to_balance_v2_request.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.resource_of_add_funds_to_balance_v2 import ResourceOfAddFundsToBalanceV2 + globals()['ResourceOfAddFundsToBalanceV2'] = ResourceOfAddFundsToBalanceV2 + + +class AddFundsToBalanceV2Request(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (ResourceOfAddFundsToBalanceV2,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """AddFundsToBalanceV2Request - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfAddFundsToBalanceV2): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """AddFundsToBalanceV2Request - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfAddFundsToBalanceV2): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keyword_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keyword_model.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keyword_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keyword_model.py index 1d3670a5..b0b03dac 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keyword_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keyword_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.match_type_model import MatchTypeModel + from criteo_api_retailmedia_v2024_10.model.match_type_model import MatchTypeModel globals()['MatchTypeModel'] = MatchTypeModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model.py index 37c0f6c3..7967948b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.add_remove_keyword_model import AddRemoveKeywordModel + from criteo_api_retailmedia_v2024_10.model.add_remove_keyword_model import AddRemoveKeywordModel globals()['AddRemoveKeywordModel'] = AddRemoveKeywordModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model_request.py index 761d2872..78e7692c 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.add_remove_keywords_model_resource import AddRemoveKeywordsModelResource + from criteo_api_retailmedia_v2024_10.model.add_remove_keywords_model_resource import AddRemoveKeywordsModelResource globals()['AddRemoveKeywordsModelResource'] = AddRemoveKeywordsModelResource diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model_resource.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model_resource.py index 3cc9b8a5..f4b503b8 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_remove_keywords_model_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_remove_keywords_model_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.add_remove_keywords_model import AddRemoveKeywordsModel + from criteo_api_retailmedia_v2024_10.model.add_remove_keywords_model import AddRemoveKeywordsModel globals()['AddRemoveKeywordsModel'] = AddRemoveKeywordsModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_to_basket_ids_update_model202110_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_to_basket_ids_update_model202110_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_to_basket_ids_update_model202110_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_to_basket_ids_update_model202110_request.py index 25bc383a..c1922450 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_to_basket_ids_update_model202110_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_to_basket_ids_update_model202110_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_add_to_basket_ids_update_model202110 import ValueTypeResourceOfAddToBasketIdsUpdateModel202110 + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_add_to_basket_ids_update_model202110 import ValueTypeResourceOfAddToBasketIdsUpdateModel202110 globals()['ValueTypeResourceOfAddToBasketIdsUpdateModel202110'] = ValueTypeResourceOfAddToBasketIdsUpdateModel202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_to_basket_target202110_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_to_basket_target202110_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_to_basket_target202110_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_to_basket_target202110_request.py index 599306cc..359918ff 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_to_basket_target202110_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_to_basket_target202110_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_add_to_basket_target202110 import ValueTypeResourceOfAddToBasketTarget202110 + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_add_to_basket_target202110 import ValueTypeResourceOfAddToBasketTarget202110 globals()['ValueTypeResourceOfAddToBasketTarget202110'] = ValueTypeResourceOfAddToBasketTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_to_basket_target202110_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_to_basket_target202110_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_to_basket_target202110_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_to_basket_target202110_response.py index 366696ed..1c044999 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/add_to_basket_target202110_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/add_to_basket_target202110_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_add_to_basket_target202110 import ValueTypeResourceOfAddToBasketTarget202110 + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_add_to_basket_target202110 import ValueTypeResourceOfAddToBasketTarget202110 globals()['ProblemDetails'] = ProblemDetails globals()['ValueTypeResourceOfAddToBasketTarget202110'] = ValueTypeResourceOfAddToBasketTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/application_summary_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/application_summary_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/application_summary_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/application_summary_model.py index dbf9a654..4a81204f 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/application_summary_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/application_summary_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/application_summary_model_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/application_summary_model_resource.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/application_summary_model_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/application_summary_model_resource.py index 324f46c2..4835d38e 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/application_summary_model_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/application_summary_model_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.application_summary_model import ApplicationSummaryModel + from criteo_api_retailmedia_v2024_10.model.application_summary_model import ApplicationSummaryModel globals()['ApplicationSummaryModel'] = ApplicationSummaryModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/application_summary_model_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/application_summary_model_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/application_summary_model_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/application_summary_model_response.py index 44f789c9..c014bc67 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/application_summary_model_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/application_summary_model_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.application_summary_model_resource import ApplicationSummaryModelResource - from criteo_api_retailmedia_v2023_07.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.application_summary_model_resource import ApplicationSummaryModelResource + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem globals()['ApplicationSummaryModelResource'] = ApplicationSummaryModelResource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/approval_status_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/approval_status_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/approval_status_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/approval_status_model.py index c49f71f1..ea7e2bac 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/approval_status_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/approval_status_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/asset.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/asset.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/asset.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/asset.py index e78f908f..898eb320 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/asset.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/asset.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/asset_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/asset_resource.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/asset_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/asset_resource.py index 26942787..9ebf3a6f 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/asset_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/asset_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.asset import Asset + from criteo_api_retailmedia_v2024_10.model.asset import Asset globals()['Asset'] = Asset diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/asset_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/asset_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/asset_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/asset_response.py index a07fe3e0..f900f1ab 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/asset_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/asset_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.asset_resource import AssetResource - from criteo_api_retailmedia_v2023_07.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.asset_resource import AssetResource + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem globals()['AssetResource'] = AssetResource globals()['CommonProblem'] = CommonProblem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_campaigns_report.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_campaigns_report.py similarity index 99% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_campaigns_report.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_campaigns_report.py index 8e1e7ce4..d83012a2 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_campaigns_report.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_campaigns_report.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_campaigns_report_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_campaigns_report_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_campaigns_report_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_campaigns_report_request.py index bcfa7ce6..ecdb8dc0 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_campaigns_report_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_campaigns_report_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.async_campaigns_report_resource import AsyncCampaignsReportResource + from criteo_api_retailmedia_v2024_10.model.async_campaigns_report_resource import AsyncCampaignsReportResource globals()['AsyncCampaignsReportResource'] = AsyncCampaignsReportResource diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_campaigns_report_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_campaigns_report_resource.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_campaigns_report_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_campaigns_report_resource.py index 46d3f3b7..f164dbf1 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_campaigns_report_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_campaigns_report_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.async_campaigns_report import AsyncCampaignsReport + from criteo_api_retailmedia_v2024_10.model.async_campaigns_report import AsyncCampaignsReport globals()['AsyncCampaignsReport'] = AsyncCampaignsReport diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_line_items_report.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_line_items_report.py similarity index 99% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_line_items_report.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_line_items_report.py index 7a3633cf..e336dc35 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_line_items_report.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_line_items_report.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_line_items_report_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_line_items_report_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_line_items_report_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_line_items_report_request.py index 1736a38e..5fe859a8 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_line_items_report_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_line_items_report_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.async_line_items_report_resource import AsyncLineItemsReportResource + from criteo_api_retailmedia_v2024_10.model.async_line_items_report_resource import AsyncLineItemsReportResource globals()['AsyncLineItemsReportResource'] = AsyncLineItemsReportResource diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_line_items_report_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_line_items_report_resource.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_line_items_report_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_line_items_report_resource.py index 348d475a..3e02e9c8 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_line_items_report_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_line_items_report_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.async_line_items_report import AsyncLineItemsReport + from criteo_api_retailmedia_v2024_10.model.async_line_items_report import AsyncLineItemsReport globals()['AsyncLineItemsReport'] = AsyncLineItemsReport diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_report_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_report_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_report_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_report_response.py index adcb679a..bb83633f 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/async_report_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_report_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_problem import CommonProblem - from criteo_api_retailmedia_v2023_07.model.status_response_resource import StatusResponseResource + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.status_response_resource import StatusResponseResource globals()['CommonProblem'] = CommonProblem globals()['StatusResponseResource'] = StatusResponseResource diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report.py new file mode 100644 index 00000000..20748a3e --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report.py @@ -0,0 +1,506 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class AsyncRevenueReport(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('report_type',): { + 'None': None, + 'ADVERTISER': "advertiser", + 'ENVIRONMENT': "environment", + 'PAGETYPE': "pageType", + 'PRODUCTCATEGORY': "productCategory", + 'BRAND': "brand", + }, + ('revenue_type',): { + 'None': None, + 'AUCTION': "auction", + 'PREFERRED': "preferred", + }, + ('sold_by',): { + 'None': None, + 'DIRECTSOLD': "directSold", + 'INDIRECTSOLD': "indirectSold", + 'PRIVATEMARKET': "privateMarket", + }, + ('buy_type',): { + 'None': None, + 'AUCTION': "auction", + 'PREFERREDDEALS': "preferredDeals", + 'SPONSORSHIP': "sponsorship", + }, + ('advertiser_types',): { + 'None': None, + 'RETAILER': "retailer", + 'BRAND': "brand", + 'SELLER': "seller", + }, + ('sku_relations',): { + 'None': None, + 'SAMESKU': "sameSku", + 'SAMEPARENTSKU': "sameParentSku", + 'SAMECATEGORY': "sameCategory", + 'SAMEBRAND': "sameBrand", + 'SAMESELLER': "sameSeller", + }, + ('format',): { + 'None': None, + 'JSON': "json", + 'JSON-COMPACT': "json-compact", + 'JSON-NEWLINE': "json-newline", + 'CSV': "csv", + }, + ('campaign_type',): { + 'None': None, + 'ALL': "all", + 'SPONSOREDPRODUCTS': "sponsoredProducts", + 'ONSITEDISPLAYS': "onSiteDisplays", + }, + ('sales_channel',): { + 'None': None, + 'ALL': "all", + 'OFFLINE': "offline", + 'ONLINE': "online", + }, + ('click_attribution_window',): { + 'None': None, + 'NONE': "none", + '7D': "7D", + '14D': "14D", + '30D': "30D", + }, + ('view_attribution_window',): { + 'None': None, + 'NONE': "none", + '1D': "1D", + '7D': "7D", + '14D': "14D", + '30D': "30D", + }, + ('dimensions',): { + 'None': None, + 'DATE': "date", + 'HOUR': "hour", + 'PARENTACCOUNT': "parentAccount", + 'ACCOUNTID': "accountId", + 'ACCOUNTNAME': "accountName", + 'ACCOUNTTYPENAME': "accountTypeName", + 'ADVERTISERTYPE': "advertiserType", + 'CAMPAIGNID': "campaignId", + 'CAMPAIGNNAME': "campaignName", + 'CAMPAIGNTYPENAME': "campaignTypeName", + 'CAMPAIGNSTARTDATE': "campaignStartDate", + 'CAMPAIGNENDDATE': "campaignEndDate", + 'LINEITEMID': "lineItemId", + 'LINEITEMNAME': "lineItemName", + 'LINEITEMSTARTDATE': "lineItemStartDate", + 'LINEITEMENDDATE': "lineItemEndDate", + 'LINEITEMSTATUS': "lineItemStatus", + 'RETAILERID': "retailerId", + 'RETAILERNAME': "retailerName", + 'BRANDID': "brandId", + 'BRANDNAME': "brandName", + 'PLACEMENTID': "placementId", + 'PLACEMENTNAME': "placementName", + 'PAGETYPENAME': "pageTypeName", + 'ENVIRONMENT': "environment", + 'PAGECATEGORY': "pageCategory", + 'ADVPRODUCTID': "advProductId", + 'ADVPRODUCTNAME': "advProductName", + 'ADVPRODUCTGTIN': "advProductGtin", + 'ADVPRODUCTMPN': "advProductMpn", + 'BUYTYPE': "buyType", + 'SOLDBY': "soldBy", + 'SALECHANNEL': "saleChannel", + 'ATTRIBUTIONSETTINGS': "attributionSettings", + 'ACTIVITYTYPE': "activityType", + 'KEYWORD': "keyword", + 'SKURELATION': "skuRelation", + 'RETAILERCATEGORYID': "retailerCategoryId", + 'RETAILERCATEGORYNAME': "retailerCategoryName", + 'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb", + 'TAXONOMY1ID': "taxonomy1Id", + 'TAXONOMY1NAME': "taxonomy1Name", + 'TAXONOMY2ID': "taxonomy2Id", + 'TAXONOMY2NAME': "taxonomy2Name", + 'TAXONOMY3ID': "taxonomy3Id", + 'TAXONOMY3NAME': "taxonomy3Name", + 'TAXONOMY4ID': "taxonomy4Id", + 'TAXONOMY4NAME': "taxonomy4Name", + 'TAXONOMY5ID': "taxonomy5Id", + 'TAXONOMY5NAME': "taxonomy5Name", + 'TAXONOMY6ID': "taxonomy6Id", + 'TAXONOMY6NAME': "taxonomy6Name", + 'TAXONOMY7ID': "taxonomy7Id", + 'TAXONOMY7NAME': "taxonomy7Name", + }, + ('metrics',): { + 'None': None, + 'NUMBEROFCAMPAIGNS': "numberOfCampaigns", + 'NUMBEROFLINEITEMS': "numberOfLineItems", + 'NUMBEROFSKUS': "numberOfSkus", + 'SKUPRICE': "skuPrice", + 'PAGEVIEWS': "pageViews", + 'IMPRESSIONS': "impressions", + 'PRODUCTCLICKS': "productClicks", + 'PLACEMENTCLICKS': "placementClicks", + 'CLICKS': "clicks", + 'SALES': "sales", + 'UNITS': "units", + 'TRANSACTIONS': "transactions", + 'ASSISTEDSALES': "assistedSales", + 'ASSISTEDUNITS': "assistedUnits", + 'REVENUE': "revenue", + 'OPENAUCTIONREVENUE': "openAuctionRevenue", + 'PREFERREDDEALSREVENUE': "preferredDealsRevenue", + 'CTR': "ctr", + 'CR': "cr", + 'CPC': "cpc", + 'CPM': "cpm", + 'ROAS': "roas", + 'WORKINGMEDIA': "workingMedia", + 'NETREVENUE': "netRevenue", + 'VIDEOVIEWS': "videoViews", + 'VIDEOSSTARTED': "videosStarted", + 'VIDEOSPLAYEDTO25': "videosPlayedTo25", + 'VIDEOSPLAYEDTO50': "videosPlayedTo50", + 'VIDEOSPLAYEDTO75': "videosPlayedTo75", + 'VIDEOSPLAYEDTO100': "videosPlayedTo100", + 'VIDEOPLAYINGRATE': "videoPlayingRate", + 'VIDEOCOMPLETIONRATE': "videoCompletionRate", + 'UNIQUEVISITORS': "uniqueVisitors", + 'FREQUENCY': "frequency", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'start_date': (datetime,), # noqa: E501 + 'end_date': (datetime,), # noqa: E501 + 'ids': ([str], none_type,), # noqa: E501 + 'id': (str, none_type,), # noqa: E501 + 'report_type': (str, none_type,), # noqa: E501 + 'revenue_type': (str, none_type,), # noqa: E501 + 'sold_by': (str, none_type,), # noqa: E501 + 'buy_type': (str, none_type,), # noqa: E501 + 'advertiser_types': ([str], none_type,), # noqa: E501 + 'sku_relations': ([str], none_type,), # noqa: E501 + 'format': (str, none_type,), # noqa: E501 + 'campaign_type': (str, none_type,), # noqa: E501 + 'sales_channel': (str, none_type,), # noqa: E501 + 'click_attribution_window': (str, none_type,), # noqa: E501 + 'view_attribution_window': (str, none_type,), # noqa: E501 + 'dimensions': ([str], none_type,), # noqa: E501 + 'metrics': ([str], none_type,), # noqa: E501 + 'timezone': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'start_date': 'startDate', # noqa: E501 + 'end_date': 'endDate', # noqa: E501 + 'ids': 'ids', # noqa: E501 + 'id': 'id', # noqa: E501 + 'report_type': 'reportType', # noqa: E501 + 'revenue_type': 'revenueType', # noqa: E501 + 'sold_by': 'soldBy', # noqa: E501 + 'buy_type': 'buyType', # noqa: E501 + 'advertiser_types': 'advertiserTypes', # noqa: E501 + 'sku_relations': 'skuRelations', # noqa: E501 + 'format': 'format', # noqa: E501 + 'campaign_type': 'campaignType', # noqa: E501 + 'sales_channel': 'salesChannel', # noqa: E501 + 'click_attribution_window': 'clickAttributionWindow', # noqa: E501 + 'view_attribution_window': 'viewAttributionWindow', # noqa: E501 + 'dimensions': 'dimensions', # noqa: E501 + 'metrics': 'metrics', # noqa: E501 + 'timezone': 'timezone', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, start_date, end_date, *args, **kwargs): # noqa: E501 + """AsyncRevenueReport - a model defined in OpenAPI + + Args: + start_date (datetime): Start date + end_date (datetime): End date + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + ids ([str], none_type): Supply account ids to report on. [optional] # noqa: E501 + id (str, none_type): Supply account id to report on. [optional] # noqa: E501 + report_type (str, none_type): Type of report. [optional] # noqa: E501 + revenue_type (str, none_type): Type of revenue. [optional] # noqa: E501 + sold_by (str, none_type): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501 + buy_type (str, none_type): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501 + advertiser_types ([str], none_type): Filter on the type of advertiser: retailer, brand, seller. [optional] # noqa: E501 + sku_relations ([str], none_type): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501 + format (str, none_type): Format of the output. [optional] # noqa: E501 + campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501 + sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501 + click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501 + view_attribution_window (str, none_type): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501 + dimensions ([str], none_type): List of dimensions to report on. [optional] # noqa: E501 + metrics ([str], none_type): List of metrics to report on. [optional] # noqa: E501 + timezone (str, none_type): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.start_date = start_date + self.end_date = end_date + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, start_date, end_date, *args, **kwargs): # noqa: E501 + """AsyncRevenueReport - a model defined in OpenAPI + + Args: + start_date (datetime): Start date + end_date (datetime): End date + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + ids ([str], none_type): Supply account ids to report on. [optional] # noqa: E501 + id (str, none_type): Supply account id to report on. [optional] # noqa: E501 + report_type (str, none_type): Type of report. [optional] # noqa: E501 + revenue_type (str, none_type): Type of revenue. [optional] # noqa: E501 + sold_by (str, none_type): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501 + buy_type (str, none_type): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501 + advertiser_types ([str], none_type): Filter on the type of advertiser: retailer, brand, seller. [optional] # noqa: E501 + sku_relations ([str], none_type): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501 + format (str, none_type): Format of the output. [optional] # noqa: E501 + campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501 + sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501 + click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501 + view_attribution_window (str, none_type): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501 + dimensions ([str], none_type): List of dimensions to report on. [optional] # noqa: E501 + metrics ([str], none_type): List of metrics to report on. [optional] # noqa: E501 + timezone (str, none_type): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.start_date = start_date + self.end_date = end_date + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/promoted_product202110_list_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report_request.py similarity index 93% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/promoted_product202110_list_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report_request.py index b40ed3be..38f3d672 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/promoted_product202110_list_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.resource_of_promoted_product202110 import ResourceOfPromotedProduct202110 - globals()['ResourceOfPromotedProduct202110'] = ResourceOfPromotedProduct202110 + from criteo_api_retailmedia_v2024_10.model.async_revenue_report_resource import AsyncRevenueReportResource + globals()['AsyncRevenueReportResource'] = AsyncRevenueReportResource -class PromotedProduct202110ListRequest(ModelNormal): +class AsyncRevenueReportRequest(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([ResourceOfPromotedProduct202110],), # noqa: E501 + 'data': (AsyncRevenueReportResource,), # noqa: E501 } @cached_property @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PromotedProduct202110ListRequest - a model defined in OpenAPI + """AsyncRevenueReportRequest - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([ResourceOfPromotedProduct202110]): [optional] # noqa: E501 + data (AsyncRevenueReportResource): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PromotedProduct202110ListRequest - a model defined in OpenAPI + """AsyncRevenueReportRequest - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([ResourceOfPromotedProduct202110]): [optional] # noqa: E501 + data (AsyncRevenueReportResource): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report_resource.py similarity index 93% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report_resource.py index 808cd5c8..75f6295e 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/set_user_profile_model_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/async_revenue_report_resource.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_preview.model.set_user_profile_model import SetUserProfileModel - globals()['SetUserProfileModel'] = SetUserProfileModel + from criteo_api_retailmedia_v2024_10.model.async_revenue_report import AsyncRevenueReport + globals()['AsyncRevenueReport'] = AsyncRevenueReport -class SetUserProfileModelResource(ModelNormal): +class AsyncRevenueReportResource(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -88,7 +88,7 @@ def openapi_types(): lazy_import() return { 'type': (str, none_type,), # noqa: E501 - 'attributes': (SetUserProfileModel,), # noqa: E501 + 'attributes': (AsyncRevenueReport,), # noqa: E501 } @cached_property @@ -109,7 +109,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """SetUserProfileModelResource - a model defined in OpenAPI + """AsyncRevenueReportResource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -143,7 +143,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) type (str, none_type): [optional] # noqa: E501 - attributes (SetUserProfileModel): [optional] # noqa: E501 + attributes (AsyncRevenueReport): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -196,7 +196,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """SetUserProfileModelResource - a model defined in OpenAPI + """AsyncRevenueReportResource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -230,7 +230,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) type (str, none_type): [optional] # noqa: E501 - attributes (SetUserProfileModel): [optional] # noqa: E501 + attributes (AsyncRevenueReport): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_create_model_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_create_model_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_create_model_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_create_model_request.py index 596945e5..fbac0e88 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_create_model_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_create_model_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.input_resource_of_auction_line_item_create_model import InputResourceOfAuctionLineItemCreateModel + from criteo_api_retailmedia_v2024_10.model.input_resource_of_auction_line_item_create_model import InputResourceOfAuctionLineItemCreateModel globals()['InputResourceOfAuctionLineItemCreateModel'] = InputResourceOfAuctionLineItemCreateModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_paged_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_paged_list_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_paged_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_paged_list_response.py index a17c1e1f..13027a95 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_paged_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_paged_list_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_auction_line_item import ResourceOfAuctionLineItem + from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_auction_line_item import ResourceOfAuctionLineItem globals()['PageMetadata'] = PageMetadata globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfAuctionLineItem'] = ResourceOfAuctionLineItem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_response.py index 715f7e32..71e261e1 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_auction_line_item import ResourceOfAuctionLineItem + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_auction_line_item import ResourceOfAuctionLineItem globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfAuctionLineItem'] = ResourceOfAuctionLineItem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_update_model_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_update_model_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_update_model_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_update_model_request.py index 22c392bc..795be482 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/auction_line_item_update_model_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/auction_line_item_update_model_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.resource_of_auction_line_item_update_model import ResourceOfAuctionLineItemUpdateModel + from criteo_api_retailmedia_v2024_10.model.resource_of_auction_line_item_update_model import ResourceOfAuctionLineItemUpdateModel globals()['ResourceOfAuctionLineItemUpdateModel'] = ResourceOfAuctionLineItemUpdateModel diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_error.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_error.py new file mode 100644 index 00000000..2945eb19 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_error.py @@ -0,0 +1,310 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class AudienceError(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('type',): { + 'ACCESS-CONTROL': "access-control", + 'AUTHENTICATION': "authentication", + 'AUTHORIZATION': "authorization", + 'AVAILABILITY': "availability", + 'DEPRECATION': "deprecation", + 'QUOTA': "quota", + 'VALIDATION': "validation", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'type': (str,), # noqa: E501 + 'code': (str,), # noqa: E501 + 'instance': (str,), # noqa: E501 + 'trace_id': (str, none_type,), # noqa: E501 + 'title': (str, none_type,), # noqa: E501 + 'detail': (str, none_type,), # noqa: E501 + 'source': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501 + 'stack_trace': ([str], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'code': 'code', # noqa: E501 + 'instance': 'instance', # noqa: E501 + 'trace_id': 'traceId', # noqa: E501 + 'title': 'title', # noqa: E501 + 'detail': 'detail', # noqa: E501 + 'source': 'source', # noqa: E501 + 'stack_trace': 'stackTrace', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, type, code, instance, *args, **kwargs): # noqa: E501 + """AudienceError - a model defined in OpenAPI + + Args: + type (str): (REQUIRED) The classification of the error + code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case. + instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501 + title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501 + detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501 + source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501 + stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.type = type + self.code = code + self.instance = instance + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, type, code, instance, *args, **kwargs): # noqa: E501 + """AudienceError - a model defined in OpenAPI + + Args: + type (str): (REQUIRED) The classification of the error + code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case. + instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501 + title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501 + detail (str, none_type): (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501 + source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501 + stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.type = type + self.code = code + self.instance = instance + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/audience_ids_update_model202110_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_ids_update_model202110_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/audience_ids_update_model202110_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_ids_update_model202110_request.py index 3a5ad5d1..8d3e78f1 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/audience_ids_update_model202110_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_ids_update_model202110_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_audience_ids_update_model202110 import ValueTypeResourceOfAudienceIdsUpdateModel202110 + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_audience_ids_update_model202110 import ValueTypeResourceOfAudienceIdsUpdateModel202110 globals()['ValueTypeResourceOfAudienceIdsUpdateModel202110'] = ValueTypeResourceOfAudienceIdsUpdateModel202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/audience_target202110_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_target202110_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/audience_target202110_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_target202110_request.py index 969ae76c..b25da645 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/audience_target202110_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_target202110_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_audience_target202110 import ValueTypeResourceOfAudienceTarget202110 + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_audience_target202110 import ValueTypeResourceOfAudienceTarget202110 globals()['ValueTypeResourceOfAudienceTarget202110'] = ValueTypeResourceOfAudienceTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/audience_target202110_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_target202110_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/audience_target202110_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_target202110_response.py index 6e0ef81d..3a6d65a9 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/audience_target202110_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_target202110_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_audience_target202110 import ValueTypeResourceOfAudienceTarget202110 + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_audience_target202110 import ValueTypeResourceOfAudienceTarget202110 globals()['ProblemDetails'] = ProblemDetails globals()['ValueTypeResourceOfAudienceTarget202110'] = ValueTypeResourceOfAudienceTarget202110 diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_warning.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_warning.py new file mode 100644 index 00000000..fc4cfe15 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/audience_warning.py @@ -0,0 +1,312 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class AudienceWarning(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('type',): { + 'ACCESS-CONTROL': "access-control", + 'AUTHENTICATION': "authentication", + 'AUTHORIZATION': "authorization", + 'AVAILABILITY': "availability", + 'DEPRECATION': "deprecation", + 'QUOTA': "quota", + 'VALIDATION': "validation", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'type': (str,), # noqa: E501 + 'code': (str,), # noqa: E501 + 'instance': (str,), # noqa: E501 + 'detail': (str,), # noqa: E501 + 'trace_id': (str, none_type,), # noqa: E501 + 'title': (str, none_type,), # noqa: E501 + 'source': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501 + 'stack_trace': ([str], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'code': 'code', # noqa: E501 + 'instance': 'instance', # noqa: E501 + 'detail': 'detail', # noqa: E501 + 'trace_id': 'traceId', # noqa: E501 + 'title': 'title', # noqa: E501 + 'source': 'source', # noqa: E501 + 'stack_trace': 'stackTrace', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, type, code, instance, detail, *args, **kwargs): # noqa: E501 + """AudienceWarning - a model defined in OpenAPI + + Args: + type (str): (REQUIRED) The classification of the error + code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case. + instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem + detail (str): (REQUIRED) A human-readable explanation specific to this occurrence of the problem + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501 + title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501 + source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501 + stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.type = type + self.code = code + self.instance = instance + self.detail = detail + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, type, code, instance, detail, *args, **kwargs): # noqa: E501 + """AudienceWarning - a model defined in OpenAPI + + Args: + type (str): (REQUIRED) The classification of the error + code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case. + instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem + detail (str): (REQUIRED) A human-readable explanation specific to this occurrence of the problem + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501 + title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501 + source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501 + stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.type = type + self.code = code + self.instance = instance + self.detail = detail + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance_campaign202110_list_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_campaign202110_list_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance_campaign202110_list_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_campaign202110_list_request.py index 7a18f021..1e554ecc 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance_campaign202110_list_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_campaign202110_list_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.resource_of_balance_campaign202110 import ResourceOfBalanceCampaign202110 + from criteo_api_retailmedia_v2024_10.model.resource_of_balance_campaign202110 import ResourceOfBalanceCampaign202110 globals()['ResourceOfBalanceCampaign202110'] = ResourceOfBalanceCampaign202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance_campaign202110_paged_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_campaign202110_paged_list_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance_campaign202110_paged_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_campaign202110_paged_list_response.py index 7c3e8e49..bb1e47b2 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance_campaign202110_paged_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_campaign202110_paged_list_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_balance_campaign202110 import ResourceOfBalanceCampaign202110 + from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_balance_campaign202110 import ResourceOfBalanceCampaign202110 globals()['PageMetadata'] = PageMetadata globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfBalanceCampaign202110'] = ResourceOfBalanceCampaign202110 diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_history_change_data_capture_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_history_change_data_capture_v1.py new file mode 100644 index 00000000..3e282977 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_history_change_data_capture_v1.py @@ -0,0 +1,303 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.change_details_v1 import ChangeDetailsV1 + globals()['ChangeDetailsV1'] = ChangeDetailsV1 + + +class BalanceHistoryChangeDataCaptureV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('change_type',): { + 'BALANCECREATED': "BalanceCreated", + 'BALANCEADDED': "BalanceAdded", + 'BALANCEREMOVED': "BalanceRemoved", + 'BALANCEUNCAPPED': "BalanceUncapped", + 'BALANCECAPPED': "BalanceCapped", + 'ENDDATE': "EndDate", + 'STARTDATE': "StartDate", + 'BALANCENAME': "BalanceName", + 'PONUMBER': "PoNumber", + 'VALUEADD': "ValueAdd", + 'UNKNOWN': "Unknown", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'date_of_modification': (datetime,), # noqa: E501 + 'modified_by_user': (str,), # noqa: E501 + 'change_type': (str,), # noqa: E501 + 'change_details': (ChangeDetailsV1,), # noqa: E501 + 'memo': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'date_of_modification': 'dateOfModification', # noqa: E501 + 'modified_by_user': 'modifiedByUser', # noqa: E501 + 'change_type': 'changeType', # noqa: E501 + 'change_details': 'changeDetails', # noqa: E501 + 'memo': 'memo', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, date_of_modification, modified_by_user, change_type, change_details, *args, **kwargs): # noqa: E501 + """BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI + + Args: + date_of_modification (datetime): Date when data change has occured. + modified_by_user (str): Username who modified the insertion order. + change_type (str): Represent the type of change states of the history. + change_details (ChangeDetailsV1): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + memo (str, none_type): Memo associate with the insertion order modification.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.date_of_modification = date_of_modification + self.modified_by_user = modified_by_user + self.change_type = change_type + self.change_details = change_details + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, date_of_modification, modified_by_user, change_type, change_details, *args, **kwargs): # noqa: E501 + """BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI + + Args: + date_of_modification (datetime): Date when data change has occured. + modified_by_user (str): Username who modified the insertion order. + change_type (str): Represent the type of change states of the history. + change_details (ChangeDetailsV1): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + memo (str, none_type): Memo associate with the insertion order modification.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.date_of_modification = date_of_modification + self.modified_by_user = modified_by_user + self.change_type = change_type + self.change_details = change_details + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_balance202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_response_v2.py similarity index 77% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_balance202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_response_v2.py index 2185102b..df8d9f3c 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_balance202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_response_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -class ExternalBalance202110(ModelNormal): +class BalanceResponseV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -55,11 +55,15 @@ class ExternalBalance202110(ModelNormal): """ allowed_values = { - ('status',): { + ('balance_type',): { 'UNKNOWN': "unknown", - 'SCHEDULED': "scheduled", - 'ACTIVE': "active", - 'ENDED': "ended", + 'CAPPED': "capped", + 'UNCAPPED': "uncapped", + }, + ('spend_type',): { + 'ONSITE': "Onsite", + 'OFFSITE': "Offsite", + 'OFFSITEAWARENESS': "OffsiteAwareness", }, ('private_market_billing_type',): { 'NOTAPPLICABLE': "NotApplicable", @@ -67,6 +71,12 @@ class ExternalBalance202110(ModelNormal): 'BILLBYCRITEO': "BillByCriteo", 'UNKNOWN': "Unknown", }, + ('status',): { + 'UNKNOWN': "unknown", + 'SCHEDULED': "scheduled", + 'ACTIVE': "active", + 'ENDED': "ended", + }, } validations = { @@ -94,17 +104,19 @@ def openapi_types(): """ return { 'name': (str,), # noqa: E501 - 'po_number': (str,), # noqa: E501 - 'memo': (str,), # noqa: E501 + 'start_date': (date,), # noqa: E501 + 'balance_type': (str,), # noqa: E501 + 'spend_type': (str,), # noqa: E501 + 'private_market_billing_type': (str,), # noqa: E501 + 'po_number': (str, none_type,), # noqa: E501 + 'memo': (str, none_type,), # noqa: E501 'deposited': (float, none_type,), # noqa: E501 'spent': (float, none_type,), # noqa: E501 'remaining': (float, none_type,), # noqa: E501 - 'start_date': (date,), # noqa: E501 + 'end_date': (date, none_type,), # noqa: E501 'status': (str,), # noqa: E501 'created_at': (datetime,), # noqa: E501 'updated_at': (datetime,), # noqa: E501 - 'private_market_billing_type': (str,), # noqa: E501 - 'end_date': (date, none_type,), # noqa: E501 } @cached_property @@ -114,17 +126,19 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 + 'start_date': 'startDate', # noqa: E501 + 'balance_type': 'balanceType', # noqa: E501 + 'spend_type': 'spendType', # noqa: E501 + 'private_market_billing_type': 'privateMarketBillingType', # noqa: E501 'po_number': 'poNumber', # noqa: E501 'memo': 'memo', # noqa: E501 'deposited': 'deposited', # noqa: E501 'spent': 'spent', # noqa: E501 'remaining': 'remaining', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 + 'end_date': 'endDate', # noqa: E501 'status': 'status', # noqa: E501 'created_at': 'createdAt', # noqa: E501 'updated_at': 'updatedAt', # noqa: E501 - 'private_market_billing_type': 'privateMarketBillingType', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 } read_only_vars = { @@ -134,21 +148,15 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, name, po_number, memo, deposited, spent, remaining, start_date, status, created_at, updated_at, private_market_billing_type, *args, **kwargs): # noqa: E501 - """ExternalBalance202110 - a model defined in OpenAPI + def _from_openapi_data(cls, name, start_date, balance_type, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501 + """BalanceResponseV2 - a model defined in OpenAPI Args: - name (str): - po_number (str): - memo (str): - deposited (float, none_type): - spent (float, none_type): - remaining (float, none_type): - start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD - status (str): - created_at (datetime): - updated_at (datetime): - private_market_billing_type (str): Billing type for Private Market. + name (str): Name of the balance. + start_date (date): Start date of the balance in the format YYYY-MM-DD. + balance_type (str): Type of the balance. + spend_type (str): Spend Type of the balance. + private_market_billing_type (str): Billing type for Private Market of the balance. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -181,7 +189,15 @@ def _from_openapi_data(cls, name, po_number, memo, deposited, spent, remaining, Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501 + po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501 + memo (str, none_type): Memo.. [optional] # noqa: E501 + deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501 + spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501 + remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501 + end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + status (str): Status of the balance.. [optional] # noqa: E501 + created_at (datetime): Creation time of the balance.. [optional] # noqa: E501 + updated_at (datetime): Update time of the balance.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -214,15 +230,9 @@ def _from_openapi_data(cls, name, po_number, memo, deposited, spent, remaining, self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.name = name - self.po_number = po_number - self.memo = memo - self.deposited = deposited - self.spent = spent - self.remaining = remaining self.start_date = start_date - self.status = status - self.created_at = created_at - self.updated_at = updated_at + self.balance_type = balance_type + self.spend_type = spend_type self.private_market_billing_type = private_market_billing_type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -244,21 +254,15 @@ def _from_openapi_data(cls, name, po_number, memo, deposited, spent, remaining, ]) @convert_js_args_to_python_args - def __init__(self, name, po_number, memo, deposited, spent, remaining, start_date, status, created_at, updated_at, private_market_billing_type, *args, **kwargs): # noqa: E501 - """ExternalBalance202110 - a model defined in OpenAPI + def __init__(self, name, start_date, balance_type, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501 + """BalanceResponseV2 - a model defined in OpenAPI Args: - name (str): - po_number (str): - memo (str): - deposited (float, none_type): - spent (float, none_type): - remaining (float, none_type): - start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD - status (str): - created_at (datetime): - updated_at (datetime): - private_market_billing_type (str): Billing type for Private Market. + name (str): Name of the balance. + start_date (date): Start date of the balance in the format YYYY-MM-DD. + balance_type (str): Type of the balance. + spend_type (str): Spend Type of the balance. + private_market_billing_type (str): Billing type for Private Market of the balance. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -291,7 +295,15 @@ def __init__(self, name, po_number, memo, deposited, spent, remaining, start_dat Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501 + po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501 + memo (str, none_type): Memo.. [optional] # noqa: E501 + deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501 + spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501 + remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501 + end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + status (str): Status of the balance.. [optional] # noqa: E501 + created_at (datetime): Creation time of the balance.. [optional] # noqa: E501 + updated_at (datetime): Update time of the balance.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -322,15 +334,9 @@ def __init__(self, name, po_number, memo, deposited, spent, remaining, start_dat self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.name = name - self.po_number = po_number - self.memo = memo - self.deposited = deposited - self.spent = spent - self.remaining = remaining self.start_date = start_date - self.status = status - self.created_at = created_at - self.updated_at = updated_at + self.balance_type = balance_type + self.spend_type = spend_type self.private_market_billing_type = private_market_billing_type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_response_v2_response.py similarity index 89% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_response_v2_response.py index d0906b99..5e3f0726 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/balance_response_v2_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_creative202210 import ResourceOfCreative202210 - globals()['ProblemDetails'] = ProblemDetails - globals()['ResourceOfCreative202210'] = ResourceOfCreative202210 + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.resource_of_balance_response_v2 import ResourceOfBalanceResponseV2 + globals()['CommonProblem'] = CommonProblem + globals()['ResourceOfBalanceResponseV2'] = ResourceOfBalanceResponseV2 -class Creative202210ListResponse(ModelNormal): +class BalanceResponseV2Response(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,9 +89,9 @@ def openapi_types(): """ lazy_import() return { - 'data': ([ResourceOfCreative202210],), # noqa: E501 - 'warnings': ([ProblemDetails],), # noqa: E501 - 'errors': ([ProblemDetails],), # noqa: E501 + 'data': (ResourceOfBalanceResponseV2,), # noqa: E501 + 'warnings': ([CommonProblem],), # noqa: E501 + 'errors': ([CommonProblem],), # noqa: E501 } @cached_property @@ -115,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Creative202210ListResponse - a model defined in OpenAPI + """BalanceResponseV2Response - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,9 +148,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([ResourceOfCreative202210]): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + data (ResourceOfBalanceResponseV2): [optional] # noqa: E501 + warnings ([CommonProblem]): [optional] # noqa: E501 + errors ([CommonProblem]): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -203,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """Creative202210ListResponse - a model defined in OpenAPI + """BalanceResponseV2Response - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,9 +236,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([ResourceOfCreative202210]): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + data (ResourceOfBalanceResponseV2): [optional] # noqa: E501 + warnings ([CommonProblem]): [optional] # noqa: E501 + errors ([CommonProblem]): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/campaign_attributes_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_attributes_v202301.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/campaign_attributes_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_attributes_v202301.py index def6ff16..ab525665 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/campaign_attributes_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_attributes_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError @@ -132,6 +132,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -154,6 +155,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -213,6 +215,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, *a click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -318,6 +321,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, *args, **kw click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/campaign_budget_overrides.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_budget_overrides.py similarity index 96% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/campaign_budget_overrides.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_budget_overrides.py index 4d8d0f73..29a492db 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/campaign_budget_overrides.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_budget_overrides.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_preview.model.campaign_daily_budget_override import CampaignDailyBudgetOverride - from criteo_api_retailmedia_preview.model.campaign_monthly_budget_override import CampaignMonthlyBudgetOverride + from criteo_api_retailmedia_v2024_10.model.campaign_daily_budget_override import CampaignDailyBudgetOverride + from criteo_api_retailmedia_v2024_10.model.campaign_monthly_budget_override import CampaignMonthlyBudgetOverride globals()['CampaignDailyBudgetOverride'] = CampaignDailyBudgetOverride globals()['CampaignMonthlyBudgetOverride'] = CampaignMonthlyBudgetOverride diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/campaign_daily_budget_override.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_daily_budget_override.py similarity index 98% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/campaign_daily_budget_override.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_daily_budget_override.py index af89a5d9..793df6c7 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/campaign_daily_budget_override.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_daily_budget_override.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/campaign_monthly_budget_override.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_monthly_budget_override.py similarity index 98% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/campaign_monthly_budget_override.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_monthly_budget_override.py index 33405a29..01ebb685 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/campaign_monthly_budget_override.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_monthly_budget_override.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/campaign_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_v202301.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/campaign_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_v202301.py index 920dc107..5435f74b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/campaign_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/campaign_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError @@ -146,6 +146,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -175,6 +176,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -241,6 +243,7 @@ def _from_openapi_data(cls, account_id, promoted_brand_ids, budget_spent, budget click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -359,6 +362,7 @@ def __init__(self, account_id, promoted_brand_ids, budget_spent, budget_remainin click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/category202204.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/category202204.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/category202204.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/category202204.py index 538ee56c..8458ee17 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/category202204.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/category202204.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/category202204_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/category202204_list_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/category202204_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/category202204_list_response.py index d531e5de..16e1c079 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/category202204_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/category202204_list_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_category202204 import ResourceOfCategory202204 + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_category202204 import ResourceOfCategory202204 globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfCategory202204'] = ResourceOfCategory202204 diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2.py new file mode 100644 index 00000000..cffa425e --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2.py @@ -0,0 +1,271 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class ChangeDatesOfBalanceV2(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'start_date': (str, none_type,), # noqa: E501 + 'end_date': (str, none_type,), # noqa: E501 + 'memo': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'start_date': 'startDate', # noqa: E501 + 'end_date': 'endDate', # noqa: E501 + 'memo': 'memo', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ChangeDatesOfBalanceV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + start_date (str, none_type): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + memo (str, none_type): Memo.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ChangeDatesOfBalanceV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + start_date (str, none_type): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + memo (str, none_type): Memo.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2_request.py similarity index 93% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2_request.py index f5c9bd4c..fbb59d6e 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_dates_of_balance_v2_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.resource_of_line_item_bid_multipliers import ResourceOfLineItemBidMultipliers - globals()['ResourceOfLineItemBidMultipliers'] = ResourceOfLineItemBidMultipliers + from criteo_api_retailmedia_v2024_10.model.resource_of_change_dates_of_balance_v2 import ResourceOfChangeDatesOfBalanceV2 + globals()['ResourceOfChangeDatesOfBalanceV2'] = ResourceOfChangeDatesOfBalanceV2 -class LineItemBidMultipliersRequest(ModelNormal): +class ChangeDatesOfBalanceV2Request(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (ResourceOfLineItemBidMultipliers,), # noqa: E501 + 'data': (ResourceOfChangeDatesOfBalanceV2,), # noqa: E501 } @cached_property @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """LineItemBidMultipliersRequest - a model defined in OpenAPI + """ChangeDatesOfBalanceV2Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ResourceOfLineItemBidMultipliers): [optional] # noqa: E501 + data (ResourceOfChangeDatesOfBalanceV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """LineItemBidMultipliersRequest - a model defined in OpenAPI + """ChangeDatesOfBalanceV2Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ResourceOfLineItemBidMultipliers): [optional] # noqa: E501 + data (ResourceOfChangeDatesOfBalanceV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_details_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_details_v1.py new file mode 100644 index 00000000..623da2ea --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/change_details_v1.py @@ -0,0 +1,275 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class ChangeDetailsV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'previous_value': (str, none_type,), # noqa: E501 + 'current_value': (str, none_type,), # noqa: E501 + 'change_value': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'previous_value': 'previousValue', # noqa: E501 + 'current_value': 'currentValue', # noqa: E501 + 'change_value': 'changeValue', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, previous_value, current_value, change_value, *args, **kwargs): # noqa: E501 + """ChangeDetailsV1 - a model defined in OpenAPI + + Args: + previous_value (str, none_type): Previous value of a property of the insertion order. + current_value (str, none_type): Current value of a property of the insertion order. + change_value (str, none_type): Change detail of a property of the insertion order. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.previous_value = previous_value + self.current_value = current_value + self.change_value = change_value + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, previous_value, current_value, change_value, *args, **kwargs): # noqa: E501 + """ChangeDetailsV1 - a model defined in OpenAPI + + Args: + previous_value (str, none_type): Previous value of a property of the insertion order. + current_value (str, none_type): Current value of a property of the insertion order. + change_value (str, none_type): Change detail of a property of the insertion order. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.previous_value = previous_value + self.current_value = current_value + self.change_value = change_value + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/choice_option.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/choice_option.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/choice_option.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/choice_option.py index 6b0817ac..1e52a5e5 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/choice_option.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/choice_option.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.template_variable import TemplateVariable + from criteo_api_retailmedia_v2024_10.model.template_variable import TemplateVariable globals()['TemplateVariable'] = TemplateVariable diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/choice_variable_specification.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/choice_variable_specification.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/choice_variable_specification.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/choice_variable_specification.py index 0cd0f3a0..c02b5194 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/choice_variable_specification.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/choice_variable_specification.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.choice_option import ChoiceOption + from criteo_api_retailmedia_v2024_10.model.choice_option import ChoiceOption globals()['ChoiceOption'] = ChoiceOption diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/choice_variable_value.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/choice_variable_value.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/choice_variable_value.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/choice_variable_value.py index 65d3750b..65528dd4 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/choice_variable_value.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/choice_variable_value.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/color_variable_value.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/color_variable_value.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/color_variable_value.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/color_variable_value.py index db6637bf..b1fdebf5 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/color_variable_value.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/color_variable_value.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_error.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_error.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_error.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_error.py index 10d5e262..6738e2c4 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_error.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_error.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_line_item_paged_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_line_item_paged_list_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_line_item_paged_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_line_item_paged_list_response.py index d3b9c593..2473551b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_line_item_paged_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_line_item_paged_list_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_common_line_item import ResourceOfCommonLineItem + from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_common_line_item import ResourceOfCommonLineItem globals()['PageMetadata'] = PageMetadata globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfCommonLineItem'] = ResourceOfCommonLineItem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_line_item_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_line_item_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_line_item_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_line_item_response.py index b914cc12..9776f8b1 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_line_item_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_line_item_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_common_line_item import ResourceOfCommonLineItem + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_common_line_item import ResourceOfCommonLineItem globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfCommonLineItem'] = ResourceOfCommonLineItem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_problem.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_problem.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_problem.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_problem.py index 01595bc4..49f12c35 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_problem.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_problem.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_warning.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_warning.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_warning.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_warning.py index 7ef27440..d2825bc1 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/common_warning.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/common_warning.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/create_balance_v2.py similarity index 81% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/create_balance_v2.py index c3011f51..ee7be687 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/create_balance_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_segment_customer_list import RmLegacySegmentCustomerList - from criteo_api_retailmedia_v2023_07.model.rm_legacy_segment_user_behavior_v1 import RmLegacySegmentUserBehaviorV1 - globals()['RmLegacySegmentCustomerList'] = RmLegacySegmentCustomerList - globals()['RmLegacySegmentUserBehaviorV1'] = RmLegacySegmentUserBehaviorV1 - -class RmLegacyAudienceGetEntityV1(ModelNormal): +class CreateBalanceV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -61,6 +55,11 @@ class RmLegacyAudienceGetEntityV1(ModelNormal): """ allowed_values = { + ('spend_type',): { + 'ONSITE': "Onsite", + 'OFFSITE': "Offsite", + 'OFFSITEAWARENESS': "OffsiteAwareness", + }, } validations = { @@ -72,7 +71,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -87,12 +85,14 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { 'name': (str,), # noqa: E501 - 'retailer_id': (str,), # noqa: E501 - 'user_behavior_details': (RmLegacySegmentUserBehaviorV1,), # noqa: E501 - 'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501 + 'start_date': (date,), # noqa: E501 + 'spend_type': (str,), # noqa: E501 + 'po_number': (str, none_type,), # noqa: E501 + 'deposited': (float, none_type,), # noqa: E501 + 'end_date': (date, none_type,), # noqa: E501 + 'memo': (str, none_type,), # noqa: E501 } @cached_property @@ -102,9 +102,12 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 - 'retailer_id': 'retailerId', # noqa: E501 - 'user_behavior_details': 'userBehaviorDetails', # noqa: E501 - 'customer_list_details': 'customerListDetails', # noqa: E501 + 'start_date': 'startDate', # noqa: E501 + 'spend_type': 'spendType', # noqa: E501 + 'po_number': 'poNumber', # noqa: E501 + 'deposited': 'deposited', # noqa: E501 + 'end_date': 'endDate', # noqa: E501 + 'memo': 'memo', # noqa: E501 } read_only_vars = { @@ -114,12 +117,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1 - a model defined in OpenAPI + def _from_openapi_data(cls, name, start_date, spend_type, *args, **kwargs): # noqa: E501 + """CreateBalanceV2 - a model defined in OpenAPI Args: - name (str): Name of the audience - retailer_id (str): ID of the retailer associated with this audience + name (str): Name of the balance. + start_date (date): Start date of the balance in the format YYYY-MM-DD. + spend_type (str): Type of the balance spend. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -152,8 +156,10 @@ def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501 - customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501 + po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501 + deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501 + end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + memo (str, none_type): Memo. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -186,7 +192,8 @@ def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501 self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.name = name - self.retailer_id = retailer_id + self.start_date = start_date + self.spend_type = spend_type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -207,12 +214,13 @@ def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, name, retailer_id, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1 - a model defined in OpenAPI + def __init__(self, name, start_date, spend_type, *args, **kwargs): # noqa: E501 + """CreateBalanceV2 - a model defined in OpenAPI Args: - name (str): Name of the audience - retailer_id (str): ID of the retailer associated with this audience + name (str): Name of the balance. + start_date (date): Start date of the balance in the format YYYY-MM-DD. + spend_type (str): Type of the balance spend. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -245,8 +253,10 @@ def __init__(self, name, retailer_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501 - customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501 + po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501 + deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501 + end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + memo (str, none_type): Memo. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -277,7 +287,8 @@ def __init__(self, name, retailer_id, *args, **kwargs): # noqa: E501 self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.name = name - self.retailer_id = retailer_id + self.start_date = start_date + self.spend_type = spend_type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/create_balance_v2_request.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/create_balance_v2_request.py index cfa69364..1328be3b 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/create_balance_v2_request.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.new_audience import NewAudience - globals()['NewAudience'] = NewAudience + from criteo_api_retailmedia_v2024_10.model.resource_of_create_balance_v2 import ResourceOfCreateBalanceV2 + globals()['ResourceOfCreateBalanceV2'] = ResourceOfCreateBalanceV2 -class NewAudienceRequest(ModelNormal): +class CreateBalanceV2Request(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (NewAudience,), # noqa: E501 + 'data': (ResourceOfCreateBalanceV2,), # noqa: E501 } @cached_property @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """NewAudienceRequest - a model defined in OpenAPI + """CreateBalanceV2Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (NewAudience): [optional] # noqa: E501 + data (ResourceOfCreateBalanceV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """NewAudienceRequest - a model defined in OpenAPI + """CreateBalanceV2Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (NewAudience): [optional] # noqa: E501 + data (ResourceOfCreateBalanceV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202110.py index f2b9f98d..f607ddb3 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202110_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202110_list_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202110_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202110_list_response.py index 5a175a8b..eea37293 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202110_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202110_list_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_creative202110 import ResourceOfCreative202110 + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_creative202110 import ResourceOfCreative202110 globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfCreative202110'] = ResourceOfCreative202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202210.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202210.py index 708618d4..79e8019c 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202210.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.page_type_environment import PageTypeEnvironment - from criteo_api_retailmedia_v2023_07.model.template_variable_value import TemplateVariableValue + from criteo_api_retailmedia_v2024_10.model.page_type_environment import PageTypeEnvironment + from criteo_api_retailmedia_v2024_10.model.template_variable_value import TemplateVariableValue globals()['PageTypeEnvironment'] = PageTypeEnvironment globals()['TemplateVariableValue'] = TemplateVariableValue diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202210_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202210_response.py index 51e7a76a..28ec8b7c 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative202210_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative202210_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_creative202210 import ResourceOfCreative202210 + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_creative202210 import ResourceOfCreative202210 globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfCreative202210'] = ResourceOfCreative202210 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative_create_model202207.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_create_model202207.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative_create_model202207.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_create_model202207.py index 6ff8246b..b350e27b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative_create_model202207.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_create_model202207.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.template_variable_value import TemplateVariableValue + from criteo_api_retailmedia_v2024_10.model.template_variable_value import TemplateVariableValue globals()['TemplateVariableValue'] = TemplateVariableValue diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative_update_model202207.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_update_model202207.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative_update_model202207.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_update_model202207.py index 1d84f888..a38051cb 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/creative_update_model202207.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_update_model202207.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.template_variable_value import TemplateVariableValue + from criteo_api_retailmedia_v2024_10.model.template_variable_value import TemplateVariableValue globals()['TemplateVariableValue'] = TemplateVariableValue diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_v2_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_v2_list_response.py new file mode 100644 index 00000000..366b9b85 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_v2_list_response.py @@ -0,0 +1,281 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.resource_of_creative_v2 import ResourceOfCreativeV2 + globals()['CommonProblem'] = CommonProblem + globals()['ResourceOfCreativeV2'] = ResourceOfCreativeV2 + + +class CreativeV2ListResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([ResourceOfCreativeV2], none_type,), # noqa: E501 + 'warnings': ([CommonProblem], none_type,), # noqa: E501 + 'errors': ([CommonProblem], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + 'errors': 'errors', # noqa: E501 + } + + read_only_vars = { + 'warnings', # noqa: E501 + 'errors', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CreativeV2ListResponse - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([ResourceOfCreativeV2], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """CreativeV2ListResponse - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([ResourceOfCreativeV2], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_v2_response.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_v2_response.py index 70c943cd..5f81bc2c 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/creative_v2_response.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.campaign_read_resource import CampaignReadResource - from criteo_api_marketingsolutions_v2023_07.model.common_problem import CommonProblem - globals()['CampaignReadResource'] = CampaignReadResource + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.resource_of_creative_v2 import ResourceOfCreativeV2 globals()['CommonProblem'] = CommonProblem + globals()['ResourceOfCreativeV2'] = ResourceOfCreativeV2 -class CampaignResponse(ModelNormal): +class CreativeV2Response(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (CampaignReadResource,), # noqa: E501 + 'data': (ResourceOfCreativeV2,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -115,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CampaignResponse - a model defined in OpenAPI + """CreativeV2Response - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (CampaignReadResource): [optional] # noqa: E501 + data (ResourceOfCreativeV2): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -203,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """CampaignResponse - a model defined in OpenAPI + """CreativeV2Response - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (CampaignReadResource): [optional] # noqa: E501 + data (ResourceOfCreativeV2): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/daily_line_item_budget_override.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/daily_line_item_budget_override.py similarity index 98% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/daily_line_item_budget_override.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/daily_line_item_budget_override.py index d3bdcb03..d15c8565 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/daily_line_item_budget_override.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/daily_line_item_budget_override.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/editable_campaign_attributes_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/editable_campaign_attributes_v202301.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/editable_campaign_attributes_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/editable_campaign_attributes_v202301.py index f58fa67c..92d4ff87 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/editable_campaign_attributes_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/editable_campaign_attributes_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError @@ -125,6 +125,7 @@ def openapi_types(): 'click_attribution_scope': (str, none_type,), # noqa: E501 'view_attribution_scope': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -145,6 +146,7 @@ def discriminator(): 'click_attribution_scope': 'clickAttributionScope', # noqa: E501 'view_attribution_scope': 'viewAttributionScope', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -202,6 +204,7 @@ def _from_openapi_data(cls, name, is_auto_daily_pacing, start_date, end_date, cl click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -307,6 +310,7 @@ def __init__(self, name, is_auto_daily_pacing, start_date, end_date, click_attri click_attribution_scope (str, none_type): [optional] # noqa: E501 view_attribution_scope (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/error_code_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/error_code_response.py new file mode 100644 index 00000000..5421aecd --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/error_code_response.py @@ -0,0 +1,281 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.audience_error import AudienceError + from criteo_api_retailmedia_v2024_10.model.audience_warning import AudienceWarning + globals()['AudienceError'] = AudienceError + globals()['AudienceWarning'] = AudienceWarning + + +class ErrorCodeResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'errors': ([AudienceError],), # noqa: E501 + 'warnings': ([AudienceWarning], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'errors': 'errors', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, errors, *args, **kwargs): # noqa: E501 + """ErrorCodeResponse - a model defined in OpenAPI + + Args: + errors ([AudienceError]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + warnings ([AudienceWarning], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.errors = errors + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, errors, *args, **kwargs): # noqa: E501 + """ErrorCodeResponse - a model defined in OpenAPI + + Args: + errors ([AudienceError]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + warnings ([AudienceWarning], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.errors = errors + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_account.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_account.py similarity index 96% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_account.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_account.py index bc181bb8..20b3e808 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_account.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_account.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError @@ -108,6 +108,7 @@ def openapi_types(): 'time_zone': (str,), # noqa: E501 'subtype': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -124,6 +125,7 @@ def discriminator(): 'time_zone': 'timeZone', # noqa: E501 'subtype': 'subtype', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -177,6 +179,7 @@ def _from_openapi_data(cls, name, type, countries, currency, parent_account_labe _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -278,6 +281,7 @@ def __init__(self, name, type, countries, currency, parent_account_label, time_z _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_add_to_basket_ids_update_model202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_add_to_basket_ids_update_model202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_add_to_basket_ids_update_model202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_add_to_basket_ids_update_model202110.py index bca23d9e..1adbdf35 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_add_to_basket_ids_update_model202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_add_to_basket_ids_update_model202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_add_to_basket_target202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_add_to_basket_target202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_add_to_basket_target202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_add_to_basket_target202110.py index fd821d3d..39d004c5 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_add_to_basket_target202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_add_to_basket_target202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_auction_line_item.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_auction_line_item.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_auction_line_item.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_auction_line_item.py index fe2203f2..37b33112 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_auction_line_item.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_auction_line_item.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_auction_line_item_create_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_auction_line_item_create_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_auction_line_item_create_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_auction_line_item_create_model.py index ba3046a1..86c230fd 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_auction_line_item_create_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_auction_line_item_create_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_auction_line_item_update_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_auction_line_item_update_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_auction_line_item_update_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_auction_line_item_update_model.py index fe6bf42a..bb9fc52b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_auction_line_item_update_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_auction_line_item_update_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_audience_ids_update_model202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_audience_ids_update_model202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_audience_ids_update_model202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_audience_ids_update_model202110.py index cb76df75..7513b18b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_audience_ids_update_model202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_audience_ids_update_model202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_audience_target202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_audience_target202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_audience_target202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_audience_target202110.py index 5ce2de23..b7760d30 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_audience_target202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_audience_target202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_brand.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_brand.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_brand.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_brand.py index 12f8b0f4..4414cdfc 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_brand.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_brand.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_catalog_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_catalog_request.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_catalog_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_catalog_request.py index f896f488..3939619d 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_catalog_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_catalog_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_catalog_status.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_catalog_status.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_catalog_status.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_catalog_status.py index d9a59806..43a58fec 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_catalog_status.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_catalog_status.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/user_profile_attribute_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_choice_variable_value.py similarity index 92% rename from sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/user_profile_attribute_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_choice_variable_value.py index dad2fea2..90494469 100644 --- a/sdks/marketingsolutions_preview/criteo_api_marketingsolutions_preview/model/user_profile_attribute_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_choice_variable_value.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -class UserProfileAttributeModel(ModelNormal): +class ExternalChoiceVariableValue(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -81,8 +81,7 @@ def openapi_types(): and the value is attribute type. """ return { - 'key': (str,), # noqa: E501 - 'value': (str,), # noqa: E501 + 'chosen_options': ([str],), # noqa: E501 } @cached_property @@ -91,8 +90,7 @@ def discriminator(): attribute_map = { - 'key': 'key', # noqa: E501 - 'value': 'value', # noqa: E501 + 'chosen_options': 'chosenOptions', # noqa: E501 } read_only_vars = { @@ -102,12 +100,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, key, value, *args, **kwargs): # noqa: E501 - """UserProfileAttributeModel - a model defined in OpenAPI + def _from_openapi_data(cls, chosen_options, *args, **kwargs): # noqa: E501 + """ExternalChoiceVariableValue - a model defined in OpenAPI Args: - key (str): - value (str): + chosen_options ([str]): The chosen options Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -171,8 +168,7 @@ def _from_openapi_data(cls, key, value, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.key = key - self.value = value + self.chosen_options = chosen_options for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -193,12 +189,11 @@ def _from_openapi_data(cls, key, value, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, key, value, *args, **kwargs): # noqa: E501 - """UserProfileAttributeModel - a model defined in OpenAPI + def __init__(self, chosen_options, *args, **kwargs): # noqa: E501 + """ExternalChoiceVariableValue - a model defined in OpenAPI Args: - key (str): - value (str): + chosen_options ([str]): The chosen options Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -260,8 +255,7 @@ def __init__(self, key, value, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.key = key - self.value = value + self.chosen_options = chosen_options for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_color_variable_value.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_color_variable_value.py new file mode 100644 index 00000000..4cdaa2e6 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_color_variable_value.py @@ -0,0 +1,268 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class ExternalColorVariableValue(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('color',): { + 'regex': { + 'pattern': r'^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$', # noqa: E501 + }, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'color': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'color': 'color', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ExternalColorVariableValue - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + color (str, none_type): The displayed color (HEX format). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ExternalColorVariableValue - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + color (str, none_type): The displayed color (HEX format). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_common_line_item.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_common_line_item.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_common_line_item.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_common_line_item.py index f5dc5d96..175d85ed 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_common_line_item.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_common_line_item.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_creative_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_creative_v2.py new file mode 100644 index 00000000..bb5a6ec3 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_creative_v2.py @@ -0,0 +1,361 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.external_page_type_environment import ExternalPageTypeEnvironment + from criteo_api_retailmedia_v2024_10.model.external_template_variable_value import ExternalTemplateVariableValue + globals()['ExternalPageTypeEnvironment'] = ExternalPageTypeEnvironment + globals()['ExternalTemplateVariableValue'] = ExternalTemplateVariableValue + + +class ExternalCreativeV2(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('status',): { + 'READY': "Ready", + 'INUSE': "InUse", + 'ARCHIVED': "Archived", + 'DELETED': "Deleted", + }, + ('creative_format_type',): { + 'UNKNOWN': "Unknown", + 'FLAGSHIP': "FlagShip", + 'SHOWCASE': "Showcase", + 'SPONSOREDPRODUCTS': "SponsoredProducts", + 'BUTTERFLY': "Butterfly", + 'BUNDLEBOOST': "BundleBoost", + 'IAB': "IAB", + 'CUSTOM': "Custom", + 'DISPLAYPANEL': "DisplayPanel", + 'DIGITALSHELFTALKER': "DigitalShelfTalker", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'name': (str,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'brand_id': (int,), # noqa: E501 + 'retailer_id': (int,), # noqa: E501 + 'template_id': (int,), # noqa: E501 + 'template_name': (str,), # noqa: E501 + 'format_id': (int,), # noqa: E501 + 'associated_line_item_ids': ([str],), # noqa: E501 + 'updated_at': (datetime,), # noqa: E501 + 'creative_format_type': (str,), # noqa: E501 + 'environments': ([ExternalPageTypeEnvironment],), # noqa: E501 + 'template_variable_values': ([ExternalTemplateVariableValue],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'status': 'status', # noqa: E501 + 'brand_id': 'brandId', # noqa: E501 + 'retailer_id': 'retailerId', # noqa: E501 + 'template_id': 'templateId', # noqa: E501 + 'template_name': 'templateName', # noqa: E501 + 'format_id': 'formatId', # noqa: E501 + 'associated_line_item_ids': 'associatedLineItemIds', # noqa: E501 + 'updated_at': 'updatedAt', # noqa: E501 + 'creative_format_type': 'creativeFormatType', # noqa: E501 + 'environments': 'environments', # noqa: E501 + 'template_variable_values': 'templateVariableValues', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, name, status, brand_id, retailer_id, template_id, template_name, format_id, associated_line_item_ids, updated_at, creative_format_type, environments, template_variable_values, *args, **kwargs): # noqa: E501 + """ExternalCreativeV2 - a model defined in OpenAPI + + Args: + name (str): Name + status (str): Creative Status + brand_id (int): Brand Id + retailer_id (int): Retailer Id + template_id (int): Template Id + template_name (str): Template Name + format_id (int): Format Id + associated_line_item_ids ([str]): Associated Line Item Ids + updated_at (datetime): Updated at time + creative_format_type (str): Creative format type + environments ([ExternalPageTypeEnvironment]): Environment type (e.g. mobile, web, app) + template_variable_values ([ExternalTemplateVariableValue]): The template chosen values + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.name = name + self.status = status + self.brand_id = brand_id + self.retailer_id = retailer_id + self.template_id = template_id + self.template_name = template_name + self.format_id = format_id + self.associated_line_item_ids = associated_line_item_ids + self.updated_at = updated_at + self.creative_format_type = creative_format_type + self.environments = environments + self.template_variable_values = template_variable_values + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, name, status, brand_id, retailer_id, template_id, template_name, format_id, associated_line_item_ids, updated_at, creative_format_type, environments, template_variable_values, *args, **kwargs): # noqa: E501 + """ExternalCreativeV2 - a model defined in OpenAPI + + Args: + name (str): Name + status (str): Creative Status + brand_id (int): Brand Id + retailer_id (int): Retailer Id + template_id (int): Template Id + template_name (str): Template Name + format_id (int): Format Id + associated_line_item_ids ([str]): Associated Line Item Ids + updated_at (datetime): Updated at time + creative_format_type (str): Creative format type + environments ([ExternalPageTypeEnvironment]): Environment type (e.g. mobile, web, app) + template_variable_values ([ExternalTemplateVariableValue]): The template chosen values + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.name = name + self.status = status + self.brand_id = brand_id + self.retailer_id = retailer_id + self.template_id = template_id + self.template_name = template_name + self.format_id = format_id + self.associated_line_item_ids = associated_line_item_ids + self.updated_at = updated_at + self.creative_format_type = creative_format_type + self.environments = environments + self.template_variable_values = template_variable_values + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_files_variable_value.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_files_variable_value.py new file mode 100644 index 00000000..ad847656 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_files_variable_value.py @@ -0,0 +1,272 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class ExternalFilesVariableValue(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('asset_ids',): { + 'min_items': 1, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'asset_ids': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'asset_ids': 'assetIds', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, asset_ids, *args, **kwargs): # noqa: E501 + """ExternalFilesVariableValue - a model defined in OpenAPI + + Args: + asset_ids ([str]): The assets representing the images to be displayed + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.asset_ids = asset_ids + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, asset_ids, *args, **kwargs): # noqa: E501 + """ExternalFilesVariableValue - a model defined in OpenAPI + + Args: + asset_ids ([str]): The assets representing the images to be displayed + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.asset_ids = asset_ids + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_hyperlink_variable_value.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_hyperlink_variable_value.py new file mode 100644 index 00000000..678157e9 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_hyperlink_variable_value.py @@ -0,0 +1,263 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class ExternalHyperlinkVariableValue(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'url': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'url': 'url', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ExternalHyperlinkVariableValue - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + url (str, none_type): The url to redirect to. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ExternalHyperlinkVariableValue - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + url (str, none_type): The url to redirect to. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_keyword_target202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_keyword_target202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_keyword_target202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_keyword_target202110.py index 32429a87..9241bee0 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_keyword_target202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_keyword_target202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_bid_multipliers_v2.py similarity index 75% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_bid_multipliers_v2.py index 42b55dc2..a6be194b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_bid_multipliers_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -class LineItemBidMultipliers(ModelNormal): +class ExternalLineItemBidMultipliersV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -81,14 +81,17 @@ def openapi_types(): and the value is attribute type. """ return { - 'search': (float,), # noqa: E501 - 'homepage': (float,), # noqa: E501 - 'categories': (float,), # noqa: E501 - 'product_detail': (float,), # noqa: E501 - 'confirmation': (float,), # noqa: E501 - 'merchandising': (float,), # noqa: E501 - 'deals': (float,), # noqa: E501 - 'checkout': (float,), # noqa: E501 + 'search': (float, none_type,), # noqa: E501 + 'home': (float, none_type,), # noqa: E501 + 'category': (float, none_type,), # noqa: E501 + 'product_detail': (float, none_type,), # noqa: E501 + 'confirmation': (float, none_type,), # noqa: E501 + 'merchandising': (float, none_type,), # noqa: E501 + 'deals': (float, none_type,), # noqa: E501 + 'checkout': (float, none_type,), # noqa: E501 + 'favorites': (float, none_type,), # noqa: E501 + 'search_bar': (float, none_type,), # noqa: E501 + 'category_menu': (float, none_type,), # noqa: E501 } @cached_property @@ -98,13 +101,16 @@ def discriminator(): attribute_map = { 'search': 'search', # noqa: E501 - 'homepage': 'homepage', # noqa: E501 - 'categories': 'categories', # noqa: E501 + 'home': 'home', # noqa: E501 + 'category': 'category', # noqa: E501 'product_detail': 'productDetail', # noqa: E501 'confirmation': 'confirmation', # noqa: E501 'merchandising': 'merchandising', # noqa: E501 'deals': 'deals', # noqa: E501 'checkout': 'checkout', # noqa: E501 + 'favorites': 'favorites', # noqa: E501 + 'search_bar': 'searchBar', # noqa: E501 + 'category_menu': 'categoryMenu', # noqa: E501 } read_only_vars = { @@ -115,7 +121,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """LineItemBidMultipliers - a model defined in OpenAPI + """ExternalLineItemBidMultipliersV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,14 +154,17 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - search (float): [optional] # noqa: E501 - homepage (float): [optional] # noqa: E501 - categories (float): [optional] # noqa: E501 - product_detail (float): [optional] # noqa: E501 - confirmation (float): [optional] # noqa: E501 - merchandising (float): [optional] # noqa: E501 - deals (float): [optional] # noqa: E501 - checkout (float): [optional] # noqa: E501 + search (float, none_type): Search Page Type Bid Multiplier. [optional] # noqa: E501 + home (float, none_type): Home Page Type Bid Multiplier. [optional] # noqa: E501 + category (float, none_type): Categories Page Type Bid Multiplier. [optional] # noqa: E501 + product_detail (float, none_type): ProductDetail Page Type Bid Multiplier. [optional] # noqa: E501 + confirmation (float, none_type): Confirmation Page Type Bid Multiplier. [optional] # noqa: E501 + merchandising (float, none_type): Merchandising Page Type Bid Multiplier. [optional] # noqa: E501 + deals (float, none_type): Deals Page Type Bid Multiplier. [optional] # noqa: E501 + checkout (float, none_type): Checkout Page Type Bid Multiplier. [optional] # noqa: E501 + favorites (float, none_type): Favorites Page Type Bid Multiplier. [optional] # noqa: E501 + search_bar (float, none_type): SearchBar Page Type Bid Multiplier. [optional] # noqa: E501 + category_menu (float, none_type): CategoryMenu Page Type Bid Multiplier. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -208,7 +217,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """LineItemBidMultipliers - a model defined in OpenAPI + """ExternalLineItemBidMultipliersV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -241,14 +250,17 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - search (float): [optional] # noqa: E501 - homepage (float): [optional] # noqa: E501 - categories (float): [optional] # noqa: E501 - product_detail (float): [optional] # noqa: E501 - confirmation (float): [optional] # noqa: E501 - merchandising (float): [optional] # noqa: E501 - deals (float): [optional] # noqa: E501 - checkout (float): [optional] # noqa: E501 + search (float, none_type): Search Page Type Bid Multiplier. [optional] # noqa: E501 + home (float, none_type): Home Page Type Bid Multiplier. [optional] # noqa: E501 + category (float, none_type): Categories Page Type Bid Multiplier. [optional] # noqa: E501 + product_detail (float, none_type): ProductDetail Page Type Bid Multiplier. [optional] # noqa: E501 + confirmation (float, none_type): Confirmation Page Type Bid Multiplier. [optional] # noqa: E501 + merchandising (float, none_type): Merchandising Page Type Bid Multiplier. [optional] # noqa: E501 + deals (float, none_type): Deals Page Type Bid Multiplier. [optional] # noqa: E501 + checkout (float, none_type): Checkout Page Type Bid Multiplier. [optional] # noqa: E501 + favorites (float, none_type): Favorites Page Type Bid Multiplier. [optional] # noqa: E501 + search_bar (float, none_type): SearchBar Page Type Bid Multiplier. [optional] # noqa: E501 + category_menu (float, none_type): CategoryMenu Page Type Bid Multiplier. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_capping202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_capping_v2.py similarity index 96% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_capping202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_capping_v2.py index facc1e06..8559330b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_capping202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_capping_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -class ExternalLineItemCapping202110(ModelNormal): +class ExternalLineItemCappingV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -108,10 +108,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, type, count, *args, **kwargs): # noqa: E501 - """ExternalLineItemCapping202110 - a model defined in OpenAPI + """ExternalLineItemCappingV2 - a model defined in OpenAPI Args: - type (str): + type (str): Line Item Capping Type Enum count (int): Keyword Args: @@ -199,10 +199,10 @@ def _from_openapi_data(cls, type, count, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, type, count, *args, **kwargs): # noqa: E501 - """ExternalLineItemCapping202110 - a model defined in OpenAPI + """ExternalLineItemCappingV2 - a model defined in OpenAPI Args: - type (str): + type (str): Line Item Capping Type Enum count (int): Keyword Args: diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_page_category202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_page_category_v2.py similarity index 96% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_page_category202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_page_category_v2.py index 06746f74..ace012bf 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_page_category202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_page_category_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -class ExternalLineItemPageCategory202110(ModelNormal): +class ExternalLineItemPageCategoryV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -103,7 +103,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, category_id, *args, **kwargs): # noqa: E501 - """ExternalLineItemPageCategory202110 - a model defined in OpenAPI + """ExternalLineItemPageCategoryV2 - a model defined in OpenAPI Args: category_id (str): @@ -193,7 +193,7 @@ def _from_openapi_data(cls, category_id, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, category_id, *args, **kwargs): # noqa: E501 - """ExternalLineItemPageCategory202110 - a model defined in OpenAPI + """ExternalLineItemPageCategoryV2 - a model defined in OpenAPI Args: category_id (str): diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_page202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_page_v2.py similarity index 91% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_page202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_page_v2.py index d4f2f641..52c8b754 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_line_item_page202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_line_item_page_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_line_item_page_category202110 import ExternalLineItemPageCategory202110 - globals()['ExternalLineItemPageCategory202110'] = ExternalLineItemPageCategory202110 + from criteo_api_retailmedia_v2024_10.model.external_line_item_page_category_v2 import ExternalLineItemPageCategoryV2 + globals()['ExternalLineItemPageCategoryV2'] = ExternalLineItemPageCategoryV2 -class ExternalLineItemPage202110(ModelNormal): +class ExternalLineItemPageV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -60,14 +60,19 @@ class ExternalLineItemPage202110(ModelNormal): allowed_values = { ('page_type',): { + 'UNKNOWN': "unknown", 'SEARCH': "search", 'HOME': "home", + 'BROWSE': "browse", 'CHECKOUT': "checkout", 'CATEGORY': "category", 'PRODUCTDETAIL': "productDetail", 'CONFIRMATION': "confirmation", 'MERCHANDISING': "merchandising", 'DEALS': "deals", + 'FAVORITES': "favorites", + 'SEARCHBAR': "searchBar", + 'CATEGORYMENU': "categoryMenu", }, } @@ -98,7 +103,7 @@ def openapi_types(): lazy_import() return { 'page_type': (str,), # noqa: E501 - 'categories': ([ExternalLineItemPageCategory202110],), # noqa: E501 + 'categories': ([ExternalLineItemPageCategoryV2],), # noqa: E501 'search_keywords': ([str],), # noqa: E501 } @@ -121,10 +126,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, page_type, *args, **kwargs): # noqa: E501 - """ExternalLineItemPage202110 - a model defined in OpenAPI + """ExternalLineItemPageV2 - a model defined in OpenAPI Args: - page_type (str): + page_type (str): Page Type Enum Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -157,7 +162,7 @@ def _from_openapi_data(cls, page_type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - categories ([ExternalLineItemPageCategory202110]): [optional] # noqa: E501 + categories ([ExternalLineItemPageCategoryV2]): [optional] # noqa: E501 search_keywords ([str]): [optional] # noqa: E501 """ @@ -212,10 +217,10 @@ def _from_openapi_data(cls, page_type, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, page_type, *args, **kwargs): # noqa: E501 - """ExternalLineItemPage202110 - a model defined in OpenAPI + """ExternalLineItemPageV2 - a model defined in OpenAPI Args: - page_type (str): + page_type (str): Page Type Enum Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -248,7 +253,7 @@ def __init__(self, page_type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - categories ([ExternalLineItemPageCategory202110]): [optional] # noqa: E501 + categories ([ExternalLineItemPageCategoryV2]): [optional] # noqa: E501 search_keywords ([str]): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_page_type_environment.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_page_type_environment.py new file mode 100644 index 00000000..10102199 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_page_type_environment.py @@ -0,0 +1,293 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class ExternalPageTypeEnvironment(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('page_type',): { + 'None': None, + 'UNKNOWN': "Unknown", + 'SEARCH': "Search", + 'HOME': "Home", + 'BROWSE': "Browse", + 'CHECKOUT': "Checkout", + 'CATEGORY': "Category", + 'PRODUCTDETAIL': "ProductDetail", + 'CONFIRMATION': "Confirmation", + 'MERCHANDISING': "Merchandising", + 'DEALS': "Deals", + 'FAVORITES': "Favorites", + 'SEARCHBAR': "SearchBar", + 'CATEGORYMENU': "CategoryMenu", + }, + ('environments',): { + 'None': None, + 'WEB': "Web", + 'MOBILE': "Mobile", + 'APP': "App", + 'LOCKOUT': "Lockout", + 'MIXED': "Mixed", + 'IOS': "iOS", + 'ANDROID': "Android", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'page_type': (str, none_type,), # noqa: E501 + 'environments': ([str], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'page_type': 'pageType', # noqa: E501 + 'environments': 'environments', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ExternalPageTypeEnvironment - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + page_type (str, none_type): Creative PageType. [optional] # noqa: E501 + environments ([str], none_type): List of environments per PageType. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ExternalPageTypeEnvironment - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + page_type (str, none_type): Creative PageType. [optional] # noqa: E501 + environments ([str], none_type): List of environments per PageType. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_create_model202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_create_model_v2.py similarity index 91% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_create_model202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_create_model_v2.py index 67c8bf44..74ebfe65 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_create_model202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_create_model_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_line_item_capping202110 import ExternalLineItemCapping202110 - from criteo_api_retailmedia_v2023_07.model.external_line_item_page202110 import ExternalLineItemPage202110 - globals()['ExternalLineItemCapping202110'] = ExternalLineItemCapping202110 - globals()['ExternalLineItemPage202110'] = ExternalLineItemPage202110 + from criteo_api_retailmedia_v2024_10.model.external_line_item_capping_v2 import ExternalLineItemCappingV2 + from criteo_api_retailmedia_v2024_10.model.external_line_item_page_v2 import ExternalLineItemPageV2 + globals()['ExternalLineItemCappingV2'] = ExternalLineItemCappingV2 + globals()['ExternalLineItemPageV2'] = ExternalLineItemPageV2 -class ExternalPreferredLineItemCreateModel202110(ModelNormal): +class ExternalPreferredLineItemCreateModelV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -113,11 +113,11 @@ def openapi_types(): 'start_date': (date,), # noqa: E501 'end_date': (date,), # noqa: E501 'pacing': (str,), # noqa: E501 - 'page': (ExternalLineItemPage202110,), # noqa: E501 + 'page': (ExternalLineItemPageV2,), # noqa: E501 'target_retailer_id': (str,), # noqa: E501 'budget': (float,), # noqa: E501 'status': (str,), # noqa: E501 - 'capping': (ExternalLineItemCapping202110,), # noqa: E501 + 'capping': (ExternalLineItemCappingV2,), # noqa: E501 'creative_id': (str, none_type,), # noqa: E501 } @@ -147,14 +147,14 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, name, start_date, end_date, pacing, page, target_retailer_id, budget, *args, **kwargs): # noqa: E501 - """ExternalPreferredLineItemCreateModel202110 - a model defined in OpenAPI + """ExternalPreferredLineItemCreateModelV2 - a model defined in OpenAPI Args: name (str): start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD - pacing (str): - page (ExternalLineItemPage202110): + pacing (str): Line Item Pacing Enum + page (ExternalLineItemPageV2): target_retailer_id (str): budget (float): @@ -189,8 +189,8 @@ def _from_openapi_data(cls, name, start_date, end_date, pacing, page, target_ret Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - status (str): [optional] # noqa: E501 - capping (ExternalLineItemCapping202110): [optional] # noqa: E501 + status (str): Line Item Status Enum. [optional] # noqa: E501 + capping (ExternalLineItemCappingV2): [optional] # noqa: E501 creative_id (str, none_type): [optional] # noqa: E501 """ @@ -251,14 +251,14 @@ def _from_openapi_data(cls, name, start_date, end_date, pacing, page, target_ret @convert_js_args_to_python_args def __init__(self, name, start_date, end_date, pacing, page, target_retailer_id, budget, *args, **kwargs): # noqa: E501 - """ExternalPreferredLineItemCreateModel202110 - a model defined in OpenAPI + """ExternalPreferredLineItemCreateModelV2 - a model defined in OpenAPI Args: name (str): start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD - pacing (str): - page (ExternalLineItemPage202110): + pacing (str): Line Item Pacing Enum + page (ExternalLineItemPageV2): target_retailer_id (str): budget (float): @@ -293,8 +293,8 @@ def __init__(self, name, start_date, end_date, pacing, page, target_retailer_id, Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - status (str): [optional] # noqa: E501 - capping (ExternalLineItemCapping202110): [optional] # noqa: E501 + status (str): Line Item Status Enum. [optional] # noqa: E501 + capping (ExternalLineItemCappingV2): [optional] # noqa: E501 creative_id (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_update_model202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_update_model_v2.py similarity index 91% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_update_model202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_update_model_v2.py index 8c600ae7..dfc53c45 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item_update_model202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_update_model_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_line_item_capping202110 import ExternalLineItemCapping202110 - from criteo_api_retailmedia_v2023_07.model.external_line_item_page202110 import ExternalLineItemPage202110 - globals()['ExternalLineItemCapping202110'] = ExternalLineItemCapping202110 - globals()['ExternalLineItemPage202110'] = ExternalLineItemPage202110 + from criteo_api_retailmedia_v2024_10.model.external_line_item_capping_v2 import ExternalLineItemCappingV2 + from criteo_api_retailmedia_v2024_10.model.external_line_item_page_v2 import ExternalLineItemPageV2 + globals()['ExternalLineItemCappingV2'] = ExternalLineItemCappingV2 + globals()['ExternalLineItemPageV2'] = ExternalLineItemPageV2 -class ExternalPreferredLineItemUpdateModel202110(ModelNormal): +class ExternalPreferredLineItemUpdateModelV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -114,8 +114,8 @@ def openapi_types(): 'end_date': (date,), # noqa: E501 'status': (str,), # noqa: E501 'pacing': (str,), # noqa: E501 - 'capping': (ExternalLineItemCapping202110,), # noqa: E501 - 'page': (ExternalLineItemPage202110,), # noqa: E501 + 'capping': (ExternalLineItemCappingV2,), # noqa: E501 + 'page': (ExternalLineItemPageV2,), # noqa: E501 'budget': (float,), # noqa: E501 'creative_id': (str, none_type,), # noqa: E501 } @@ -145,13 +145,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, name, start_date, end_date, status, *args, **kwargs): # noqa: E501 - """ExternalPreferredLineItemUpdateModel202110 - a model defined in OpenAPI + """ExternalPreferredLineItemUpdateModelV2 - a model defined in OpenAPI Args: name (str): start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD - status (str): + status (str): Line Item Status Enum Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -185,8 +185,8 @@ def _from_openapi_data(cls, name, start_date, end_date, status, *args, **kwargs) through its discriminator because we passed in _visited_composed_classes = (Animal,) pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501 - capping (ExternalLineItemCapping202110): [optional] # noqa: E501 - page (ExternalLineItemPage202110): [optional] # noqa: E501 + capping (ExternalLineItemCappingV2): [optional] # noqa: E501 + page (ExternalLineItemPageV2): [optional] # noqa: E501 budget (float): [optional] # noqa: E501 creative_id (str, none_type): [optional] # noqa: E501 """ @@ -245,13 +245,13 @@ def _from_openapi_data(cls, name, start_date, end_date, status, *args, **kwargs) @convert_js_args_to_python_args def __init__(self, name, start_date, end_date, status, *args, **kwargs): # noqa: E501 - """ExternalPreferredLineItemUpdateModel202110 - a model defined in OpenAPI + """ExternalPreferredLineItemUpdateModelV2 - a model defined in OpenAPI Args: name (str): start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD - status (str): + status (str): Line Item Status Enum Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -285,8 +285,8 @@ def __init__(self, name, start_date, end_date, status, *args, **kwargs): # noqa through its discriminator because we passed in _visited_composed_classes = (Animal,) pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501 - capping (ExternalLineItemCapping202110): [optional] # noqa: E501 - page (ExternalLineItemPage202110): [optional] # noqa: E501 + capping (ExternalLineItemCappingV2): [optional] # noqa: E501 + page (ExternalLineItemPageV2): [optional] # noqa: E501 budget (float): [optional] # noqa: E501 creative_id (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_v2.py similarity index 85% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_v2.py index fcaffc60..41269db1 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_preferred_line_item202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_preferred_line_item_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_line_item_capping202110 import ExternalLineItemCapping202110 - from criteo_api_retailmedia_v2023_07.model.external_line_item_page202110 import ExternalLineItemPage202110 - globals()['ExternalLineItemCapping202110'] = ExternalLineItemCapping202110 - globals()['ExternalLineItemPage202110'] = ExternalLineItemPage202110 + from criteo_api_retailmedia_v2024_10.model.external_line_item_capping_v2 import ExternalLineItemCappingV2 + from criteo_api_retailmedia_v2024_10.model.external_line_item_page_v2 import ExternalLineItemPageV2 + globals()['ExternalLineItemCappingV2'] = ExternalLineItemCappingV2 + globals()['ExternalLineItemPageV2'] = ExternalLineItemPageV2 -class ExternalPreferredLineItem202110(ModelNormal): +class ExternalPreferredLineItemV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -73,6 +73,7 @@ class ExternalPreferredLineItem202110(ModelNormal): 'NOFUNDS': "noFunds", }, ('pacing',): { + 'None': None, 'UNKNOWN': "unknown", 'STANDARD': "standard", 'ACCELERATED': "accelerated", @@ -113,16 +114,16 @@ def openapi_types(): 'start_date': (date,), # noqa: E501 'end_date': (date,), # noqa: E501 'status': (str,), # noqa: E501 - 'pacing': (str,), # noqa: E501 - 'page': (ExternalLineItemPage202110,), # noqa: E501 'target_retailer_id': (str,), # noqa: E501 - 'budget': (float,), # noqa: E501 'campaign_id': (str,), # noqa: E501 'created_at': (datetime,), # noqa: E501 'updated_at': (datetime,), # noqa: E501 - 'capping': (ExternalLineItemCapping202110,), # noqa: E501 - 'budget_spent': (float,), # noqa: E501 - 'budget_remaining': (float,), # noqa: E501 + 'pacing': (str, none_type,), # noqa: E501 + 'capping': (ExternalLineItemCappingV2,), # noqa: E501 + 'page': (ExternalLineItemPageV2,), # noqa: E501 + 'budget': (float, none_type,), # noqa: E501 + 'budget_spent': (float, none_type,), # noqa: E501 + 'budget_remaining': (float, none_type,), # noqa: E501 'creative_id': (str, none_type,), # noqa: E501 } @@ -136,14 +137,14 @@ def discriminator(): 'start_date': 'startDate', # noqa: E501 'end_date': 'endDate', # noqa: E501 'status': 'status', # noqa: E501 - 'pacing': 'pacing', # noqa: E501 - 'page': 'page', # noqa: E501 'target_retailer_id': 'targetRetailerId', # noqa: E501 - 'budget': 'budget', # noqa: E501 'campaign_id': 'campaignId', # noqa: E501 'created_at': 'createdAt', # noqa: E501 'updated_at': 'updatedAt', # noqa: E501 + 'pacing': 'pacing', # noqa: E501 'capping': 'capping', # noqa: E501 + 'page': 'page', # noqa: E501 + 'budget': 'budget', # noqa: E501 'budget_spent': 'budgetSpent', # noqa: E501 'budget_remaining': 'budgetRemaining', # noqa: E501 'creative_id': 'creativeId', # noqa: E501 @@ -156,18 +157,15 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, name, start_date, end_date, status, pacing, page, target_retailer_id, budget, campaign_id, created_at, updated_at, *args, **kwargs): # noqa: E501 - """ExternalPreferredLineItem202110 - a model defined in OpenAPI + def _from_openapi_data(cls, name, start_date, end_date, status, target_retailer_id, campaign_id, created_at, updated_at, *args, **kwargs): # noqa: E501 + """ExternalPreferredLineItemV2 - a model defined in OpenAPI Args: name (str): start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD - status (str): - pacing (str): - page (ExternalLineItemPage202110): + status (str): Line Item Status Enum target_retailer_id (str): - budget (float): campaign_id (str): created_at (datetime): updated_at (datetime): @@ -203,10 +201,13 @@ def _from_openapi_data(cls, name, start_date, end_date, status, pacing, page, ta Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - capping (ExternalLineItemCapping202110): [optional] # noqa: E501 - budget_spent (float): [optional] # noqa: E501 - budget_remaining (float): [optional] # noqa: E501 - creative_id (str, none_type): [optional] # noqa: E501 + pacing (str, none_type): [optional] # noqa: E501 + capping (ExternalLineItemCappingV2): [optional] # noqa: E501 + page (ExternalLineItemPageV2): [optional] # noqa: E501 + budget (float, none_type): [optional] # noqa: E501 + budget_spent (float, none_type): [optional] # noqa: E501 + budget_remaining (float, none_type): [optional] # noqa: E501 + creative_id (str, none_type): External creative Id. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -242,10 +243,7 @@ def _from_openapi_data(cls, name, start_date, end_date, status, pacing, page, ta self.start_date = start_date self.end_date = end_date self.status = status - self.pacing = pacing - self.page = page self.target_retailer_id = target_retailer_id - self.budget = budget self.campaign_id = campaign_id self.created_at = created_at self.updated_at = updated_at @@ -269,18 +267,15 @@ def _from_openapi_data(cls, name, start_date, end_date, status, pacing, page, ta ]) @convert_js_args_to_python_args - def __init__(self, name, start_date, end_date, status, pacing, page, target_retailer_id, budget, campaign_id, created_at, updated_at, *args, **kwargs): # noqa: E501 - """ExternalPreferredLineItem202110 - a model defined in OpenAPI + def __init__(self, name, start_date, end_date, status, target_retailer_id, campaign_id, created_at, updated_at, *args, **kwargs): # noqa: E501 + """ExternalPreferredLineItemV2 - a model defined in OpenAPI Args: name (str): start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD - status (str): - pacing (str): - page (ExternalLineItemPage202110): + status (str): Line Item Status Enum target_retailer_id (str): - budget (float): campaign_id (str): created_at (datetime): updated_at (datetime): @@ -316,10 +311,13 @@ def __init__(self, name, start_date, end_date, status, pacing, page, target_reta Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - capping (ExternalLineItemCapping202110): [optional] # noqa: E501 - budget_spent (float): [optional] # noqa: E501 - budget_remaining (float): [optional] # noqa: E501 - creative_id (str, none_type): [optional] # noqa: E501 + pacing (str, none_type): [optional] # noqa: E501 + capping (ExternalLineItemCappingV2): [optional] # noqa: E501 + page (ExternalLineItemPageV2): [optional] # noqa: E501 + budget (float, none_type): [optional] # noqa: E501 + budget_spent (float, none_type): [optional] # noqa: E501 + budget_remaining (float, none_type): [optional] # noqa: E501 + creative_id (str, none_type): External creative Id. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -353,10 +351,7 @@ def __init__(self, name, start_date, end_date, status, pacing, page, target_reta self.start_date = start_date self.end_date = end_date self.status = status - self.pacing = pacing - self.page = page self.target_retailer_id = target_retailer_id - self.budget = budget self.campaign_id = campaign_id self.created_at = created_at self.updated_at = updated_at diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_retailer.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_retailer.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_retailer.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_retailer.py index 7307c044..a45a9c02 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_retailer.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_retailer.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_retailer_pages202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_retailer_pages202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_retailer_pages202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_retailer_pages202110.py index 9bbff881..30f71ea4 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_retailer_pages202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_retailer_pages202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_store_ids_update_model202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_store_ids_update_model202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_store_ids_update_model202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_store_ids_update_model202110.py index e31d8891..83440a89 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_store_ids_update_model202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_store_ids_update_model202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_store_target202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_store_target202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_store_target202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_store_target202110.py index b84063d0..12841b7e 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_store_target202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_store_target202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_details_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_template_variable_value.py similarity index 74% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_details_v2.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_template_variable_value.py index 9776cd4f..070f7904 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_details_v2.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_template_variable_value.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,25 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_segment_user_behavior_v2 import RmLegacySegmentUserBehaviorV2 - globals()['RmLegacySegmentUserBehaviorV2'] = RmLegacySegmentUserBehaviorV2 - - -class RmLegacyAudienceUserBehaviorDetailsV2(ModelNormal): + from criteo_api_retailmedia_v2024_10.model.external_choice_variable_value import ExternalChoiceVariableValue + from criteo_api_retailmedia_v2024_10.model.external_color_variable_value import ExternalColorVariableValue + from criteo_api_retailmedia_v2024_10.model.external_files_variable_value import ExternalFilesVariableValue + from criteo_api_retailmedia_v2024_10.model.external_hyperlink_variable_value import ExternalHyperlinkVariableValue + from criteo_api_retailmedia_v2024_10.model.external_text_variable_value import ExternalTextVariableValue + from criteo_api_retailmedia_v2024_10.model.external_video_variable_value import ExternalVideoVariableValue + globals()['ExternalChoiceVariableValue'] = ExternalChoiceVariableValue + globals()['ExternalColorVariableValue'] = ExternalColorVariableValue + globals()['ExternalFilesVariableValue'] = ExternalFilesVariableValue + globals()['ExternalHyperlinkVariableValue'] = ExternalHyperlinkVariableValue + globals()['ExternalTextVariableValue'] = ExternalTextVariableValue + globals()['ExternalVideoVariableValue'] = ExternalVideoVariableValue + + +class ExternalTemplateVariableValue(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,8 +97,13 @@ def openapi_types(): """ lazy_import() return { - 'inclusive_segment': (RmLegacySegmentUserBehaviorV2,), # noqa: E501 - 'exclusive_segment': (RmLegacySegmentUserBehaviorV2,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'text_variable_value': (ExternalTextVariableValue,), # noqa: E501 + 'choice_variable_value': (ExternalChoiceVariableValue,), # noqa: E501 + 'color_variable_value': (ExternalColorVariableValue,), # noqa: E501 + 'files_variable_value': (ExternalFilesVariableValue,), # noqa: E501 + 'hyperlink_variable_value': (ExternalHyperlinkVariableValue,), # noqa: E501 + 'video_variable_value': (ExternalVideoVariableValue,), # noqa: E501 } @cached_property @@ -97,8 +112,13 @@ def discriminator(): attribute_map = { - 'inclusive_segment': 'inclusiveSegment', # noqa: E501 - 'exclusive_segment': 'exclusiveSegment', # noqa: E501 + 'id': 'id', # noqa: E501 + 'text_variable_value': 'textVariableValue', # noqa: E501 + 'choice_variable_value': 'choiceVariableValue', # noqa: E501 + 'color_variable_value': 'colorVariableValue', # noqa: E501 + 'files_variable_value': 'filesVariableValue', # noqa: E501 + 'hyperlink_variable_value': 'hyperlinkVariableValue', # noqa: E501 + 'video_variable_value': 'videoVariableValue', # noqa: E501 } read_only_vars = { @@ -108,11 +128,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceUserBehaviorDetailsV2 - a model defined in OpenAPI + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """ExternalTemplateVariableValue - a model defined in OpenAPI Args: - inclusive_segment (RmLegacySegmentUserBehaviorV2): + id (str): The id of the template variable the value is applied to Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -145,7 +165,12 @@ def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - exclusive_segment (RmLegacySegmentUserBehaviorV2): [optional] # noqa: E501 + text_variable_value (ExternalTextVariableValue): [optional] # noqa: E501 + choice_variable_value (ExternalChoiceVariableValue): [optional] # noqa: E501 + color_variable_value (ExternalColorVariableValue): [optional] # noqa: E501 + files_variable_value (ExternalFilesVariableValue): [optional] # noqa: E501 + hyperlink_variable_value (ExternalHyperlinkVariableValue): [optional] # noqa: E501 + video_variable_value (ExternalVideoVariableValue): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -177,7 +202,7 @@ def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.inclusive_segment = inclusive_segment + self.id = id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -198,11 +223,11 @@ def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, inclusive_segment, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceUserBehaviorDetailsV2 - a model defined in OpenAPI + def __init__(self, id, *args, **kwargs): # noqa: E501 + """ExternalTemplateVariableValue - a model defined in OpenAPI Args: - inclusive_segment (RmLegacySegmentUserBehaviorV2): + id (str): The id of the template variable the value is applied to Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -235,7 +260,12 @@ def __init__(self, inclusive_segment, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - exclusive_segment (RmLegacySegmentUserBehaviorV2): [optional] # noqa: E501 + text_variable_value (ExternalTextVariableValue): [optional] # noqa: E501 + choice_variable_value (ExternalChoiceVariableValue): [optional] # noqa: E501 + color_variable_value (ExternalColorVariableValue): [optional] # noqa: E501 + files_variable_value (ExternalFilesVariableValue): [optional] # noqa: E501 + hyperlink_variable_value (ExternalHyperlinkVariableValue): [optional] # noqa: E501 + video_variable_value (ExternalVideoVariableValue): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -265,7 +295,7 @@ def __init__(self, inclusive_segment, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.inclusive_segment = inclusive_segment + self.id = id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_promoted_product202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_text_variable_value.py similarity index 94% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_promoted_product202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_text_variable_value.py index 767c6ac9..42742124 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/external_promoted_product202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_text_variable_value.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -class ExternalPromotedProduct202110(ModelNormal): +class ExternalTextVariableValue(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -81,7 +81,7 @@ def openapi_types(): and the value is attribute type. """ return { - 'bid_override': (float, none_type,), # noqa: E501 + 'text': (str, none_type,), # noqa: E501 } @cached_property @@ -90,7 +90,7 @@ def discriminator(): attribute_map = { - 'bid_override': 'bidOverride', # noqa: E501 + 'text': 'text', # noqa: E501 } read_only_vars = { @@ -101,7 +101,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ExternalPromotedProduct202110 - a model defined in OpenAPI + """ExternalTextVariableValue - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -134,7 +134,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - bid_override (float, none_type): [optional] # noqa: E501 + text (str, none_type): The displayed text. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -187,7 +187,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ExternalPromotedProduct202110 - a model defined in OpenAPI + """ExternalTextVariableValue - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -220,7 +220,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - bid_override (float, none_type): [optional] # noqa: E501 + text (str, none_type): The displayed text. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_create_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_video_variable_value.py similarity index 87% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_create_v2.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_video_variable_value.py index d7c4aacb..74e9e3a7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_user_behavior_create_v2.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/external_video_variable_value.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_segment_user_behavior_create_v2 import RmLegacySegmentUserBehaviorCreateV2 - globals()['RmLegacySegmentUserBehaviorCreateV2'] = RmLegacySegmentUserBehaviorCreateV2 - -class RmLegacyAudienceUserBehaviorCreateV2(ModelNormal): +class ExternalVideoVariableValue(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -62,6 +58,12 @@ class RmLegacyAudienceUserBehaviorCreateV2(ModelNormal): } validations = { + ('url',): { + 'min_length': 1, + }, + ('duration',): { + 'min_length': 1, + }, } @cached_property @@ -70,7 +72,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -85,10 +86,11 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { - 'inclusive_segment': (RmLegacySegmentUserBehaviorCreateV2,), # noqa: E501 - 'exclusive_segment': (RmLegacySegmentUserBehaviorCreateV2,), # noqa: E501 + 'url': (str,), # noqa: E501 + 'width': (int,), # noqa: E501 + 'height': (int,), # noqa: E501 + 'duration': (str,), # noqa: E501 } @cached_property @@ -97,8 +99,10 @@ def discriminator(): attribute_map = { - 'inclusive_segment': 'inclusiveSegment', # noqa: E501 - 'exclusive_segment': 'exclusiveSegment', # noqa: E501 + 'url': 'url', # noqa: E501 + 'width': 'width', # noqa: E501 + 'height': 'height', # noqa: E501 + 'duration': 'duration', # noqa: E501 } read_only_vars = { @@ -108,11 +112,14 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceUserBehaviorCreateV2 - a model defined in OpenAPI + def _from_openapi_data(cls, url, width, height, duration, *args, **kwargs): # noqa: E501 + """ExternalVideoVariableValue - a model defined in OpenAPI Args: - inclusive_segment (RmLegacySegmentUserBehaviorCreateV2): + url (str): The vast video url + width (int): The video's width + height (int): The video's height + duration (str): The video's duration Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -145,7 +152,6 @@ def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - exclusive_segment (RmLegacySegmentUserBehaviorCreateV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -177,7 +183,10 @@ def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.inclusive_segment = inclusive_segment + self.url = url + self.width = width + self.height = height + self.duration = duration for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -198,11 +207,14 @@ def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, inclusive_segment, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceUserBehaviorCreateV2 - a model defined in OpenAPI + def __init__(self, url, width, height, duration, *args, **kwargs): # noqa: E501 + """ExternalVideoVariableValue - a model defined in OpenAPI Args: - inclusive_segment (RmLegacySegmentUserBehaviorCreateV2): + url (str): The vast video url + width (int): The video's width + height (int): The video's height + duration (str): The video's duration Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -235,7 +247,6 @@ def __init__(self, inclusive_segment, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - exclusive_segment (RmLegacySegmentUserBehaviorCreateV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -265,7 +276,10 @@ def __init__(self, inclusive_segment, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.inclusive_segment = inclusive_segment + self.url = url + self.width = width + self.height = height + self.duration = duration for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/files_variable_value.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/files_variable_value.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/files_variable_value.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/files_variable_value.py index b47ce7f4..b4bc0a0c 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/files_variable_value.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/files_variable_value.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/files_variables_specification.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/files_variables_specification.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/files_variables_specification.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/files_variables_specification.py index 94575228..3c5f8d5c 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/files_variables_specification.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/files_variables_specification.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/hyperlink_variable_value.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/hyperlink_variable_value.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/hyperlink_variable_value.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/hyperlink_variable_value.py index 178a50e0..240e0012 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/hyperlink_variable_value.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/hyperlink_variable_value.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_keywords_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_keywords_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_keywords_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_keywords_model.py index f3f9aaa0..0d993e1b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_keywords_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_keywords_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_resource_of_auction_line_item_create_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_resource_of_auction_line_item_create_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_resource_of_auction_line_item_create_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_resource_of_auction_line_item_create_model.py index 553eb0ac..583989d3 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_resource_of_auction_line_item_create_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_resource_of_auction_line_item_create_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_auction_line_item_create_model import ExternalAuctionLineItemCreateModel + from criteo_api_retailmedia_v2024_10.model.external_auction_line_item_create_model import ExternalAuctionLineItemCreateModel globals()['ExternalAuctionLineItemCreateModel'] = ExternalAuctionLineItemCreateModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_resource_of_preferred_line_item_create_model202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_resource_of_preferred_line_item_create_model_v2.py similarity index 92% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_resource_of_preferred_line_item_create_model202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_resource_of_preferred_line_item_create_model_v2.py index 2a8ce454..a6dd9903 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/input_resource_of_preferred_line_item_create_model202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/input_resource_of_preferred_line_item_create_model_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_preferred_line_item_create_model202110 import ExternalPreferredLineItemCreateModel202110 - globals()['ExternalPreferredLineItemCreateModel202110'] = ExternalPreferredLineItemCreateModel202110 + from criteo_api_retailmedia_v2024_10.model.external_preferred_line_item_create_model_v2 import ExternalPreferredLineItemCreateModelV2 + globals()['ExternalPreferredLineItemCreateModelV2'] = ExternalPreferredLineItemCreateModelV2 -class InputResourceOfPreferredLineItemCreateModel202110(ModelNormal): +class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -88,7 +88,7 @@ def openapi_types(): lazy_import() return { 'type': (str,), # noqa: E501 - 'attributes': (ExternalPreferredLineItemCreateModel202110,), # noqa: E501 + 'attributes': (ExternalPreferredLineItemCreateModelV2,), # noqa: E501 } @cached_property @@ -109,7 +109,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """InputResourceOfPreferredLineItemCreateModel202110 - a model defined in OpenAPI + """InputResourceOfPreferredLineItemCreateModelV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -143,7 +143,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) type (str): [optional] # noqa: E501 - attributes (ExternalPreferredLineItemCreateModel202110): [optional] # noqa: E501 + attributes (ExternalPreferredLineItemCreateModelV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -196,7 +196,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """InputResourceOfPreferredLineItemCreateModel202110 - a model defined in OpenAPI + """InputResourceOfPreferredLineItemCreateModelV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -230,7 +230,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) type (str): [optional] # noqa: E501 - attributes (ExternalPreferredLineItemCreateModel202110): [optional] # noqa: E501 + attributes (ExternalPreferredLineItemCreateModelV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301.py index 03f41784..185cadd4 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.editable_campaign_attributes_v202301 import EditableCampaignAttributesV202301 + from criteo_api_retailmedia_v2024_10.model.editable_campaign_attributes_v202301 import EditableCampaignAttributesV202301 globals()['EditableCampaignAttributesV202301'] = EditableCampaignAttributesV202301 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_account_and_account.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_account_and_account.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_account_and_account.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_account_and_account.py index 1264fc76..b12af8c6 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_account_and_account.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_account_and_account.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_account import ExternalAccount + from criteo_api_retailmedia_v2024_10.model.external_account import ExternalAccount globals()['ExternalAccount'] = ExternalAccount diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_brand_and_brand.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_brand_and_brand.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_brand_and_brand.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_brand_and_brand.py index d40bec2f..c835543d 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_brand_and_brand.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_brand import ExternalBrand + from criteo_api_retailmedia_v2024_10.model.external_brand import ExternalBrand globals()['ExternalBrand'] = ExternalBrand diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301.py index de63708b..4b87d607 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.campaign_v202301 import CampaignV202301 + from criteo_api_retailmedia_v2024_10.model.campaign_v202301 import CampaignV202301 globals()['CampaignV202301'] = CampaignV202301 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py index c0a908ad..806aff5f 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_catalog_status import ExternalCatalogStatus + from criteo_api_retailmedia_v2024_10.model.external_catalog_status import ExternalCatalogStatus globals()['ExternalCatalogStatus'] = ExternalCatalogStatus diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py similarity index 92% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py index 266e6bb0..5283ae82 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.line_item_bid_multipliers import LineItemBidMultipliers - globals()['LineItemBidMultipliers'] = LineItemBidMultipliers + from criteo_api_retailmedia_v2024_10.model.external_line_item_bid_multipliers_v2 import ExternalLineItemBidMultipliersV2 + globals()['ExternalLineItemBidMultipliersV2'] = ExternalLineItemBidMultipliersV2 -class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers(ModelNormal): +class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): return { 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (LineItemBidMultipliers,), # noqa: E501 + 'attributes': (ExternalLineItemBidMultipliersV2,), # noqa: E501 } @cached_property @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501 - """JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers - a model defined in OpenAPI + """JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2 - a model defined in OpenAPI Args: id (str): @@ -148,7 +148,7 @@ def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (LineItemBidMultipliers): [optional] # noqa: E501 + attributes (ExternalLineItemBidMultipliersV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -203,7 +203,7 @@ def _from_openapi_data(cls, id, type, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, id, type, *args, **kwargs): # noqa: E501 - """JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers - a model defined in OpenAPI + """JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2 - a model defined in OpenAPI Args: id (str): @@ -240,7 +240,7 @@ def __init__(self, id, type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (LineItemBidMultipliers): [optional] # noqa: E501 + attributes (ExternalLineItemBidMultipliersV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py index 64cf2bf0..b06c5b82 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_retailer import ExternalRetailer + from criteo_api_retailmedia_v2024_10.model.external_retailer import ExternalRetailer globals()['ExternalRetailer'] = ExternalRetailer diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301.py index 7453ee45..6a1881f7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.campaign_attributes_v202301 import CampaignAttributesV202301 + from criteo_api_retailmedia_v2024_10.model.campaign_attributes_v202301 import CampaignAttributesV202301 globals()['CampaignAttributesV202301'] = CampaignAttributesV202301 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_without_id_of_catalog_request_and_catalog_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_without_id_of_catalog_request_and_catalog_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_without_id_of_catalog_request_and_catalog_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_without_id_of_catalog_request_and_catalog_request.py index 03fa334a..af7345e9 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_body_without_id_of_catalog_request_and_catalog_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_body_without_id_of_catalog_request_and_catalog_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_catalog_request import ExternalCatalogRequest + from criteo_api_retailmedia_v2024_10.model.external_catalog_request import ExternalCatalogRequest globals()['ExternalCatalogRequest'] = ExternalCatalogRequest diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_account.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_account.py similarity index 96% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_account.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_account.py index 919e489c..be293f96 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_account.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_account.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_error import CommonError - from criteo_api_retailmedia_v2023_07.model.common_warning import CommonWarning - from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_account_and_account import JsonApiBodyWithIdOfInt64AndAccountAndAccount - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata + from criteo_api_retailmedia_v2024_10.model.common_error import CommonError + from criteo_api_retailmedia_v2024_10.model.common_warning import CommonWarning + from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_account_and_account import JsonApiBodyWithIdOfInt64AndAccountAndAccount + from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata globals()['CommonError'] = CommonError globals()['CommonWarning'] = CommonWarning globals()['JsonApiBodyWithIdOfInt64AndAccountAndAccount'] = JsonApiBodyWithIdOfInt64AndAccountAndAccount diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_brand.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_brand.py similarity index 96% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_brand.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_brand.py index 8c386f27..2224e616 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_brand.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_brand.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_error import CommonError - from criteo_api_retailmedia_v2023_07.model.common_warning import CommonWarning - from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_brand_and_brand import JsonApiBodyWithIdOfInt64AndBrandAndBrand - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata + from criteo_api_retailmedia_v2024_10.model.common_error import CommonError + from criteo_api_retailmedia_v2024_10.model.common_warning import CommonWarning + from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_brand_and_brand import JsonApiBodyWithIdOfInt64AndBrandAndBrand + from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata globals()['CommonError'] = CommonError globals()['CommonWarning'] = CommonWarning globals()['JsonApiBodyWithIdOfInt64AndBrandAndBrand'] = JsonApiBodyWithIdOfInt64AndBrandAndBrand diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_campaign_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_campaign_v202301.py similarity index 96% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_campaign_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_campaign_v202301.py index e6d62029..0c749095 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_campaign_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_campaign_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_error import CommonError - from criteo_api_retailmedia_v2023_07.model.common_warning import CommonWarning - from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301 import JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301 - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata + from criteo_api_retailmedia_v2024_10.model.common_error import CommonError + from criteo_api_retailmedia_v2024_10.model.common_warning import CommonWarning + from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301 import JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301 + from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata globals()['CommonError'] = CommonError globals()['CommonWarning'] = CommonWarning globals()['JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301'] = JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_retailer.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_retailer.py similarity index 96% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_retailer.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_retailer.py index 4290c525..ef7d7098 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_retailer.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_page_response_of_retailer.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,14 +26,14 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_error import CommonError - from criteo_api_retailmedia_v2023_07.model.common_warning import CommonWarning - from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_retailer_and_retailer import JsonApiBodyWithIdOfInt64AndRetailerAndRetailer - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata + from criteo_api_retailmedia_v2024_10.model.common_error import CommonError + from criteo_api_retailmedia_v2024_10.model.common_warning import CommonWarning + from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_retailer_and_retailer import JsonApiBodyWithIdOfInt64AndRetailerAndRetailer + from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata globals()['CommonError'] = CommonError globals()['CommonWarning'] = CommonWarning globals()['JsonApiBodyWithIdOfInt64AndRetailerAndRetailer'] = JsonApiBodyWithIdOfInt64AndRetailerAndRetailer diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_request_of_catalog_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_request_of_catalog_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_request_of_catalog_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_request_of_catalog_request.py index 96e8b136..7ba69783 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_request_of_catalog_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_request_of_catalog_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.json_api_body_without_id_of_catalog_request_and_catalog_request import JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest + from criteo_api_retailmedia_v2024_10.model.json_api_body_without_id_of_catalog_request_and_catalog_request import JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest globals()['JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest'] = JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_campaign_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_campaign_v202301.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_campaign_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_campaign_v202301.py index 2db9760c..1c4e864c 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_campaign_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_campaign_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_error import CommonError - from criteo_api_retailmedia_v2023_07.model.common_warning import CommonWarning - from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301 import JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301 + from criteo_api_retailmedia_v2024_10.model.common_error import CommonError + from criteo_api_retailmedia_v2024_10.model.common_warning import CommonWarning + from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301 import JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301 globals()['CommonError'] = CommonError globals()['CommonWarning'] = CommonWarning globals()['JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301'] = JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_catalog_status.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_catalog_status.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_catalog_status.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_catalog_status.py index 88f6759a..0615e8d9 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_catalog_status.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_catalog_status.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_error import CommonError - from criteo_api_retailmedia_v2023_07.model.common_warning import CommonWarning - from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status import JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus + from criteo_api_retailmedia_v2024_10.model.common_error import CommonError + from criteo_api_retailmedia_v2024_10.model.common_warning import CommonWarning + from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status import JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus globals()['CommonError'] = CommonError globals()['CommonWarning'] = CommonWarning globals()['JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus'] = JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_line_item_bid_multipliers.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_line_item_bid_multipliers_v2.py similarity index 88% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_line_item_bid_multipliers.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_line_item_bid_multipliers_v2.py index 634e2ff5..cd99a862 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/json_api_single_response_of_line_item_bid_multipliers.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/json_api_single_response_of_line_item_bid_multipliers_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,19 +26,19 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_error import CommonError - from criteo_api_retailmedia_v2023_07.model.common_warning import CommonWarning - from criteo_api_retailmedia_v2023_07.model.json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers import JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers + from criteo_api_retailmedia_v2024_10.model.common_error import CommonError + from criteo_api_retailmedia_v2024_10.model.common_warning import CommonWarning + from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2 import JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2 globals()['CommonError'] = CommonError globals()['CommonWarning'] = CommonWarning - globals()['JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers'] = JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers + globals()['JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2'] = JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2 -class JsonApiSingleResponseOfLineItemBidMultipliers(ModelNormal): +class JsonApiSingleResponseOfLineItemBidMultipliersV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -91,9 +91,9 @@ def openapi_types(): """ lazy_import() return { - 'data': (JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers,), # noqa: E501 - 'errors': ([CommonError],), # noqa: E501 - 'warnings': ([CommonWarning],), # noqa: E501 + 'data': (JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2,), # noqa: E501 + 'errors': ([CommonError], none_type,), # noqa: E501 + 'warnings': ([CommonWarning], none_type,), # noqa: E501 } @cached_property @@ -115,10 +115,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 - """JsonApiSingleResponseOfLineItemBidMultipliers - a model defined in OpenAPI + """JsonApiSingleResponseOfLineItemBidMultipliersV2 - a model defined in OpenAPI Args: - data (JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers): + data (JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -151,8 +151,8 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - errors ([CommonError]): [optional] # noqa: E501 - warnings ([CommonWarning]): [optional] # noqa: E501 + errors ([CommonError], none_type): [optional] # noqa: E501 + warnings ([CommonWarning], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -206,10 +206,10 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, data, *args, **kwargs): # noqa: E501 - """JsonApiSingleResponseOfLineItemBidMultipliers - a model defined in OpenAPI + """JsonApiSingleResponseOfLineItemBidMultipliersV2 - a model defined in OpenAPI Args: - data (JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers): + data (JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -242,8 +242,8 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - errors ([CommonError]): [optional] # noqa: E501 - warnings ([CommonWarning]): [optional] # noqa: E501 + errors ([CommonError], none_type): [optional] # noqa: E501 + warnings ([CommonWarning], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keyword_data_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keyword_data_model.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keyword_data_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keyword_data_model.py index e53b67d8..f29fa320 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keyword_data_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keyword_data_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.input_keywords_model import InputKeywordsModel - from criteo_api_retailmedia_v2023_07.model.match_type_model import MatchTypeModel - from criteo_api_retailmedia_v2023_07.model.review_state_model import ReviewStateModel + from criteo_api_retailmedia_v2024_10.model.input_keywords_model import InputKeywordsModel + from criteo_api_retailmedia_v2024_10.model.match_type_model import MatchTypeModel + from criteo_api_retailmedia_v2024_10.model.review_state_model import ReviewStateModel globals()['InputKeywordsModel'] = InputKeywordsModel globals()['MatchTypeModel'] = MatchTypeModel globals()['ReviewStateModel'] = ReviewStateModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keyword_target202110_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keyword_target202110_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keyword_target202110_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keyword_target202110_request.py index 8953f8bd..998ba1cd 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keyword_target202110_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keyword_target202110_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_keyword_target202110 import ValueTypeResourceOfKeywordTarget202110 + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_keyword_target202110 import ValueTypeResourceOfKeywordTarget202110 globals()['ValueTypeResourceOfKeywordTarget202110'] = ValueTypeResourceOfKeywordTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keyword_target202110_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keyword_target202110_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keyword_target202110_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keyword_target202110_response.py index db1b1c98..6af8da13 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keyword_target202110_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keyword_target202110_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_keyword_target202110 import ValueTypeResourceOfKeywordTarget202110 + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_keyword_target202110 import ValueTypeResourceOfKeywordTarget202110 globals()['ProblemDetails'] = ProblemDetails globals()['ValueTypeResourceOfKeywordTarget202110'] = ValueTypeResourceOfKeywordTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keywords_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keywords_model.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keywords_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keywords_model.py index c1605c61..430b08b7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keywords_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keywords_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.keyword_data_model import KeywordDataModel + from criteo_api_retailmedia_v2024_10.model.keyword_data_model import KeywordDataModel globals()['KeywordDataModel'] = KeywordDataModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keywords_model_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keywords_model_resource.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keywords_model_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keywords_model_resource.py index 46363266..7b74b9cc 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keywords_model_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keywords_model_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.keywords_model import KeywordsModel + from criteo_api_retailmedia_v2024_10.model.keywords_model import KeywordsModel globals()['KeywordsModel'] = KeywordsModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keywords_model_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keywords_model_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keywords_model_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keywords_model_response.py index d50104de..aabdf0f9 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/keywords_model_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/keywords_model_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.keywords_model_resource import KeywordsModelResource - from criteo_api_retailmedia_v2023_07.model.rmca_common_problem import RmcaCommonProblem + from criteo_api_retailmedia_v2024_10.model.keywords_model_resource import KeywordsModelResource + from criteo_api_retailmedia_v2024_10.model.rmca_common_problem import RmcaCommonProblem globals()['KeywordsModelResource'] = KeywordsModelResource globals()['RmcaCommonProblem'] = RmcaCommonProblem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_request.py similarity index 92% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v1.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_request.py index 2e28c21e..db7a39a7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v1.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v1_resource import RmLegacyAudienceCreateEntityV1Resource - globals()['RmLegacyAudienceCreateEntityV1Resource'] = RmLegacyAudienceCreateEntityV1Resource + from criteo_api_retailmedia_v2024_10.model.resource_of_line_item_bid_multipliers_v2 import ResourceOfLineItemBidMultipliersV2 + globals()['ResourceOfLineItemBidMultipliersV2'] = ResourceOfLineItemBidMultipliersV2 -class RmLegacyAudienceCreateInputEntityV1(ModelNormal): +class LineItemBidMultipliersV2Request(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (RmLegacyAudienceCreateEntityV1Resource,), # noqa: E501 + 'data': (ResourceOfLineItemBidMultipliersV2,), # noqa: E501 } @cached_property @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateInputEntityV1 - a model defined in OpenAPI + """LineItemBidMultipliersV2Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501 + data (ResourceOfLineItemBidMultipliersV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateInputEntityV1 - a model defined in OpenAPI + """LineItemBidMultipliersV2Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501 + data (ResourceOfLineItemBidMultipliersV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_response.py similarity index 92% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_response.py index ed7f9d44..6920b84a 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_problem import CommonProblem - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v1_resource import RmLegacyAudienceCreateEntityV1Resource + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.resource_of_line_item_bid_multipliers_v2 import ResourceOfLineItemBidMultipliersV2 globals()['CommonProblem'] = CommonProblem - globals()['RmLegacyAudienceCreateEntityV1Resource'] = RmLegacyAudienceCreateEntityV1Resource + globals()['ResourceOfLineItemBidMultipliersV2'] = ResourceOfLineItemBidMultipliersV2 -class RmLegacyAudienceCreateEntityV1Response(ModelNormal): +class LineItemBidMultipliersV2Response(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (RmLegacyAudienceCreateEntityV1Resource,), # noqa: E501 + 'data': (ResourceOfLineItemBidMultipliersV2,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -115,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV1Response - a model defined in OpenAPI + """LineItemBidMultipliersV2Response - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501 + data (ResourceOfLineItemBidMultipliersV2): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -203,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV1Response - a model defined in OpenAPI + """LineItemBidMultipliersV2Response - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501 + data (ResourceOfLineItemBidMultipliersV2): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/line_item_budget_overrides.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_budget_overrides.py similarity index 96% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/line_item_budget_overrides.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_budget_overrides.py index ab6ab783..ab0fd041 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/line_item_budget_overrides.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_budget_overrides.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_preview.model.daily_line_item_budget_override import DailyLineItemBudgetOverride - from criteo_api_retailmedia_preview.model.monthly_line_item_budeget_override import MonthlyLineItemBudegetOverride + from criteo_api_retailmedia_v2024_10.model.daily_line_item_budget_override import DailyLineItemBudgetOverride + from criteo_api_retailmedia_v2024_10.model.monthly_line_item_budeget_override import MonthlyLineItemBudegetOverride globals()['DailyLineItemBudgetOverride'] = DailyLineItemBudgetOverride globals()['MonthlyLineItemBudegetOverride'] = MonthlyLineItemBudegetOverride diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_product_status.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_product_status.py new file mode 100644 index 00000000..11dad972 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/line_item_product_status.py @@ -0,0 +1,291 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class LineItemProductStatus(ModelSimple): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('value',): { + 'UNKNOWN': "Unknown", + 'ACTIVE': "Active", + 'PAUSED': "Paused", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'value': (str,), + } + + @cached_property + def discriminator(): + return None + + + attribute_map = {} + + read_only_vars = set() + + _composed_schemas = None + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): + """LineItemProductStatus - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str): The status of a promoted product in the context of the line item.., must be one of ["Unknown", "Active", "Paused", ] # noqa: E501 + + Keyword Args: + value (str): The status of a promoted product in the context of the line item.., must be one of ["Unknown", "Active", "Paused", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): + """LineItemProductStatus - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str): The status of a promoted product in the context of the line item.., must be one of ["Unknown", "Active", "Paused", ] # noqa: E501 + + Keyword Args: + value (str): The status of a promoted product in the context of the line item.., must be one of ["Unknown", "Active", "Paused", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + return self diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/match_type_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/match_type_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/match_type_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/match_type_model.py index 56bb978b..a03fe4f2 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/match_type_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/match_type_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/metadata.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/metadata.py new file mode 100644 index 00000000..c914573f --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/metadata.py @@ -0,0 +1,273 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class Metadata(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'offset': (int,), # noqa: E501 + 'limit': (int,), # noqa: E501 + 'count': (int, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'offset': 'offset', # noqa: E501 + 'limit': 'limit', # noqa: E501 + 'count': 'count', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, offset, limit, *args, **kwargs): # noqa: E501 + """Metadata - a model defined in OpenAPI + + Args: + offset (int): The (zero-based) starting offset in the collection. + limit (int): The number of elements to be returned. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + count (int, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.offset = offset + self.limit = limit + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, offset, limit, *args, **kwargs): # noqa: E501 + """Metadata - a model defined in OpenAPI + + Args: + offset (int): The (zero-based) starting offset in the collection. + limit (int): The number of elements to be returned. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + count (int, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.offset = offset + self.limit = limit + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/monthly_line_item_budeget_override.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/monthly_line_item_budeget_override.py similarity index 98% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/monthly_line_item_budeget_override.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/monthly_line_item_budeget_override.py index 17359e3b..339b2555 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/monthly_line_item_budeget_override.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/monthly_line_item_budeget_override.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/negotiation_state_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/negotiation_state_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/negotiation_state_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/negotiation_state_model.py index b6bcd5f5..6f9df140 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/negotiation_state_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/negotiation_state_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/nillable_string.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/nillable_string.py new file mode 100644 index 00000000..9b991307 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/nillable_string.py @@ -0,0 +1,263 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class NillableString(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'value': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'value': 'value', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """NillableString - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + value (str, none_type): The string's value. If missing or null the string's value is set to \"null\". [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """NillableString - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + value (str, none_type): The string's value. If missing or null the string's value is set to \"null\". [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/page_metadata.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_metadata.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/page_metadata.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_metadata.py index 1740b192..77ebf9f7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/page_metadata.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_metadata.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_of_balance_history_change_data_capture_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_of_balance_history_change_data_capture_v1.py new file mode 100644 index 00000000..0ef46e5d --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_of_balance_history_change_data_capture_v1.py @@ -0,0 +1,276 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.balance_history_change_data_capture_v1 import BalanceHistoryChangeDataCaptureV1 + from criteo_api_retailmedia_v2024_10.model.metadata import Metadata + globals()['BalanceHistoryChangeDataCaptureV1'] = BalanceHistoryChangeDataCaptureV1 + globals()['Metadata'] = Metadata + + +class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'meta': (Metadata,), # noqa: E501 + 'data': ([BalanceHistoryChangeDataCaptureV1],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'meta': 'meta', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, meta, data, *args, **kwargs): # noqa: E501 + """PageOfBalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI + + Args: + meta (Metadata): + data ([BalanceHistoryChangeDataCaptureV1]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.meta = meta + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, meta, data, *args, **kwargs): # noqa: E501 + """PageOfBalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI + + Args: + meta (Metadata): + data ([BalanceHistoryChangeDataCaptureV1]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.meta = meta + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/page_type_environment.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_type_environment.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/page_type_environment.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_type_environment.py index df204cc5..05436c4e 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/page_type_environment.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/page_type_environment.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/promoted_product202110_paged_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/paged_resource_collection_outcome_of_balance_response_v2.py similarity index 89% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/promoted_product202110_paged_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/paged_resource_collection_outcome_of_balance_response_v2.py index 5118e07a..4dc12184 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/promoted_product202110_paged_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/paged_resource_collection_outcome_of_balance_response_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,19 +26,19 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_promoted_product202110 import ResourceOfPromotedProduct202110 + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata + from criteo_api_retailmedia_v2024_10.model.resource_of_balance_response_v2 import ResourceOfBalanceResponseV2 + globals()['CommonProblem'] = CommonProblem globals()['PageMetadata'] = PageMetadata - globals()['ProblemDetails'] = ProblemDetails - globals()['ResourceOfPromotedProduct202110'] = ResourceOfPromotedProduct202110 + globals()['ResourceOfBalanceResponseV2'] = ResourceOfBalanceResponseV2 -class PromotedProduct202110PagedListResponse(ModelNormal): +class PagedResourceCollectionOutcomeOfBalanceResponseV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -92,9 +92,9 @@ def openapi_types(): lazy_import() return { 'metadata': (PageMetadata,), # noqa: E501 - 'data': ([ResourceOfPromotedProduct202110],), # noqa: E501 - 'warnings': ([ProblemDetails],), # noqa: E501 - 'errors': ([ProblemDetails],), # noqa: E501 + 'data': ([ResourceOfBalanceResponseV2],), # noqa: E501 + 'warnings': ([CommonProblem],), # noqa: E501 + 'errors': ([CommonProblem],), # noqa: E501 } @cached_property @@ -119,7 +119,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PromotedProduct202110PagedListResponse - a model defined in OpenAPI + """PagedResourceCollectionOutcomeOfBalanceResponseV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -153,9 +153,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) metadata (PageMetadata): [optional] # noqa: E501 - data ([ResourceOfPromotedProduct202110]): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + data ([ResourceOfBalanceResponseV2]): [optional] # noqa: E501 + warnings ([CommonProblem]): [optional] # noqa: E501 + errors ([CommonProblem]): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -208,7 +208,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PromotedProduct202110PagedListResponse - a model defined in OpenAPI + """PagedResourceCollectionOutcomeOfBalanceResponseV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -242,9 +242,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) metadata (PageMetadata): [optional] # noqa: E501 - data ([ResourceOfPromotedProduct202110]): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + data ([ResourceOfBalanceResponseV2]): [optional] # noqa: E501 + warnings ([CommonProblem]): [optional] # noqa: E501 + errors ([CommonProblem]): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/post_campaign_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/post_campaign_v202301.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/post_campaign_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/post_campaign_v202301.py index 61292e9f..d74df118 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/post_campaign_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/post_campaign_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301 import JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301 + from criteo_api_retailmedia_v2024_10.model.json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301 import JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301 globals()['JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301'] = JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item_create_model202110_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_create_model_v2_request.py similarity index 92% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item_create_model202110_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_create_model_v2_request.py index d0f76b38..96f2f370 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item_create_model202110_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_create_model_v2_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.input_resource_of_preferred_line_item_create_model202110 import InputResourceOfPreferredLineItemCreateModel202110 - globals()['InputResourceOfPreferredLineItemCreateModel202110'] = InputResourceOfPreferredLineItemCreateModel202110 + from criteo_api_retailmedia_v2024_10.model.input_resource_of_preferred_line_item_create_model_v2 import InputResourceOfPreferredLineItemCreateModelV2 + globals()['InputResourceOfPreferredLineItemCreateModelV2'] = InputResourceOfPreferredLineItemCreateModelV2 -class PreferredLineItemCreateModel202110Request(ModelNormal): +class PreferredLineItemCreateModelV2Request(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (InputResourceOfPreferredLineItemCreateModel202110,), # noqa: E501 + 'data': (InputResourceOfPreferredLineItemCreateModelV2,), # noqa: E501 } @cached_property @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PreferredLineItemCreateModel202110Request - a model defined in OpenAPI + """PreferredLineItemCreateModelV2Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (InputResourceOfPreferredLineItemCreateModel202110): [optional] # noqa: E501 + data (InputResourceOfPreferredLineItemCreateModelV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PreferredLineItemCreateModel202110Request - a model defined in OpenAPI + """PreferredLineItemCreateModelV2Request - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (InputResourceOfPreferredLineItemCreateModel202110): [optional] # noqa: E501 + data (InputResourceOfPreferredLineItemCreateModelV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_update_model_v2_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_update_model_v2_request.py new file mode 100644 index 00000000..9d23f442 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_update_model_v2_request.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.resource_of_preferred_line_item_update_model_v2 import ResourceOfPreferredLineItemUpdateModelV2 + globals()['ResourceOfPreferredLineItemUpdateModelV2'] = ResourceOfPreferredLineItemUpdateModelV2 + + +class PreferredLineItemUpdateModelV2Request(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (ResourceOfPreferredLineItemUpdateModelV2,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """PreferredLineItemUpdateModelV2Request - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfPreferredLineItemUpdateModelV2): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """PreferredLineItemUpdateModelV2Request - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfPreferredLineItemUpdateModelV2): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance202110_paged_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_paged_list_response.py similarity index 89% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance202110_paged_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_paged_list_response.py index 9f05a5ef..473d5e61 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/balance202110_paged_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_paged_list_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,19 +26,19 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.page_metadata import PageMetadata - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_balance202110 import ResourceOfBalance202110 + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata + from criteo_api_retailmedia_v2024_10.model.resource_of_preferred_line_item_v2 import ResourceOfPreferredLineItemV2 + globals()['CommonProblem'] = CommonProblem globals()['PageMetadata'] = PageMetadata - globals()['ProblemDetails'] = ProblemDetails - globals()['ResourceOfBalance202110'] = ResourceOfBalance202110 + globals()['ResourceOfPreferredLineItemV2'] = ResourceOfPreferredLineItemV2 -class Balance202110PagedListResponse(ModelNormal): +class PreferredLineItemV2PagedListResponse(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -92,9 +92,9 @@ def openapi_types(): lazy_import() return { 'metadata': (PageMetadata,), # noqa: E501 - 'data': ([ResourceOfBalance202110],), # noqa: E501 - 'warnings': ([ProblemDetails],), # noqa: E501 - 'errors': ([ProblemDetails],), # noqa: E501 + 'data': ([ResourceOfPreferredLineItemV2],), # noqa: E501 + 'warnings': ([CommonProblem],), # noqa: E501 + 'errors': ([CommonProblem],), # noqa: E501 } @cached_property @@ -119,7 +119,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Balance202110PagedListResponse - a model defined in OpenAPI + """PreferredLineItemV2PagedListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -153,9 +153,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) metadata (PageMetadata): [optional] # noqa: E501 - data ([ResourceOfBalance202110]): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + data ([ResourceOfPreferredLineItemV2]): [optional] # noqa: E501 + warnings ([CommonProblem]): [optional] # noqa: E501 + errors ([CommonProblem]): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -208,7 +208,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """Balance202110PagedListResponse - a model defined in OpenAPI + """PreferredLineItemV2PagedListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -242,9 +242,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) metadata (PageMetadata): [optional] # noqa: E501 - data ([ResourceOfBalance202110]): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + data ([ResourceOfPreferredLineItemV2]): [optional] # noqa: E501 + warnings ([CommonProblem]): [optional] # noqa: E501 + errors ([CommonProblem]): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_response.py new file mode 100644 index 00000000..ccf23726 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/preferred_line_item_v2_response.py @@ -0,0 +1,281 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.resource_of_preferred_line_item_v2 import ResourceOfPreferredLineItemV2 + globals()['CommonProblem'] = CommonProblem + globals()['ResourceOfPreferredLineItemV2'] = ResourceOfPreferredLineItemV2 + + +class PreferredLineItemV2Response(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (ResourceOfPreferredLineItemV2,), # noqa: E501 + 'warnings': ([CommonProblem],), # noqa: E501 + 'errors': ([CommonProblem],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + 'errors': 'errors', # noqa: E501 + } + + read_only_vars = { + 'warnings', # noqa: E501 + 'errors', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """PreferredLineItemV2Response - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfPreferredLineItemV2): [optional] # noqa: E501 + warnings ([CommonProblem]): [optional] # noqa: E501 + errors ([CommonProblem]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """PreferredLineItemV2Response - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfPreferredLineItemV2): [optional] # noqa: E501 + warnings ([CommonProblem]): [optional] # noqa: E501 + errors ([CommonProblem]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/problem_details.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/problem_details.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/problem_details.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/problem_details.py index 7325c3f2..3b8b52d6 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/problem_details.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/problem_details.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/product_metadata.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/product_metadata.py new file mode 100644 index 00000000..1a805d16 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/product_metadata.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class ProductMetadata(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'offset': (int, none_type,), # noqa: E501 + 'limit': (int, none_type,), # noqa: E501 + 'count': (int, none_type,), # noqa: E501 + 'response_count': (int, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'offset': 'offset', # noqa: E501 + 'limit': 'limit', # noqa: E501 + 'count': 'count', # noqa: E501 + 'response_count': 'responseCount', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ProductMetadata - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + offset (int, none_type): Zero based offset of the first item in the response.. [optional] # noqa: E501 + limit (int, none_type): Maximum number of items in the response.. [optional] # noqa: E501 + count (int, none_type): Total number of items available.. [optional] # noqa: E501 + response_count (int, none_type): Number of items in the response.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ProductMetadata - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + offset (int, none_type): Zero based offset of the first item in the response.. [optional] # noqa: E501 + limit (int, none_type): Maximum number of items in the response.. [optional] # noqa: E501 + count (int, none_type): Total number of items available.. [optional] # noqa: E501 + response_count (int, none_type): Number of items in the response.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/product_resource_outcome.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/product_resource_outcome.py new file mode 100644 index 00000000..e4febfeb --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/product_resource_outcome.py @@ -0,0 +1,266 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.rmca_common_problem import RmcaCommonProblem + globals()['RmcaCommonProblem'] = RmcaCommonProblem + + +class ProductResourceOutcome(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'errors': ([RmcaCommonProblem], none_type,), # noqa: E501 + 'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'errors': 'errors', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ProductResourceOutcome - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501 + warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ProductResourceOutcome - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501 + warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product.py new file mode 100644 index 00000000..4b90276b --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product.py @@ -0,0 +1,270 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.line_item_product_status import LineItemProductStatus + globals()['LineItemProductStatus'] = LineItemProductStatus + + +class PromotedProduct(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str, none_type,), # noqa: E501 + 'bid_override': (float, none_type,), # noqa: E501 + 'status': (LineItemProductStatus,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'bid_override': 'bidOverride', # noqa: E501 + 'status': 'status', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """PromotedProduct - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str, none_type): A retailer defined SKU ID for the promoted product.. [optional] # noqa: E501 + bid_override (float, none_type): The bid override for the promoted product for this line item. Ignored unless adding a product.. [optional] # noqa: E501 + status (LineItemProductStatus): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """PromotedProduct - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str, none_type): A retailer defined SKU ID for the promoted product.. [optional] # noqa: E501 + bid_override (float, none_type): The bid override for the promoted product for this line item. Ignored unless adding a product.. [optional] # noqa: E501 + status (LineItemProductStatus): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource.py new file mode 100644 index 00000000..5c07d335 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource.py @@ -0,0 +1,270 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.promoted_product import PromotedProduct + globals()['PromotedProduct'] = PromotedProduct + + +class PromotedProductResource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + 'attributes': (PromotedProduct,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """PromotedProductResource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str, none_type): [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + attributes (PromotedProduct): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """PromotedProductResource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str, none_type): [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + attributes (PromotedProduct): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_input.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_input.py new file mode 100644 index 00000000..bbcc706e --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_input.py @@ -0,0 +1,262 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.promoted_product_resource import PromotedProductResource + globals()['PromotedProductResource'] = PromotedProductResource + + +class PromotedProductResourceCollectionInput(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([PromotedProductResource], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """PromotedProductResourceCollectionInput - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([PromotedProductResource], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """PromotedProductResourceCollectionInput - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([PromotedProductResource], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_outcome.py similarity index 85% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_outcome.py index 94f81a5c..d0345ba7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/line_item_bid_multipliers_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/promoted_product_resource_collection_outcome.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,19 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_line_item_bid_multipliers import ResourceOfLineItemBidMultipliers - globals()['ProblemDetails'] = ProblemDetails - globals()['ResourceOfLineItemBidMultipliers'] = ResourceOfLineItemBidMultipliers + from criteo_api_retailmedia_v2024_10.model.product_metadata import ProductMetadata + from criteo_api_retailmedia_v2024_10.model.promoted_product_resource import PromotedProductResource + from criteo_api_retailmedia_v2024_10.model.rmca_common_problem import RmcaCommonProblem + globals()['ProductMetadata'] = ProductMetadata + globals()['PromotedProductResource'] = PromotedProductResource + globals()['RmcaCommonProblem'] = RmcaCommonProblem -class LineItemBidMultipliersResponse(ModelNormal): +class PromotedProductResourceCollectionOutcome(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -66,14 +68,7 @@ class LineItemBidMultipliersResponse(ModelNormal): validations = { } - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + additional_properties_type = None _nullable = False @@ -89,9 +84,10 @@ def openapi_types(): """ lazy_import() return { - 'data': (ResourceOfLineItemBidMultipliers,), # noqa: E501 - 'warnings': ([ProblemDetails],), # noqa: E501 - 'errors': ([ProblemDetails],), # noqa: E501 + 'errors': ([RmcaCommonProblem], none_type,), # noqa: E501 + 'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501 + 'metadata': (ProductMetadata,), # noqa: E501 + 'data': ([PromotedProductResource], none_type,), # noqa: E501 } @cached_property @@ -100,14 +96,15 @@ def discriminator(): attribute_map = { - 'data': 'data', # noqa: E501 - 'warnings': 'warnings', # noqa: E501 'errors': 'errors', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + 'metadata': 'metadata', # noqa: E501 + 'data': 'data', # noqa: E501 } read_only_vars = { - 'warnings', # noqa: E501 'errors', # noqa: E501 + 'warnings', # noqa: E501 } _composed_schemas = {} @@ -115,7 +112,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """LineItemBidMultipliersResponse - a model defined in OpenAPI + """PromotedProductResourceCollectionOutcome - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,9 +145,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ResourceOfLineItemBidMultipliers): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501 + warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501 + metadata (ProductMetadata): [optional] # noqa: E501 + data ([PromotedProductResource], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -203,7 +201,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """LineItemBidMultipliersResponse - a model defined in OpenAPI + """PromotedProductResourceCollectionOutcome - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,9 +234,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ResourceOfLineItemBidMultipliers): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501 + warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501 + metadata (ProductMetadata): [optional] # noqa: E501 + data ([PromotedProductResource], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/proposal_status_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/proposal_status_model.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/proposal_status_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/proposal_status_model.py index 199ae0a4..948c45d7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/proposal_status_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/proposal_status_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.approval_status_model import ApprovalStatusModel - from criteo_api_retailmedia_v2023_07.model.negotiation_state_model import NegotiationStateModel + from criteo_api_retailmedia_v2024_10.model.approval_status_model import ApprovalStatusModel + from criteo_api_retailmedia_v2024_10.model.negotiation_state_model import NegotiationStateModel globals()['ApprovalStatusModel'] = ApprovalStatusModel globals()['NegotiationStateModel'] = NegotiationStateModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/proposal_status_model_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/proposal_status_model_resource.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/proposal_status_model_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/proposal_status_model_resource.py index 802b186d..6f55008d 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/proposal_status_model_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/proposal_status_model_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.proposal_status_model import ProposalStatusModel + from criteo_api_retailmedia_v2024_10.model.proposal_status_model import ProposalStatusModel globals()['ProposalStatusModel'] = ProposalStatusModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/proposal_status_model_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/proposal_status_model_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/proposal_status_model_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/proposal_status_model_response.py index c3bec824..fa6cdcb6 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/proposal_status_model_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/proposal_status_model_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.proposal_status_model_resource import ProposalStatusModelResource - from criteo_api_retailmedia_v2023_07.model.rmca_common_problem import RmcaCommonProblem + from criteo_api_retailmedia_v2024_10.model.proposal_status_model_resource import ProposalStatusModelResource + from criteo_api_retailmedia_v2024_10.model.rmca_common_problem import RmcaCommonProblem globals()['ProposalStatusModelResource'] = ProposalStatusModelResource globals()['RmcaCommonProblem'] = RmcaCommonProblem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/put_campaign_v202301.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/put_campaign_v202301.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/put_campaign_v202301.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/put_campaign_v202301.py index fd2f08fc..3d4cfa49 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/put_campaign_v202301.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/put_campaign_v202301.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301 import JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301 + from criteo_api_retailmedia_v2024_10.model.json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301 import JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301 globals()['JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301'] = JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/report_outcome.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/report_outcome.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/report_outcome.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/report_outcome.py index 12ca7cdb..b44acdbe 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/report_outcome.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/report_outcome.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem globals()['CommonProblem'] = CommonProblem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_promoted_product202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_add_funds_to_balance_v2.py similarity index 93% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_promoted_product202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_add_funds_to_balance_v2.py index b3504815..14ff2550 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_promoted_product202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_add_funds_to_balance_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_promoted_product202110 import ExternalPromotedProduct202110 - globals()['ExternalPromotedProduct202110'] = ExternalPromotedProduct202110 + from criteo_api_retailmedia_v2024_10.model.add_funds_to_balance_v2 import AddFundsToBalanceV2 + globals()['AddFundsToBalanceV2'] = AddFundsToBalanceV2 -class ResourceOfPromotedProduct202110(ModelNormal): +class ResourceOfAddFundsToBalanceV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,9 +87,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (AddFundsToBalanceV2,), # noqa: E501 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 - 'attributes': (ExternalPromotedProduct202110,), # noqa: E501 } @cached_property @@ -98,9 +98,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 } read_only_vars = { @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResourceOfPromotedProduct202110 - a model defined in OpenAPI + """ResourceOfAddFundsToBalanceV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -144,9 +144,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + attributes (AddFundsToBalanceV2): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (ExternalPromotedProduct202110): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -199,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ResourceOfPromotedProduct202110 - a model defined in OpenAPI + """ResourceOfAddFundsToBalanceV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,9 +232,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + attributes (AddFundsToBalanceV2): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (ExternalPromotedProduct202110): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_auction_line_item.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_auction_line_item.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_auction_line_item.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_auction_line_item.py index bfb4f882..b71c93c5 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_auction_line_item.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_auction_line_item.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_auction_line_item import ExternalAuctionLineItem + from criteo_api_retailmedia_v2024_10.model.external_auction_line_item import ExternalAuctionLineItem globals()['ExternalAuctionLineItem'] = ExternalAuctionLineItem diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_auction_line_item_update_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_auction_line_item_update_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_auction_line_item_update_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_auction_line_item_update_model.py index 694c62ad..4e1daf11 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_auction_line_item_update_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_auction_line_item_update_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_auction_line_item_update_model import ExternalAuctionLineItemUpdateModel + from criteo_api_retailmedia_v2024_10.model.external_auction_line_item_update_model import ExternalAuctionLineItemUpdateModel globals()['ExternalAuctionLineItemUpdateModel'] = ExternalAuctionLineItemUpdateModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_balance_campaign202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_balance_campaign202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_balance_campaign202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_balance_campaign202110.py index 696fdb8e..a287edbf 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_balance_campaign202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_balance_campaign202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_balance202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_balance_response_v2.py similarity index 94% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_balance202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_balance_response_v2.py index cb3cfc05..b038cd73 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_balance202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_balance_response_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_balance202110 import ExternalBalance202110 - globals()['ExternalBalance202110'] = ExternalBalance202110 + from criteo_api_retailmedia_v2024_10.model.balance_response_v2 import BalanceResponseV2 + globals()['BalanceResponseV2'] = BalanceResponseV2 -class ResourceOfBalance202110(ModelNormal): +class ResourceOfBalanceResponseV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,9 +87,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (BalanceResponseV2,), # noqa: E501 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 - 'attributes': (ExternalBalance202110,), # noqa: E501 } @cached_property @@ -98,9 +98,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 } read_only_vars = { @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResourceOfBalance202110 - a model defined in OpenAPI + """ResourceOfBalanceResponseV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -144,9 +144,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + attributes (BalanceResponseV2): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (ExternalBalance202110): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -199,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ResourceOfBalance202110 - a model defined in OpenAPI + """ResourceOfBalanceResponseV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,9 +232,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + attributes (BalanceResponseV2): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (ExternalBalance202110): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_category202204.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_category202204.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_category202204.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_category202204.py index 7e2f3d12..e71faca4 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_category202204.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_category202204.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.category202204 import Category202204 + from criteo_api_retailmedia_v2024_10.model.category202204 import Category202204 globals()['Category202204'] = Category202204 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_line_item_bid_multipliers.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_change_dates_of_balance_v2.py similarity index 94% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_line_item_bid_multipliers.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_change_dates_of_balance_v2.py index db1ce234..fb61140d 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_line_item_bid_multipliers.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_change_dates_of_balance_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.line_item_bid_multipliers import LineItemBidMultipliers - globals()['LineItemBidMultipliers'] = LineItemBidMultipliers + from criteo_api_retailmedia_v2024_10.model.change_dates_of_balance_v2 import ChangeDatesOfBalanceV2 + globals()['ChangeDatesOfBalanceV2'] = ChangeDatesOfBalanceV2 -class ResourceOfLineItemBidMultipliers(ModelNormal): +class ResourceOfChangeDatesOfBalanceV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (LineItemBidMultipliers,), # noqa: E501 + 'attributes': (ChangeDatesOfBalanceV2,), # noqa: E501 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 } @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResourceOfLineItemBidMultipliers - a model defined in OpenAPI + """ResourceOfChangeDatesOfBalanceV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -144,7 +144,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (LineItemBidMultipliers): [optional] # noqa: E501 + attributes (ChangeDatesOfBalanceV2): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 """ @@ -199,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ResourceOfLineItemBidMultipliers - a model defined in OpenAPI + """ResourceOfChangeDatesOfBalanceV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,7 +232,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (LineItemBidMultipliers): [optional] # noqa: E501 + attributes (ChangeDatesOfBalanceV2): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_common_line_item.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_common_line_item.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_common_line_item.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_common_line_item.py index 5f16ef00..1359ba7f 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_common_line_item.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_common_line_item.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_common_line_item import ExternalCommonLineItem + from criteo_api_retailmedia_v2024_10.model.external_common_line_item import ExternalCommonLineItem globals()['ExternalCommonLineItem'] = ExternalCommonLineItem diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_create_balance_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_create_balance_v2.py new file mode 100644 index 00000000..f33e3e35 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_create_balance_v2.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.create_balance_v2 import CreateBalanceV2 + globals()['CreateBalanceV2'] = CreateBalanceV2 + + +class ResourceOfCreateBalanceV2(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (CreateBalanceV2,), # noqa: E501 + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ResourceOfCreateBalanceV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (CreateBalanceV2): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ResourceOfCreateBalanceV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (CreateBalanceV2): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_creative202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_creative202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative202110.py index ec5641eb..fa3930f2 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_creative202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.creative202110 import Creative202110 + from criteo_api_retailmedia_v2024_10.model.creative202110 import Creative202110 globals()['Creative202110'] = Creative202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_creative202210.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative202210.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_creative202210.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative202210.py index 6b5062f0..e9be1d1f 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_creative202210.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative202210.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.creative202210 import Creative202210 + from criteo_api_retailmedia_v2024_10.model.creative202210 import Creative202210 globals()['Creative202210'] = Creative202210 diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative_v2.py new file mode 100644 index 00000000..b655d92e --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_creative_v2.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.external_creative_v2 import ExternalCreativeV2 + globals()['ExternalCreativeV2'] = ExternalCreativeV2 + + +class ResourceOfCreativeV2(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (ExternalCreativeV2,), # noqa: E501 + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ResourceOfCreativeV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (ExternalCreativeV2): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ResourceOfCreativeV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (ExternalCreativeV2): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_line_item_bid_multipliers_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_line_item_bid_multipliers_v2.py new file mode 100644 index 00000000..bca1c2f8 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_line_item_bid_multipliers_v2.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.external_line_item_bid_multipliers_v2 import ExternalLineItemBidMultipliersV2 + globals()['ExternalLineItemBidMultipliersV2'] = ExternalLineItemBidMultipliersV2 + + +class ResourceOfLineItemBidMultipliersV2(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (ExternalLineItemBidMultipliersV2,), # noqa: E501 + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ResourceOfLineItemBidMultipliersV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (ExternalLineItemBidMultipliersV2): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ResourceOfLineItemBidMultipliersV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (ExternalLineItemBidMultipliersV2): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_update_model_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_update_model_v2.py new file mode 100644 index 00000000..ddfd2046 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_update_model_v2.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.external_preferred_line_item_update_model_v2 import ExternalPreferredLineItemUpdateModelV2 + globals()['ExternalPreferredLineItemUpdateModelV2'] = ExternalPreferredLineItemUpdateModelV2 + + +class ResourceOfPreferredLineItemUpdateModelV2(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + 'attributes': (ExternalPreferredLineItemUpdateModelV2,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ResourceOfPreferredLineItemUpdateModelV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + attributes (ExternalPreferredLineItemUpdateModelV2): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ResourceOfPreferredLineItemUpdateModelV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + attributes (ExternalPreferredLineItemUpdateModelV2): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_v2.py similarity index 93% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_v2.py index 750427a1..10fe5868 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_preferred_line_item202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_v2.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_preferred_line_item202110 import ExternalPreferredLineItem202110 - globals()['ExternalPreferredLineItem202110'] = ExternalPreferredLineItem202110 + from criteo_api_retailmedia_v2024_10.model.external_preferred_line_item_v2 import ExternalPreferredLineItemV2 + globals()['ExternalPreferredLineItemV2'] = ExternalPreferredLineItemV2 -class ResourceOfPreferredLineItem202110(ModelNormal): +class ResourceOfPreferredLineItemV2(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): return { 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 - 'attributes': (ExternalPreferredLineItem202110,), # noqa: E501 + 'attributes': (ExternalPreferredLineItemV2,), # noqa: E501 } @cached_property @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ResourceOfPreferredLineItem202110 - a model defined in OpenAPI + """ResourceOfPreferredLineItemV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -146,7 +146,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501 + attributes (ExternalPreferredLineItemV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -199,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ResourceOfPreferredLineItem202110 - a model defined in OpenAPI + """ResourceOfPreferredLineItemV2 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -234,7 +234,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 - attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501 + attributes (ExternalPreferredLineItemV2): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_retail_media_account.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_retail_media_account.py new file mode 100644 index 00000000..6b198d41 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_retail_media_account.py @@ -0,0 +1,270 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.retail_media_account import RetailMediaAccount + globals()['RetailMediaAccount'] = RetailMediaAccount + + +class ResourceOfRetailMediaAccount(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (RetailMediaAccount,), # noqa: E501 + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ResourceOfRetailMediaAccount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (RetailMediaAccount): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ResourceOfRetailMediaAccount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (RetailMediaAccount): [optional] # noqa: E501 + id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_template.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_template.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_template.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_template.py index 09353e5d..8900af37 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_of_template.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_template.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.template import Template + from criteo_api_retailmedia_v2024_10.model.template import Template globals()['Template'] = Template diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_update_balance_model_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_update_balance_model_v2.py new file mode 100644 index 00000000..e0078190 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_of_update_balance_model_v2.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.update_balance_model_v2 import UpdateBalanceModelV2 + globals()['UpdateBalanceModelV2'] = UpdateBalanceModelV2 + + +class ResourceOfUpdateBalanceModelV2(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (UpdateBalanceModelV2,), # noqa: E501 + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ResourceOfUpdateBalanceModelV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (UpdateBalanceModelV2): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ResourceOfUpdateBalanceModelV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (UpdateBalanceModelV2): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_outcome.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_outcome.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_outcome.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_outcome.py index d5d38134..1e1c6155 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/resource_outcome.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_outcome.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rmca_common_problem import RmcaCommonProblem + from criteo_api_retailmedia_v2024_10.model.rmca_common_problem import RmcaCommonProblem globals()['RmcaCommonProblem'] = RmcaCommonProblem diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_outcome_of_retail_media_account.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_outcome_of_retail_media_account.py new file mode 100644 index 00000000..5b100f6d --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/resource_outcome_of_retail_media_account.py @@ -0,0 +1,274 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.resource_of_retail_media_account import ResourceOfRetailMediaAccount + globals()['CommonProblem'] = CommonProblem + globals()['ResourceOfRetailMediaAccount'] = ResourceOfRetailMediaAccount + + +class ResourceOutcomeOfRetailMediaAccount(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (ResourceOfRetailMediaAccount,), # noqa: E501 + 'warnings': ([CommonProblem], none_type,), # noqa: E501 + 'errors': ([CommonProblem], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + 'errors': 'errors', # noqa: E501 + } + + read_only_vars = { + 'warnings', # noqa: E501 + 'errors', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ResourceOutcomeOfRetailMediaAccount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfRetailMediaAccount): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ResourceOutcomeOfRetailMediaAccount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfRetailMediaAccount): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_account.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_account.py new file mode 100644 index 00000000..0c9b1d87 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_account.py @@ -0,0 +1,301 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RetailMediaAccount(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('type',): { + 'None': None, + 'UNKNOWN': "Unknown", + 'SUPPLY': "Supply", + 'DEMAND': "Demand", + }, + ('sub_type',): { + 'None': None, + 'UNKNOWN': "Unknown", + 'BRAND': "Brand", + 'SELLER': "Seller", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'name': (str, none_type,), # noqa: E501 + 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + 'sub_type': (str, none_type,), # noqa: E501 + 'country_ids': ([str], none_type,), # noqa: E501 + 'currency_id': (str, none_type,), # noqa: E501 + 'parent_account_label': (str, none_type,), # noqa: E501 + 'time_zone': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 + 'type': 'type', # noqa: E501 + 'sub_type': 'subType', # noqa: E501 + 'country_ids': 'countryIds', # noqa: E501 + 'currency_id': 'currencyId', # noqa: E501 + 'parent_account_label': 'parentAccountLabel', # noqa: E501 + 'time_zone': 'timeZone', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RetailMediaAccount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str, none_type): account name. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 + type (str, none_type): Type for the account. [optional] # noqa: E501 + sub_type (str, none_type): subtype for the account. [optional] # noqa: E501 + country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501 + currency_id (str, none_type): the currency for the account. [optional] # noqa: E501 + parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501 + time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RetailMediaAccount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str, none_type): account name. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 + type (str, none_type): Type for the account. [optional] # noqa: E501 + sub_type (str, none_type): subtype for the account. [optional] # noqa: E501 + country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501 + currency_id (str, none_type): the currency for the account. [optional] # noqa: E501 + parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501 + time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_brand_account_creation.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_brand_account_creation.py new file mode 100644 index 00000000..b5e23993 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_brand_account_creation.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RetailMediaBrandAccountCreation(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'name': (str, none_type,), # noqa: E501 + 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 + 'brands': ([int], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 + 'brands': 'brands', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RetailMediaBrandAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 + brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RetailMediaBrandAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 + brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_brands.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_brands.py new file mode 100644 index 00000000..b2139f70 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_brands.py @@ -0,0 +1,257 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RetailMediaBrands(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'brand_ids': ([int], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'brand_ids': 'brandIds', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RetailMediaBrands - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + brand_ids ([int], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RetailMediaBrands - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + brand_ids ([int], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment.py similarity index 89% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment.py index bb286a70..888fe2be 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/audience.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_attributes import AudienceAttributes - globals()['AudienceAttributes'] = AudienceAttributes + from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_amendment_attributes import RetailMediaContactlistAmendmentAttributes + globals()['RetailMediaContactlistAmendmentAttributes'] = RetailMediaContactlistAmendmentAttributes -class Audience(ModelNormal): +class RetailMediaContactlistAmendment(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,9 +87,8 @@ def openapi_types(): """ lazy_import() return { - 'type': (str,), # noqa: E501 - 'id': (str,), # noqa: E501 - 'attributes': (AudienceAttributes,), # noqa: E501 + 'attributes': (RetailMediaContactlistAmendmentAttributes,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 } @cached_property @@ -98,9 +97,8 @@ def discriminator(): attribute_map = { - 'type': 'type', # noqa: E501 - 'id': 'id', # noqa: E501 'attributes': 'attributes', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -110,13 +108,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, type, id, attributes, *args, **kwargs): # noqa: E501 - """Audience - a model defined in OpenAPI + def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501 + """RetailMediaContactlistAmendment - a model defined in OpenAPI Args: - type (str): the name of the entity type - id (str): id of the Audience - attributes (AudienceAttributes): + attributes (RetailMediaContactlistAmendmentAttributes): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -149,6 +145,7 @@ def _from_openapi_data(cls, type, id, attributes, *args, **kwargs): # noqa: E50 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + type (str, none_type): User List. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -180,8 +177,6 @@ def _from_openapi_data(cls, type, id, attributes, *args, **kwargs): # noqa: E50 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.type = type - self.id = id self.attributes = attributes for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -203,13 +198,11 @@ def _from_openapi_data(cls, type, id, attributes, *args, **kwargs): # noqa: E50 ]) @convert_js_args_to_python_args - def __init__(self, type, id, attributes, *args, **kwargs): # noqa: E501 - """Audience - a model defined in OpenAPI + def __init__(self, attributes, *args, **kwargs): # noqa: E501 + """RetailMediaContactlistAmendment - a model defined in OpenAPI Args: - type (str): the name of the entity type - id (str): id of the Audience - attributes (AudienceAttributes): + attributes (RetailMediaContactlistAmendmentAttributes): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -242,6 +235,7 @@ def __init__(self, type, id, attributes, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + type (str, none_type): User List. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -271,8 +265,6 @@ def __init__(self, type, id, attributes, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.type = type - self.id = id self.attributes = attributes for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_attributes.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_attributes.py new file mode 100644 index 00000000..3d6b7117 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_attributes.py @@ -0,0 +1,292 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RetailMediaContactlistAmendmentAttributes(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('operation',): { + 'ADD': "add", + 'REMOVE': "remove", + }, + ('identifier_type',): { + 'None': None, + 'EMAIL': "Email", + 'USERIDENTIFIER': "UserIdentifier", + 'IDENTITYLINK': "IdentityLink", + 'GUM': "Gum", + 'CUSTOMERID': "CustomerId", + 'PHONENUMBER': "PhoneNumber", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'operation': (str,), # noqa: E501 + 'identifiers': ([str],), # noqa: E501 + 'identifier_type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'operation': 'operation', # noqa: E501 + 'identifiers': 'identifiers', # noqa: E501 + 'identifier_type': 'identifierType', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E501 + """RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI + + Args: + operation (str): Whether to add or remove users + identifiers ([str]): The users to add or remove, each in the schema specified + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.operation = operation + self.identifiers = identifiers + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501 + """RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI + + Args: + operation (str): Whether to add or remove users + identifiers ([str]): The users to add or remove, each in the schema specified + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.operation = operation + self.identifiers = identifiers + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_request.py new file mode 100644 index 00000000..879dd391 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_request.py @@ -0,0 +1,275 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_amendment import RetailMediaContactlistAmendment + globals()['RetailMediaContactlistAmendment'] = RetailMediaContactlistAmendment + + +class RetailMediaContactlistAmendmentRequest(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (RetailMediaContactlistAmendment,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 + """RetailMediaContactlistAmendmentRequest - a model defined in OpenAPI + + Args: + data (RetailMediaContactlistAmendment): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, data, *args, **kwargs): # noqa: E501 + """RetailMediaContactlistAmendmentRequest - a model defined in OpenAPI + + Args: + data (RetailMediaContactlistAmendment): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/get_audiences_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation.py similarity index 91% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/get_audiences_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation.py index e9ea1f4f..4c1d2b27 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/get_audiences_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,19 +26,19 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience import Audience - from criteo_api_marketingsolutions_v2023_07.model.audience_error import AudienceError - from criteo_api_marketingsolutions_v2023_07.model.audience_warning import AudienceWarning - globals()['Audience'] = Audience + from criteo_api_retailmedia_v2024_10.model.audience_error import AudienceError + from criteo_api_retailmedia_v2024_10.model.audience_warning import AudienceWarning + from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_operation_response_attributes import RetailMediaContactlistOperationResponseAttributes globals()['AudienceError'] = AudienceError globals()['AudienceWarning'] = AudienceWarning + globals()['RetailMediaContactlistOperationResponseAttributes'] = RetailMediaContactlistOperationResponseAttributes -class GetAudiencesResponse(ModelNormal): +class RetailMediaContactlistOperation(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -91,7 +91,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([Audience],), # noqa: E501 + 'data': (RetailMediaContactlistOperationResponseAttributes,), # noqa: E501 'errors': ([AudienceError],), # noqa: E501 'warnings': ([AudienceWarning],), # noqa: E501 } @@ -115,10 +115,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, data, errors, warnings, *args, **kwargs): # noqa: E501 - """GetAudiencesResponse - a model defined in OpenAPI + """RetailMediaContactlistOperation - a model defined in OpenAPI Args: - data ([Audience]): + data (RetailMediaContactlistOperationResponseAttributes): errors ([AudienceError]): warnings ([AudienceWarning]): @@ -208,10 +208,10 @@ def _from_openapi_data(cls, data, errors, warnings, *args, **kwargs): # noqa: E @convert_js_args_to_python_args def __init__(self, data, errors, warnings, *args, **kwargs): # noqa: E501 - """GetAudiencesResponse - a model defined in OpenAPI + """RetailMediaContactlistOperation - a model defined in OpenAPI Args: - data ([Audience]): + data (RetailMediaContactlistOperationResponseAttributes): errors ([AudienceError]): warnings ([AudienceWarning]): diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes.py similarity index 91% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes.py index 4e897418..a43365b3 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/new_audience.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.new_audience_attributes import NewAudienceAttributes - globals()['NewAudienceAttributes'] = NewAudienceAttributes + from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_operation_response_attributes_attributes import RetailMediaContactlistOperationResponseAttributesAttributes + globals()['RetailMediaContactlistOperationResponseAttributesAttributes'] = RetailMediaContactlistOperationResponseAttributesAttributes -class NewAudience(ModelNormal): +class RetailMediaContactlistOperationResponseAttributes(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -88,7 +88,7 @@ def openapi_types(): lazy_import() return { 'type': (str,), # noqa: E501 - 'attributes': (NewAudienceAttributes,), # noqa: E501 + 'attributes': (RetailMediaContactlistOperationResponseAttributesAttributes,), # noqa: E501 } @cached_property @@ -109,11 +109,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, type, attributes, *args, **kwargs): # noqa: E501 - """NewAudience - a model defined in OpenAPI + """RetailMediaContactlistOperationResponseAttributes - a model defined in OpenAPI Args: type (str): the name of the entity type - attributes (NewAudienceAttributes): + attributes (RetailMediaContactlistOperationResponseAttributesAttributes): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -200,11 +200,11 @@ def _from_openapi_data(cls, type, attributes, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, type, attributes, *args, **kwargs): # noqa: E501 - """NewAudience - a model defined in OpenAPI + """RetailMediaContactlistOperationResponseAttributes - a model defined in OpenAPI Args: type (str): the name of the entity type - attributes (NewAudienceAttributes): + attributes (RetailMediaContactlistOperationResponseAttributesAttributes): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes_attributes.py similarity index 77% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes_attributes.py index 21baf6ef..02bdac72 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_operation_response_attributes_attributes.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_user_behavior_details_v2 import RmLegacyAudienceUserBehaviorDetailsV2 - from criteo_api_retailmedia_v2023_07.model.rm_legacy_segment_customer_list import RmLegacySegmentCustomerList - globals()['RmLegacyAudienceUserBehaviorDetailsV2'] = RmLegacyAudienceUserBehaviorDetailsV2 - globals()['RmLegacySegmentCustomerList'] = RmLegacySegmentCustomerList - -class RmLegacyAudienceGetEntityV2(ModelNormal): +class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -72,7 +66,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -87,12 +80,14 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { - 'retailer_id': (str,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'user_behavior_details': (RmLegacyAudienceUserBehaviorDetailsV2,), # noqa: E501 - 'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501 + 'contact_list_id': (int,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'request_date': (datetime,), # noqa: E501 + 'identifier_type': (str, none_type,), # noqa: E501 + 'nb_invalid_identifiers': (int, none_type,), # noqa: E501 + 'nb_valid_identifiers': (int, none_type,), # noqa: E501 + 'sample_invalid_identifiers': ([str], none_type,), # noqa: E501 } @cached_property @@ -101,10 +96,13 @@ def discriminator(): attribute_map = { - 'retailer_id': 'retailerId', # noqa: E501 - 'name': 'name', # noqa: E501 - 'user_behavior_details': 'userBehaviorDetails', # noqa: E501 - 'customer_list_details': 'customerListDetails', # noqa: E501 + 'contact_list_id': 'contactListId', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'request_date': 'requestDate', # noqa: E501 + 'identifier_type': 'identifierType', # noqa: E501 + 'nb_invalid_identifiers': 'nbInvalidIdentifiers', # noqa: E501 + 'nb_valid_identifiers': 'nbValidIdentifiers', # noqa: E501 + 'sample_invalid_identifiers': 'sampleInvalidIdentifiers', # noqa: E501 } read_only_vars = { @@ -114,12 +112,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, retailer_id, name, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI + def _from_openapi_data(cls, contact_list_id, operation, request_date, *args, **kwargs): # noqa: E501 + """RetailMediaContactlistOperationResponseAttributesAttributes - a model defined in OpenAPI Args: - retailer_id (str): ID of the retailer associated with this audience - name (str): Name of the audience + contact_list_id (int): The affected user list id + operation (str): The action recorded + request_date (datetime): When the action was recorded Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -152,8 +151,10 @@ def _from_openapi_data(cls, retailer_id, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501 - customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501 + identifier_type (str, none_type): The schema specified for of the identifiers. [optional] # noqa: E501 + nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501 + nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501 + sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -185,8 +186,9 @@ def _from_openapi_data(cls, retailer_id, name, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.retailer_id = retailer_id - self.name = name + self.contact_list_id = contact_list_id + self.operation = operation + self.request_date = request_date for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -207,12 +209,13 @@ def _from_openapi_data(cls, retailer_id, name, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, retailer_id, name, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI + def __init__(self, contact_list_id, operation, request_date, *args, **kwargs): # noqa: E501 + """RetailMediaContactlistOperationResponseAttributesAttributes - a model defined in OpenAPI Args: - retailer_id (str): ID of the retailer associated with this audience - name (str): Name of the audience + contact_list_id (int): The affected user list id + operation (str): The action recorded + request_date (datetime): When the action was recorded Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -245,8 +248,10 @@ def __init__(self, retailer_id, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501 - customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501 + identifier_type (str, none_type): The schema specified for of the identifiers. [optional] # noqa: E501 + nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501 + nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501 + sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -276,8 +281,9 @@ def __init__(self, retailer_id, name, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.retailer_id = retailer_id - self.name = name + self.contact_list_id = contact_list_id + self.operation = operation + self.request_date = request_date for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_seller.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_seller.py new file mode 100644 index 00000000..6805cce8 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_seller.py @@ -0,0 +1,261 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RetailMediaSeller(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'seller_id': (str, none_type,), # noqa: E501 + 'retailer_id': (int, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'seller_id': 'sellerId', # noqa: E501 + 'retailer_id': 'retailerId', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RetailMediaSeller - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + seller_id (str, none_type): the seller id. [optional] # noqa: E501 + retailer_id (int, none_type): the retailer id. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RetailMediaSeller - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + seller_id (str, none_type): the seller id. [optional] # noqa: E501 + retailer_id (int, none_type): the retailer id. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_seller_account_creation.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_seller_account_creation.py new file mode 100644 index 00000000..110070e3 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/retail_media_seller_account_creation.py @@ -0,0 +1,274 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.retail_media_seller import RetailMediaSeller + globals()['RetailMediaSeller'] = RetailMediaSeller + + +class RetailMediaSellerAccountCreation(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'name': (str, none_type,), # noqa: E501 + 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 + 'sellers': ([RetailMediaSeller], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 + 'sellers': 'sellers', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RetailMediaSellerAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 + sellers ([RetailMediaSeller], none_type): list of sellers to associate to the new account. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RetailMediaSellerAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 + sellers ([RetailMediaSeller], none_type): list of sellers to associate to the new account. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/review_state_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/review_state_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/review_state_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/review_state_model.py index ce1359a8..51c221a3 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/review_state_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/review_state_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_algebra_node_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_algebra_node_v1.py new file mode 100644 index 00000000..8e83a3fb --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_algebra_node_v1.py @@ -0,0 +1,275 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RmAlgebraNodeV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + '_and': ([RmAlgebraNodeV1], none_type,), # noqa: E501 + '_or': ([RmAlgebraNodeV1], none_type,), # noqa: E501 + '_not': (RmAlgebraNodeV1,), # noqa: E501 + 'audience_segment_id': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + '_and': 'and', # noqa: E501 + '_or': 'or', # noqa: E501 + '_not': 'not', # noqa: E501 + 'audience_segment_id': 'audienceSegmentId', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAlgebraNodeV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + _and ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501 + _or ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501 + _not (RmAlgebraNodeV1): [optional] # noqa: E501 + audience_segment_id (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAlgebraNodeV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + _and ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501 + _or ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501 + _not (RmAlgebraNodeV1): [optional] # noqa: E501 + audience_segment_id (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1.py similarity index 76% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1.py index d13649e1..54f2870d 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/campaign.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.campaign_spend_limit import CampaignSpendLimit - globals()['CampaignSpendLimit'] = CampaignSpendLimit + from criteo_api_retailmedia_v2024_10.model.rm_algebra_node_v1 import RmAlgebraNodeV1 + globals()['RmAlgebraNodeV1'] = RmAlgebraNodeV1 -class Campaign(ModelNormal): +class RmAudienceEntityV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -59,11 +59,11 @@ class Campaign(ModelNormal): """ allowed_values = { - ('goal',): { + ('channels',): { 'None': None, - 'UNSPECIFIED': "Unspecified", - 'ACQUISITION': "Acquisition", - 'RETENTION': "Retention", + 'UNKNOWN': "Unknown", + 'ONSITE': "Onsite", + 'OFFSITE': "Offsite", }, } @@ -93,11 +93,15 @@ def openapi_types(): """ lazy_import() return { + 'account_id': (str, none_type,), # noqa: E501 'name': (str, none_type,), # noqa: E501 - 'advertiser_id': (str, none_type,), # noqa: E501 - 'objective': (str, none_type,), # noqa: E501 - 'spend_limit': (CampaignSpendLimit,), # noqa: E501 - 'goal': (str, none_type,), # noqa: E501 + 'description': (str, none_type,), # noqa: E501 + 'retailer_id': (str, none_type,), # noqa: E501 + 'created_by_id': (str, none_type,), # noqa: E501 + 'created_at': (datetime, none_type,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + 'channels': ([str], none_type,), # noqa: E501 + 'algebra': (RmAlgebraNodeV1,), # noqa: E501 } @cached_property @@ -106,11 +110,15 @@ def discriminator(): attribute_map = { + 'account_id': 'accountId', # noqa: E501 'name': 'name', # noqa: E501 - 'advertiser_id': 'advertiserId', # noqa: E501 - 'objective': 'objective', # noqa: E501 - 'spend_limit': 'spendLimit', # noqa: E501 - 'goal': 'goal', # noqa: E501 + 'description': 'description', # noqa: E501 + 'retailer_id': 'retailerId', # noqa: E501 + 'created_by_id': 'createdById', # noqa: E501 + 'created_at': 'createdAt', # noqa: E501 + 'updated_at': 'updatedAt', # noqa: E501 + 'channels': 'channels', # noqa: E501 + 'algebra': 'algebra', # noqa: E501 } read_only_vars = { @@ -121,7 +129,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Campaign - a model defined in OpenAPI + """RmAudienceEntityV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -154,11 +162,15 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - name (str, none_type): [optional] # noqa: E501 - advertiser_id (str, none_type): [optional] # noqa: E501 - objective (str, none_type): [optional] # noqa: E501 - spend_limit (CampaignSpendLimit): [optional] # noqa: E501 - goal (str, none_type): [optional] # noqa: E501 + account_id (str, none_type): Account associated to the audience. [optional] # noqa: E501 + name (str, none_type): Name of the audience. [optional] # noqa: E501 + description (str, none_type): Description of the audience. [optional] # noqa: E501 + retailer_id (str, none_type): Retailer associated to the audience. [optional] # noqa: E501 + created_by_id (str, none_type): User that created the audience. [optional] # noqa: E501 + created_at (datetime, none_type): ISO-8601 timestamp in UTC of audience creation (read-only). [optional] # noqa: E501 + updated_at (datetime, none_type): ISO-8601 timestamp in UTC of audience update (read-only). [optional] # noqa: E501 + channels ([str], none_type): Channels associated to the audience (read-only). [optional] # noqa: E501 + algebra (RmAlgebraNodeV1): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -211,7 +223,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """Campaign - a model defined in OpenAPI + """RmAudienceEntityV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -244,11 +256,15 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - name (str, none_type): [optional] # noqa: E501 - advertiser_id (str, none_type): [optional] # noqa: E501 - objective (str, none_type): [optional] # noqa: E501 - spend_limit (CampaignSpendLimit): [optional] # noqa: E501 - goal (str, none_type): [optional] # noqa: E501 + account_id (str, none_type): Account associated to the audience. [optional] # noqa: E501 + name (str, none_type): Name of the audience. [optional] # noqa: E501 + description (str, none_type): Description of the audience. [optional] # noqa: E501 + retailer_id (str, none_type): Retailer associated to the audience. [optional] # noqa: E501 + created_by_id (str, none_type): User that created the audience. [optional] # noqa: E501 + created_at (datetime, none_type): ISO-8601 timestamp in UTC of audience creation (read-only). [optional] # noqa: E501 + updated_at (datetime, none_type): ISO-8601 timestamp in UTC of audience update (read-only). [optional] # noqa: E501 + channels ([str], none_type): Channels associated to the audience (read-only). [optional] # noqa: E501 + algebra (RmAlgebraNodeV1): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_resource.py similarity index 93% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_resource.py index f5e44562..4fd38d01 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v2 import RmLegacyAudienceGetEntityV2 - globals()['RmLegacyAudienceGetEntityV2'] = RmLegacyAudienceGetEntityV2 + from criteo_api_retailmedia_v2024_10.model.rm_audience_entity_v1 import RmAudienceEntityV1 + globals()['RmAudienceEntityV1'] = RmAudienceEntityV1 -class RmLegacyAudienceGetEntityV2Resource(ModelNormal): +class RmAudienceEntityV1Resource(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (RmLegacyAudienceGetEntityV2,), # noqa: E501 + 'attributes': (RmAudienceEntityV1,), # noqa: E501 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 } @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2Resource - a model defined in OpenAPI + """RmAudienceEntityV1Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -144,7 +144,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceGetEntityV2): [optional] # noqa: E501 + attributes (RmAudienceEntityV1): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ @@ -199,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2Resource - a model defined in OpenAPI + """RmAudienceEntityV1Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,7 +232,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceGetEntityV2): [optional] # noqa: E501 + attributes (RmAudienceEntityV1): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py new file mode 100644 index 00000000..357b9b7e --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py @@ -0,0 +1,287 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.rm_audience_entity_v1_resource import RmAudienceEntityV1Resource + from criteo_api_retailmedia_v2024_10.model.rm_audience_search_metadata_v1 import RmAudienceSearchMetadataV1 + globals()['CommonProblem'] = CommonProblem + globals()['RmAudienceEntityV1Resource'] = RmAudienceEntityV1Resource + globals()['RmAudienceSearchMetadataV1'] = RmAudienceSearchMetadataV1 + + +class RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'meta': (RmAudienceSearchMetadataV1,), # noqa: E501 + 'data': ([RmAudienceEntityV1Resource], none_type,), # noqa: E501 + 'warnings': ([CommonProblem], none_type,), # noqa: E501 + 'errors': ([CommonProblem], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'meta': 'meta', # noqa: E501 + 'data': 'data', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + 'errors': 'errors', # noqa: E501 + } + + read_only_vars = { + 'warnings', # noqa: E501 + 'errors', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (RmAudienceSearchMetadataV1): [optional] # noqa: E501 + data ([RmAudienceEntityV1Resource], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (RmAudienceSearchMetadataV1): [optional] # noqa: E501 + data ([RmAudienceEntityV1Resource], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1.py new file mode 100644 index 00000000..66442a89 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1.py @@ -0,0 +1,271 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RmAudienceSearchEntityV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'audience_ids': ([str], none_type,), # noqa: E501 + 'retailer_ids': ([str], none_type,), # noqa: E501 + 'audience_segment_ids': ([str], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'audience_ids': 'audienceIds', # noqa: E501 + 'retailer_ids': 'retailerIds', # noqa: E501 + 'audience_segment_ids': 'audienceSegmentIds', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSearchEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + audience_ids ([str], none_type): List of audience ids. [optional] # noqa: E501 + retailer_ids ([str], none_type): List of retailer ids. [optional] # noqa: E501 + audience_segment_ids ([str], none_type): List of segment ids (linked to the result audiences). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSearchEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + audience_ids ([str], none_type): List of audience ids. [optional] # noqa: E501 + retailer_ids ([str], none_type): List of retailer ids. [optional] # noqa: E501 + audience_segment_ids ([str], none_type): List of segment ids (linked to the result audiences). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1_resource.py new file mode 100644 index 00000000..84b7db72 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_entity_v1_resource.py @@ -0,0 +1,273 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.rm_audience_search_entity_v1 import RmAudienceSearchEntityV1 + globals()['RmAudienceSearchEntityV1'] = RmAudienceSearchEntityV1 + + +class RmAudienceSearchEntityV1Resource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'type': (str, none_type,), # noqa: E501 + 'attributes': (RmAudienceSearchEntityV1,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSearchEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RmAudienceSearchEntityV1): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSearchEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RmAudienceSearchEntityV1): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/requests_patch_ad_set.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_input_v1.py similarity index 92% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/requests_patch_ad_set.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_input_v1.py index 9ae8a4cc..e8f90caa 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/requests_patch_ad_set.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_input_v1.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.write_model_patch_ad_set import WriteModelPatchAdSet - globals()['WriteModelPatchAdSet'] = WriteModelPatchAdSet + from criteo_api_retailmedia_v2024_10.model.rm_audience_search_entity_v1_resource import RmAudienceSearchEntityV1Resource + globals()['RmAudienceSearchEntityV1Resource'] = RmAudienceSearchEntityV1Resource -class RequestsPatchAdSet(ModelNormal): +class RmAudienceSearchInputV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([WriteModelPatchAdSet], none_type,), # noqa: E501 + 'data': (RmAudienceSearchEntityV1Resource,), # noqa: E501 } @cached_property @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RequestsPatchAdSet - a model defined in OpenAPI + """RmAudienceSearchInputV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([WriteModelPatchAdSet], none_type): [optional] # noqa: E501 + data (RmAudienceSearchEntityV1Resource): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RequestsPatchAdSet - a model defined in OpenAPI + """RmAudienceSearchInputV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([WriteModelPatchAdSet], none_type): [optional] # noqa: E501 + data (RmAudienceSearchEntityV1Resource): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_metadata_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_metadata_v1.py new file mode 100644 index 00000000..6c738799 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_search_metadata_v1.py @@ -0,0 +1,271 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RmAudienceSearchMetadataV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'total_items': (int, none_type,), # noqa: E501 + 'limit': (int, none_type,), # noqa: E501 + 'offset': (int, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'total_items': 'totalItems', # noqa: E501 + 'limit': 'limit', # noqa: E501 + 'offset': 'offset', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSearchMetadataV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + total_items (int, none_type): Total number of items. [optional] # noqa: E501 + limit (int, none_type): Max item of the current page. [optional] # noqa: E501 + offset (int, none_type): Number of item to skip. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSearchMetadataV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + total_items (int, none_type): Total number of items. [optional] # noqa: E501 + limit (int, none_type): Max item of the current page. [optional] # noqa: E501 + offset (int, none_type): Number of item to skip. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_create_input_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_create_input_v1.py new file mode 100644 index 00000000..aa1e0cf7 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_create_input_v1.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_create_entity_v1_resource import RmAudienceSegmentCreateEntityV1Resource + globals()['RmAudienceSegmentCreateEntityV1Resource'] = RmAudienceSegmentCreateEntityV1Resource + + +class RmAudienceSegmentBulkCreateInputV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([RmAudienceSegmentCreateEntityV1Resource], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentBulkCreateInputV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([RmAudienceSegmentCreateEntityV1Resource], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentBulkCreateInputV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([RmAudienceSegmentCreateEntityV1Resource], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_delete_input_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_delete_input_v1.py new file mode 100644 index 00000000..be125c4d --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_delete_input_v1.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_delete_entity_v1_resource import RmAudienceSegmentDeleteEntityV1Resource + globals()['RmAudienceSegmentDeleteEntityV1Resource'] = RmAudienceSegmentDeleteEntityV1Resource + + +class RmAudienceSegmentBulkDeleteInputV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([RmAudienceSegmentDeleteEntityV1Resource], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentBulkDeleteInputV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([RmAudienceSegmentDeleteEntityV1Resource], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentBulkDeleteInputV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([RmAudienceSegmentDeleteEntityV1Resource], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_update_input_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_update_input_v1.py new file mode 100644 index 00000000..c71e646a --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_bulk_update_input_v1.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_update_entity_v1_resource import RmAudienceSegmentUpdateEntityV1Resource + globals()['RmAudienceSegmentUpdateEntityV1Resource'] = RmAudienceSegmentUpdateEntityV1Resource + + +class RmAudienceSegmentBulkUpdateInputV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([RmAudienceSegmentUpdateEntityV1Resource], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentBulkUpdateInputV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([RmAudienceSegmentUpdateEntityV1Resource], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentBulkUpdateInputV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([RmAudienceSegmentUpdateEntityV1Resource], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1.py similarity index 87% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1.py index e141c17c..99c5f88a 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_user_behavior_create_v2 import RmLegacyAudienceUserBehaviorCreateV2 - globals()['RmLegacyAudienceUserBehaviorCreateV2'] = RmLegacyAudienceUserBehaviorCreateV2 + from criteo_api_retailmedia_v2024_10.model.rm_contact_list_create_v1 import RmContactListCreateV1 + globals()['RmContactListCreateV1'] = RmContactListCreateV1 -class RmLegacyAudienceCreateEntityV2(ModelNormal): +class RmAudienceSegmentCreateEntityV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,9 +87,10 @@ def openapi_types(): """ lazy_import() return { - 'retailer_id': (int,), # noqa: E501 - 'user_behavior_details': (RmLegacyAudienceUserBehaviorCreateV2,), # noqa: E501 'name': (str,), # noqa: E501 + 'retailer_id': (str,), # noqa: E501 + 'description': (str, none_type,), # noqa: E501 + 'contact_list': (RmContactListCreateV1,), # noqa: E501 } @cached_property @@ -98,9 +99,10 @@ def discriminator(): attribute_map = { - 'retailer_id': 'retailerId', # noqa: E501 - 'user_behavior_details': 'userBehaviorDetails', # noqa: E501 'name': 'name', # noqa: E501 + 'retailer_id': 'retailerId', # noqa: E501 + 'description': 'description', # noqa: E501 + 'contact_list': 'contactList', # noqa: E501 } read_only_vars = { @@ -110,13 +112,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, retailer_id, user_behavior_details, name, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI + def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentCreateEntityV1 - a model defined in OpenAPI Args: - retailer_id (int): ID of the retailer associated with this audience - user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2): - name (str): Name of the audience + name (str): Name of the segment + retailer_id (str): Retailer associated to the segment Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -149,6 +150,8 @@ def _from_openapi_data(cls, retailer_id, user_behavior_details, name, *args, **k Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + description (str, none_type): Description of the segment. [optional] # noqa: E501 + contact_list (RmContactListCreateV1): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -180,9 +183,8 @@ def _from_openapi_data(cls, retailer_id, user_behavior_details, name, *args, **k self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.retailer_id = retailer_id - self.user_behavior_details = user_behavior_details self.name = name + self.retailer_id = retailer_id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -203,13 +205,12 @@ def _from_openapi_data(cls, retailer_id, user_behavior_details, name, *args, **k ]) @convert_js_args_to_python_args - def __init__(self, retailer_id, user_behavior_details, name, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI + def __init__(self, name, retailer_id, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentCreateEntityV1 - a model defined in OpenAPI Args: - retailer_id (int): ID of the retailer associated with this audience - user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2): - name (str): Name of the audience + name (str): Name of the segment + retailer_id (str): Retailer associated to the segment Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -242,6 +243,8 @@ def __init__(self, retailer_id, user_behavior_details, name, *args, **kwargs): Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + description (str, none_type): Description of the segment. [optional] # noqa: E501 + contact_list (RmContactListCreateV1): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -271,9 +274,8 @@ def __init__(self, retailer_id, user_behavior_details, name, *args, **kwargs): self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.retailer_id = retailer_id - self.user_behavior_details = user_behavior_details self.name = name + self.retailer_id = retailer_id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1_resource.py new file mode 100644 index 00000000..782b4dfb --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_create_entity_v1_resource.py @@ -0,0 +1,273 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_create_entity_v1 import RmAudienceSegmentCreateEntityV1 + globals()['RmAudienceSegmentCreateEntityV1'] = RmAudienceSegmentCreateEntityV1 + + +class RmAudienceSegmentCreateEntityV1Resource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'type': (str, none_type,), # noqa: E501 + 'attributes': (RmAudienceSegmentCreateEntityV1,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentCreateEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RmAudienceSegmentCreateEntityV1): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentCreateEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RmAudienceSegmentCreateEntityV1): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_delete_entity_v1_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_delete_entity_v1_resource.py new file mode 100644 index 00000000..3c30b1b7 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_delete_entity_v1_resource.py @@ -0,0 +1,271 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RmAudienceSegmentDeleteEntityV1Resource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'attributes': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentDeleteEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Segment to delete. [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentDeleteEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Segment to delete. [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1.py new file mode 100644 index 00000000..de3520dc --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1.py @@ -0,0 +1,323 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.rm_contact_list_v1 import RmContactListV1 + from criteo_api_retailmedia_v2024_10.model.rm_events_v1 import RmEventsV1 + globals()['RmContactListV1'] = RmContactListV1 + globals()['RmEventsV1'] = RmEventsV1 + + +class RmAudienceSegmentEntityV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('type',): { + 'None': None, + 'UNKNOWN': "Unknown", + 'CONTACTLIST': "ContactList", + 'EVENTS': "Events", + }, + ('channels',): { + 'None': None, + 'UNKNOWN': "Unknown", + 'ONSITE': "Onsite", + 'OFFSITE': "Offsite", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'account_id': (str, none_type,), # noqa: E501 + 'name': (str, none_type,), # noqa: E501 + 'description': (str, none_type,), # noqa: E501 + 'retailer_id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + 'created_at': (datetime, none_type,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + 'created_by_id': (str, none_type,), # noqa: E501 + 'contact_list': (RmContactListV1,), # noqa: E501 + 'events': (RmEventsV1,), # noqa: E501 + 'channels': ([str], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'account_id': 'accountId', # noqa: E501 + 'name': 'name', # noqa: E501 + 'description': 'description', # noqa: E501 + 'retailer_id': 'retailerId', # noqa: E501 + 'type': 'type', # noqa: E501 + 'created_at': 'createdAt', # noqa: E501 + 'updated_at': 'updatedAt', # noqa: E501 + 'created_by_id': 'createdById', # noqa: E501 + 'contact_list': 'contactList', # noqa: E501 + 'events': 'events', # noqa: E501 + 'channels': 'channels', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + account_id (str, none_type): Account associated to the segment. [optional] # noqa: E501 + name (str, none_type): Name of the segment. [optional] # noqa: E501 + description (str, none_type): Description of the segment. [optional] # noqa: E501 + retailer_id (str, none_type): Retailer associated to the segment. [optional] # noqa: E501 + type (str, none_type): Type of segment (read-only). [optional] # noqa: E501 + created_at (datetime, none_type): ISO-8601 timestamp in UTC of segment creation (read-only). [optional] # noqa: E501 + updated_at (datetime, none_type): ISO-8601 timestamp in UTC of segment update (read-only). [optional] # noqa: E501 + created_by_id (str, none_type): User that created the segment. [optional] # noqa: E501 + contact_list (RmContactListV1): [optional] # noqa: E501 + events (RmEventsV1): [optional] # noqa: E501 + channels ([str], none_type): Channels associated to the segment (read-only). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + account_id (str, none_type): Account associated to the segment. [optional] # noqa: E501 + name (str, none_type): Name of the segment. [optional] # noqa: E501 + description (str, none_type): Description of the segment. [optional] # noqa: E501 + retailer_id (str, none_type): Retailer associated to the segment. [optional] # noqa: E501 + type (str, none_type): Type of segment (read-only). [optional] # noqa: E501 + created_at (datetime, none_type): ISO-8601 timestamp in UTC of segment creation (read-only). [optional] # noqa: E501 + updated_at (datetime, none_type): ISO-8601 timestamp in UTC of segment update (read-only). [optional] # noqa: E501 + created_by_id (str, none_type): User that created the segment. [optional] # noqa: E501 + contact_list (RmContactListV1): [optional] # noqa: E501 + events (RmEventsV1): [optional] # noqa: E501 + channels ([str], none_type): Channels associated to the segment (read-only). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_list_response.py similarity index 92% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_list_response.py index 843bcc5e..b6d3ac9f 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_problem import CommonProblem - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v2_resource import RmLegacyAudienceCreateEntityV2Resource + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_resource import RmAudienceSegmentEntityV1Resource globals()['CommonProblem'] = CommonProblem - globals()['RmLegacyAudienceCreateEntityV2Resource'] = RmLegacyAudienceCreateEntityV2Resource + globals()['RmAudienceSegmentEntityV1Resource'] = RmAudienceSegmentEntityV1Resource -class RmLegacyAudienceCreateEntityV2Response(ModelNormal): +class RmAudienceSegmentEntityV1ListResponse(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (RmLegacyAudienceCreateEntityV2Resource,), # noqa: E501 + 'data': ([RmAudienceSegmentEntityV1Resource], none_type,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -115,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV2Response - a model defined in OpenAPI + """RmAudienceSegmentEntityV1ListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501 + data ([RmAudienceSegmentEntityV1Resource], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -203,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV2Response - a model defined in OpenAPI + """RmAudienceSegmentEntityV1ListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501 + data ([RmAudienceSegmentEntityV1Resource], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_resource.py similarity index 93% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_resource.py index 989742b2..a45e3359 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v1_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v1 import RmLegacyAudienceCreateEntityV1 - globals()['RmLegacyAudienceCreateEntityV1'] = RmLegacyAudienceCreateEntityV1 + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1 import RmAudienceSegmentEntityV1 + globals()['RmAudienceSegmentEntityV1'] = RmAudienceSegmentEntityV1 -class RmLegacyAudienceCreateEntityV1Resource(ModelNormal): +class RmAudienceSegmentEntityV1Resource(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (RmLegacyAudienceCreateEntityV1,), # noqa: E501 + 'attributes': (RmAudienceSegmentEntityV1,), # noqa: E501 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 } @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV1Resource - a model defined in OpenAPI + """RmAudienceSegmentEntityV1Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -144,7 +144,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceCreateEntityV1): [optional] # noqa: E501 + attributes (RmAudienceSegmentEntityV1): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ @@ -199,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV1Resource - a model defined in OpenAPI + """RmAudienceSegmentEntityV1Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,7 +232,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceCreateEntityV1): [optional] # noqa: E501 + attributes (RmAudienceSegmentEntityV1): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py new file mode 100644 index 00000000..84cb71a3 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py @@ -0,0 +1,287 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_resource import RmAudienceSegmentEntityV1Resource + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_search_metadata_v1 import RmAudienceSegmentSearchMetadataV1 + globals()['CommonProblem'] = CommonProblem + globals()['RmAudienceSegmentEntityV1Resource'] = RmAudienceSegmentEntityV1Resource + globals()['RmAudienceSegmentSearchMetadataV1'] = RmAudienceSegmentSearchMetadataV1 + + +class RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'meta': (RmAudienceSegmentSearchMetadataV1,), # noqa: E501 + 'data': ([RmAudienceSegmentEntityV1Resource], none_type,), # noqa: E501 + 'warnings': ([CommonProblem], none_type,), # noqa: E501 + 'errors': ([CommonProblem], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'meta': 'meta', # noqa: E501 + 'data': 'data', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + 'errors': 'errors', # noqa: E501 + } + + read_only_vars = { + 'warnings', # noqa: E501 + 'errors', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (RmAudienceSegmentSearchMetadataV1): [optional] # noqa: E501 + data ([RmAudienceSegmentEntityV1Resource], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (RmAudienceSegmentSearchMetadataV1): [optional] # noqa: E501 + data ([RmAudienceSegmentEntityV1Resource], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_list_response.py similarity index 93% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_list_response.py index b4a240d6..b6ceb7d7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v2_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_list_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_problem import CommonProblem - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v2_resource import RmLegacyAudienceGetEntityV2Resource + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_id_entity_v1_resource import RmAudienceSegmentIdEntityV1Resource globals()['CommonProblem'] = CommonProblem - globals()['RmLegacyAudienceGetEntityV2Resource'] = RmLegacyAudienceGetEntityV2Resource + globals()['RmAudienceSegmentIdEntityV1Resource'] = RmAudienceSegmentIdEntityV1Resource -class RmLegacyAudienceGetEntityV2ListResponse(ModelNormal): +class RmAudienceSegmentIdEntityV1ListResponse(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([RmLegacyAudienceGetEntityV2Resource], none_type,), # noqa: E501 + 'data': ([RmAudienceSegmentIdEntityV1Resource], none_type,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -115,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2ListResponse - a model defined in OpenAPI + """RmAudienceSegmentIdEntityV1ListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([RmLegacyAudienceGetEntityV2Resource], none_type): [optional] # noqa: E501 + data ([RmAudienceSegmentIdEntityV1Resource], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -203,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2ListResponse - a model defined in OpenAPI + """RmAudienceSegmentIdEntityV1ListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([RmLegacyAudienceGetEntityV2Resource], none_type): [optional] # noqa: E501 + data ([RmAudienceSegmentIdEntityV1Resource], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_resource.py new file mode 100644 index 00000000..5db68514 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_id_entity_v1_resource.py @@ -0,0 +1,271 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RmAudienceSegmentIdEntityV1Resource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'attributes': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentIdEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Audience Segment entity only with its ID. [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentIdEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Audience Segment entity only with its ID. [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1.py new file mode 100644 index 00000000..5231ace8 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RmAudienceSegmentSearchEntityV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('audience_segment_types',): { + 'None': None, + 'UNKNOWN': "Unknown", + 'CONTACTLIST': "ContactList", + 'EVENTS': "Events", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'audience_segment_ids': ([str], none_type,), # noqa: E501 + 'retailer_ids': ([str], none_type,), # noqa: E501 + 'audience_segment_types': ([str], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'audience_segment_ids': 'audienceSegmentIds', # noqa: E501 + 'retailer_ids': 'retailerIds', # noqa: E501 + 'audience_segment_types': 'audienceSegmentTypes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentSearchEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + audience_segment_ids ([str], none_type): List of segment ids. [optional] # noqa: E501 + retailer_ids ([str], none_type): List of retailer ids. [optional] # noqa: E501 + audience_segment_types ([str], none_type): List of segment types. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentSearchEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + audience_segment_ids ([str], none_type): List of segment ids. [optional] # noqa: E501 + retailer_ids ([str], none_type): List of retailer ids. [optional] # noqa: E501 + audience_segment_types ([str], none_type): List of segment types. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1_resource.py new file mode 100644 index 00000000..490de4e5 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_entity_v1_resource.py @@ -0,0 +1,273 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_search_entity_v1 import RmAudienceSegmentSearchEntityV1 + globals()['RmAudienceSegmentSearchEntityV1'] = RmAudienceSegmentSearchEntityV1 + + +class RmAudienceSegmentSearchEntityV1Resource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'type': (str, none_type,), # noqa: E501 + 'attributes': (RmAudienceSegmentSearchEntityV1,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentSearchEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RmAudienceSegmentSearchEntityV1): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentSearchEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RmAudienceSegmentSearchEntityV1): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_input_v1.py similarity index 92% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v2.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_input_v1.py index 1dcc8d41..9c5df49f 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_input_entity_v2.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_input_v1.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v2_resource import RmLegacyAudienceCreateEntityV2Resource - globals()['RmLegacyAudienceCreateEntityV2Resource'] = RmLegacyAudienceCreateEntityV2Resource + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_search_entity_v1_resource import RmAudienceSegmentSearchEntityV1Resource + globals()['RmAudienceSegmentSearchEntityV1Resource'] = RmAudienceSegmentSearchEntityV1Resource -class RmLegacyAudienceCreateInputEntityV2(ModelNormal): +class RmAudienceSegmentSearchInputV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (RmLegacyAudienceCreateEntityV2Resource,), # noqa: E501 + 'data': (RmAudienceSegmentSearchEntityV1Resource,), # noqa: E501 } @cached_property @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateInputEntityV2 - a model defined in OpenAPI + """RmAudienceSegmentSearchInputV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501 + data (RmAudienceSegmentSearchEntityV1Resource): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateInputEntityV2 - a model defined in OpenAPI + """RmAudienceSegmentSearchInputV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501 + data (RmAudienceSegmentSearchEntityV1Resource): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_metadata_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_metadata_v1.py new file mode 100644 index 00000000..7b4ae38c --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_search_metadata_v1.py @@ -0,0 +1,271 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RmAudienceSegmentSearchMetadataV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'total_items': (int, none_type,), # noqa: E501 + 'limit': (int, none_type,), # noqa: E501 + 'offset': (int, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'total_items': 'totalItems', # noqa: E501 + 'limit': 'limit', # noqa: E501 + 'offset': 'offset', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentSearchMetadataV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + total_items (int, none_type): Total number of items. [optional] # noqa: E501 + limit (int, none_type): Max item of the current page. [optional] # noqa: E501 + offset (int, none_type): Number of item to skip. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSegmentSearchMetadataV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + total_items (int, none_type): Total number of items. [optional] # noqa: E501 + limit (int, none_type): Max item of the current page. [optional] # noqa: E501 + offset (int, none_type): Number of item to skip. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1.py similarity index 87% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1.py index 1b318de8..f7330894 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item202110_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_preferred_line_item202110 import ResourceOfPreferredLineItem202110 - globals()['ProblemDetails'] = ProblemDetails - globals()['ResourceOfPreferredLineItem202110'] = ResourceOfPreferredLineItem202110 + from criteo_api_retailmedia_v2024_10.model.nillable_string import NillableString + globals()['NillableString'] = NillableString -class PreferredLineItem202110Response(ModelNormal): +class RmAudienceSegmentUpdateEntityV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,9 +87,9 @@ def openapi_types(): """ lazy_import() return { - 'data': (ResourceOfPreferredLineItem202110,), # noqa: E501 - 'warnings': ([ProblemDetails],), # noqa: E501 - 'errors': ([ProblemDetails],), # noqa: E501 + 'name': (str, none_type,), # noqa: E501 + 'description': (NillableString,), # noqa: E501 + 'contact_list': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 } @cached_property @@ -100,14 +98,12 @@ def discriminator(): attribute_map = { - 'data': 'data', # noqa: E501 - 'warnings': 'warnings', # noqa: E501 - 'errors': 'errors', # noqa: E501 + 'name': 'name', # noqa: E501 + 'description': 'description', # noqa: E501 + 'contact_list': 'contactList', # noqa: E501 } read_only_vars = { - 'warnings', # noqa: E501 - 'errors', # noqa: E501 } _composed_schemas = {} @@ -115,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PreferredLineItem202110Response - a model defined in OpenAPI + """RmAudienceSegmentUpdateEntityV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,9 +144,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ResourceOfPreferredLineItem202110): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + name (str, none_type): Name of the segment. [optional] # noqa: E501 + description (NillableString): [optional] # noqa: E501 + contact_list ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Settings to update the contact list of the segment. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -203,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PreferredLineItem202110Response - a model defined in OpenAPI + """RmAudienceSegmentUpdateEntityV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,9 +232,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ResourceOfPreferredLineItem202110): [optional] # noqa: E501 - warnings ([ProblemDetails]): [optional] # noqa: E501 - errors ([ProblemDetails]): [optional] # noqa: E501 + name (str, none_type): Name of the segment. [optional] # noqa: E501 + description (NillableString): [optional] # noqa: E501 + contact_list ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Settings to update the contact list of the segment. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1_resource.py similarity index 93% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1_resource.py index adb07f65..20f72b15 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_create_entity_v2_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_audience_segment_update_entity_v1_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_create_entity_v2 import RmLegacyAudienceCreateEntityV2 - globals()['RmLegacyAudienceCreateEntityV2'] = RmLegacyAudienceCreateEntityV2 + from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_update_entity_v1 import RmAudienceSegmentUpdateEntityV1 + globals()['RmAudienceSegmentUpdateEntityV1'] = RmAudienceSegmentUpdateEntityV1 -class RmLegacyAudienceCreateEntityV2Resource(ModelNormal): +class RmAudienceSegmentUpdateEntityV1Resource(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (RmLegacyAudienceCreateEntityV2,), # noqa: E501 + 'attributes': (RmAudienceSegmentUpdateEntityV1,), # noqa: E501 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 } @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV2Resource - a model defined in OpenAPI + """RmAudienceSegmentUpdateEntityV1Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -144,7 +144,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceCreateEntityV2): [optional] # noqa: E501 + attributes (RmAudienceSegmentUpdateEntityV1): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ @@ -199,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceCreateEntityV2Resource - a model defined in OpenAPI + """RmAudienceSegmentUpdateEntityV1Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,7 +232,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceCreateEntityV2): [optional] # noqa: E501 + attributes (RmAudienceSegmentUpdateEntityV1): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_create_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_create_v1.py new file mode 100644 index 00000000..8b010834 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_create_v1.py @@ -0,0 +1,270 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RmContactListCreateV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('identifier_type',): { + 'None': None, + 'EMAIL': "Email", + 'USERIDENTIFIER': "UserIdentifier", + 'IDENTITYLINK': "IdentityLink", + 'CUSTOMERID': "CustomerId", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'identifier_type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'identifier_type': 'identifierType', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmContactListCreateV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + identifier_type (str, none_type): Indicates contact list type. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmContactListCreateV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + identifier_type (str, none_type): Indicates contact list type. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1.py new file mode 100644 index 00000000..e8d03da8 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1.py @@ -0,0 +1,271 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class RmContactListStatisticsEntityV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'number_of_identifiers': (int, none_type,), # noqa: E501 + 'number_of_matches': (int, none_type,), # noqa: E501 + 'match_rate': (float, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'number_of_identifiers': 'numberOfIdentifiers', # noqa: E501 + 'number_of_matches': 'numberOfMatches', # noqa: E501 + 'match_rate': 'matchRate', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmContactListStatisticsEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + number_of_identifiers (int, none_type): Number of identifiers in the contact list.. [optional] # noqa: E501 + number_of_matches (int, none_type): Number of matched identifiers in the contact list.. [optional] # noqa: E501 + match_rate (float, none_type): Percentage of matched identifiers in the contact list. Can differ from matches/identifiers depending on the contact list type.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmContactListStatisticsEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + number_of_identifiers (int, none_type): Number of identifiers in the contact list.. [optional] # noqa: E501 + number_of_matches (int, none_type): Number of matched identifiers in the contact list.. [optional] # noqa: E501 + match_rate (float, none_type): Percentage of matched identifiers in the contact list. Can differ from matches/identifiers depending on the contact list type.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_resource.py new file mode 100644 index 00000000..fd013e79 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_resource.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.rm_contact_list_statistics_entity_v1 import RmContactListStatisticsEntityV1 + globals()['RmContactListStatisticsEntityV1'] = RmContactListStatisticsEntityV1 + + +class RmContactListStatisticsEntityV1Resource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (RmContactListStatisticsEntityV1,), # noqa: E501 + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmContactListStatisticsEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (RmContactListStatisticsEntityV1): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmContactListStatisticsEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + attributes (RmContactListStatisticsEntityV1): [optional] # noqa: E501 + id (str, none_type): Id of the entity. [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_response.py similarity index 92% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_response.py index 8135f67a..9a5cf902 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_statistics_entity_v1_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,17 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.common_problem import CommonProblem - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v1_resource import RmLegacyAudienceGetEntityV1Resource + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.rm_contact_list_statistics_entity_v1_resource import RmContactListStatisticsEntityV1Resource globals()['CommonProblem'] = CommonProblem - globals()['RmLegacyAudienceGetEntityV1Resource'] = RmLegacyAudienceGetEntityV1Resource + globals()['RmContactListStatisticsEntityV1Resource'] = RmContactListStatisticsEntityV1Resource -class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal): +class RmContactListStatisticsEntityV1Response(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([RmLegacyAudienceGetEntityV1Resource], none_type,), # noqa: E501 + 'data': (RmContactListStatisticsEntityV1Resource,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -115,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1ListResponse - a model defined in OpenAPI + """RmContactListStatisticsEntityV1Response - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501 + data (RmContactListStatisticsEntityV1Resource): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -203,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1ListResponse - a model defined in OpenAPI + """RmContactListStatisticsEntityV1Response - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501 + data (RmContactListStatisticsEntityV1Resource): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_v1.py similarity index 85% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_v1.py index 00734621..a0cbb8d8 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_audience_get_entity_v1_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_contact_list_v1.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.rm_legacy_audience_get_entity_v1 import RmLegacyAudienceGetEntityV1 - globals()['RmLegacyAudienceGetEntityV1'] = RmLegacyAudienceGetEntityV1 - -class RmLegacyAudienceGetEntityV1Resource(ModelNormal): +class RmContactListV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -59,10 +55,20 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal): """ allowed_values = { - ('audience_type',): { + ('identifier_type',): { + 'None': None, + 'UNKNOWN': "Unknown", + 'EMAIL': "Email", + 'USERIDENTIFIER': "UserIdentifier", + 'IDENTITYLINK': "IdentityLink", + 'CUSTOMERID': "CustomerId", + }, + ('sharing_status',): { 'None': None, - 'CUSTOMERLIST': "customerList", - 'USERBEHAVIOR': "userBehavior", + 'UNKNOWN': "Unknown", + 'NOTSHARED': "NotShared", + 'SHAREDWITHALL': "SharedWithAll", + 'SHAREDWITHDEMANDACCOUNTS': "SharedWithDemandAccounts", }, } @@ -75,7 +81,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -90,12 +95,10 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { - 'attributes': (RmLegacyAudienceGetEntityV1,), # noqa: E501 - 'id': (str, none_type,), # noqa: E501 - 'audience_type': (str, none_type,), # noqa: E501 - 'type': (str, none_type,), # noqa: E501 + 'is_read_only': (bool, none_type,), # noqa: E501 + 'identifier_type': (str, none_type,), # noqa: E501 + 'sharing_status': (str, none_type,), # noqa: E501 } @cached_property @@ -104,10 +107,9 @@ def discriminator(): attribute_map = { - 'attributes': 'attributes', # noqa: E501 - 'id': 'id', # noqa: E501 - 'audience_type': 'audienceType', # noqa: E501 - 'type': 'type', # noqa: E501 + 'is_read_only': 'isReadOnly', # noqa: E501 + 'identifier_type': 'identifierType', # noqa: E501 + 'sharing_status': 'sharingStatus', # noqa: E501 } read_only_vars = { @@ -118,7 +120,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1Resource - a model defined in OpenAPI + """RmContactListV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -151,10 +153,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 - type (str, none_type): [optional] # noqa: E501 + is_read_only (bool, none_type): Is the segment read-only. [optional] # noqa: E501 + identifier_type (str, none_type): Indicates contact list identifier's type. [optional] # noqa: E501 + sharing_status (str, none_type): Indicates if the contact list is shared with other accounts. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -207,7 +208,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1Resource - a model defined in OpenAPI + """RmContactListV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -240,10 +241,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 - type (str, none_type): [optional] # noqa: E501 + is_read_only (bool, none_type): Is the segment read-only. [optional] # noqa: E501 + identifier_type (str, none_type): Indicates contact list identifier's type. [optional] # noqa: E501 + sharing_status (str, none_type): Indicates if the contact list is shared with other accounts. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_events_v1.py similarity index 80% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v2.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_events_v1.py index 1b368a79..456f9149 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rm_legacy_segment_user_behavior_v2.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rm_events_v1.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError -class RmLegacySegmentUserBehaviorV2(ModelNormal): +class RmEventsV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -55,29 +55,29 @@ class RmLegacySegmentUserBehaviorV2(ModelNormal): """ allowed_values = { - ('user_action',): { - 'BUY': "buy", - 'VIEW': "view", - 'ADDTOCART': "addToCart", + ('shopper_activity',): { + 'None': None, + 'UNKNOWN': "Unknown", + 'VIEW': "View", + 'BUY': "Buy", + 'ADDTOCART': "AddToCart", }, - ('lookback_window',): { - 'P7D': "P7D", - 'P14D': "P14D", - 'P30D': "P30D", - 'P45D': "P45D", - 'P60D': "P60D", - 'P90D': "P90D", - 'P120D': "P120D", - 'P150D': "P150D", - 'P180D': "P180D", + ('lookback_days',): { + 'None': None, + 'UNKNOWN': "Unknown", + 'LAST7DAYS': "Last7Days", + 'LAST14DAYS': "Last14Days", + 'LAST30DAYS': "Last30Days", + 'LAST45DAYS': "Last45Days", + 'LAST60DAYS': "Last60Days", + 'LAST90DAYS': "Last90Days", + 'LAST120DAYS': "Last120Days", + 'LAST150DAYS': "Last150Days", + 'LAST180DAYS': "Last180Days", }, } validations = { - ('category_ids',): { - }, - ('brand_ids',): { - }, } @cached_property @@ -101,10 +101,10 @@ def openapi_types(): and the value is attribute type. """ return { - 'user_action': (str,), # noqa: E501 - 'lookback_window': (str,), # noqa: E501 - 'category_ids': ([int], none_type,), # noqa: E501 - 'brand_ids': ([int], none_type,), # noqa: E501 + 'shopper_activity': (str, none_type,), # noqa: E501 + 'lookback_days': (str, none_type,), # noqa: E501 + 'category_ids': ([str], none_type,), # noqa: E501 + 'brand_ids': ([str], none_type,), # noqa: E501 'min_price': (float, none_type,), # noqa: E501 'max_price': (float, none_type,), # noqa: E501 } @@ -115,8 +115,8 @@ def discriminator(): attribute_map = { - 'user_action': 'userAction', # noqa: E501 - 'lookback_window': 'lookbackWindow', # noqa: E501 + 'shopper_activity': 'shopperActivity', # noqa: E501 + 'lookback_days': 'lookbackDays', # noqa: E501 'category_ids': 'categoryIds', # noqa: E501 'brand_ids': 'brandIds', # noqa: E501 'min_price': 'minPrice', # noqa: E501 @@ -130,12 +130,8 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, user_action, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorV2 - a model defined in OpenAPI - - Args: - user_action (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmEventsV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -168,10 +164,12 @@ def _from_openapi_data(cls, user_action, lookback_window, *args, **kwargs): # n Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - category_ids ([int], none_type): The categories to target. [optional] # noqa: E501 - brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501 - min_price (float, none_type): The min price of targeted skus.. [optional] # noqa: E501 - max_price (float, none_type): The max price of targeted skus.. [optional] # noqa: E501 + shopper_activity (str, none_type): Reach people who performed specific action. [optional] # noqa: E501 + lookback_days (str, none_type): The number of days to look back. [optional] # noqa: E501 + category_ids ([str], none_type): The list of category ids. [optional] # noqa: E501 + brand_ids ([str], none_type): The list of brand ids. [optional] # noqa: E501 + min_price (float, none_type): Minimum price of the products. [optional] # noqa: E501 + max_price (float, none_type): Maximum price of the products. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -203,8 +201,6 @@ def _from_openapi_data(cls, user_action, lookback_window, *args, **kwargs): # n self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.user_action = user_action - self.lookback_window = lookback_window for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -225,12 +221,8 @@ def _from_openapi_data(cls, user_action, lookback_window, *args, **kwargs): # n ]) @convert_js_args_to_python_args - def __init__(self, user_action, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorV2 - a model defined in OpenAPI - - Args: - user_action (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window + def __init__(self, *args, **kwargs): # noqa: E501 + """RmEventsV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -263,10 +255,12 @@ def __init__(self, user_action, lookback_window, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - category_ids ([int], none_type): The categories to target. [optional] # noqa: E501 - brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501 - min_price (float, none_type): The min price of targeted skus.. [optional] # noqa: E501 - max_price (float, none_type): The max price of targeted skus.. [optional] # noqa: E501 + shopper_activity (str, none_type): Reach people who performed specific action. [optional] # noqa: E501 + lookback_days (str, none_type): The number of days to look back. [optional] # noqa: E501 + category_ids ([str], none_type): The list of category ids. [optional] # noqa: E501 + brand_ids ([str], none_type): The list of brand ids. [optional] # noqa: E501 + min_price (float, none_type): Minimum price of the products. [optional] # noqa: E501 + max_price (float, none_type): Maximum price of the products. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -296,8 +290,6 @@ def __init__(self, user_action, lookback_window, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.user_action = user_action - self.lookback_window = lookback_window for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rmca_common_problem.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rmca_common_problem.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rmca_common_problem.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rmca_common_problem.py index 7047f58e..a9cfd1d9 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/rmca_common_problem.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/rmca_common_problem.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/section.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/section.py similarity index 95% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/section.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/section.py index b7e8c025..ecd84593 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/section.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/section.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.template_variable import TemplateVariable + from criteo_api_retailmedia_v2024_10.model.template_variable import TemplateVariable globals()['TemplateVariable'] = TemplateVariable @@ -87,8 +87,8 @@ def openapi_types(): """ lazy_import() return { - 'title': (str,), # noqa: E501 'template_variables': ([TemplateVariable],), # noqa: E501 + 'title': (str, none_type,), # noqa: E501 } @cached_property @@ -97,8 +97,8 @@ def discriminator(): attribute_map = { - 'title': 'title', # noqa: E501 'template_variables': 'templateVariables', # noqa: E501 + 'title': 'title', # noqa: E501 } read_only_vars = { @@ -108,11 +108,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -146,6 +145,7 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -177,7 +177,6 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -199,11 +198,10 @@ def _from_openapi_data(cls, title, template_variables, *args, **kwargs): # noqa ]) @convert_js_args_to_python_args - def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 + def __init__(self, template_variables, *args, **kwargs): # noqa: E501 """Section - a model defined in OpenAPI Args: - title (str): template_variables ([TemplateVariable]): Keyword Args: @@ -237,6 +235,7 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + title (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,7 +265,6 @@ def __init__(self, title, template_variables, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.title = title self.template_variables = template_variables for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bid_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bid_model.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bid_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bid_model.py index 53d99e28..eb0d38a0 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bid_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bid_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bids_model.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bids_model.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bids_model.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bids_model.py index 2337c49d..30e4e1e5 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bids_model.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bids_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.set_bid_model import SetBidModel + from criteo_api_retailmedia_v2024_10.model.set_bid_model import SetBidModel globals()['SetBidModel'] = SetBidModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bids_model_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bids_model_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bids_model_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bids_model_request.py index 2fdd0e50..12028db6 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bids_model_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bids_model_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.set_bids_model_resource import SetBidsModelResource + from criteo_api_retailmedia_v2024_10.model.set_bids_model_resource import SetBidsModelResource globals()['SetBidsModelResource'] = SetBidsModelResource diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bids_model_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bids_model_resource.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bids_model_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bids_model_resource.py index 9491fdf0..4204e8ec 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/set_bids_model_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/set_bids_model_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.set_bids_model import SetBidsModel + from criteo_api_retailmedia_v2024_10.model.set_bids_model import SetBidsModel globals()['SetBidsModel'] = SetBidsModel diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/status_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/status_response.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/status_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/status_response.py index a6c051cb..4d8931e9 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/status_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/status_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/status_response_resource.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/status_response_resource.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/status_response_resource.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/status_response_resource.py index 44133af8..9dc66d37 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/status_response_resource.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/status_response_resource.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.status_response import StatusResponse + from criteo_api_retailmedia_v2024_10.model.status_response import StatusResponse globals()['StatusResponse'] = StatusResponse diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/store_ids_update_model202110_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/store_ids_update_model202110_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/store_ids_update_model202110_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/store_ids_update_model202110_request.py index 5535c91a..455eae29 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/store_ids_update_model202110_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/store_ids_update_model202110_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_store_ids_update_model202110 import ValueTypeResourceOfStoreIdsUpdateModel202110 + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_store_ids_update_model202110 import ValueTypeResourceOfStoreIdsUpdateModel202110 globals()['ValueTypeResourceOfStoreIdsUpdateModel202110'] = ValueTypeResourceOfStoreIdsUpdateModel202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/store_target202110_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/store_target202110_request.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/store_target202110_request.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/store_target202110_request.py index 0d0fb5e1..e7f031e9 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/store_target202110_request.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/store_target202110_request.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_store_target202110 import ValueTypeResourceOfStoreTarget202110 + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_store_target202110 import ValueTypeResourceOfStoreTarget202110 globals()['ValueTypeResourceOfStoreTarget202110'] = ValueTypeResourceOfStoreTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/store_target202110_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/store_target202110_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/store_target202110_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/store_target202110_response.py index 92cf5a0e..bfe894be 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/store_target202110_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/store_target202110_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.value_type_resource_of_store_target202110 import ValueTypeResourceOfStoreTarget202110 + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_store_target202110 import ValueTypeResourceOfStoreTarget202110 globals()['ProblemDetails'] = ProblemDetails globals()['ValueTypeResourceOfStoreTarget202110'] = ValueTypeResourceOfStoreTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template.py index 104f9711..da401378 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.section import Section + from criteo_api_retailmedia_v2024_10.model.section import Section globals()['Section'] = Section diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_list_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_list_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_list_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_list_response.py index 7aa3e85f..18ac9c94 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_list_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_list_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_template import ResourceOfTemplate + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_template import ResourceOfTemplate globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfTemplate'] = ResourceOfTemplate diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_response.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_response.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_response.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_response.py index c70aaf89..7035eb24 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_response.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_response.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.problem_details import ProblemDetails - from criteo_api_retailmedia_v2023_07.model.resource_of_template import ResourceOfTemplate + from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails + from criteo_api_retailmedia_v2024_10.model.resource_of_template import ResourceOfTemplate globals()['ProblemDetails'] = ProblemDetails globals()['ResourceOfTemplate'] = ResourceOfTemplate diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_variable.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_variable.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_variable.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_variable.py index ad0bf811..41bfe2cd 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_variable.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_variable.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,13 +26,13 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.choice_variable_specification import ChoiceVariableSpecification - from criteo_api_retailmedia_v2023_07.model.files_variables_specification import FilesVariablesSpecification - from criteo_api_retailmedia_v2023_07.model.text_variable_specification import TextVariableSpecification + from criteo_api_retailmedia_v2024_10.model.choice_variable_specification import ChoiceVariableSpecification + from criteo_api_retailmedia_v2024_10.model.files_variables_specification import FilesVariablesSpecification + from criteo_api_retailmedia_v2024_10.model.text_variable_specification import TextVariableSpecification globals()['ChoiceVariableSpecification'] = ChoiceVariableSpecification globals()['FilesVariablesSpecification'] = FilesVariablesSpecification globals()['TextVariableSpecification'] = TextVariableSpecification diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_variable_value.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_variable_value.py similarity index 96% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_variable_value.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_variable_value.py index d4b50c11..de79e6aa 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/template_variable_value.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/template_variable_value.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.choice_variable_value import ChoiceVariableValue - from criteo_api_retailmedia_v2023_07.model.color_variable_value import ColorVariableValue - from criteo_api_retailmedia_v2023_07.model.files_variable_value import FilesVariableValue - from criteo_api_retailmedia_v2023_07.model.hyperlink_variable_value import HyperlinkVariableValue - from criteo_api_retailmedia_v2023_07.model.text_variable_value import TextVariableValue + from criteo_api_retailmedia_v2024_10.model.choice_variable_value import ChoiceVariableValue + from criteo_api_retailmedia_v2024_10.model.color_variable_value import ColorVariableValue + from criteo_api_retailmedia_v2024_10.model.files_variable_value import FilesVariableValue + from criteo_api_retailmedia_v2024_10.model.hyperlink_variable_value import HyperlinkVariableValue + from criteo_api_retailmedia_v2024_10.model.text_variable_value import TextVariableValue globals()['ChoiceVariableValue'] = ChoiceVariableValue globals()['ColorVariableValue'] = ColorVariableValue globals()['FilesVariableValue'] = FilesVariableValue diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/text_variable_specification.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/text_variable_specification.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/text_variable_specification.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/text_variable_specification.py index bccb3b48..a60c7b0e 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/text_variable_specification.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/text_variable_specification.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/text_variable_value.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/text_variable_value.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/text_variable_value.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/text_variable_value.py index 80a2e0fe..d3fed18d 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/text_variable_value.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/text_variable_value.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,7 +26,7 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/update_balance_model_v2.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/update_balance_model_v2.py new file mode 100644 index 00000000..795fd76d --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/update_balance_model_v2.py @@ -0,0 +1,279 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + + +class UpdateBalanceModelV2(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'name': (str, none_type,), # noqa: E501 + 'po_number': (str, none_type,), # noqa: E501 + 'start_date': (str, none_type,), # noqa: E501 + 'end_date': (str, none_type,), # noqa: E501 + 'memo': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'po_number': 'poNumber', # noqa: E501 + 'start_date': 'startDate', # noqa: E501 + 'end_date': 'endDate', # noqa: E501 + 'memo': 'memo', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """UpdateBalanceModelV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str, none_type): Name of the balance.. [optional] # noqa: E501 + po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501 + start_date (str, none_type): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + memo (str, none_type): Memo.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """UpdateBalanceModelV2 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str, none_type): Name of the balance.. [optional] # noqa: E501 + po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501 + start_date (str, none_type): Start date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501 + memo (str, none_type): Memo.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/update_balance_model_v2_request.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/update_balance_model_v2_request.py new file mode 100644 index 00000000..90655c77 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/update_balance_model_v2_request.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.resource_of_update_balance_model_v2 import ResourceOfUpdateBalanceModelV2 + globals()['ResourceOfUpdateBalanceModelV2'] = ResourceOfUpdateBalanceModelV2 + + +class UpdateBalanceModelV2Request(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (ResourceOfUpdateBalanceModelV2,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """UpdateBalanceModelV2Request - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfUpdateBalanceModelV2): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """UpdateBalanceModelV2Request - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ResourceOfUpdateBalanceModelV2): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_collection_input_of_retail_media_seller.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_collection_input_of_retail_media_seller.py new file mode 100644 index 00000000..f738a8fd --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_collection_input_of_retail_media_seller.py @@ -0,0 +1,262 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_seller import ValueResourceOfRetailMediaSeller + globals()['ValueResourceOfRetailMediaSeller'] = ValueResourceOfRetailMediaSeller + + +class ValueResourceCollectionInputOfRetailMediaSeller(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([ValueResourceOfRetailMediaSeller], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ValueResourceCollectionInputOfRetailMediaSeller - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([ValueResourceOfRetailMediaSeller], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ValueResourceCollectionInputOfRetailMediaSeller - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([ValueResourceOfRetailMediaSeller], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_collection_outcome_of_retail_media_seller.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_collection_outcome_of_retail_media_seller.py new file mode 100644 index 00000000..6d12f29d --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_collection_outcome_of_retail_media_seller.py @@ -0,0 +1,274 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_seller import ValueResourceOfRetailMediaSeller + globals()['CommonProblem'] = CommonProblem + globals()['ValueResourceOfRetailMediaSeller'] = ValueResourceOfRetailMediaSeller + + +class ValueResourceCollectionOutcomeOfRetailMediaSeller(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': ([ValueResourceOfRetailMediaSeller], none_type,), # noqa: E501 + 'warnings': ([CommonProblem], none_type,), # noqa: E501 + 'errors': ([CommonProblem], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + 'errors': 'errors', # noqa: E501 + } + + read_only_vars = { + 'warnings', # noqa: E501 + 'errors', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ValueResourceCollectionOutcomeOfRetailMediaSeller - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([ValueResourceOfRetailMediaSeller], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ValueResourceCollectionOutcomeOfRetailMediaSeller - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data ([ValueResourceOfRetailMediaSeller], none_type): [optional] # noqa: E501 + warnings ([CommonProblem], none_type): [optional] # noqa: E501 + errors ([CommonProblem], none_type): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_input_of_campaign_budget_overrides.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_campaign_budget_overrides.py similarity index 97% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_input_of_campaign_budget_overrides.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_campaign_budget_overrides.py index 99ff24be..f92afaa3 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_input_of_campaign_budget_overrides.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_campaign_budget_overrides.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_preview.model.value_resource_of_campaign_budget_overrides import ValueResourceOfCampaignBudgetOverrides + from criteo_api_retailmedia_v2024_10.model.value_resource_of_campaign_budget_overrides import ValueResourceOfCampaignBudgetOverrides globals()['ValueResourceOfCampaignBudgetOverrides'] = ValueResourceOfCampaignBudgetOverrides diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_input_of_line_item_budget_overrides.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_line_item_budget_overrides.py similarity index 97% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_input_of_line_item_budget_overrides.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_line_item_budget_overrides.py index e6020f1c..ba918f22 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_input_of_line_item_budget_overrides.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_line_item_budget_overrides.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_preview.model.value_resource_of_line_item_budget_overrides import ValueResourceOfLineItemBudgetOverrides + from criteo_api_retailmedia_v2024_10.model.value_resource_of_line_item_budget_overrides import ValueResourceOfLineItemBudgetOverrides globals()['ValueResourceOfLineItemBudgetOverrides'] = ValueResourceOfLineItemBudgetOverrides diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brand_account_creation.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brand_account_creation.py new file mode 100644 index 00000000..e9de7257 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brand_account_creation.py @@ -0,0 +1,262 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_brand_account_creation import ValueResourceOfRetailMediaBrandAccountCreation + globals()['ValueResourceOfRetailMediaBrandAccountCreation'] = ValueResourceOfRetailMediaBrandAccountCreation + + +class ValueResourceInputOfRetailMediaBrandAccountCreation(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (ValueResourceOfRetailMediaBrandAccountCreation,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ValueResourceInputOfRetailMediaBrandAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ValueResourceOfRetailMediaBrandAccountCreation): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ValueResourceInputOfRetailMediaBrandAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ValueResourceOfRetailMediaBrandAccountCreation): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brands.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brands.py new file mode 100644 index 00000000..7b29eb7d --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brands.py @@ -0,0 +1,262 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_brands import ValueResourceOfRetailMediaBrands + globals()['ValueResourceOfRetailMediaBrands'] = ValueResourceOfRetailMediaBrands + + +class ValueResourceInputOfRetailMediaBrands(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (ValueResourceOfRetailMediaBrands,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ValueResourceInputOfRetailMediaBrands - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ValueResourceOfRetailMediaBrands): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ValueResourceInputOfRetailMediaBrands - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ValueResourceOfRetailMediaBrands): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_seller_account_creation.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_seller_account_creation.py new file mode 100644 index 00000000..de219157 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_seller_account_creation.py @@ -0,0 +1,262 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_seller_account_creation import ValueResourceOfRetailMediaSellerAccountCreation + globals()['ValueResourceOfRetailMediaSellerAccountCreation'] = ValueResourceOfRetailMediaSellerAccountCreation + + +class ValueResourceInputOfRetailMediaSellerAccountCreation(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (ValueResourceOfRetailMediaSellerAccountCreation,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ValueResourceInputOfRetailMediaSellerAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ValueResourceOfRetailMediaSellerAccountCreation): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ValueResourceInputOfRetailMediaSellerAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (ValueResourceOfRetailMediaSellerAccountCreation): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_of_campaign_budget_overrides.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_campaign_budget_overrides.py similarity index 97% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_of_campaign_budget_overrides.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_campaign_budget_overrides.py index ff80c764..7716e479 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_of_campaign_budget_overrides.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_campaign_budget_overrides.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_preview.model.campaign_budget_overrides import CampaignBudgetOverrides + from criteo_api_retailmedia_v2024_10.model.campaign_budget_overrides import CampaignBudgetOverrides globals()['CampaignBudgetOverrides'] = CampaignBudgetOverrides diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_of_line_item_budget_overrides.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_line_item_budget_overrides.py similarity index 97% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_of_line_item_budget_overrides.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_line_item_budget_overrides.py index 3f976a26..44b3436b 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_of_line_item_budget_overrides.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_line_item_budget_overrides.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_preview.model.line_item_budget_overrides import LineItemBudgetOverrides + from criteo_api_retailmedia_v2024_10.model.line_item_budget_overrides import LineItemBudgetOverrides globals()['LineItemBudgetOverrides'] = LineItemBudgetOverrides diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brand_account_creation.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brand_account_creation.py new file mode 100644 index 00000000..db7b8768 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brand_account_creation.py @@ -0,0 +1,266 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.retail_media_brand_account_creation import RetailMediaBrandAccountCreation + globals()['RetailMediaBrandAccountCreation'] = RetailMediaBrandAccountCreation + + +class ValueResourceOfRetailMediaBrandAccountCreation(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'type': (str, none_type,), # noqa: E501 + 'attributes': (RetailMediaBrandAccountCreation,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ValueResourceOfRetailMediaBrandAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RetailMediaBrandAccountCreation): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ValueResourceOfRetailMediaBrandAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RetailMediaBrandAccountCreation): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brands.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brands.py new file mode 100644 index 00000000..ed7b8b6b --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brands.py @@ -0,0 +1,266 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.retail_media_brands import RetailMediaBrands + globals()['RetailMediaBrands'] = RetailMediaBrands + + +class ValueResourceOfRetailMediaBrands(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'type': (str, none_type,), # noqa: E501 + 'attributes': (RetailMediaBrands,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ValueResourceOfRetailMediaBrands - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RetailMediaBrands): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ValueResourceOfRetailMediaBrands - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RetailMediaBrands): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller.py new file mode 100644 index 00000000..464285f9 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller.py @@ -0,0 +1,266 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.retail_media_seller import RetailMediaSeller + globals()['RetailMediaSeller'] = RetailMediaSeller + + +class ValueResourceOfRetailMediaSeller(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'type': (str, none_type,), # noqa: E501 + 'attributes': (RetailMediaSeller,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ValueResourceOfRetailMediaSeller - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RetailMediaSeller): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ValueResourceOfRetailMediaSeller - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RetailMediaSeller): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller_account_creation.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller_account_creation.py new file mode 100644 index 00000000..32a69008 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller_account_creation.py @@ -0,0 +1,266 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: 2024-10 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_v2024_10.model.retail_media_seller_account_creation import RetailMediaSellerAccountCreation + globals()['RetailMediaSellerAccountCreation'] = RetailMediaSellerAccountCreation + + +class ValueResourceOfRetailMediaSellerAccountCreation(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'type': (str, none_type,), # noqa: E501 + 'attributes': (RetailMediaSellerAccountCreation,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ValueResourceOfRetailMediaSellerAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RetailMediaSellerAccountCreation): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ValueResourceOfRetailMediaSellerAccountCreation - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RetailMediaSellerAccountCreation): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_outcome_of_campaign_budget_overrides.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_outcome_of_campaign_budget_overrides.py similarity index 96% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_outcome_of_campaign_budget_overrides.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_outcome_of_campaign_budget_overrides.py index 3c3e1f17..a68195ce 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_outcome_of_campaign_budget_overrides.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_outcome_of_campaign_budget_overrides.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_preview.model.common_problem import CommonProblem - from criteo_api_retailmedia_preview.model.value_resource_of_campaign_budget_overrides import ValueResourceOfCampaignBudgetOverrides + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.value_resource_of_campaign_budget_overrides import ValueResourceOfCampaignBudgetOverrides globals()['CommonProblem'] = CommonProblem globals()['ValueResourceOfCampaignBudgetOverrides'] = ValueResourceOfCampaignBudgetOverrides diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_outcome_of_line_item_budget_overrides.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_outcome_of_line_item_budget_overrides.py similarity index 96% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_outcome_of_line_item_budget_overrides.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_outcome_of_line_item_budget_overrides.py index 478dc5a1..e9518a88 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/value_resource_outcome_of_line_item_budget_overrides.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_resource_outcome_of_line_item_budget_overrides.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: Preview + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,12 +26,12 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_preview.model.common_problem import CommonProblem - from criteo_api_retailmedia_preview.model.value_resource_of_line_item_budget_overrides import ValueResourceOfLineItemBudgetOverrides + from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem + from criteo_api_retailmedia_v2024_10.model.value_resource_of_line_item_budget_overrides import ValueResourceOfLineItemBudgetOverrides globals()['CommonProblem'] = CommonProblem globals()['ValueResourceOfLineItemBudgetOverrides'] = ValueResourceOfLineItemBudgetOverrides diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_add_to_basket_ids_update_model202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_add_to_basket_ids_update_model202110.py index 5cd7e737..aea15046 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_add_to_basket_ids_update_model202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_add_to_basket_ids_update_model202110 import ExternalAddToBasketIdsUpdateModel202110 + from criteo_api_retailmedia_v2024_10.model.external_add_to_basket_ids_update_model202110 import ExternalAddToBasketIdsUpdateModel202110 globals()['ExternalAddToBasketIdsUpdateModel202110'] = ExternalAddToBasketIdsUpdateModel202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_add_to_basket_target202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_add_to_basket_target202110.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_add_to_basket_target202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_add_to_basket_target202110.py index 3d977ac6..5fa3577b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_add_to_basket_target202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_add_to_basket_target202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_add_to_basket_target202110 import ExternalAddToBasketTarget202110 + from criteo_api_retailmedia_v2024_10.model.external_add_to_basket_target202110 import ExternalAddToBasketTarget202110 globals()['ExternalAddToBasketTarget202110'] = ExternalAddToBasketTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_audience_ids_update_model202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_audience_ids_update_model202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_audience_ids_update_model202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_audience_ids_update_model202110.py index 1d6822e5..4c63ad1b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_audience_ids_update_model202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_audience_ids_update_model202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_audience_ids_update_model202110 import ExternalAudienceIdsUpdateModel202110 + from criteo_api_retailmedia_v2024_10.model.external_audience_ids_update_model202110 import ExternalAudienceIdsUpdateModel202110 globals()['ExternalAudienceIdsUpdateModel202110'] = ExternalAudienceIdsUpdateModel202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_audience_target202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_audience_target202110.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_audience_target202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_audience_target202110.py index 392f172f..e682dc14 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_audience_target202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_audience_target202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_audience_target202110 import ExternalAudienceTarget202110 + from criteo_api_retailmedia_v2024_10.model.external_audience_target202110 import ExternalAudienceTarget202110 globals()['ExternalAudienceTarget202110'] = ExternalAudienceTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_keyword_target202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_keyword_target202110.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_keyword_target202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_keyword_target202110.py index 52bc9915..a57dab8d 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_keyword_target202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_keyword_target202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_keyword_target202110 import ExternalKeywordTarget202110 + from criteo_api_retailmedia_v2024_10.model.external_keyword_target202110 import ExternalKeywordTarget202110 globals()['ExternalKeywordTarget202110'] = ExternalKeywordTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_store_ids_update_model202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_store_ids_update_model202110.py similarity index 98% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_store_ids_update_model202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_store_ids_update_model202110.py index c3870a92..f5dd663d 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_store_ids_update_model202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_store_ids_update_model202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_store_ids_update_model202110 import ExternalStoreIdsUpdateModel202110 + from criteo_api_retailmedia_v2024_10.model.external_store_ids_update_model202110 import ExternalStoreIdsUpdateModel202110 globals()['ExternalStoreIdsUpdateModel202110'] = ExternalStoreIdsUpdateModel202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_store_target202110.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_store_target202110.py similarity index 97% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_store_target202110.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_store_target202110.py index f423ff17..ceb4411b 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/value_type_resource_of_store_target202110.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model/value_type_resource_of_store_target202110.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_v2024_10.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,11 +26,11 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.external_store_target202110 import ExternalStoreTarget202110 + from criteo_api_retailmedia_v2024_10.model.external_store_target202110 import ExternalStoreTarget202110 globals()['ExternalStoreTarget202110'] = ExternalStoreTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model_utils.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model_utils.py similarity index 99% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model_utils.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model_utils.py index f67eac14..f9767c6d 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model_utils.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/model_utils.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -20,7 +20,7 @@ from dateutil.parser import parse -from criteo_api_retailmedia_v2023_07.exceptions import ( +from criteo_api_retailmedia_v2024_10.exceptions import ( ApiKeyError, ApiAttributeError, ApiTypeError, diff --git a/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/models/__init__.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/models/__init__.py new file mode 100644 index 00000000..683b6f59 --- /dev/null +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/models/__init__.py @@ -0,0 +1,281 @@ +# flake8: noqa + +# import all models into this package +# if you have many models here with many references from one model to another this may +# raise a RecursionError +# to avoid this, import only the models that you directly need like: +# from criteo_api_retailmedia_v2024_10.model.pet import Pet +# or import this package, but before doing it, use: +# import sys +# sys.setrecursionlimit(n) + +from criteo_api_retailmedia_v2024_10.model.add_funds_to_balance_v2 import AddFundsToBalanceV2 +from criteo_api_retailmedia_v2024_10.model.add_funds_to_balance_v2_request import AddFundsToBalanceV2Request +from criteo_api_retailmedia_v2024_10.model.add_remove_keyword_model import AddRemoveKeywordModel +from criteo_api_retailmedia_v2024_10.model.add_remove_keywords_model import AddRemoveKeywordsModel +from criteo_api_retailmedia_v2024_10.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest +from criteo_api_retailmedia_v2024_10.model.add_remove_keywords_model_resource import AddRemoveKeywordsModelResource +from criteo_api_retailmedia_v2024_10.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.add_to_basket_target202110_request import AddToBasketTarget202110Request +from criteo_api_retailmedia_v2024_10.model.add_to_basket_target202110_response import AddToBasketTarget202110Response +from criteo_api_retailmedia_v2024_10.model.application_summary_model import ApplicationSummaryModel +from criteo_api_retailmedia_v2024_10.model.application_summary_model_resource import ApplicationSummaryModelResource +from criteo_api_retailmedia_v2024_10.model.application_summary_model_response import ApplicationSummaryModelResponse +from criteo_api_retailmedia_v2024_10.model.approval_status_model import ApprovalStatusModel +from criteo_api_retailmedia_v2024_10.model.asset import Asset +from criteo_api_retailmedia_v2024_10.model.asset_resource import AssetResource +from criteo_api_retailmedia_v2024_10.model.asset_response import AssetResponse +from criteo_api_retailmedia_v2024_10.model.async_campaigns_report import AsyncCampaignsReport +from criteo_api_retailmedia_v2024_10.model.async_campaigns_report_request import AsyncCampaignsReportRequest +from criteo_api_retailmedia_v2024_10.model.async_campaigns_report_resource import AsyncCampaignsReportResource +from criteo_api_retailmedia_v2024_10.model.async_line_items_report import AsyncLineItemsReport +from criteo_api_retailmedia_v2024_10.model.async_line_items_report_request import AsyncLineItemsReportRequest +from criteo_api_retailmedia_v2024_10.model.async_line_items_report_resource import AsyncLineItemsReportResource +from criteo_api_retailmedia_v2024_10.model.async_report_response import AsyncReportResponse +from criteo_api_retailmedia_v2024_10.model.async_revenue_report import AsyncRevenueReport +from criteo_api_retailmedia_v2024_10.model.async_revenue_report_request import AsyncRevenueReportRequest +from criteo_api_retailmedia_v2024_10.model.async_revenue_report_resource import AsyncRevenueReportResource +from criteo_api_retailmedia_v2024_10.model.auction_line_item_create_model_request import AuctionLineItemCreateModelRequest +from criteo_api_retailmedia_v2024_10.model.auction_line_item_paged_list_response import AuctionLineItemPagedListResponse +from criteo_api_retailmedia_v2024_10.model.auction_line_item_response import AuctionLineItemResponse +from criteo_api_retailmedia_v2024_10.model.auction_line_item_update_model_request import AuctionLineItemUpdateModelRequest +from criteo_api_retailmedia_v2024_10.model.audience_error import AudienceError +from criteo_api_retailmedia_v2024_10.model.audience_ids_update_model202110_request import AudienceIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.audience_target202110_request import AudienceTarget202110Request +from criteo_api_retailmedia_v2024_10.model.audience_target202110_response import AudienceTarget202110Response +from criteo_api_retailmedia_v2024_10.model.audience_warning import AudienceWarning +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse +from criteo_api_retailmedia_v2024_10.model.balance_history_change_data_capture_v1 import BalanceHistoryChangeDataCaptureV1 +from criteo_api_retailmedia_v2024_10.model.balance_response_v2 import BalanceResponseV2 +from criteo_api_retailmedia_v2024_10.model.balance_response_v2_response import BalanceResponseV2Response +from criteo_api_retailmedia_v2024_10.model.campaign_attributes_v202301 import CampaignAttributesV202301 +from criteo_api_retailmedia_v2024_10.model.campaign_budget_overrides import CampaignBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.campaign_daily_budget_override import CampaignDailyBudgetOverride +from criteo_api_retailmedia_v2024_10.model.campaign_monthly_budget_override import CampaignMonthlyBudgetOverride +from criteo_api_retailmedia_v2024_10.model.campaign_v202301 import CampaignV202301 +from criteo_api_retailmedia_v2024_10.model.category202204 import Category202204 +from criteo_api_retailmedia_v2024_10.model.category202204_list_response import Category202204ListResponse +from criteo_api_retailmedia_v2024_10.model.change_dates_of_balance_v2 import ChangeDatesOfBalanceV2 +from criteo_api_retailmedia_v2024_10.model.change_dates_of_balance_v2_request import ChangeDatesOfBalanceV2Request +from criteo_api_retailmedia_v2024_10.model.change_details_v1 import ChangeDetailsV1 +from criteo_api_retailmedia_v2024_10.model.choice_option import ChoiceOption +from criteo_api_retailmedia_v2024_10.model.choice_variable_specification import ChoiceVariableSpecification +from criteo_api_retailmedia_v2024_10.model.choice_variable_value import ChoiceVariableValue +from criteo_api_retailmedia_v2024_10.model.color_variable_value import ColorVariableValue +from criteo_api_retailmedia_v2024_10.model.common_error import CommonError +from criteo_api_retailmedia_v2024_10.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse +from criteo_api_retailmedia_v2024_10.model.common_line_item_response import CommonLineItemResponse +from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem +from criteo_api_retailmedia_v2024_10.model.common_warning import CommonWarning +from criteo_api_retailmedia_v2024_10.model.create_balance_v2 import CreateBalanceV2 +from criteo_api_retailmedia_v2024_10.model.create_balance_v2_request import CreateBalanceV2Request +from criteo_api_retailmedia_v2024_10.model.creative202110 import Creative202110 +from criteo_api_retailmedia_v2024_10.model.creative202110_list_response import Creative202110ListResponse +from criteo_api_retailmedia_v2024_10.model.creative202210 import Creative202210 +from criteo_api_retailmedia_v2024_10.model.creative202210_response import Creative202210Response +from criteo_api_retailmedia_v2024_10.model.creative_create_model202207 import CreativeCreateModel202207 +from criteo_api_retailmedia_v2024_10.model.creative_update_model202207 import CreativeUpdateModel202207 +from criteo_api_retailmedia_v2024_10.model.creative_v2_list_response import CreativeV2ListResponse +from criteo_api_retailmedia_v2024_10.model.creative_v2_response import CreativeV2Response +from criteo_api_retailmedia_v2024_10.model.daily_line_item_budget_override import DailyLineItemBudgetOverride +from criteo_api_retailmedia_v2024_10.model.editable_campaign_attributes_v202301 import EditableCampaignAttributesV202301 +from criteo_api_retailmedia_v2024_10.model.error_code_response import ErrorCodeResponse +from criteo_api_retailmedia_v2024_10.model.external_account import ExternalAccount +from criteo_api_retailmedia_v2024_10.model.external_add_to_basket_ids_update_model202110 import ExternalAddToBasketIdsUpdateModel202110 +from criteo_api_retailmedia_v2024_10.model.external_add_to_basket_target202110 import ExternalAddToBasketTarget202110 +from criteo_api_retailmedia_v2024_10.model.external_auction_line_item import ExternalAuctionLineItem +from criteo_api_retailmedia_v2024_10.model.external_auction_line_item_create_model import ExternalAuctionLineItemCreateModel +from criteo_api_retailmedia_v2024_10.model.external_auction_line_item_update_model import ExternalAuctionLineItemUpdateModel +from criteo_api_retailmedia_v2024_10.model.external_audience_ids_update_model202110 import ExternalAudienceIdsUpdateModel202110 +from criteo_api_retailmedia_v2024_10.model.external_audience_target202110 import ExternalAudienceTarget202110 +from criteo_api_retailmedia_v2024_10.model.external_brand import ExternalBrand +from criteo_api_retailmedia_v2024_10.model.external_catalog_request import ExternalCatalogRequest +from criteo_api_retailmedia_v2024_10.model.external_catalog_status import ExternalCatalogStatus +from criteo_api_retailmedia_v2024_10.model.external_choice_variable_value import ExternalChoiceVariableValue +from criteo_api_retailmedia_v2024_10.model.external_color_variable_value import ExternalColorVariableValue +from criteo_api_retailmedia_v2024_10.model.external_common_line_item import ExternalCommonLineItem +from criteo_api_retailmedia_v2024_10.model.external_creative_v2 import ExternalCreativeV2 +from criteo_api_retailmedia_v2024_10.model.external_files_variable_value import ExternalFilesVariableValue +from criteo_api_retailmedia_v2024_10.model.external_hyperlink_variable_value import ExternalHyperlinkVariableValue +from criteo_api_retailmedia_v2024_10.model.external_keyword_target202110 import ExternalKeywordTarget202110 +from criteo_api_retailmedia_v2024_10.model.external_line_item_bid_multipliers_v2 import ExternalLineItemBidMultipliersV2 +from criteo_api_retailmedia_v2024_10.model.external_line_item_capping_v2 import ExternalLineItemCappingV2 +from criteo_api_retailmedia_v2024_10.model.external_line_item_page_category_v2 import ExternalLineItemPageCategoryV2 +from criteo_api_retailmedia_v2024_10.model.external_line_item_page_v2 import ExternalLineItemPageV2 +from criteo_api_retailmedia_v2024_10.model.external_page_type_environment import ExternalPageTypeEnvironment +from criteo_api_retailmedia_v2024_10.model.external_preferred_line_item_create_model_v2 import ExternalPreferredLineItemCreateModelV2 +from criteo_api_retailmedia_v2024_10.model.external_preferred_line_item_update_model_v2 import ExternalPreferredLineItemUpdateModelV2 +from criteo_api_retailmedia_v2024_10.model.external_preferred_line_item_v2 import ExternalPreferredLineItemV2 +from criteo_api_retailmedia_v2024_10.model.external_retailer import ExternalRetailer +from criteo_api_retailmedia_v2024_10.model.external_retailer_pages202110 import ExternalRetailerPages202110 +from criteo_api_retailmedia_v2024_10.model.external_store_ids_update_model202110 import ExternalStoreIdsUpdateModel202110 +from criteo_api_retailmedia_v2024_10.model.external_store_target202110 import ExternalStoreTarget202110 +from criteo_api_retailmedia_v2024_10.model.external_template_variable_value import ExternalTemplateVariableValue +from criteo_api_retailmedia_v2024_10.model.external_text_variable_value import ExternalTextVariableValue +from criteo_api_retailmedia_v2024_10.model.external_video_variable_value import ExternalVideoVariableValue +from criteo_api_retailmedia_v2024_10.model.files_variable_value import FilesVariableValue +from criteo_api_retailmedia_v2024_10.model.files_variables_specification import FilesVariablesSpecification +from criteo_api_retailmedia_v2024_10.model.hyperlink_variable_value import HyperlinkVariableValue +from criteo_api_retailmedia_v2024_10.model.input_keywords_model import InputKeywordsModel +from criteo_api_retailmedia_v2024_10.model.input_resource_of_auction_line_item_create_model import InputResourceOfAuctionLineItemCreateModel +from criteo_api_retailmedia_v2024_10.model.input_resource_of_preferred_line_item_create_model_v2 import InputResourceOfPreferredLineItemCreateModelV2 +from criteo_api_retailmedia_v2024_10.model.json_api_body_with_external_id_of_editable_campaign_attributes_v202301_and_campaign_v202301 import JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_account_and_account import JsonApiBodyWithIdOfInt64AndAccountAndAccount +from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_brand_and_brand import JsonApiBodyWithIdOfInt64AndBrandAndBrand +from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_campaign_v202301_and_campaign_v202301 import JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status import JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus +from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2 import JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2 +from criteo_api_retailmedia_v2024_10.model.json_api_body_with_id_of_int64_and_retailer_and_retailer import JsonApiBodyWithIdOfInt64AndRetailerAndRetailer +from criteo_api_retailmedia_v2024_10.model.json_api_body_without_id_of_campaign_attributes_v202301_and_campaign_v202301 import JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.json_api_body_without_id_of_catalog_request_and_catalog_request import JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer +from criteo_api_retailmedia_v2024_10.model.json_api_request_of_catalog_request import JsonApiRequestOfCatalogRequest +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2 +from criteo_api_retailmedia_v2024_10.model.keyword_data_model import KeywordDataModel +from criteo_api_retailmedia_v2024_10.model.keyword_target202110_request import KeywordTarget202110Request +from criteo_api_retailmedia_v2024_10.model.keyword_target202110_response import KeywordTarget202110Response +from criteo_api_retailmedia_v2024_10.model.keywords_model import KeywordsModel +from criteo_api_retailmedia_v2024_10.model.keywords_model_resource import KeywordsModelResource +from criteo_api_retailmedia_v2024_10.model.keywords_model_response import KeywordsModelResponse +from criteo_api_retailmedia_v2024_10.model.line_item_bid_multipliers_v2_request import LineItemBidMultipliersV2Request +from criteo_api_retailmedia_v2024_10.model.line_item_bid_multipliers_v2_response import LineItemBidMultipliersV2Response +from criteo_api_retailmedia_v2024_10.model.line_item_budget_overrides import LineItemBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.line_item_product_status import LineItemProductStatus +from criteo_api_retailmedia_v2024_10.model.match_type_model import MatchTypeModel +from criteo_api_retailmedia_v2024_10.model.metadata import Metadata +from criteo_api_retailmedia_v2024_10.model.monthly_line_item_budeget_override import MonthlyLineItemBudegetOverride +from criteo_api_retailmedia_v2024_10.model.negotiation_state_model import NegotiationStateModel +from criteo_api_retailmedia_v2024_10.model.nillable_string import NillableString +from criteo_api_retailmedia_v2024_10.model.page_metadata import PageMetadata +from criteo_api_retailmedia_v2024_10.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1 +from criteo_api_retailmedia_v2024_10.model.page_type_environment import PageTypeEnvironment +from criteo_api_retailmedia_v2024_10.model.paged_resource_collection_outcome_of_balance_response_v2 import PagedResourceCollectionOutcomeOfBalanceResponseV2 +from criteo_api_retailmedia_v2024_10.model.post_campaign_v202301 import PostCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_v2_paged_list_response import PreferredLineItemV2PagedListResponse +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_v2_response import PreferredLineItemV2Response +from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails +from criteo_api_retailmedia_v2024_10.model.product_metadata import ProductMetadata +from criteo_api_retailmedia_v2024_10.model.product_resource_outcome import ProductResourceOutcome +from criteo_api_retailmedia_v2024_10.model.promoted_product import PromotedProduct +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource import PromotedProductResource +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource_collection_outcome import PromotedProductResourceCollectionOutcome +from criteo_api_retailmedia_v2024_10.model.proposal_status_model import ProposalStatusModel +from criteo_api_retailmedia_v2024_10.model.proposal_status_model_resource import ProposalStatusModelResource +from criteo_api_retailmedia_v2024_10.model.proposal_status_model_response import ProposalStatusModelResponse +from criteo_api_retailmedia_v2024_10.model.put_campaign_v202301 import PutCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.report_outcome import ReportOutcome +from criteo_api_retailmedia_v2024_10.model.resource_of_add_funds_to_balance_v2 import ResourceOfAddFundsToBalanceV2 +from criteo_api_retailmedia_v2024_10.model.resource_of_auction_line_item import ResourceOfAuctionLineItem +from criteo_api_retailmedia_v2024_10.model.resource_of_auction_line_item_update_model import ResourceOfAuctionLineItemUpdateModel +from criteo_api_retailmedia_v2024_10.model.resource_of_balance_campaign202110 import ResourceOfBalanceCampaign202110 +from criteo_api_retailmedia_v2024_10.model.resource_of_balance_response_v2 import ResourceOfBalanceResponseV2 +from criteo_api_retailmedia_v2024_10.model.resource_of_category202204 import ResourceOfCategory202204 +from criteo_api_retailmedia_v2024_10.model.resource_of_change_dates_of_balance_v2 import ResourceOfChangeDatesOfBalanceV2 +from criteo_api_retailmedia_v2024_10.model.resource_of_common_line_item import ResourceOfCommonLineItem +from criteo_api_retailmedia_v2024_10.model.resource_of_create_balance_v2 import ResourceOfCreateBalanceV2 +from criteo_api_retailmedia_v2024_10.model.resource_of_creative202110 import ResourceOfCreative202110 +from criteo_api_retailmedia_v2024_10.model.resource_of_creative202210 import ResourceOfCreative202210 +from criteo_api_retailmedia_v2024_10.model.resource_of_creative_v2 import ResourceOfCreativeV2 +from criteo_api_retailmedia_v2024_10.model.resource_of_line_item_bid_multipliers_v2 import ResourceOfLineItemBidMultipliersV2 +from criteo_api_retailmedia_v2024_10.model.resource_of_preferred_line_item_update_model_v2 import ResourceOfPreferredLineItemUpdateModelV2 +from criteo_api_retailmedia_v2024_10.model.resource_of_preferred_line_item_v2 import ResourceOfPreferredLineItemV2 +from criteo_api_retailmedia_v2024_10.model.resource_of_retail_media_account import ResourceOfRetailMediaAccount +from criteo_api_retailmedia_v2024_10.model.resource_of_template import ResourceOfTemplate +from criteo_api_retailmedia_v2024_10.model.resource_of_update_balance_model_v2 import ResourceOfUpdateBalanceModelV2 +from criteo_api_retailmedia_v2024_10.model.resource_outcome import ResourceOutcome +from criteo_api_retailmedia_v2024_10.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount +from criteo_api_retailmedia_v2024_10.model.retail_media_account import RetailMediaAccount +from criteo_api_retailmedia_v2024_10.model.retail_media_brand_account_creation import RetailMediaBrandAccountCreation +from criteo_api_retailmedia_v2024_10.model.retail_media_brands import RetailMediaBrands +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_amendment import RetailMediaContactlistAmendment +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_amendment_attributes import RetailMediaContactlistAmendmentAttributes +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_amendment_request import RetailMediaContactlistAmendmentRequest +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_operation import RetailMediaContactlistOperation +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_operation_response_attributes import RetailMediaContactlistOperationResponseAttributes +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_operation_response_attributes_attributes import RetailMediaContactlistOperationResponseAttributesAttributes +from criteo_api_retailmedia_v2024_10.model.retail_media_seller import RetailMediaSeller +from criteo_api_retailmedia_v2024_10.model.retail_media_seller_account_creation import RetailMediaSellerAccountCreation +from criteo_api_retailmedia_v2024_10.model.review_state_model import ReviewStateModel +from criteo_api_retailmedia_v2024_10.model.rm_algebra_node_v1 import RmAlgebraNodeV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_entity_v1 import RmAudienceEntityV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_entity_v1_resource import RmAudienceEntityV1Resource +from criteo_api_retailmedia_v2024_10.model.rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response import RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_search_entity_v1 import RmAudienceSearchEntityV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_search_entity_v1_resource import RmAudienceSearchEntityV1Resource +from criteo_api_retailmedia_v2024_10.model.rm_audience_search_input_v1 import RmAudienceSearchInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_search_metadata_v1 import RmAudienceSearchMetadataV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_bulk_create_input_v1 import RmAudienceSegmentBulkCreateInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_bulk_delete_input_v1 import RmAudienceSegmentBulkDeleteInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_bulk_update_input_v1 import RmAudienceSegmentBulkUpdateInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_create_entity_v1 import RmAudienceSegmentCreateEntityV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_create_entity_v1_resource import RmAudienceSegmentCreateEntityV1Resource +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_delete_entity_v1_resource import RmAudienceSegmentDeleteEntityV1Resource +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1 import RmAudienceSegmentEntityV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_list_response import RmAudienceSegmentEntityV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_resource import RmAudienceSegmentEntityV1Resource +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response import RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_id_entity_v1_list_response import RmAudienceSegmentIdEntityV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_id_entity_v1_resource import RmAudienceSegmentIdEntityV1Resource +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_search_entity_v1 import RmAudienceSegmentSearchEntityV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_search_entity_v1_resource import RmAudienceSegmentSearchEntityV1Resource +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_search_input_v1 import RmAudienceSegmentSearchInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_search_metadata_v1 import RmAudienceSegmentSearchMetadataV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_update_entity_v1 import RmAudienceSegmentUpdateEntityV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_update_entity_v1_resource import RmAudienceSegmentUpdateEntityV1Resource +from criteo_api_retailmedia_v2024_10.model.rm_contact_list_create_v1 import RmContactListCreateV1 +from criteo_api_retailmedia_v2024_10.model.rm_contact_list_statistics_entity_v1 import RmContactListStatisticsEntityV1 +from criteo_api_retailmedia_v2024_10.model.rm_contact_list_statistics_entity_v1_resource import RmContactListStatisticsEntityV1Resource +from criteo_api_retailmedia_v2024_10.model.rm_contact_list_statistics_entity_v1_response import RmContactListStatisticsEntityV1Response +from criteo_api_retailmedia_v2024_10.model.rm_contact_list_v1 import RmContactListV1 +from criteo_api_retailmedia_v2024_10.model.rm_events_v1 import RmEventsV1 +from criteo_api_retailmedia_v2024_10.model.rmca_common_problem import RmcaCommonProblem +from criteo_api_retailmedia_v2024_10.model.section import Section +from criteo_api_retailmedia_v2024_10.model.set_bid_model import SetBidModel +from criteo_api_retailmedia_v2024_10.model.set_bids_model import SetBidsModel +from criteo_api_retailmedia_v2024_10.model.set_bids_model_request import SetBidsModelRequest +from criteo_api_retailmedia_v2024_10.model.set_bids_model_resource import SetBidsModelResource +from criteo_api_retailmedia_v2024_10.model.status_response import StatusResponse +from criteo_api_retailmedia_v2024_10.model.status_response_resource import StatusResponseResource +from criteo_api_retailmedia_v2024_10.model.store_ids_update_model202110_request import StoreIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.store_target202110_request import StoreTarget202110Request +from criteo_api_retailmedia_v2024_10.model.store_target202110_response import StoreTarget202110Response +from criteo_api_retailmedia_v2024_10.model.template import Template +from criteo_api_retailmedia_v2024_10.model.template_list_response import TemplateListResponse +from criteo_api_retailmedia_v2024_10.model.template_response import TemplateResponse +from criteo_api_retailmedia_v2024_10.model.template_variable import TemplateVariable +from criteo_api_retailmedia_v2024_10.model.template_variable_value import TemplateVariableValue +from criteo_api_retailmedia_v2024_10.model.text_variable_specification import TextVariableSpecification +from criteo_api_retailmedia_v2024_10.model.text_variable_value import TextVariableValue +from criteo_api_retailmedia_v2024_10.model.update_balance_model_v2 import UpdateBalanceModelV2 +from criteo_api_retailmedia_v2024_10.model.update_balance_model_v2_request import UpdateBalanceModelV2Request +from criteo_api_retailmedia_v2024_10.model.value_resource_collection_input_of_retail_media_seller import ValueResourceCollectionInputOfRetailMediaSeller +from criteo_api_retailmedia_v2024_10.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_brand_account_creation import ValueResourceInputOfRetailMediaBrandAccountCreation +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_brands import ValueResourceInputOfRetailMediaBrands +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_seller_account_creation import ValueResourceInputOfRetailMediaSellerAccountCreation +from criteo_api_retailmedia_v2024_10.model.value_resource_of_campaign_budget_overrides import ValueResourceOfCampaignBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_of_line_item_budget_overrides import ValueResourceOfLineItemBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_brand_account_creation import ValueResourceOfRetailMediaBrandAccountCreation +from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_brands import ValueResourceOfRetailMediaBrands +from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_seller import ValueResourceOfRetailMediaSeller +from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_seller_account_creation import ValueResourceOfRetailMediaSellerAccountCreation +from criteo_api_retailmedia_v2024_10.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_add_to_basket_ids_update_model202110 import ValueTypeResourceOfAddToBasketIdsUpdateModel202110 +from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_add_to_basket_target202110 import ValueTypeResourceOfAddToBasketTarget202110 +from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_audience_ids_update_model202110 import ValueTypeResourceOfAudienceIdsUpdateModel202110 +from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_audience_target202110 import ValueTypeResourceOfAudienceTarget202110 +from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_keyword_target202110 import ValueTypeResourceOfKeywordTarget202110 +from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_store_ids_update_model202110 import ValueTypeResourceOfStoreIdsUpdateModel202110 +from criteo_api_retailmedia_v2024_10.model.value_type_resource_of_store_target202110 import ValueTypeResourceOfStoreTarget202110 diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/rest.py b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/rest.py similarity index 99% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/rest.py rename to sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/rest.py index 223d5158..cc13c0b7 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/rest.py +++ b/sdks/retailmedia_2024-10/criteo_api_retailmedia_v2024_10/rest.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: 2024-10 Generated by: https://openapi-generator.tech """ @@ -19,7 +19,7 @@ import urllib3 import ipaddress -from criteo_api_retailmedia_v2023_07.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError +from criteo_api_retailmedia_v2024_10.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError logger = logging.getLogger(__name__) diff --git a/sdks/retailmedia_2024-10/docs/AccountsApi.md b/sdks/retailmedia_2024-10/docs/AccountsApi.md new file mode 100644 index 00000000..7d199f72 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/AccountsApi.md @@ -0,0 +1,635 @@ +# criteo_api_retailmedia_v2024_10.AccountsApi + +All URIs are relative to *https://api.criteo.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**add_brands**](AccountsApi.md#add_brands) | **POST** /2024-10/retail-media/account-management/accounts/{accountId}/brands/add | +[**create_private_market_demand_brand_account**](AccountsApi.md#create_private_market_demand_brand_account) | **POST** /2024-10/retail-media/account-management/accounts/{accountId}/create-brand-account | +[**create_private_market_demand_seller_account**](AccountsApi.md#create_private_market_demand_seller_account) | **POST** /2024-10/retail-media/account-management/accounts/{accountId}/create-seller-account | +[**get_api_v1_external_accounts**](AccountsApi.md#get_api_v1_external_accounts) | **GET** /2024-10/retail-media/accounts | +[**remove_brands**](AccountsApi.md#remove_brands) | **POST** /2024-10/retail-media/account-management/accounts/{accountId}/brands/remove | +[**update_sellers**](AccountsApi.md#update_sellers) | **PUT** /2024-10/retail-media/account-management/accounts/{accountId}/sellers | + + +# **add_brands** +> ValueResourceOfRetailMediaBrands add_brands(account_id) + + + +Add brands to an account + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import accounts_api +from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_brands import ValueResourceOfRetailMediaBrands +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_brands import ValueResourceInputOfRetailMediaBrands +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounts_api.AccountsApi(api_client) + account_id = "accountId_example" # str | the account id to update + value_resource_input_of_retail_media_brands = ValueResourceInputOfRetailMediaBrands( + data=ValueResourceOfRetailMediaBrands( + type="type_example", + attributes=RetailMediaBrands( + brand_ids=[ + 1, + ], + ), + ), + ) # ValueResourceInputOfRetailMediaBrands | brands to associate to account (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.add_brands(account_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->add_brands: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.add_brands(account_id, value_resource_input_of_retail_media_brands=value_resource_input_of_retail_media_brands) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->add_brands: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| the account id to update | + **value_resource_input_of_retail_media_brands** | [**ValueResourceInputOfRetailMediaBrands**](ValueResourceInputOfRetailMediaBrands.md)| brands to associate to account | [optional] + +### Return type + +[**ValueResourceOfRetailMediaBrands**](ValueResourceOfRetailMediaBrands.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_private_market_demand_brand_account** +> ResourceOutcomeOfRetailMediaAccount create_private_market_demand_brand_account(account_id) + + + +Creates a new child Demand Brand Account for the provided parent private market account + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import accounts_api +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_brand_account_creation import ValueResourceInputOfRetailMediaBrandAccountCreation +from criteo_api_retailmedia_v2024_10.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounts_api.AccountsApi(api_client) + account_id = "accountId_example" # str | Account Id for the parent private market account + value_resource_input_of_retail_media_brand_account_creation = ValueResourceInputOfRetailMediaBrandAccountCreation( + data=ValueResourceOfRetailMediaBrandAccountCreation( + type="type_example", + attributes=RetailMediaBrandAccountCreation( + name="name_example", + company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", + brands=[ + 1, + ], + ), + ), + ) # ValueResourceInputOfRetailMediaBrandAccountCreation | Initial creation and configuration options for the new account (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.create_private_market_demand_brand_account(account_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->create_private_market_demand_brand_account: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.create_private_market_demand_brand_account(account_id, value_resource_input_of_retail_media_brand_account_creation=value_resource_input_of_retail_media_brand_account_creation) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->create_private_market_demand_brand_account: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| Account Id for the parent private market account | + **value_resource_input_of_retail_media_brand_account_creation** | [**ValueResourceInputOfRetailMediaBrandAccountCreation**](ValueResourceInputOfRetailMediaBrandAccountCreation.md)| Initial creation and configuration options for the new account | [optional] + +### Return type + +[**ResourceOutcomeOfRetailMediaAccount**](ResourceOutcomeOfRetailMediaAccount.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_private_market_demand_seller_account** +> ResourceOutcomeOfRetailMediaAccount create_private_market_demand_seller_account(account_id) + + + +Creates a new child Demand Seller Account for the provided parent private market account + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import accounts_api +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_seller_account_creation import ValueResourceInputOfRetailMediaSellerAccountCreation +from criteo_api_retailmedia_v2024_10.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounts_api.AccountsApi(api_client) + account_id = "accountId_example" # str | Account Id for the parent private market account + value_resource_input_of_retail_media_seller_account_creation = ValueResourceInputOfRetailMediaSellerAccountCreation( + data=ValueResourceOfRetailMediaSellerAccountCreation( + type="type_example", + attributes=RetailMediaSellerAccountCreation( + name="name_example", + company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", + sellers=[ + RetailMediaSeller( + seller_id="seller_id_example", + retailer_id=1, + ), + ], + ), + ), + ) # ValueResourceInputOfRetailMediaSellerAccountCreation | Initial creation and configuration options for the new account (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.create_private_market_demand_seller_account(account_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->create_private_market_demand_seller_account: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.create_private_market_demand_seller_account(account_id, value_resource_input_of_retail_media_seller_account_creation=value_resource_input_of_retail_media_seller_account_creation) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->create_private_market_demand_seller_account: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| Account Id for the parent private market account | + **value_resource_input_of_retail_media_seller_account_creation** | [**ValueResourceInputOfRetailMediaSellerAccountCreation**](ValueResourceInputOfRetailMediaSellerAccountCreation.md)| Initial creation and configuration options for the new account | [optional] + +### Return type + +[**ResourceOutcomeOfRetailMediaAccount**](ResourceOutcomeOfRetailMediaAccount.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_api_v1_external_accounts** +> JsonApiPageResponseOfAccount get_api_v1_external_accounts() + + + +Gets page of account objects that the current user can access + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import accounts_api +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounts_api.AccountsApi(api_client) + limit_to_id = [ + "limitToId_example", + ] # [str] | The ids that you would like to limit your result set to (optional) + page_index = 0 # int | The 0 indexed page index you would like to receive given the page size (optional) if omitted the server will use the default value of 0 + page_size = 25 # int | The maximum number of items you would like to receive in this request (optional) if omitted the server will use the default value of 25 + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_api_v1_external_accounts(limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->get_api_v1_external_accounts: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] + **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] if omitted the server will use the default value of 0 + **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] if omitted the server will use the default value of 25 + +### Return type + +[**JsonApiPageResponseOfAccount**](JsonApiPageResponseOfAccount.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **remove_brands** +> ValueResourceOfRetailMediaBrands remove_brands(account_id) + + + +Remove a brand from an account + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import accounts_api +from criteo_api_retailmedia_v2024_10.model.value_resource_of_retail_media_brands import ValueResourceOfRetailMediaBrands +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_retail_media_brands import ValueResourceInputOfRetailMediaBrands +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounts_api.AccountsApi(api_client) + account_id = "accountId_example" # str | The account id to update + value_resource_input_of_retail_media_brands = ValueResourceInputOfRetailMediaBrands( + data=ValueResourceOfRetailMediaBrands( + type="type_example", + attributes=RetailMediaBrands( + brand_ids=[ + 1, + ], + ), + ), + ) # ValueResourceInputOfRetailMediaBrands | Brands to remove from account (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.remove_brands(account_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->remove_brands: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.remove_brands(account_id, value_resource_input_of_retail_media_brands=value_resource_input_of_retail_media_brands) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->remove_brands: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| The account id to update | + **value_resource_input_of_retail_media_brands** | [**ValueResourceInputOfRetailMediaBrands**](ValueResourceInputOfRetailMediaBrands.md)| Brands to remove from account | [optional] + +### Return type + +[**ValueResourceOfRetailMediaBrands**](ValueResourceOfRetailMediaBrands.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_sellers** +> ValueResourceCollectionOutcomeOfRetailMediaSeller update_sellers(account_id) + + + +replace the sellers assoiated with an account + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import accounts_api +from criteo_api_retailmedia_v2024_10.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller +from criteo_api_retailmedia_v2024_10.model.value_resource_collection_input_of_retail_media_seller import ValueResourceCollectionInputOfRetailMediaSeller +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounts_api.AccountsApi(api_client) + account_id = "accountId_example" # str | the account id to update + value_resource_collection_input_of_retail_media_seller = ValueResourceCollectionInputOfRetailMediaSeller( + data=[ + ValueResourceOfRetailMediaSeller( + type="type_example", + attributes=RetailMediaSeller( + seller_id="seller_id_example", + retailer_id=1, + ), + ), + ], + ) # ValueResourceCollectionInputOfRetailMediaSeller | sellers to associate (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.update_sellers(account_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->update_sellers: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.update_sellers(account_id, value_resource_collection_input_of_retail_media_seller=value_resource_collection_input_of_retail_media_seller) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AccountsApi->update_sellers: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| the account id to update | + **value_resource_collection_input_of_retail_media_seller** | [**ValueResourceCollectionInputOfRetailMediaSeller**](ValueResourceCollectionInputOfRetailMediaSeller.md)| sellers to associate | [optional] + +### Return type + +[**ValueResourceCollectionOutcomeOfRetailMediaSeller**](ValueResourceCollectionOutcomeOfRetailMediaSeller.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/sdks/retailmedia_2024-10/docs/AddFundsToBalanceV2.md b/sdks/retailmedia_2024-10/docs/AddFundsToBalanceV2.md new file mode 100644 index 00000000..eb5ae7db --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/AddFundsToBalanceV2.md @@ -0,0 +1,15 @@ +# AddFundsToBalanceV2 + +An object that represents the available options of adding funds to a balance. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**delta_amount** | **float** | Amount of billable funds to be added / decreased allotted to the balance. | +**po_number** | **str, none_type** | Purchase Order number. | [optional] +**memo** | **str, none_type** | Memo | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/AddFundsToBalanceV2Request.md b/sdks/retailmedia_2024-10/docs/AddFundsToBalanceV2Request.md new file mode 100644 index 00000000..5d6ecbdf --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/AddFundsToBalanceV2Request.md @@ -0,0 +1,13 @@ +# AddFundsToBalanceV2Request + +A top-level object that encapsulates a Criteo API request for a single entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ResourceOfAddFundsToBalanceV2**](ResourceOfAddFundsToBalanceV2.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/AddRemoveKeywordModel.md b/sdks/retailmedia_2024-10/docs/AddRemoveKeywordModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AddRemoveKeywordModel.md rename to sdks/retailmedia_2024-10/docs/AddRemoveKeywordModel.md diff --git a/sdks/retailmedia_2023-07/docs/AddRemoveKeywordsModel.md b/sdks/retailmedia_2024-10/docs/AddRemoveKeywordsModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AddRemoveKeywordsModel.md rename to sdks/retailmedia_2024-10/docs/AddRemoveKeywordsModel.md diff --git a/sdks/retailmedia_2023-07/docs/AddRemoveKeywordsModelRequest.md b/sdks/retailmedia_2024-10/docs/AddRemoveKeywordsModelRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AddRemoveKeywordsModelRequest.md rename to sdks/retailmedia_2024-10/docs/AddRemoveKeywordsModelRequest.md diff --git a/sdks/retailmedia_2023-07/docs/AddRemoveKeywordsModelResource.md b/sdks/retailmedia_2024-10/docs/AddRemoveKeywordsModelResource.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AddRemoveKeywordsModelResource.md rename to sdks/retailmedia_2024-10/docs/AddRemoveKeywordsModelResource.md diff --git a/sdks/retailmedia_2023-07/docs/AddToBasketIdsUpdateModel202110Request.md b/sdks/retailmedia_2024-10/docs/AddToBasketIdsUpdateModel202110Request.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AddToBasketIdsUpdateModel202110Request.md rename to sdks/retailmedia_2024-10/docs/AddToBasketIdsUpdateModel202110Request.md diff --git a/sdks/retailmedia_2023-07/docs/AddToBasketTarget202110Request.md b/sdks/retailmedia_2024-10/docs/AddToBasketTarget202110Request.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AddToBasketTarget202110Request.md rename to sdks/retailmedia_2024-10/docs/AddToBasketTarget202110Request.md diff --git a/sdks/retailmedia_2023-07/docs/AddToBasketTarget202110Response.md b/sdks/retailmedia_2024-10/docs/AddToBasketTarget202110Response.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AddToBasketTarget202110Response.md rename to sdks/retailmedia_2024-10/docs/AddToBasketTarget202110Response.md diff --git a/sdks/retailmedia_2023-07/docs/AnalyticsApi.md b/sdks/retailmedia_2024-10/docs/AnalyticsApi.md similarity index 62% rename from sdks/retailmedia_2023-07/docs/AnalyticsApi.md rename to sdks/retailmedia_2024-10/docs/AnalyticsApi.md index 070eb175..129bfe19 100644 --- a/sdks/retailmedia_2023-07/docs/AnalyticsApi.md +++ b/sdks/retailmedia_2024-10/docs/AnalyticsApi.md @@ -1,13 +1,14 @@ -# criteo_api_retailmedia_v2023_07.AnalyticsApi +# criteo_api_retailmedia_v2024_10.AnalyticsApi All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**generate_async_campaigns_report**](AnalyticsApi.md#generate_async_campaigns_report) | **POST** /2023-07/retail-media/reports/campaigns | -[**generate_async_line_items_report**](AnalyticsApi.md#generate_async_line_items_report) | **POST** /2023-07/retail-media/reports/line-items | -[**get_async_export_output**](AnalyticsApi.md#get_async_export_output) | **GET** /2023-07/retail-media/reports/{reportId}/output | -[**get_async_export_status**](AnalyticsApi.md#get_async_export_status) | **GET** /2023-07/retail-media/reports/{reportId}/status | +[**generate_async_campaigns_report**](AnalyticsApi.md#generate_async_campaigns_report) | **POST** /2024-10/retail-media/reports/campaigns | +[**generate_async_line_items_report**](AnalyticsApi.md#generate_async_line_items_report) | **POST** /2024-10/retail-media/reports/line-items | +[**generate_async_revenue_report**](AnalyticsApi.md#generate_async_revenue_report) | **POST** /2024-10/retail-media/reports/revenue | +[**get_async_export_output**](AnalyticsApi.md#get_async_export_output) | **GET** /2024-10/retail-media/reports/{reportId}/output | +[**get_async_export_status**](AnalyticsApi.md#get_async_export_status) | **GET** /2024-10/retail-media/reports/{reportId}/status | # **generate_async_campaigns_report** @@ -15,7 +16,7 @@ Method | HTTP request | Description -Return an asynchronous Campaigns Report +Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. ### Example @@ -24,15 +25,15 @@ Return an asynchronous Campaigns Report ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import analytics_api -from criteo_api_retailmedia_v2023_07.model.async_report_response import AsyncReportResponse -from criteo_api_retailmedia_v2023_07.model.report_outcome import ReportOutcome -from criteo_api_retailmedia_v2023_07.model.async_campaigns_report_request import AsyncCampaignsReportRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import analytics_api +from criteo_api_retailmedia_v2024_10.model.async_report_response import AsyncReportResponse +from criteo_api_retailmedia_v2024_10.model.report_outcome import ReportOutcome +from criteo_api_retailmedia_v2024_10.model.async_campaigns_report_request import AsyncCampaignsReportRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -42,19 +43,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = analytics_api.AnalyticsApi(api_client) async_campaigns_report_request = AsyncCampaignsReportRequest( @@ -88,7 +89,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.generate_async_campaigns_report(async_campaigns_report_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling AnalyticsApi->generate_async_campaigns_report: %s\n" % e) ``` @@ -128,7 +129,7 @@ Name | Type | Description | Notes -Returns an asynchronous Line Items Report +Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. ### Example @@ -137,15 +138,15 @@ Returns an asynchronous Line Items Report ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import analytics_api -from criteo_api_retailmedia_v2023_07.model.async_report_response import AsyncReportResponse -from criteo_api_retailmedia_v2023_07.model.report_outcome import ReportOutcome -from criteo_api_retailmedia_v2023_07.model.async_line_items_report_request import AsyncLineItemsReportRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import analytics_api +from criteo_api_retailmedia_v2024_10.model.async_report_response import AsyncReportResponse +from criteo_api_retailmedia_v2024_10.model.report_outcome import ReportOutcome +from criteo_api_retailmedia_v2024_10.model.async_line_items_report_request import AsyncLineItemsReportRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -155,19 +156,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = analytics_api.AnalyticsApi(api_client) async_line_items_report_request = AsyncLineItemsReportRequest( @@ -201,7 +202,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.generate_async_line_items_report(async_line_items_report_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling AnalyticsApi->generate_async_line_items_report: %s\n" % e) ``` @@ -226,6 +227,128 @@ Name | Type | Description | Notes - **Accept**: text/plain, application/json, text/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | +**400** | Bad Request | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **generate_async_revenue_report** +> AsyncReportResponse generate_async_revenue_report(async_revenue_report_request) + + + +Returns an asynchronous Revenue Report This endpoint is subject to specific rate limits. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import analytics_api +from criteo_api_retailmedia_v2024_10.model.async_report_response import AsyncReportResponse +from criteo_api_retailmedia_v2024_10.model.async_revenue_report_request import AsyncRevenueReportRequest +from criteo_api_retailmedia_v2024_10.model.report_outcome import ReportOutcome +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = analytics_api.AnalyticsApi(api_client) + async_revenue_report_request = AsyncRevenueReportRequest( + data=AsyncRevenueReportResource( + type="type_example", + attributes=AsyncRevenueReport( + ids=[ + "ids_example", + ], + id="id_example", + report_type="advertiser", + revenue_type="auction", + sold_by="directSold", + buy_type="auction", + advertiser_types=[ + "retailer", + ], + sku_relations=[ + "sameSku", + ], + format="json", + campaign_type="all", + sales_channel="all", + click_attribution_window="none", + view_attribution_window="none", + dimensions=[ + "date", + ], + metrics=[ + "numberOfCampaigns", + ], + start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), + end_date=dateutil_parser('1970-01-01T00:00:00.00Z'), + timezone="UTC", + ), + ), + ) # AsyncRevenueReportRequest | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.generate_async_revenue_report(async_revenue_report_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AnalyticsApi->generate_async_revenue_report: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **async_revenue_report_request** | [**AsyncRevenueReportRequest**](AsyncRevenueReportRequest.md)| | + +### Return type + +[**AsyncReportResponse**](AsyncReportResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json + + ### HTTP response details | Status code | Description | Response headers | @@ -250,13 +373,13 @@ Returns the output of an async report ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import analytics_api -from criteo_api_retailmedia_v2023_07.model.report_outcome import ReportOutcome +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import analytics_api +from criteo_api_retailmedia_v2024_10.model.report_outcome import ReportOutcome from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -266,19 +389,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = analytics_api.AnalyticsApi(api_client) report_id = "reportId_example" # str | The ID of the report to retrieve @@ -287,7 +410,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_async_export_output(report_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling AnalyticsApi->get_async_export_output: %s\n" % e) ``` @@ -336,14 +459,14 @@ Returns the status of an async report ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import analytics_api -from criteo_api_retailmedia_v2023_07.model.async_report_response import AsyncReportResponse -from criteo_api_retailmedia_v2023_07.model.report_outcome import ReportOutcome +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import analytics_api +from criteo_api_retailmedia_v2024_10.model.async_report_response import AsyncReportResponse +from criteo_api_retailmedia_v2024_10.model.report_outcome import ReportOutcome from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -353,19 +476,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = analytics_api.AnalyticsApi(api_client) report_id = "reportId_example" # str | The ID of the report to retrieve @@ -374,7 +497,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_async_export_status(report_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling AnalyticsApi->get_async_export_status: %s\n" % e) ``` diff --git a/sdks/retailmedia_2023-07/docs/ApplicationSummaryModel.md b/sdks/retailmedia_2024-10/docs/ApplicationSummaryModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ApplicationSummaryModel.md rename to sdks/retailmedia_2024-10/docs/ApplicationSummaryModel.md diff --git a/sdks/retailmedia_2023-07/docs/ApplicationSummaryModelResource.md b/sdks/retailmedia_2024-10/docs/ApplicationSummaryModelResource.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ApplicationSummaryModelResource.md rename to sdks/retailmedia_2024-10/docs/ApplicationSummaryModelResource.md diff --git a/sdks/retailmedia_2023-07/docs/ApplicationSummaryModelResponse.md b/sdks/retailmedia_2024-10/docs/ApplicationSummaryModelResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ApplicationSummaryModelResponse.md rename to sdks/retailmedia_2024-10/docs/ApplicationSummaryModelResponse.md diff --git a/sdks/retailmedia_2023-07/docs/ApprovalStatusModel.md b/sdks/retailmedia_2024-10/docs/ApprovalStatusModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ApprovalStatusModel.md rename to sdks/retailmedia_2024-10/docs/ApprovalStatusModel.md diff --git a/sdks/retailmedia_2023-07/docs/Asset.md b/sdks/retailmedia_2024-10/docs/Asset.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/Asset.md rename to sdks/retailmedia_2024-10/docs/Asset.md diff --git a/sdks/retailmedia_2023-07/docs/AssetResource.md b/sdks/retailmedia_2024-10/docs/AssetResource.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AssetResource.md rename to sdks/retailmedia_2024-10/docs/AssetResource.md diff --git a/sdks/retailmedia_2023-07/docs/AssetResponse.md b/sdks/retailmedia_2024-10/docs/AssetResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AssetResponse.md rename to sdks/retailmedia_2024-10/docs/AssetResponse.md diff --git a/sdks/retailmedia_2023-07/docs/AsyncCampaignsReport.md b/sdks/retailmedia_2024-10/docs/AsyncCampaignsReport.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AsyncCampaignsReport.md rename to sdks/retailmedia_2024-10/docs/AsyncCampaignsReport.md diff --git a/sdks/retailmedia_2023-07/docs/AsyncCampaignsReportRequest.md b/sdks/retailmedia_2024-10/docs/AsyncCampaignsReportRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AsyncCampaignsReportRequest.md rename to sdks/retailmedia_2024-10/docs/AsyncCampaignsReportRequest.md diff --git a/sdks/retailmedia_2023-07/docs/AsyncCampaignsReportResource.md b/sdks/retailmedia_2024-10/docs/AsyncCampaignsReportResource.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AsyncCampaignsReportResource.md rename to sdks/retailmedia_2024-10/docs/AsyncCampaignsReportResource.md diff --git a/sdks/retailmedia_2023-07/docs/AsyncLineItemsReport.md b/sdks/retailmedia_2024-10/docs/AsyncLineItemsReport.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AsyncLineItemsReport.md rename to sdks/retailmedia_2024-10/docs/AsyncLineItemsReport.md diff --git a/sdks/retailmedia_2023-07/docs/AsyncLineItemsReportRequest.md b/sdks/retailmedia_2024-10/docs/AsyncLineItemsReportRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AsyncLineItemsReportRequest.md rename to sdks/retailmedia_2024-10/docs/AsyncLineItemsReportRequest.md diff --git a/sdks/retailmedia_2023-07/docs/AsyncLineItemsReportResource.md b/sdks/retailmedia_2024-10/docs/AsyncLineItemsReportResource.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AsyncLineItemsReportResource.md rename to sdks/retailmedia_2024-10/docs/AsyncLineItemsReportResource.md diff --git a/sdks/retailmedia_2023-07/docs/AsyncReportResponse.md b/sdks/retailmedia_2024-10/docs/AsyncReportResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AsyncReportResponse.md rename to sdks/retailmedia_2024-10/docs/AsyncReportResponse.md diff --git a/sdks/retailmedia_2024-10/docs/AsyncRevenueReport.md b/sdks/retailmedia_2024-10/docs/AsyncRevenueReport.md new file mode 100644 index 00000000..5461d21e --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/AsyncRevenueReport.md @@ -0,0 +1,30 @@ +# AsyncRevenueReport + +Async Revenue report body request + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**start_date** | **datetime** | Start date | +**end_date** | **datetime** | End date | +**ids** | **[str], none_type** | Supply account ids to report on | [optional] +**id** | **str, none_type** | Supply account id to report on | [optional] +**report_type** | **str, none_type** | Type of report | [optional] +**revenue_type** | **str, none_type** | Type of revenue | [optional] +**sold_by** | **str, none_type** | Filter on the seller: Indirect Sold, Direct Sold or Private Market | [optional] +**buy_type** | **str, none_type** | Filter on buy type: Auction, Preferred Deals or Sponsorship | [optional] +**advertiser_types** | **[str], none_type** | Filter on the type of advertiser: retailer, brand, seller | [optional] +**sku_relations** | **[str], none_type** | Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller | [optional] +**format** | **str, none_type** | Format of the output | [optional] +**campaign_type** | **str, none_type** | Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays | [optional] if omitted the server will use the default value of "all" +**sales_channel** | **str, none_type** | Filter on specific sales channel: offline or online | [optional] if omitted the server will use the default value of "all" +**click_attribution_window** | **str, none_type** | Click attribution window | [optional] if omitted the server will use the default value of "none" +**view_attribution_window** | **str, none_type** | View attribution window | [optional] if omitted the server will use the default value of "none" +**dimensions** | **[str], none_type** | List of dimensions to report on | [optional] +**metrics** | **[str], none_type** | List of metrics to report on | [optional] +**timezone** | **str, none_type** | Time zone : see criteo developer portal for supported time zones | [optional] if omitted the server will use the default value of "UTC" +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/AsyncRevenueReportRequest.md b/sdks/retailmedia_2024-10/docs/AsyncRevenueReportRequest.md new file mode 100644 index 00000000..be978426 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/AsyncRevenueReportRequest.md @@ -0,0 +1,13 @@ +# AsyncRevenueReportRequest + +A top-level object that encapsulates a Criteo API request for a single value + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**AsyncRevenueReportResource**](AsyncRevenueReportResource.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_preview/docs/SetUserProfileModelResource.md b/sdks/retailmedia_2024-10/docs/AsyncRevenueReportResource.md similarity index 83% rename from sdks/marketingsolutions_preview/docs/SetUserProfileModelResource.md rename to sdks/retailmedia_2024-10/docs/AsyncRevenueReportResource.md index 00d21458..9805f04f 100644 --- a/sdks/marketingsolutions_preview/docs/SetUserProfileModelResource.md +++ b/sdks/retailmedia_2024-10/docs/AsyncRevenueReportResource.md @@ -1,4 +1,4 @@ -# SetUserProfileModelResource +# AsyncRevenueReportResource A top-level object that encapsulates a Criteo API response for a single value @@ -6,7 +6,7 @@ A top-level object that encapsulates a Criteo API response for a single value Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str, none_type** | | [optional] -**attributes** | [**SetUserProfileModel**](SetUserProfileModel.md) | | [optional] +**attributes** | [**AsyncRevenueReport**](AsyncRevenueReport.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/AuctionLineItemCreateModelRequest.md b/sdks/retailmedia_2024-10/docs/AuctionLineItemCreateModelRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AuctionLineItemCreateModelRequest.md rename to sdks/retailmedia_2024-10/docs/AuctionLineItemCreateModelRequest.md diff --git a/sdks/retailmedia_2023-07/docs/AuctionLineItemPagedListResponse.md b/sdks/retailmedia_2024-10/docs/AuctionLineItemPagedListResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AuctionLineItemPagedListResponse.md rename to sdks/retailmedia_2024-10/docs/AuctionLineItemPagedListResponse.md diff --git a/sdks/retailmedia_2023-07/docs/AuctionLineItemResponse.md b/sdks/retailmedia_2024-10/docs/AuctionLineItemResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AuctionLineItemResponse.md rename to sdks/retailmedia_2024-10/docs/AuctionLineItemResponse.md diff --git a/sdks/retailmedia_2023-07/docs/AuctionLineItemUpdateModelRequest.md b/sdks/retailmedia_2024-10/docs/AuctionLineItemUpdateModelRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AuctionLineItemUpdateModelRequest.md rename to sdks/retailmedia_2024-10/docs/AuctionLineItemUpdateModelRequest.md diff --git a/sdks/retailmedia_2024-10/docs/AudienceApi.md b/sdks/retailmedia_2024-10/docs/AudienceApi.md new file mode 100644 index 00000000..b4191bed --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/AudienceApi.md @@ -0,0 +1,829 @@ +# criteo_api_retailmedia_v2024_10.AudienceApi + +All URIs are relative to *https://api.criteo.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**bulk_create_audience_segments**](AudienceApi.md#bulk_create_audience_segments) | **POST** /2024-10/retail-media/accounts/{account-id}/audience-segments/create | +[**bulk_delete_audience_segments**](AudienceApi.md#bulk_delete_audience_segments) | **POST** /2024-10/retail-media/accounts/{account-id}/audience-segments/delete | +[**bulk_update_audience_segments**](AudienceApi.md#bulk_update_audience_segments) | **PATCH** /2024-10/retail-media/accounts/{account-id}/audience-segments | +[**delete_contact_list_identifiers**](AudienceApi.md#delete_contact_list_identifiers) | **POST** /2024-10/retail-media/audience-segments/{audience-segment-id}/contact-list/clear | +[**get_audience_segment_contact_list_statistics**](AudienceApi.md#get_audience_segment_contact_list_statistics) | **GET** /2024-10/retail-media/accounts/{account-id}/audience-segments/{audience-segment-id}/contact-list | +[**search_audience_segments**](AudienceApi.md#search_audience_segments) | **POST** /2024-10/retail-media/accounts/{account-id}/audience-segments/search | +[**search_audiences**](AudienceApi.md#search_audiences) | **POST** /2024-10/retail-media/accounts/{account-id}/audiences/search | +[**update_contact_list_identifiers**](AudienceApi.md#update_contact_list_identifiers) | **POST** /2024-10/retail-media/audience-segments/{audience-segment-id}/contact-list/add-remove | + + +# **bulk_create_audience_segments** +> RmAudienceSegmentEntityV1ListResponse bulk_create_audience_segments(account_id, rm_audience_segment_bulk_create_input_v1) + + + +Creates all segments with a valid configuration, and returns the full segments. For those that cannot be created, one or multiple errors are returned. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import audience_api +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_list_response import RmAudienceSegmentEntityV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_bulk_create_input_v1 import RmAudienceSegmentBulkCreateInputV1 +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + account_id = "account-id_example" # str | Account Id + rm_audience_segment_bulk_create_input_v1 = RmAudienceSegmentBulkCreateInputV1( + data=[ + RmAudienceSegmentCreateEntityV1Resource( + type="type_example", + attributes=RmAudienceSegmentCreateEntityV1( + name="name_example", + description="description_example", + retailer_id="retailer_id_example", + contact_list=RmContactListCreateV1( + identifier_type="Email", + ), + ), + ), + ], + ) # RmAudienceSegmentBulkCreateInputV1 | Segment creation parameter + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.bulk_create_audience_segments(account_id, rm_audience_segment_bulk_create_input_v1) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->bulk_create_audience_segments: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| Account Id | + **rm_audience_segment_bulk_create_input_v1** | [**RmAudienceSegmentBulkCreateInputV1**](RmAudienceSegmentBulkCreateInputV1.md)| Segment creation parameter | + +### Return type + +[**RmAudienceSegmentEntityV1ListResponse**](RmAudienceSegmentEntityV1ListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **bulk_delete_audience_segments** +> RmAudienceSegmentIdEntityV1ListResponse bulk_delete_audience_segments(account_id, rm_audience_segment_bulk_delete_input_v1) + + + +Delete the segments associated to the given audience IDs. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import audience_api +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_id_entity_v1_list_response import RmAudienceSegmentIdEntityV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_bulk_delete_input_v1 import RmAudienceSegmentBulkDeleteInputV1 +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + account_id = "account-id_example" # str | Account id + rm_audience_segment_bulk_delete_input_v1 = RmAudienceSegmentBulkDeleteInputV1( + data=[ + RmAudienceSegmentDeleteEntityV1Resource( + attributes={}, + id="id_example", + type="type_example", + ), + ], + ) # RmAudienceSegmentBulkDeleteInputV1 | Segment delete request. + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.bulk_delete_audience_segments(account_id, rm_audience_segment_bulk_delete_input_v1) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->bulk_delete_audience_segments: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| Account id | + **rm_audience_segment_bulk_delete_input_v1** | [**RmAudienceSegmentBulkDeleteInputV1**](RmAudienceSegmentBulkDeleteInputV1.md)| Segment delete request. | + +### Return type + +[**RmAudienceSegmentIdEntityV1ListResponse**](RmAudienceSegmentIdEntityV1ListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **bulk_update_audience_segments** +> RmAudienceSegmentEntityV1ListResponse bulk_update_audience_segments(account_id, rm_audience_segment_bulk_update_input_v1) + + + +Updates the properties of all segments with a valid configuration, and returns the full segments. For those that cannot be updated, one or multiple errors are returned. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import audience_api +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_list_response import RmAudienceSegmentEntityV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_bulk_update_input_v1 import RmAudienceSegmentBulkUpdateInputV1 +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + account_id = "account-id_example" # str | Account id + rm_audience_segment_bulk_update_input_v1 = RmAudienceSegmentBulkUpdateInputV1( + data=[ + RmAudienceSegmentUpdateEntityV1Resource( + attributes=RmAudienceSegmentUpdateEntityV1( + name="name_example", + description=NillableString( + value="value_example", + ), + contact_list={}, + ), + id="id_example", + type="type_example", + ), + ], + ) # RmAudienceSegmentBulkUpdateInputV1 | Segment Update request + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.bulk_update_audience_segments(account_id, rm_audience_segment_bulk_update_input_v1) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->bulk_update_audience_segments: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| Account id | + **rm_audience_segment_bulk_update_input_v1** | [**RmAudienceSegmentBulkUpdateInputV1**](RmAudienceSegmentBulkUpdateInputV1.md)| Segment Update request | + +### Return type + +[**RmAudienceSegmentEntityV1ListResponse**](RmAudienceSegmentEntityV1ListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_contact_list_identifiers** +> delete_contact_list_identifiers(audience_segment_id) + + + +Delete all identifiers from a retail-media contact list audience-segment, with external audience segment id. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import audience_api +from criteo_api_retailmedia_v2024_10.model.error_code_response import ErrorCodeResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = 1 # int | The id of the contact list audience-segment to amend, we only accept external Id here + + # example passing only required values which don't have defaults set + try: + api_instance.delete_contact_list_identifiers(audience_segment_id) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->delete_contact_list_identifiers: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **int**| The id of the contact list audience-segment to amend, we only accept external Id here | + +### Return type + +void (empty response body) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | The Contact List identifiers were deleted | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_audience_segment_contact_list_statistics** +> RmContactListStatisticsEntityV1Response get_audience_segment_contact_list_statistics(account_id, audience_segment_id) + + + +Returns the statistics of a contact list segment. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import audience_api +from criteo_api_retailmedia_v2024_10.model.rm_contact_list_statistics_entity_v1_response import RmContactListStatisticsEntityV1Response +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + account_id = "account-id_example" # str | Account Id + audience_segment_id = "audience-segment-id_example" # str | Segment Id. + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_audience_segment_contact_list_statistics(account_id, audience_segment_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->get_audience_segment_contact_list_statistics: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| Account Id | + **audience_segment_id** | **str**| Segment Id. | + +### Return type + +[**RmContactListStatisticsEntityV1Response**](RmContactListStatisticsEntityV1Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_audience_segments** +> RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse search_audience_segments(account_id, rm_audience_segment_search_input_v1) + + + +Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import audience_api +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response import RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse +from criteo_api_retailmedia_v2024_10.model.rm_audience_segment_search_input_v1 import RmAudienceSegmentSearchInputV1 +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + account_id = "account-id_example" # str | Account Id + rm_audience_segment_search_input_v1 = RmAudienceSegmentSearchInputV1( + data=RmAudienceSegmentSearchEntityV1Resource( + type="type_example", + attributes=RmAudienceSegmentSearchEntityV1( + audience_segment_ids=[ + "audience_segment_ids_example", + ], + retailer_ids=[ + "retailer_ids_example", + ], + audience_segment_types=[ + "Unknown", + ], + ), + ), + ) # RmAudienceSegmentSearchInputV1 | Segment search filters. + limit = 50 # int | The number of elements to be returned. The default is 50 and the maximum is 100. (optional) if omitted the server will use the default value of 50 + offset = 0 # int | The (zero-based) offset into the collection. The default is 0. (optional) if omitted the server will use the default value of 0 + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.search_audience_segments(account_id, rm_audience_segment_search_input_v1) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.search_audience_segments(account_id, rm_audience_segment_search_input_v1, limit=limit, offset=offset) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| Account Id | + **rm_audience_segment_search_input_v1** | [**RmAudienceSegmentSearchInputV1**](RmAudienceSegmentSearchInputV1.md)| Segment search filters. | + **limit** | **int**| The number of elements to be returned. The default is 50 and the maximum is 100. | [optional] if omitted the server will use the default value of 50 + **offset** | **int**| The (zero-based) offset into the collection. The default is 0. | [optional] if omitted the server will use the default value of 0 + +### Return type + +[**RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse**](RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_audiences** +> RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse search_audiences(account_id, rm_audience_search_input_v1) + + + +Returns a list of audiences that match the provided filters. If present, the filters are AND'ed together when applied. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import audience_api +from criteo_api_retailmedia_v2024_10.model.rm_audience_search_input_v1 import RmAudienceSearchInputV1 +from criteo_api_retailmedia_v2024_10.model.rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response import RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + account_id = "account-id_example" # str | Account Id + rm_audience_search_input_v1 = RmAudienceSearchInputV1( + data=RmAudienceSearchEntityV1Resource( + type="type_example", + attributes=RmAudienceSearchEntityV1( + audience_ids=[ + "audience_ids_example", + ], + retailer_ids=[ + "retailer_ids_example", + ], + audience_segment_ids=[ + "audience_segment_ids_example", + ], + ), + ), + ) # RmAudienceSearchInputV1 | Audience search filters. + limit = 50 # int | The number of elements to be returned. The default is 50 and the maximum is 100. (optional) if omitted the server will use the default value of 50 + offset = 0 # int | The (zero-based) offset into the collection. The default is 0. (optional) if omitted the server will use the default value of 0 + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.search_audiences(account_id, rm_audience_search_input_v1) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->search_audiences: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.search_audiences(account_id, rm_audience_search_input_v1, limit=limit, offset=offset) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->search_audiences: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| Account Id | + **rm_audience_search_input_v1** | [**RmAudienceSearchInputV1**](RmAudienceSearchInputV1.md)| Audience search filters. | + **limit** | **int**| The number of elements to be returned. The default is 50 and the maximum is 100. | [optional] if omitted the server will use the default value of 50 + **offset** | **int**| The (zero-based) offset into the collection. The default is 0. | [optional] if omitted the server will use the default value of 0 + +### Return type + +[**RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse**](RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success or partial success | - | +**400** | Bad request | - | +**401** | The API client is not properly authenticated. | - | +**403** | The API client is not authorized to access this resource. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_contact_list_identifiers** +> RetailMediaContactlistOperation update_contact_list_identifiers(audience_segment_id, retail_media_contactlist_amendment_request) + + + +Add/remove identifiers to or from a retail-media contact list audience-segment, with external audience segment id. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import audience_api +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_amendment_request import RetailMediaContactlistAmendmentRequest +from criteo_api_retailmedia_v2024_10.model.error_code_response import ErrorCodeResponse +from criteo_api_retailmedia_v2024_10.model.retail_media_contactlist_operation import RetailMediaContactlistOperation +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = audience_api.AudienceApi(api_client) + audience_segment_id = 1 # int | The id of the contact list audience-segment to amend, we only accept external Id here + retail_media_contactlist_amendment_request = RetailMediaContactlistAmendmentRequest( + data=RetailMediaContactlistAmendment( + type="AddRemoveContactlist", + attributes=RetailMediaContactlistAmendmentAttributes( + operation="add", + identifier_type="Email", + identifiers=[ + "identifiers_example", + ], + ), + ), + ) # RetailMediaContactlistAmendmentRequest | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.update_contact_list_identifiers(audience_segment_id, retail_media_contactlist_amendment_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling AudienceApi->update_contact_list_identifiers: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **audience_segment_id** | **int**| The id of the contact list audience-segment to amend, we only accept external Id here | + **retail_media_contactlist_amendment_request** | [**RetailMediaContactlistAmendmentRequest**](RetailMediaContactlistAmendmentRequest.md)| | + +### Return type + +[**RetailMediaContactlistOperation**](RetailMediaContactlistOperation.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Summary of created request | - | +**403** | Forbidden | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/sdks/retailmedia_2024-10/docs/AudienceError.md b/sdks/retailmedia_2024-10/docs/AudienceError.md new file mode 100644 index 00000000..a395df9a --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/AudienceError.md @@ -0,0 +1,20 @@ +# AudienceError + +Definition of an audience error + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | (REQUIRED) The classification of the error | +**code** | **str** | (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case. | +**instance** | **str** | (REQUIRED) A URI reference that identifies the specific occurrence of the problem | +**trace_id** | **str, none_type** | (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem. | [optional] +**title** | **str, none_type** | (RECOMMENDED) A short, human-readable summary of the problem type | [optional] +**detail** | **str, none_type** | (RECOMMENDED) A human-readable explanation specific to this occurrence of the problem | [optional] +**source** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s) | [optional] +**stack_trace** | **[str], none_type** | (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/AudienceIdsUpdateModel202110Request.md b/sdks/retailmedia_2024-10/docs/AudienceIdsUpdateModel202110Request.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AudienceIdsUpdateModel202110Request.md rename to sdks/retailmedia_2024-10/docs/AudienceIdsUpdateModel202110Request.md diff --git a/sdks/retailmedia_2023-07/docs/AudienceTarget202110Request.md b/sdks/retailmedia_2024-10/docs/AudienceTarget202110Request.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AudienceTarget202110Request.md rename to sdks/retailmedia_2024-10/docs/AudienceTarget202110Request.md diff --git a/sdks/retailmedia_2023-07/docs/AudienceTarget202110Response.md b/sdks/retailmedia_2024-10/docs/AudienceTarget202110Response.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/AudienceTarget202110Response.md rename to sdks/retailmedia_2024-10/docs/AudienceTarget202110Response.md diff --git a/sdks/retailmedia_2024-10/docs/AudienceWarning.md b/sdks/retailmedia_2024-10/docs/AudienceWarning.md new file mode 100644 index 00000000..3272f2e8 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/AudienceWarning.md @@ -0,0 +1,20 @@ +# AudienceWarning + +Definition of the warning + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | (REQUIRED) The classification of the error | +**code** | **str** | (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case. | +**instance** | **str** | (REQUIRED) A URI reference that identifies the specific occurrence of the problem | +**detail** | **str** | (REQUIRED) A human-readable explanation specific to this occurrence of the problem | +**trace_id** | **str, none_type** | (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem. | [optional] +**title** | **str, none_type** | (RECOMMENDED) A short, human-readable summary of the problem type | [optional] +**source** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s) | [optional] +**stack_trace** | **[str], none_type** | (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/BalanceApi.md b/sdks/retailmedia_2024-10/docs/BalanceApi.md new file mode 100644 index 00000000..d76a3f8d --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/BalanceApi.md @@ -0,0 +1,800 @@ +# criteo_api_retailmedia_v2024_10.BalanceApi + +All URIs are relative to *https://api.criteo.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_api202110_external_balance_campaigns_by_balance_id**](BalanceApi.md#get_api202110_external_balance_campaigns_by_balance_id) | **GET** /2024-10/retail-media/balances/{balance-id}/campaigns | +[**get_api_v2_external_account_balances_by_account_id**](BalanceApi.md#get_api_v2_external_account_balances_by_account_id) | **GET** /2024-10/retail-media/accounts/{account-id}/balances | +[**get_api_v2_external_account_by_account_id_balancesbalance_id**](BalanceApi.md#get_api_v2_external_account_by_account_id_balancesbalance_id) | **GET** /2024-10/retail-media/accounts/{account-id}/balances/{balance-id} | +[**get_balance_history**](BalanceApi.md#get_balance_history) | **GET** /2024-10/retail-media/balances/{balanceId}/history | +[**patch_api_v2_external_account_by_account_id_balancesbalance_id**](BalanceApi.md#patch_api_v2_external_account_by_account_id_balancesbalance_id) | **PATCH** /2024-10/retail-media/accounts/{account-id}/balances/{balance-id} | +[**post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id**](BalanceApi.md#post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id) | **POST** /2024-10/retail-media/accounts/{account-id}/balances/{balance-id}/add-funds | +[**post_api_v2_external_account_balances_by_account_id**](BalanceApi.md#post_api_v2_external_account_balances_by_account_id) | **POST** /2024-10/retail-media/accounts/{account-id}/balances | +[**post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id**](BalanceApi.md#post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id) | **POST** /2024-10/retail-media/accounts/{account-id}/balances/{balance-id}/change-dates | + + +# **get_api202110_external_balance_campaigns_by_balance_id** +> BalanceCampaign202110PagedListResponse get_api202110_external_balance_campaigns_by_balance_id(balance_id) + + + +Gets page of campaigns for the given balanceId + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import balance_api +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = balance_api.BalanceApi(api_client) + balance_id = "balance-id_example" # str | The balance to get campaigns from + limit_to_id = [ + "limitToId_example", + ] # [str] | The ids that you would like to limit your result set to (optional) + page_index = 1 # int | The 0 indexed page index you would like to receive given the page size (optional) + page_size = 1 # int | The maximum number of items you would like to receive in this request (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_api202110_external_balance_campaigns_by_balance_id(balance_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->get_api202110_external_balance_campaigns_by_balance_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_api202110_external_balance_campaigns_by_balance_id(balance_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->get_api202110_external_balance_campaigns_by_balance_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **balance_id** | **str**| The balance to get campaigns from | + **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] + **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] + **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] + +### Return type + +[**BalanceCampaign202110PagedListResponse**](BalanceCampaign202110PagedListResponse.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_api_v2_external_account_balances_by_account_id** +> PagedResourceCollectionOutcomeOfBalanceResponseV2 get_api_v2_external_account_balances_by_account_id(account_id) + + + +Gets page of balance objects for the given account id + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import balance_api +from criteo_api_retailmedia_v2024_10.model.paged_resource_collection_outcome_of_balance_response_v2 import PagedResourceCollectionOutcomeOfBalanceResponseV2 +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = balance_api.BalanceApi(api_client) + account_id = "account-id_example" # str | The account to get balances for + limit_to_id = [ + "limitToId_example", + ] # [str] | The ids that you would like to limit your result set to (optional) + page_index = 0 # int | The 0 indexed page index you would like to receive given the page size (optional) if omitted the server will use the default value of 0 + page_size = 25 # int | The maximum number of items you would like to receive in this request (optional) if omitted the server will use the default value of 25 + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_api_v2_external_account_balances_by_account_id(account_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->get_api_v2_external_account_balances_by_account_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_api_v2_external_account_balances_by_account_id(account_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->get_api_v2_external_account_balances_by_account_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| The account to get balances for | + **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] + **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] if omitted the server will use the default value of 0 + **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] if omitted the server will use the default value of 25 + +### Return type + +[**PagedResourceCollectionOutcomeOfBalanceResponseV2**](PagedResourceCollectionOutcomeOfBalanceResponseV2.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_api_v2_external_account_by_account_id_balancesbalance_id** +> BalanceResponseV2Response get_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id) + + + +Get a balance for the given account id and balance id + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import balance_api +from criteo_api_retailmedia_v2024_10.model.balance_response_v2_response import BalanceResponseV2Response +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = balance_api.BalanceApi(api_client) + account_id = "account-id_example" # str | The account of the balance + balance_id = "balance-id_example" # str | The balance id + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->get_api_v2_external_account_by_account_id_balancesbalance_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| The account of the balance | + **balance_id** | **str**| The balance id | + +### Return type + +[**BalanceResponseV2Response**](BalanceResponseV2Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_balance_history** +> PageOfBalanceHistoryChangeDataCaptureV1 get_balance_history(balance_id) + + + +Gets the balance's historical change data. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import balance_api +from criteo_api_retailmedia_v2024_10.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1 +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = balance_api.BalanceApi(api_client) + balance_id = "balanceId_example" # str | Balance id. + offset = 0 # int | The (zero-based) starting offset in the collection. (optional) if omitted the server will use the default value of 0 + limit = 25 # int | The number of elements to be returned. (optional) if omitted the server will use the default value of 25 + limit_to_change_types = "limitToChangeTypes_example" # str | Comma separated change types string that will be queried. (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_balance_history(balance_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->get_balance_history: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_balance_history(balance_id, offset=offset, limit=limit, limit_to_change_types=limit_to_change_types) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->get_balance_history: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **balance_id** | **str**| Balance id. | + **offset** | **int**| The (zero-based) starting offset in the collection. | [optional] if omitted the server will use the default value of 0 + **limit** | **int**| The number of elements to be returned. | [optional] if omitted the server will use the default value of 25 + **limit_to_change_types** | **str**| Comma separated change types string that will be queried. | [optional] + +### Return type + +[**PageOfBalanceHistoryChangeDataCaptureV1**](PageOfBalanceHistoryChangeDataCaptureV1.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_api_v2_external_account_by_account_id_balancesbalance_id** +> BalanceResponseV2Response patch_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id, update_balance_model_v2_request) + + + +Modify a balance for the given account id + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import balance_api +from criteo_api_retailmedia_v2024_10.model.balance_response_v2_response import BalanceResponseV2Response +from criteo_api_retailmedia_v2024_10.model.update_balance_model_v2_request import UpdateBalanceModelV2Request +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = balance_api.BalanceApi(api_client) + account_id = "account-id_example" # str | The account of the balance + balance_id = "balance-id_example" # str | The balance to change the dates + update_balance_model_v2_request = UpdateBalanceModelV2Request( + data=ResourceOfUpdateBalanceModelV2( + attributes=UpdateBalanceModelV2( + name="name_example", + po_number="po_number_example", + start_date="start_date_example", + end_date="end_date_example", + memo="memo_example", + ), + id="id_example", + type="type_example", + ), + ) # UpdateBalanceModelV2Request | An object that represents the available options to modify a balance. + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.patch_api_v2_external_account_by_account_id_balancesbalance_id(account_id, balance_id, update_balance_model_v2_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->patch_api_v2_external_account_by_account_id_balancesbalance_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| The account of the balance | + **balance_id** | **str**| The balance to change the dates | + **update_balance_model_v2_request** | [**UpdateBalanceModelV2Request**](UpdateBalanceModelV2Request.md)| An object that represents the available options to modify a balance. | + +### Return type + +[**BalanceResponseV2Response**](BalanceResponseV2Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id** +> BalanceResponseV2Response post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id(account_id, balance_id, add_funds_to_balance_v2_request) + + + +Add funds to a balance for the given account id + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import balance_api +from criteo_api_retailmedia_v2024_10.model.balance_response_v2_response import BalanceResponseV2Response +from criteo_api_retailmedia_v2024_10.model.add_funds_to_balance_v2_request import AddFundsToBalanceV2Request +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = balance_api.BalanceApi(api_client) + account_id = "account-id_example" # str | The account of the balance + balance_id = "balance-id_example" # str | The balance to add funds to + add_funds_to_balance_v2_request = AddFundsToBalanceV2Request( + data=ResourceOfAddFundsToBalanceV2( + attributes=AddFundsToBalanceV2( + delta_amount=3.14, + po_number="po_number_example", + memo="memo_example", + ), + id="id_example", + type="type_example", + ), + ) # AddFundsToBalanceV2Request | An object that represents the available options of adding funds to a balance. + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id(account_id, balance_id, add_funds_to_balance_v2_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->post_api_v2_external_account_add_funds_by_account_id_balancesbalance_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| The account of the balance | + **balance_id** | **str**| The balance to add funds to | + **add_funds_to_balance_v2_request** | [**AddFundsToBalanceV2Request**](AddFundsToBalanceV2Request.md)| An object that represents the available options of adding funds to a balance. | + +### Return type + +[**BalanceResponseV2Response**](BalanceResponseV2Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **post_api_v2_external_account_balances_by_account_id** +> BalanceResponseV2Response post_api_v2_external_account_balances_by_account_id(account_id, create_balance_v2_request) + + + +Create balance for the given account id + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import balance_api +from criteo_api_retailmedia_v2024_10.model.balance_response_v2_response import BalanceResponseV2Response +from criteo_api_retailmedia_v2024_10.model.create_balance_v2_request import CreateBalanceV2Request +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = balance_api.BalanceApi(api_client) + account_id = "account-id_example" # str | The account to create balances for + create_balance_v2_request = CreateBalanceV2Request( + data=ResourceOfCreateBalanceV2( + attributes=CreateBalanceV2( + name="name_example", + po_number="po_number_example", + deposited=3.14, + start_date=dateutil_parser('1970-01-01').date(), + end_date=dateutil_parser('1970-01-01').date(), + spend_type="Onsite", + memo="memo_example", + ), + id="id_example", + type="type_example", + ), + ) # CreateBalanceV2Request | An object that represents the available options to set when creating a Retail Media Balance + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.post_api_v2_external_account_balances_by_account_id(account_id, create_balance_v2_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->post_api_v2_external_account_balances_by_account_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| The account to create balances for | + **create_balance_v2_request** | [**CreateBalanceV2Request**](CreateBalanceV2Request.md)| An object that represents the available options to set when creating a Retail Media Balance | + +### Return type + +[**BalanceResponseV2Response**](BalanceResponseV2Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id** +> BalanceResponseV2Response post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id(account_id, balance_id, change_dates_of_balance_v2_request) + + + +Change dates of a balance for the given account id + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import balance_api +from criteo_api_retailmedia_v2024_10.model.balance_response_v2_response import BalanceResponseV2Response +from criteo_api_retailmedia_v2024_10.model.change_dates_of_balance_v2_request import ChangeDatesOfBalanceV2Request +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = balance_api.BalanceApi(api_client) + account_id = "account-id_example" # str | The account of the balance + balance_id = "balance-id_example" # str | The balance to change the dates + change_dates_of_balance_v2_request = ChangeDatesOfBalanceV2Request( + data=ResourceOfChangeDatesOfBalanceV2( + attributes=ChangeDatesOfBalanceV2( + start_date="start_date_example", + end_date="end_date_example", + memo="memo_example", + ), + id="id_example", + type="type_example", + ), + ) # ChangeDatesOfBalanceV2Request | An object that represents the available options to modify schedule of a balance. + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id(account_id, balance_id, change_dates_of_balance_v2_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling BalanceApi->post_api_v2_external_account_change_dates_by_account_id_balancesbalance_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| The account of the balance | + **balance_id** | **str**| The balance to change the dates | + **change_dates_of_balance_v2_request** | [**ChangeDatesOfBalanceV2Request**](ChangeDatesOfBalanceV2Request.md)| An object that represents the available options to modify schedule of a balance. | + +### Return type + +[**BalanceResponseV2Response**](BalanceResponseV2Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: text/plain, application/json, text/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/sdks/retailmedia_2023-07/docs/BalanceCampaign202110ListRequest.md b/sdks/retailmedia_2024-10/docs/BalanceCampaign202110ListRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/BalanceCampaign202110ListRequest.md rename to sdks/retailmedia_2024-10/docs/BalanceCampaign202110ListRequest.md diff --git a/sdks/retailmedia_2023-07/docs/BalanceCampaign202110PagedListResponse.md b/sdks/retailmedia_2024-10/docs/BalanceCampaign202110PagedListResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/BalanceCampaign202110PagedListResponse.md rename to sdks/retailmedia_2024-10/docs/BalanceCampaign202110PagedListResponse.md diff --git a/sdks/retailmedia_2024-10/docs/BalanceHistoryChangeDataCaptureV1.md b/sdks/retailmedia_2024-10/docs/BalanceHistoryChangeDataCaptureV1.md new file mode 100644 index 00000000..5083c937 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/BalanceHistoryChangeDataCaptureV1.md @@ -0,0 +1,16 @@ +# BalanceHistoryChangeDataCaptureV1 + +Data model represents the data change capture of balance history. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**date_of_modification** | **datetime** | Date when data change has occured. | +**modified_by_user** | **str** | Username who modified the insertion order. | +**change_type** | **str** | Represent the type of change states of the history. | +**change_details** | [**ChangeDetailsV1**](ChangeDetailsV1.md) | | +**memo** | **str, none_type** | Memo associate with the insertion order modification. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/BalanceResponseV2.md b/sdks/retailmedia_2024-10/docs/BalanceResponseV2.md new file mode 100644 index 00000000..d328800d --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/BalanceResponseV2.md @@ -0,0 +1,26 @@ +# BalanceResponseV2 + +A Retail Media Balance used to determine the funds available for any or all campaigns in an account + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the balance. | +**start_date** | **date** | Start date of the balance in the format YYYY-MM-DD. | +**balance_type** | **str** | Type of the balance. | +**spend_type** | **str** | Spend Type of the balance. | +**private_market_billing_type** | **str** | Billing type for Private Market of the balance. | +**po_number** | **str, none_type** | Purchase Order number. | [optional] +**memo** | **str, none_type** | Memo. | [optional] +**deposited** | **float, none_type** | Amount of billable funds allotted to the balance. | [optional] +**spent** | **float, none_type** | Amount of spent funds of the balance. | [optional] +**remaining** | **float, none_type** | Amount of remaining funds of the balance. | [optional] +**end_date** | **date, none_type** | End date of the balance in the format YYYY-MM-DD. | [optional] +**status** | **str** | Status of the balance. | [optional] +**created_at** | **datetime** | Creation time of the balance. | [optional] +**updated_at** | **datetime** | Update time of the balance. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/BalanceResponseV2Response.md b/sdks/retailmedia_2024-10/docs/BalanceResponseV2Response.md new file mode 100644 index 00000000..33931348 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/BalanceResponseV2Response.md @@ -0,0 +1,15 @@ +# BalanceResponseV2Response + +A top-level object that encapsulates a Criteo API response for a single entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ResourceOfBalanceResponseV2**](ResourceOfBalanceResponseV2.md) | | [optional] +**warnings** | [**[CommonProblem]**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem]**](CommonProblem.md) | | [optional] [readonly] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/CampaignApi.md b/sdks/retailmedia_2024-10/docs/CampaignApi.md similarity index 73% rename from sdks/retailmedia_2023-07/docs/CampaignApi.md rename to sdks/retailmedia_2024-10/docs/CampaignApi.md index c68b9d51..5d0584f1 100644 --- a/sdks/retailmedia_2023-07/docs/CampaignApi.md +++ b/sdks/retailmedia_2024-10/docs/CampaignApi.md @@ -1,68 +1,72 @@ -# criteo_api_retailmedia_v2023_07.CampaignApi +# criteo_api_retailmedia_v2024_10.CampaignApi All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**add_remove_keywords**](CampaignApi.md#add_remove_keywords) | **POST** /2023-07/retail-media/line-items/{id}/keywords/add-remove | -[**create_asset**](CampaignApi.md#create_asset) | **POST** /2023-07/retail-media/assets | -[**fetch_keywords**](CampaignApi.md#fetch_keywords) | **GET** /2023-07/retail-media/line-items/{id}/keywords | -[**fetch_proposal**](CampaignApi.md#fetch_proposal) | **GET** /2023-07/retail-media/preferred-deal-line-items/{id}/proposal | -[**get_api202110_external_account_creatives_by_account_id**](CampaignApi.md#get_api202110_external_account_creatives_by_account_id) | **GET** /2023-07/retail-media/accounts/{account-id}/creatives | -[**get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id**](CampaignApi.md#get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id) | **GET** /2023-07/retail-media/auction-line-items/{line-item-id}/targeting/keywords | -[**get_api202110_external_campaign_preferred_line_items_by_campaign_id**](CampaignApi.md#get_api202110_external_campaign_preferred_line_items_by_campaign_id) | **GET** /2023-07/retail-media/campaigns/{campaign-id}/preferred-line-items | -[**get_api202110_external_line_item_products_by_line_item_id**](CampaignApi.md#get_api202110_external_line_item_products_by_line_item_id) | **GET** /2023-07/retail-media/line-items/{line-item-id}/products | -[**get_api202110_external_preferred_line_item_by_line_item_id**](CampaignApi.md#get_api202110_external_preferred_line_item_by_line_item_id) | **GET** /2023-07/retail-media/preferred-line-items/{line-item-id} | -[**get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id**](CampaignApi.md#get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id) | **GET** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket | -[**get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id**](CampaignApi.md#get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id) | **GET** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/audiences | -[**get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id**](CampaignApi.md#get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id) | **GET** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/stores | -[**get_api202110_external_retailer_pages_by_retailer_id**](CampaignApi.md#get_api202110_external_retailer_pages_by_retailer_id) | **GET** /2023-07/retail-media/retailers/{retailerId}/pages | -[**get_api202204_external_categorie_by_category_id**](CampaignApi.md#get_api202204_external_categorie_by_category_id) | **GET** /2023-07/retail-media/categories/{categoryId} | -[**get_api202204_external_categories**](CampaignApi.md#get_api202204_external_categories) | **GET** /2023-07/retail-media/categories | -[**get_api202207_external_retailer_by_retailer_id_templatestemplate_id**](CampaignApi.md#get_api202207_external_retailer_by_retailer_id_templatestemplate_id) | **GET** /2023-07/retail-media/retailers/{retailer-id}/templates/{template-id} | -[**get_api202207_external_retailer_templates_by_retailer_id**](CampaignApi.md#get_api202207_external_retailer_templates_by_retailer_id) | **GET** /2023-07/retail-media/retailers/{retailer-id}/templates | -[**get_api202210_external_account_by_account_id_creativescreative_id**](CampaignApi.md#get_api202210_external_account_by_account_id_creativescreative_id) | **GET** /2023-07/retail-media/accounts/{account-id}/creatives/{creative-id} | -[**get_api202301_external_account_campaigns_by_account_id**](CampaignApi.md#get_api202301_external_account_campaigns_by_account_id) | **GET** /2023-07/retail-media/accounts/{account-id}/campaigns | -[**get_api202301_external_campaign_by_campaign_id**](CampaignApi.md#get_api202301_external_campaign_by_campaign_id) | **GET** /2023-07/retail-media/campaigns/{campaignId} | -[**get_api202301_external_line_item_bid_multipliers_by_line_item_id**](CampaignApi.md#get_api202301_external_line_item_bid_multipliers_by_line_item_id) | **GET** /2023-07/retail-media/line-items/{line-item-id}/bid-multipliers | -[**get_api_v1_external_account_brands_by_account_id**](CampaignApi.md#get_api_v1_external_account_brands_by_account_id) | **GET** /2023-07/retail-media/accounts/{accountId}/brands | -[**get_api_v1_external_account_retailers_by_account_id**](CampaignApi.md#get_api_v1_external_account_retailers_by_account_id) | **GET** /2023-07/retail-media/accounts/{accountId}/retailers | -[**get_api_v1_external_catalog_output_by_catalog_id**](CampaignApi.md#get_api_v1_external_catalog_output_by_catalog_id) | **GET** /2023-07/retail-media/catalogs/{catalogId}/output | -[**get_api_v1_external_catalog_status_by_catalog_id**](CampaignApi.md#get_api_v1_external_catalog_status_by_catalog_id) | **GET** /2023-07/retail-media/catalogs/{catalogId}/status | -[**get_api_v2_external_account_line_items_by_account_id**](CampaignApi.md#get_api_v2_external_account_line_items_by_account_id) | **GET** /2023-07/retail-media/accounts/{account-id}/line-items | -[**get_api_v2_external_auction_line_item_by_line_item_id**](CampaignApi.md#get_api_v2_external_auction_line_item_by_line_item_id) | **GET** /2023-07/retail-media/auction-line-items/{line-item-id} | -[**get_api_v2_external_campaign_auction_line_items_by_campaign_id**](CampaignApi.md#get_api_v2_external_campaign_auction_line_items_by_campaign_id) | **GET** /2023-07/retail-media/campaigns/{campaign-id}/auction-line-items | -[**get_api_v2_external_line_item_by_line_item_id**](CampaignApi.md#get_api_v2_external_line_item_by_line_item_id) | **GET** /2023-07/retail-media/line-items/{line-item-id} | -[**post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id**](CampaignApi.md#post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id) | **POST** /2023-07/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append | -[**post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id**](CampaignApi.md#post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id) | **POST** /2023-07/retail-media/auction-line-items/{line-item-id}/targeting/keywords/delete | -[**post_api202110_external_balance_campaigns_append_by_balance_id**](CampaignApi.md#post_api202110_external_balance_campaigns_append_by_balance_id) | **POST** /2023-07/retail-media/balances/{balance-id}/campaigns/append | -[**post_api202110_external_balance_campaigns_delete_by_balance_id**](CampaignApi.md#post_api202110_external_balance_campaigns_delete_by_balance_id) | **POST** /2023-07/retail-media/balances/{balance-id}/campaigns/delete | -[**post_api202110_external_campaign_preferred_line_items_by_campaign_id**](CampaignApi.md#post_api202110_external_campaign_preferred_line_items_by_campaign_id) | **POST** /2023-07/retail-media/campaigns/{campaign-id}/preferred-line-items | -[**post_api202110_external_line_item_products_append_by_line_item_id**](CampaignApi.md#post_api202110_external_line_item_products_append_by_line_item_id) | **POST** /2023-07/retail-media/line-items/{line-item-id}/products/append | -[**post_api202110_external_line_item_products_delete_by_line_item_id**](CampaignApi.md#post_api202110_external_line_item_products_delete_by_line_item_id) | **POST** /2023-07/retail-media/line-items/{line-item-id}/products/delete | -[**post_api202110_external_line_item_products_pause_by_line_item_id**](CampaignApi.md#post_api202110_external_line_item_products_pause_by_line_item_id) | **POST** /2023-07/retail-media/line-items/{line-item-id}/products/pause | -[**post_api202110_external_line_item_products_unpause_by_line_item_id**](CampaignApi.md#post_api202110_external_line_item_products_unpause_by_line_item_id) | **POST** /2023-07/retail-media/line-items/{line-item-id}/products/unpause | -[**post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id) | **POST** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append | -[**post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id) | **POST** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/delete | -[**post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id) | **POST** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/append | -[**post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id) | **POST** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/delete | -[**post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id) | **POST** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/stores/append | -[**post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id) | **POST** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/stores/delete | -[**post_api202210_external_account_creatives_by_account_id**](CampaignApi.md#post_api202210_external_account_creatives_by_account_id) | **POST** /2023-07/retail-media/accounts/{account-id}/creatives | -[**post_api202210_external_account_creatives_search_by_account_id**](CampaignApi.md#post_api202210_external_account_creatives_search_by_account_id) | **POST** /2023-07/retail-media/accounts/{account-id}/creatives/search | -[**post_api202301_external_account_campaigns_by_account_id**](CampaignApi.md#post_api202301_external_account_campaigns_by_account_id) | **POST** /2023-07/retail-media/accounts/{account-id}/campaigns | -[**post_api_v1_external_account_catalogs_by_account_id**](CampaignApi.md#post_api_v1_external_account_catalogs_by_account_id) | **POST** /2023-07/retail-media/accounts/{accountId}/catalogs | -[**post_api_v2_external_campaign_auction_line_items_by_campaign_id**](CampaignApi.md#post_api_v2_external_campaign_auction_line_items_by_campaign_id) | **POST** /2023-07/retail-media/campaigns/{campaign-id}/auction-line-items | -[**put_api202110_external_preferred_line_item_by_line_item_id**](CampaignApi.md#put_api202110_external_preferred_line_item_by_line_item_id) | **PUT** /2023-07/retail-media/preferred-line-items/{line-item-id} | -[**put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id**](CampaignApi.md#put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id) | **PUT** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket | -[**put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id**](CampaignApi.md#put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id) | **PUT** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/audiences | -[**put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id**](CampaignApi.md#put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id) | **PUT** /2023-07/retail-media/preferred-line-items/{line-item-id}/targeting/stores | -[**put_api202210_external_account_by_account_id_creativescreative_id**](CampaignApi.md#put_api202210_external_account_by_account_id_creativescreative_id) | **PUT** /2023-07/retail-media/accounts/{account-id}/creatives/{creative-id} | -[**put_api202301_external_campaign_by_campaign_id**](CampaignApi.md#put_api202301_external_campaign_by_campaign_id) | **PUT** /2023-07/retail-media/campaigns/{campaignId} | -[**put_api202301_external_line_item_bid_multipliers_by_line_item_id**](CampaignApi.md#put_api202301_external_line_item_bid_multipliers_by_line_item_id) | **PUT** /2023-07/retail-media/line-items/{line-item-id}/bid-multipliers | -[**put_api_v2_external_auction_line_item_by_line_item_id**](CampaignApi.md#put_api_v2_external_auction_line_item_by_line_item_id) | **PUT** /2023-07/retail-media/auction-line-items/{line-item-id} | -[**set_keyword_bids**](CampaignApi.md#set_keyword_bids) | **POST** /2023-07/retail-media/line-items/{id}/keywords/set-bid | -[**submit_proposal**](CampaignApi.md#submit_proposal) | **POST** /2023-07/retail-media/preferred-deal-line-items/{id}/proposal/submit | +[**add_remove_keywords**](CampaignApi.md#add_remove_keywords) | **POST** /2024-10/retail-media/line-items/{id}/keywords/add-remove | +[**append_promoted_products**](CampaignApi.md#append_promoted_products) | **POST** /2024-10/retail-media/line-items/{line-item-id}/products/append | +[**create_asset**](CampaignApi.md#create_asset) | **POST** /2024-10/retail-media/assets | +[**delete_promoted_products**](CampaignApi.md#delete_promoted_products) | **POST** /2024-10/retail-media/line-items/{line-item-id}/products/delete | +[**fetch_keywords**](CampaignApi.md#fetch_keywords) | **GET** /2024-10/retail-media/line-items/{id}/keywords | +[**fetch_promoted_products**](CampaignApi.md#fetch_promoted_products) | **GET** /2024-10/retail-media/line-items/{line-item-id}/products | +[**fetch_proposal**](CampaignApi.md#fetch_proposal) | **GET** /2024-10/retail-media/preferred-deal-line-items/{id}/proposal | +[**get_api202110_external_account_creatives_by_account_id**](CampaignApi.md#get_api202110_external_account_creatives_by_account_id) | **GET** /2024-10/retail-media/accounts/{account-id}/creatives | +[**get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id**](CampaignApi.md#get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id) | **GET** /2024-10/retail-media/auction-line-items/{line-item-id}/targeting/keywords | +[**get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id**](CampaignApi.md#get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id) | **GET** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket | +[**get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id**](CampaignApi.md#get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id) | **GET** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/audiences | +[**get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id**](CampaignApi.md#get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id) | **GET** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/stores | +[**get_api202110_external_retailer_pages_by_retailer_id**](CampaignApi.md#get_api202110_external_retailer_pages_by_retailer_id) | **GET** /2024-10/retail-media/retailers/{retailerId}/pages | +[**get_api202204_external_categorie_by_category_id**](CampaignApi.md#get_api202204_external_categorie_by_category_id) | **GET** /2024-10/retail-media/categories/{categoryId} | +[**get_api202204_external_categories**](CampaignApi.md#get_api202204_external_categories) | **GET** /2024-10/retail-media/categories | +[**get_api202207_external_retailer_by_retailer_id_templatestemplate_id**](CampaignApi.md#get_api202207_external_retailer_by_retailer_id_templatestemplate_id) | **GET** /2024-10/retail-media/retailers/{retailer-id}/templates/{template-id} | +[**get_api202207_external_retailer_templates_by_retailer_id**](CampaignApi.md#get_api202207_external_retailer_templates_by_retailer_id) | **GET** /2024-10/retail-media/retailers/{retailer-id}/templates | +[**get_api202301_external_account_campaigns_by_account_id**](CampaignApi.md#get_api202301_external_account_campaigns_by_account_id) | **GET** /2024-10/retail-media/accounts/{account-id}/campaigns | +[**get_api202301_external_campaign_by_campaign_id**](CampaignApi.md#get_api202301_external_campaign_by_campaign_id) | **GET** /2024-10/retail-media/campaigns/{campaignId} | +[**get_api_v1_external_account_brands_by_account_id**](CampaignApi.md#get_api_v1_external_account_brands_by_account_id) | **GET** /2024-10/retail-media/accounts/{accountId}/brands | +[**get_api_v1_external_account_retailers_by_account_id**](CampaignApi.md#get_api_v1_external_account_retailers_by_account_id) | **GET** /2024-10/retail-media/accounts/{accountId}/retailers | +[**get_api_v1_external_catalog_output_by_catalog_id**](CampaignApi.md#get_api_v1_external_catalog_output_by_catalog_id) | **GET** /2024-10/retail-media/catalogs/{catalogId}/output | +[**get_api_v1_external_catalog_status_by_catalog_id**](CampaignApi.md#get_api_v1_external_catalog_status_by_catalog_id) | **GET** /2024-10/retail-media/catalogs/{catalogId}/status | +[**get_api_v2_external_account_by_account_id_creativescreative_id**](CampaignApi.md#get_api_v2_external_account_by_account_id_creativescreative_id) | **GET** /2024-10/retail-media/accounts/{account-id}/creatives/{creative-id} | +[**get_api_v2_external_account_line_items_by_account_id**](CampaignApi.md#get_api_v2_external_account_line_items_by_account_id) | **GET** /2024-10/retail-media/accounts/{account-id}/line-items | +[**get_api_v2_external_auction_line_item_by_line_item_id**](CampaignApi.md#get_api_v2_external_auction_line_item_by_line_item_id) | **GET** /2024-10/retail-media/auction-line-items/{line-item-id} | +[**get_api_v2_external_campaign_auction_line_items_by_campaign_id**](CampaignApi.md#get_api_v2_external_campaign_auction_line_items_by_campaign_id) | **GET** /2024-10/retail-media/campaigns/{campaign-id}/auction-line-items | +[**get_api_v2_external_campaign_preferred_line_items_by_campaign_id**](CampaignApi.md#get_api_v2_external_campaign_preferred_line_items_by_campaign_id) | **GET** /2024-10/retail-media/campaigns/{campaign-id}/preferred-line-items | +[**get_api_v2_external_line_item_bid_multipliers_by_line_item_id**](CampaignApi.md#get_api_v2_external_line_item_bid_multipliers_by_line_item_id) | **GET** /2024-10/retail-media/line-items/{line-item-id}/bid-multipliers | +[**get_api_v2_external_line_item_by_line_item_id**](CampaignApi.md#get_api_v2_external_line_item_by_line_item_id) | **GET** /2024-10/retail-media/line-items/{line-item-id} | +[**get_api_v2_external_preferred_line_item_by_line_item_id**](CampaignApi.md#get_api_v2_external_preferred_line_item_by_line_item_id) | **GET** /2024-10/retail-media/preferred-line-items/{line-item-id} | +[**get_campaign_budget_overrides**](CampaignApi.md#get_campaign_budget_overrides) | **GET** /2024-10/retail-media/campaigns/{campaignId}/campaign-budget-overrides | +[**get_line_item_budget_overrides**](CampaignApi.md#get_line_item_budget_overrides) | **GET** /2024-10/retail-media/line-items/{lineItemId}/line-item-budget-overrides | +[**pause_promoted_products**](CampaignApi.md#pause_promoted_products) | **POST** /2024-10/retail-media/line-items/{line-item-id}/products/pause | +[**post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id**](CampaignApi.md#post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id) | **POST** /2024-10/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append | +[**post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id**](CampaignApi.md#post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id) | **POST** /2024-10/retail-media/auction-line-items/{line-item-id}/targeting/keywords/delete | +[**post_api202110_external_balance_campaigns_append_by_balance_id**](CampaignApi.md#post_api202110_external_balance_campaigns_append_by_balance_id) | **POST** /2024-10/retail-media/balances/{balance-id}/campaigns/append | +[**post_api202110_external_balance_campaigns_delete_by_balance_id**](CampaignApi.md#post_api202110_external_balance_campaigns_delete_by_balance_id) | **POST** /2024-10/retail-media/balances/{balance-id}/campaigns/delete | +[**post_api202110_external_campaign_preferred_line_items_by_campaign_id**](CampaignApi.md#post_api202110_external_campaign_preferred_line_items_by_campaign_id) | **POST** /2024-10/retail-media/campaigns/{campaign-id}/preferred-line-items | +[**post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id) | **POST** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append | +[**post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id) | **POST** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/delete | +[**post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id) | **POST** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/append | +[**post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id) | **POST** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/delete | +[**post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id) | **POST** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/stores/append | +[**post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id**](CampaignApi.md#post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id) | **POST** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/stores/delete | +[**post_api202210_external_account_creatives_by_account_id**](CampaignApi.md#post_api202210_external_account_creatives_by_account_id) | **POST** /2024-10/retail-media/accounts/{account-id}/creatives | +[**post_api202301_external_account_campaigns_by_account_id**](CampaignApi.md#post_api202301_external_account_campaigns_by_account_id) | **POST** /2024-10/retail-media/accounts/{account-id}/campaigns | +[**post_api_v1_external_account_catalogs_by_account_id**](CampaignApi.md#post_api_v1_external_account_catalogs_by_account_id) | **POST** /2024-10/retail-media/accounts/{accountId}/catalogs | +[**post_api_v2_external_account_creatives_search_by_account_id**](CampaignApi.md#post_api_v2_external_account_creatives_search_by_account_id) | **POST** /2024-10/retail-media/accounts/{account-id}/creatives/search | +[**post_api_v2_external_campaign_auction_line_items_by_campaign_id**](CampaignApi.md#post_api_v2_external_campaign_auction_line_items_by_campaign_id) | **POST** /2024-10/retail-media/campaigns/{campaign-id}/auction-line-items | +[**put_api202110_external_preferred_line_item_by_line_item_id**](CampaignApi.md#put_api202110_external_preferred_line_item_by_line_item_id) | **PUT** /2024-10/retail-media/preferred-line-items/{line-item-id} | +[**put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id**](CampaignApi.md#put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id) | **PUT** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket | +[**put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id**](CampaignApi.md#put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id) | **PUT** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/audiences | +[**put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id**](CampaignApi.md#put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id) | **PUT** /2024-10/retail-media/preferred-line-items/{line-item-id}/targeting/stores | +[**put_api202210_external_account_by_account_id_creativescreative_id**](CampaignApi.md#put_api202210_external_account_by_account_id_creativescreative_id) | **PUT** /2024-10/retail-media/accounts/{account-id}/creatives/{creative-id} | +[**put_api202301_external_campaign_by_campaign_id**](CampaignApi.md#put_api202301_external_campaign_by_campaign_id) | **PUT** /2024-10/retail-media/campaigns/{campaignId} | +[**put_api_v2_external_auction_line_item_by_line_item_id**](CampaignApi.md#put_api_v2_external_auction_line_item_by_line_item_id) | **PUT** /2024-10/retail-media/auction-line-items/{line-item-id} | +[**put_api_v2_external_line_item_bid_multipliers_by_line_item_id**](CampaignApi.md#put_api_v2_external_line_item_bid_multipliers_by_line_item_id) | **PUT** /2024-10/retail-media/line-items/{line-item-id}/bid-multipliers | +[**set_keyword_bids**](CampaignApi.md#set_keyword_bids) | **POST** /2024-10/retail-media/line-items/{id}/keywords/set-bid | +[**submit_proposal**](CampaignApi.md#submit_proposal) | **POST** /2024-10/retail-media/preferred-deal-line-items/{id}/proposal/submit | +[**unpause_promoted_products**](CampaignApi.md#unpause_promoted_products) | **POST** /2024-10/retail-media/line-items/{line-item-id}/products/unpause | +[**update_campaign_budget_overrides**](CampaignApi.md#update_campaign_budget_overrides) | **PUT** /2024-10/retail-media/campaigns/{campaignId}/campaign-budget-overrides | +[**update_line_item_budget_overrides**](CampaignApi.md#update_line_item_budget_overrides) | **PUT** /2024-10/retail-media/line-items/{lineItemId}/line-item-budget-overrides | # **add_remove_keywords** @@ -79,14 +83,14 @@ Add or Remove keywords from the line item in bulk ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest -from criteo_api_retailmedia_v2023_07.model.resource_outcome import ResourceOutcome +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.resource_outcome import ResourceOutcome +from criteo_api_retailmedia_v2024_10.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -96,19 +100,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) id = "id_example" # str | ID of the line item @@ -132,7 +136,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.add_remove_keywords(id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->add_remove_keywords: %s\n" % e) # example passing only required values which don't have defaults set @@ -140,7 +144,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.add_remove_keywords(id, add_remove_keywords_model_request=add_remove_keywords_model_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->add_remove_keywords: %s\n" % e) ``` @@ -175,12 +179,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_asset** -> AssetResponse create_asset(asset_file) +# **append_promoted_products** +> append_promoted_products(line_item_id) -Creates an asset +Append a collection of promoted products to a line item ### Example @@ -189,13 +193,14 @@ Creates an asset ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.asset_response import AssetResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.product_resource_outcome import ProductResourceOutcome +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -205,29 +210,48 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - asset_file = open('/path/to/file', 'rb') # file_type | The asset binary content + line_item_id = "line-item-id_example" # str | ID of the line item + promoted_product_resource_collection_input = PromotedProductResourceCollectionInput( + data=[ + PromotedProductResource( + id="id_example", + type="type_example", + attributes=PromotedProduct( + id="id_example", + bid_override=3.14, + status=LineItemProductStatus("Unknown"), + ), + ), + ], + ) # PromotedProductResourceCollectionInput | Request body whose {data} contains an array of promoted products. (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.create_asset(asset_file) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->create_asset: %s\n" % e) + api_instance.append_promoted_products(line_item_id) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->append_promoted_products: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_instance.append_promoted_products(line_item_id, promoted_product_resource_collection_input=promoted_product_resource_collection_input) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->append_promoted_products: %s\n" % e) ``` @@ -235,11 +259,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **asset_file** | **file_type**| The asset binary content | + **line_item_id** | **str**| ID of the line item | + **promoted_product_resource_collection_input** | [**PromotedProductResourceCollectionInput**](PromotedProductResourceCollectionInput.md)| Request body whose {data} contains an array of promoted products. | [optional] ### Return type -[**AssetResponse**](AssetResponse.md) +void (empty response body) ### Authorization @@ -247,24 +272,26 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: multipart/form-data - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Success | - | +**204** | Promoted products appended to the line item | - | +**400** | Invalid request body | - | +**403** | Invalid external line item ID | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **fetch_keywords** -> KeywordsModelResponse fetch_keywords(id) +# **create_asset** +> AssetResponse create_asset(asset_file) -Fetch keywords associated with the specified line item +Creates an asset ### Example @@ -273,14 +300,13 @@ Fetch keywords associated with the specified line item ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.keywords_model_response import KeywordsModelResponse -from criteo_api_retailmedia_v2023_07.model.resource_outcome import ResourceOutcome +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.asset_response import AssetResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -290,29 +316,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - id = "id_example" # str | ID of the line item + asset_file = open('/path/to/file', 'rb') # file_type | The asset binary content # example passing only required values which don't have defaults set try: - api_response = api_instance.fetch_keywords(id) + api_response = api_instance.create_asset(asset_file) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->fetch_keywords: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->create_asset: %s\n" % e) ``` @@ -320,11 +346,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| ID of the line item | + **asset_file** | **file_type**| The asset binary content | ### Return type -[**KeywordsModelResponse**](KeywordsModelResponse.md) +[**AssetResponse**](AssetResponse.md) ### Authorization @@ -332,25 +358,24 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: multipart/form-data + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**201** | Success | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **fetch_proposal** -> ProposalStatusModelResponse fetch_proposal(id) +# **delete_promoted_products** +> delete_promoted_products(line_item_id) -Includes the state of the proposal, the status of the booking and approval, as well as any comments explaining why it might have been rejected. +Remove a collection of promoted products from a line item ### Example @@ -359,14 +384,14 @@ Includes the state of the proposal, the status of the booking and approval, as w ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.proposal_status_model_response import ProposalStatusModelResponse -from criteo_api_retailmedia_v2023_07.model.resource_outcome import ResourceOutcome +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.product_resource_outcome import ProductResourceOutcome +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -376,29 +401,48 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - id = "id_example" # str | ID of the line item + line_item_id = "line-item-id_example" # str | ID of the line item + promoted_product_resource_collection_input = PromotedProductResourceCollectionInput( + data=[ + PromotedProductResource( + id="id_example", + type="type_example", + attributes=PromotedProduct( + id="id_example", + bid_override=3.14, + status=LineItemProductStatus("Unknown"), + ), + ), + ], + ) # PromotedProductResourceCollectionInput | Request body whose {data} contains an array of promoted products. (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.fetch_proposal(id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->fetch_proposal: %s\n" % e) + api_instance.delete_promoted_products(line_item_id) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->delete_promoted_products: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_instance.delete_promoted_products(line_item_id, promoted_product_resource_collection_input=promoted_product_resource_collection_input) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->delete_promoted_products: %s\n" % e) ``` @@ -406,11 +450,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| ID of the line item | + **line_item_id** | **str**| ID of the line item | + **promoted_product_resource_collection_input** | [**PromotedProductResourceCollectionInput**](PromotedProductResourceCollectionInput.md)| Request body whose {data} contains an array of promoted products. | [optional] ### Return type -[**ProposalStatusModelResponse**](ProposalStatusModelResponse.md) +void (empty response body) ### Authorization @@ -418,7 +463,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json @@ -426,18 +471,18 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | -**403** | Forbidden | - | +**204** | Promoted products removed from the line item | - | +**400** | Invalid request body | - | +**403** | Invalid external line item ID | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api202110_external_account_creatives_by_account_id** -> Creative202110ListResponse get_api202110_external_account_creatives_by_account_id(account_id) +# **fetch_keywords** +> KeywordsModelResponse fetch_keywords(id) -Get account creatives +Fetch keywords associated with the specified line item ### Example @@ -446,13 +491,14 @@ Get account creatives ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.creative202110_list_response import Creative202110ListResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.resource_outcome import ResourceOutcome +from criteo_api_retailmedia_v2024_10.model.keywords_model_response import KeywordsModelResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -462,29 +508,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - account_id = "account-id_example" # str | External account id to retrieve creatives for + id = "id_example" # str | ID of the line item # example passing only required values which don't have defaults set try: - api_response = api_instance.get_api202110_external_account_creatives_by_account_id(account_id) + api_response = api_instance.fetch_keywords(id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api202110_external_account_creatives_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->fetch_keywords: %s\n" % e) ``` @@ -492,11 +538,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| External account id to retrieve creatives for | + **id** | **str**| ID of the line item | ### Return type -[**Creative202110ListResponse**](Creative202110ListResponse.md) +[**KeywordsModelResponse**](KeywordsModelResponse.md) ### Authorization @@ -512,16 +558,17 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Creatives found | - | +**200** | Success | - | +**400** | Bad Request | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id** -> KeywordTarget202110Response get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id(line_item_id) +# **fetch_promoted_products** +> PromotedProductResourceCollectionOutcome fetch_promoted_products(line_item_id) -This endpoint gets the keyword target on the specified line item. +Retrieve a page of promoted products for a line item ### Example @@ -530,13 +577,14 @@ This endpoint gets the keyword target on the specified line item. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.keyword_target202110_response import KeywordTarget202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource_collection_outcome import PromotedProductResourceCollectionOutcome +from criteo_api_retailmedia_v2024_10.model.product_resource_outcome import ProductResourceOutcome from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -546,29 +594,40 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The line item to interact with + line_item_id = "line-item-id_example" # str | ID of the line item. + offset = 1 # int | Offset of the first item to fetch. Defaults to zero. (optional) + limit = 1 # int | Maximum page size to fetch. Defaults to 500. (optional) + fields = "fields_example" # str | A comma separated list of attribute names from the response model to compute and return. Valid values are `status` and `bidOverride` in any order. Defaults to `status`. (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id(line_item_id) + api_response = api_instance.fetch_promoted_products(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->fetch_promoted_products: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.fetch_promoted_products(line_item_id, offset=offset, limit=limit, fields=fields) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->fetch_promoted_products: %s\n" % e) ``` @@ -576,11 +635,14 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with | + **line_item_id** | **str**| ID of the line item. | + **offset** | **int**| Offset of the first item to fetch. Defaults to zero. | [optional] + **limit** | **int**| Maximum page size to fetch. Defaults to 500. | [optional] + **fields** | **str**| A comma separated list of attribute names from the response model to compute and return. Valid values are `status` and `bidOverride` in any order. Defaults to `status`. | [optional] ### Return type -[**KeywordTarget202110Response**](KeywordTarget202110Response.md) +[**PromotedProductResourceCollectionOutcome**](PromotedProductResourceCollectionOutcome.md) ### Authorization @@ -596,17 +658,17 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**200** | Promoted products associated with the line item | - | +**403** | Invalid external line item ID | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api202110_external_campaign_preferred_line_items_by_campaign_id** -> PreferredLineItem202110PagedListResponse get_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id) +# **fetch_proposal** +> ProposalStatusModelResponse fetch_proposal(id) -Gets page of preferred line item objects for the given campaign id +Includes the state of the proposal, the status of the booking and approval, as well as any comments explaining why it might have been rejected. ### Example @@ -615,13 +677,14 @@ Gets page of preferred line item objects for the given campaign id ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.preferred_line_item202110_paged_list_response import PreferredLineItem202110PagedListResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.proposal_status_model_response import ProposalStatusModelResponse +from criteo_api_retailmedia_v2024_10.model.resource_outcome import ResourceOutcome from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -631,42 +694,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - campaign_id = "campaign-id_example" # str | The given campaign id - limit_to_id = [ - "limitToId_example", - ] # [str] | The ids that you would like to limit your result set to (optional) - page_index = 1 # int | The 0 indexed page index you would like to receive given the page size (optional) - page_size = 1 # int | The maximum number of items you would like to receive in this request (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api202110_external_campaign_preferred_line_items_by_campaign_id: %s\n" % e) + id = "id_example" # str | ID of the line item # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.get_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) + api_response = api_instance.fetch_proposal(id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api202110_external_campaign_preferred_line_items_by_campaign_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->fetch_proposal: %s\n" % e) ``` @@ -674,14 +724,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **campaign_id** | **str**| The given campaign id | - **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] - **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] - **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] + **id** | **str**| ID of the line item | ### Return type -[**PreferredLineItem202110PagedListResponse**](PreferredLineItem202110PagedListResponse.md) +[**ProposalStatusModelResponse**](ProposalStatusModelResponse.md) ### Authorization @@ -699,15 +746,16 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **200** | Success | - | **400** | Bad Request | - | +**403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api202110_external_line_item_products_by_line_item_id** -> PromotedProduct202110PagedListResponse get_api202110_external_line_item_products_by_line_item_id(line_item_id) +# **get_api202110_external_account_creatives_by_account_id** +> Creative202110ListResponse get_api202110_external_account_creatives_by_account_id(account_id) -This endpoint gets the promoted products on the specified line item. +Get account creatives ### Example @@ -716,13 +764,13 @@ This endpoint gets the promoted products on the specified line item. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_paged_list_response import PromotedProduct202110PagedListResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.creative202110_list_response import Creative202110ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -732,42 +780,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The line item to interact with - limit_to_id = [ - "limitToId_example", - ] # [str] | The ids that you would like to limit your result set to (optional) - page_index = 1 # int | The 0 indexed page index you would like to receive given the page size (optional) - page_size = 1 # int | The maximum number of items you would like to receive in this request (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_api202110_external_line_item_products_by_line_item_id(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api202110_external_line_item_products_by_line_item_id: %s\n" % e) + account_id = "account-id_example" # str | External account id to retrieve creatives for # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.get_api202110_external_line_item_products_by_line_item_id(line_item_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) + api_response = api_instance.get_api202110_external_account_creatives_by_account_id(account_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api202110_external_line_item_products_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api202110_external_account_creatives_by_account_id: %s\n" % e) ``` @@ -775,14 +810,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with | - **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] - **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] - **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] + **account_id** | **str**| External account id to retrieve creatives for | ### Return type -[**PromotedProduct202110PagedListResponse**](PromotedProduct202110PagedListResponse.md) +[**Creative202110ListResponse**](Creative202110ListResponse.md) ### Authorization @@ -798,16 +830,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**200** | Creatives found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api202110_external_preferred_line_item_by_line_item_id** -> PreferredLineItem202110Response get_api202110_external_preferred_line_item_by_line_item_id(line_item_id) +# **get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id** +> KeywordTarget202110Response get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id(line_item_id) -Gets the preferred line item for the given line item id +This endpoint gets the keyword target on the specified line item. ### Example @@ -816,13 +848,13 @@ Gets the preferred line item for the given line item id ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.preferred_line_item202110_response import PreferredLineItem202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.keyword_target202110_response import KeywordTarget202110Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -832,29 +864,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The given line item id + line_item_id = "line-item-id_example" # str | The line item to interact with # example passing only required values which don't have defaults set try: - api_response = api_instance.get_api202110_external_preferred_line_item_by_line_item_id(line_item_id) + api_response = api_instance.get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api202110_external_preferred_line_item_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id: %s\n" % e) ``` @@ -862,11 +894,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The given line item id | + **line_item_id** | **str**| The line item to interact with | ### Return type -[**PreferredLineItem202110Response**](PreferredLineItem202110Response.md) +[**KeywordTarget202110Response**](KeywordTarget202110Response.md) ### Authorization @@ -901,13 +933,13 @@ This endpoint gets the add to basket target on the specified line item. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.add_to_basket_target202110_response import AddToBasketTarget202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.add_to_basket_target202110_response import AddToBasketTarget202110Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -917,19 +949,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with @@ -938,7 +970,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id: %s\n" % e) ``` @@ -986,13 +1018,13 @@ This endpoint gets the audience target on the specified line item. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.audience_target202110_response import AudienceTarget202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.audience_target202110_response import AudienceTarget202110Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1002,19 +1034,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with @@ -1023,7 +1055,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id: %s\n" % e) ``` @@ -1071,13 +1103,13 @@ This endpoint gets the store target on the specified line item. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.store_target202110_response import StoreTarget202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.store_target202110_response import StoreTarget202110Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1087,19 +1119,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with @@ -1108,7 +1140,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202110_external_preferred_line_item_targeting_stores_by_line_item_id: %s\n" % e) ``` @@ -1156,13 +1188,13 @@ Get the page types available for the given retailer ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.external_retailer_pages202110 import ExternalRetailerPages202110 +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.external_retailer_pages202110 import ExternalRetailerPages202110 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1172,19 +1204,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) retailer_id = 1 # int | The retailers to fetch pages for @@ -1193,7 +1225,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202110_external_retailer_pages_by_retailer_id(retailer_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202110_external_retailer_pages_by_retailer_id: %s\n" % e) ``` @@ -1240,13 +1272,13 @@ Endpoint to search for a specific category by categoryId. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.category202204 import Category202204 +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.category202204 import Category202204 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1256,19 +1288,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) category_id = 1 # int | ID of the desired category @@ -1277,7 +1309,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202204_external_categorie_by_category_id(category_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202204_external_categorie_by_category_id: %s\n" % e) ``` @@ -1326,13 +1358,13 @@ Endpoint to search categories by text and retailer. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.category202204_list_response import Category202204ListResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.category202204_list_response import Category202204ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1342,19 +1374,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) retailer_id = 1 # int | The retailer id for which Categories fetched (optional) @@ -1367,7 +1399,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202204_external_categories(retailer_id=retailer_id, text_substring=text_substring, page_index=page_index, page_size=page_size) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202204_external_categories: %s\n" % e) ``` @@ -1417,13 +1449,13 @@ Gets the template for the specified retailer id and template id ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.template_response import TemplateResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.template_response import TemplateResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1433,19 +1465,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) retailer_id = 1 # int | Retailer Id @@ -1455,7 +1487,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202207_external_retailer_by_retailer_id_templatestemplate_id(retailer_id, template_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202207_external_retailer_by_retailer_id_templatestemplate_id: %s\n" % e) ``` @@ -1503,13 +1535,13 @@ Get retailer creative templates ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.template_list_response import TemplateListResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.template_list_response import TemplateListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1519,19 +1551,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) retailer_id = 1 # int | External retailer id to retrieve creative templates for @@ -1540,7 +1572,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202207_external_retailer_templates_by_retailer_id(retailer_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202207_external_retailer_templates_by_retailer_id: %s\n" % e) ``` @@ -1573,92 +1605,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api202210_external_account_by_account_id_creativescreative_id** -> Creative202210Response get_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id) - - - -Get the specified creative - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.creative202210_response import Creative202210Response -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = campaign_api.CampaignApi(api_client) - account_id = "account-id_example" # str | External account id to retrieve creatives for - creative_id = "creative-id_example" # str | Creative to get - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api202210_external_account_by_account_id_creativescreative_id: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **str**| External account id to retrieve creatives for | - **creative_id** | **str**| Creative to get | - -### Return type - -[**Creative202210Response**](Creative202210Response.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Creatives found | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **get_api202301_external_account_campaigns_by_account_id** > JsonApiPageResponseOfCampaignV202301 get_api202301_external_account_campaigns_by_account_id(account_id) @@ -1673,13 +1619,13 @@ Get all the editable and creatable campaign attributes including all types of bu ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301 +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1689,19 +1635,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) account_id = "account-id_example" # str | The account to request the campaign for. @@ -1715,7 +1661,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202301_external_account_campaigns_by_account_id(account_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202301_external_account_campaigns_by_account_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -1723,7 +1669,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202301_external_account_campaigns_by_account_id(account_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202301_external_account_campaigns_by_account_id: %s\n" % e) ``` @@ -1773,13 +1719,13 @@ Get all the editable and creatable campaign attributes including all types of bu ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1789,19 +1735,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) campaign_id = "campaignId_example" # str | Campaign Id of the campaign detail @@ -1810,7 +1756,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api202301_external_campaign_by_campaign_id(campaign_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api202301_external_campaign_by_campaign_id: %s\n" % e) ``` @@ -1843,12 +1789,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api202301_external_line_item_bid_multipliers_by_line_item_id** -> JsonApiSingleResponseOfLineItemBidMultipliers get_api202301_external_line_item_bid_multipliers_by_line_item_id(line_item_id) +# **get_api_v1_external_account_brands_by_account_id** +> JsonApiPageResponseOfBrand get_api_v1_external_account_brands_by_account_id(account_id) -Get bid multipliers by line item +Gets page of retailer objects that are associated with the given account ### Example @@ -1857,13 +1803,13 @@ Get bid multipliers by line item ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_line_item_bid_multipliers import JsonApiSingleResponseOfLineItemBidMultipliers +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1873,41 +1819,57 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | Long external id of the associated line item + account_id = "accountId_example" # str | The given account id + limit_to_id = [ + "limitToId_example", + ] # [str] | The ids that you would like to limit your result set to (optional) + page_index = 0 # int | The 0 indexed page index you would like to receive given the page size (optional) if omitted the server will use the default value of 0 + page_size = 25 # int | The maximum number of items you would like to receive in this request (optional) if omitted the server will use the default value of 25 # example passing only required values which don't have defaults set try: - api_response = api_instance.get_api202301_external_line_item_bid_multipliers_by_line_item_id(line_item_id) + api_response = api_instance.get_api_v1_external_account_brands_by_account_id(account_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api202301_external_line_item_bid_multipliers_by_line_item_id: %s\n" % e) -``` + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v1_external_account_brands_by_account_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_api_v1_external_account_brands_by_account_id(account_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v1_external_account_brands_by_account_id: %s\n" % e) +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| Long external id of the associated line item | + **account_id** | **str**| The given account id | + **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] + **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] if omitted the server will use the default value of 0 + **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] if omitted the server will use the default value of 25 ### Return type -[**JsonApiSingleResponseOfLineItemBidMultipliers**](JsonApiSingleResponseOfLineItemBidMultipliers.md) +[**JsonApiPageResponseOfBrand**](JsonApiPageResponseOfBrand.md) ### Authorization @@ -1927,8 +1889,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api_v1_external_account_brands_by_account_id** -> JsonApiPageResponseOfBrand get_api_v1_external_account_brands_by_account_id(account_id) +# **get_api_v1_external_account_retailers_by_account_id** +> JsonApiPageResponseOfRetailer get_api_v1_external_account_retailers_by_account_id(account_id) @@ -1941,13 +1903,13 @@ Gets page of retailer objects that are associated with the given account ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -1957,19 +1919,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) account_id = "accountId_example" # str | The given account id @@ -1981,18 +1943,18 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set try: - api_response = api_instance.get_api_v1_external_account_brands_by_account_id(account_id) + api_response = api_instance.get_api_v1_external_account_retailers_by_account_id(account_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api_v1_external_account_brands_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v1_external_account_retailers_by_account_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.get_api_v1_external_account_brands_by_account_id(account_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) + api_response = api_instance.get_api_v1_external_account_retailers_by_account_id(account_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api_v1_external_account_brands_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v1_external_account_retailers_by_account_id: %s\n" % e) ``` @@ -2007,7 +1969,7 @@ Name | Type | Description | Notes ### Return type -[**JsonApiPageResponseOfBrand**](JsonApiPageResponseOfBrand.md) +[**JsonApiPageResponseOfRetailer**](JsonApiPageResponseOfRetailer.md) ### Authorization @@ -2027,12 +1989,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api_v1_external_account_retailers_by_account_id** -> JsonApiPageResponseOfRetailer get_api_v1_external_account_retailers_by_account_id(account_id) +# **get_api_v1_external_catalog_output_by_catalog_id** +> file_type get_api_v1_external_catalog_output_by_catalog_id(catalog_id) -Gets page of retailer objects that are associated with the given account +Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. ### Example @@ -2041,13 +2003,12 @@ Gets page of retailer objects that are associated with the given account ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2057,42 +2018,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - account_id = "accountId_example" # str | The given account id - limit_to_id = [ - "limitToId_example", - ] # [str] | The ids that you would like to limit your result set to (optional) - page_index = 0 # int | The 0 indexed page index you would like to receive given the page size (optional) if omitted the server will use the default value of 0 - page_size = 25 # int | The maximum number of items you would like to receive in this request (optional) if omitted the server will use the default value of 25 - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_api_v1_external_account_retailers_by_account_id(account_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api_v1_external_account_retailers_by_account_id: %s\n" % e) + catalog_id = "catalogId_example" # str | A catalog ID returned from an account catalog request. # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.get_api_v1_external_account_retailers_by_account_id(account_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) + api_response = api_instance.get_api_v1_external_catalog_output_by_catalog_id(catalog_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api_v1_external_account_retailers_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v1_external_catalog_output_by_catalog_id: %s\n" % e) ``` @@ -2100,14 +2048,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| The given account id | - **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] - **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] if omitted the server will use the default value of 0 - **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] if omitted the server will use the default value of 25 + **catalog_id** | **str**| A catalog ID returned from an account catalog request. | ### Return type -[**JsonApiPageResponseOfRetailer**](JsonApiPageResponseOfRetailer.md) +**file_type** ### Authorization @@ -2116,23 +2061,24 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: text/plain, application/json, text/json + - **Accept**: application/x-json-stream, application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**200** | Catalog download initiated. | - | +**400** | The indicated catalog is not available for retrieval, wait for a success status. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api_v1_external_catalog_output_by_catalog_id** -> file_type get_api_v1_external_catalog_output_by_catalog_id(catalog_id) +# **get_api_v1_external_catalog_status_by_catalog_id** +> JsonApiSingleResponseOfCatalogStatus get_api_v1_external_catalog_status_by_catalog_id(catalog_id) -Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. +Check the status of a catalog request. ### Example @@ -2141,12 +2087,13 @@ Output the indicated catalog. Catalogs are only available for retrieval when the ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2156,29 +2103,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) catalog_id = "catalogId_example" # str | A catalog ID returned from an account catalog request. # example passing only required values which don't have defaults set try: - api_response = api_instance.get_api_v1_external_catalog_output_by_catalog_id(catalog_id) + api_response = api_instance.get_api_v1_external_catalog_status_by_catalog_id(catalog_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api_v1_external_catalog_output_by_catalog_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v1_external_catalog_status_by_catalog_id: %s\n" % e) ``` @@ -2190,7 +2137,7 @@ Name | Type | Description | Notes ### Return type -**file_type** +[**JsonApiSingleResponseOfCatalogStatus**](JsonApiSingleResponseOfCatalogStatus.md) ### Authorization @@ -2199,24 +2146,23 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/x-json-stream, application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Catalog download initiated. | - | -**400** | The indicated catalog is not available for retrieval, wait for a success status. | - | +**200** | Catalog request found. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api_v1_external_catalog_status_by_catalog_id** -> JsonApiSingleResponseOfCatalogStatus get_api_v1_external_catalog_status_by_catalog_id(catalog_id) +# **get_api_v2_external_account_by_account_id_creativescreative_id** +> CreativeV2Response get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id) -Check the status of a catalog request. +Get the specified creative ### Example @@ -2225,13 +2171,13 @@ Check the status of a catalog request. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.creative_v2_response import CreativeV2Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2241,29 +2187,30 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - catalog_id = "catalogId_example" # str | A catalog ID returned from an account catalog request. + account_id = "account-id_example" # str | External account id to retrieve creatives for + creative_id = "creative-id_example" # str | Creative to get # example passing only required values which don't have defaults set try: - api_response = api_instance.get_api_v1_external_catalog_status_by_catalog_id(catalog_id) + api_response = api_instance.get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api_v1_external_catalog_status_by_catalog_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v2_external_account_by_account_id_creativescreative_id: %s\n" % e) ``` @@ -2271,11 +2218,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **catalog_id** | **str**| A catalog ID returned from an account catalog request. | + **account_id** | **str**| External account id to retrieve creatives for | + **creative_id** | **str**| Creative to get | ### Return type -[**JsonApiSingleResponseOfCatalogStatus**](JsonApiSingleResponseOfCatalogStatus.md) +[**CreativeV2Response**](CreativeV2Response.md) ### Authorization @@ -2284,14 +2232,14 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Catalog request found. | - | +**200** | Creatives found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -2309,13 +2257,13 @@ Gets page of line item objects for the given account id ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2325,19 +2273,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) account_id = "account-id_example" # str | The given account id @@ -2355,7 +2303,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api_v2_external_account_line_items_by_account_id(account_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api_v2_external_account_line_items_by_account_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -2363,7 +2311,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api_v2_external_account_line_items_by_account_id(account_id, limit_to_campaign_id=limit_to_campaign_id, limit_to_type=limit_to_type, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api_v2_external_account_line_items_by_account_id: %s\n" % e) ``` @@ -2415,13 +2363,13 @@ Gets the auction line item for the given line item id ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.auction_line_item_response import AuctionLineItemResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.auction_line_item_response import AuctionLineItemResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2431,19 +2379,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The given line item id @@ -2452,7 +2400,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api_v2_external_auction_line_item_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api_v2_external_auction_line_item_by_line_item_id: %s\n" % e) ``` @@ -2500,13 +2448,13 @@ Gets page of auction line item objects for the given campaign id ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.auction_line_item_paged_list_response import AuctionLineItemPagedListResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.auction_line_item_paged_list_response import AuctionLineItemPagedListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2516,19 +2464,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) campaign_id = "campaign-id_example" # str | The given campaign id @@ -2542,7 +2490,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api_v2_external_campaign_auction_line_items_by_campaign_id(campaign_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api_v2_external_campaign_auction_line_items_by_campaign_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -2550,7 +2498,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_api_v2_external_campaign_auction_line_items_by_campaign_id(campaign_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->get_api_v2_external_campaign_auction_line_items_by_campaign_id: %s\n" % e) ``` @@ -2587,12 +2535,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_api_v2_external_line_item_by_line_item_id** -> CommonLineItemResponse get_api_v2_external_line_item_by_line_item_id(line_item_id) +# **get_api_v2_external_campaign_preferred_line_items_by_campaign_id** +> PreferredLineItemV2PagedListResponse get_api_v2_external_campaign_preferred_line_items_by_campaign_id(campaign_id) -Gets the line item for the given line item id +Gets page of preferred line item objects for the given campaign id ### Example @@ -2601,13 +2549,13 @@ Gets the line item for the given line item id ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.common_line_item_response import CommonLineItemResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_v2_paged_list_response import PreferredLineItemV2PagedListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2617,29 +2565,42 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The given line item id + campaign_id = "campaign-id_example" # str | The given campaign id + limit_to_id = [ + "limitToId_example", + ] # [str] | The ids that you would like to limit your result set to (optional) + page_index = 1 # int | The 0 indexed page index you would like to receive given the page size (optional) + page_size = 1 # int | The maximum number of items you would like to receive in this request (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.get_api_v2_external_line_item_by_line_item_id(line_item_id) + api_response = api_instance.get_api_v2_external_campaign_preferred_line_items_by_campaign_id(campaign_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->get_api_v2_external_line_item_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v2_external_campaign_preferred_line_items_by_campaign_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_api_v2_external_campaign_preferred_line_items_by_campaign_id(campaign_id, limit_to_id=limit_to_id, page_index=page_index, page_size=page_size) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v2_external_campaign_preferred_line_items_by_campaign_id: %s\n" % e) ``` @@ -2647,11 +2608,14 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The given line item id | + **campaign_id** | **str**| The given campaign id | + **limit_to_id** | **[str]**| The ids that you would like to limit your result set to | [optional] + **page_index** | **int**| The 0 indexed page index you would like to receive given the page size | [optional] + **page_size** | **int**| The maximum number of items you would like to receive in this request | [optional] ### Return type -[**CommonLineItemResponse**](CommonLineItemResponse.md) +[**PreferredLineItemV2PagedListResponse**](PreferredLineItemV2PagedListResponse.md) ### Authorization @@ -2668,15 +2632,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | +**400** | Bad Request | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id** -> KeywordTarget202110Response post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(line_item_id) +# **get_api_v2_external_line_item_bid_multipliers_by_line_item_id** +> JsonApiSingleResponseOfLineItemBidMultipliersV2 get_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id) -This endpoint appends one or more keywords to targeting on the specified line item. The resulting state of the keyword target is returned. +Fetch all bid multipliers for a given line item ### Example @@ -2685,14 +2650,13 @@ This endpoint appends one or more keywords to targeting on the specified line it ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.keyword_target202110_response import KeywordTarget202110Response -from criteo_api_retailmedia_v2023_07.model.keyword_target202110_request import KeywordTarget202110Request +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2702,47 +2666,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The line item to interact with - keyword_target202110_request = KeywordTarget202110Request( - data=ValueTypeResourceOfKeywordTarget202110( - type="type_example", - attributes=ExternalKeywordTarget202110( - keywords={ - "unknown": "unknown", - }, - ), - ), - ) # KeywordTarget202110Request | (optional) + line_item_id = "line-item-id_example" # str | External LineItemId for bid multiplier retrieval # example passing only required values which don't have defaults set try: - api_response = api_instance.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(line_item_id, keyword_target202110_request=keyword_target202110_request) + api_response = api_instance.get_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v2_external_line_item_bid_multipliers_by_line_item_id: %s\n" % e) ``` @@ -2750,12 +2696,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with | - **keyword_target202110_request** | [**KeywordTarget202110Request**](KeywordTarget202110Request.md)| | [optional] + **line_item_id** | **str**| External LineItemId for bid multiplier retrieval | ### Return type -[**KeywordTarget202110Response**](KeywordTarget202110Response.md) +[**JsonApiSingleResponseOfLineItemBidMultipliersV2**](JsonApiSingleResponseOfLineItemBidMultipliersV2.md) ### Authorization @@ -2763,25 +2708,24 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**200** | BidMultipliers Found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id** -> KeywordTarget202110Response post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id(line_item_id) +# **get_api_v2_external_line_item_by_line_item_id** +> CommonLineItemResponse get_api_v2_external_line_item_by_line_item_id(line_item_id) -This endpoint removes one or more keywords from targeting on the specified line item. The resulting state of the keyword target is returned. +Gets the line item for the given line item id ### Example @@ -2790,14 +2734,13 @@ This endpoint removes one or more keywords from targeting on the specified line ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.keyword_target202110_response import KeywordTarget202110Response -from criteo_api_retailmedia_v2023_07.model.keyword_target202110_request import KeywordTarget202110Request +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.common_line_item_response import CommonLineItemResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2807,47 +2750,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The line item to interact with - keyword_target202110_request = KeywordTarget202110Request( - data=ValueTypeResourceOfKeywordTarget202110( - type="type_example", - attributes=ExternalKeywordTarget202110( - keywords={ - "unknown": "unknown", - }, - ), - ), - ) # KeywordTarget202110Request | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id: %s\n" % e) + line_item_id = "line-item-id_example" # str | The given line item id # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id(line_item_id, keyword_target202110_request=keyword_target202110_request) + api_response = api_instance.get_api_v2_external_line_item_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v2_external_line_item_by_line_item_id: %s\n" % e) ``` @@ -2855,12 +2780,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with | - **keyword_target202110_request** | [**KeywordTarget202110Request**](KeywordTarget202110Request.md)| | [optional] + **line_item_id** | **str**| The given line item id | ### Return type -[**KeywordTarget202110Response**](KeywordTarget202110Response.md) +[**CommonLineItemResponse**](CommonLineItemResponse.md) ### Authorization @@ -2868,7 +2792,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json @@ -2877,16 +2801,15 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | -**400** | Bad Request | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_balance_campaigns_append_by_balance_id** -> BalanceCampaign202110PagedListResponse post_api202110_external_balance_campaigns_append_by_balance_id(balance_id) +# **get_api_v2_external_preferred_line_item_by_line_item_id** +> PreferredLineItemV2Response get_api_v2_external_preferred_line_item_by_line_item_id(line_item_id) -appends one or more campaigns to the specified balance +Gets the preferred line item for the given line item id ### Example @@ -2895,14 +2818,13 @@ appends one or more campaigns to the specified balance ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_v2_response import PreferredLineItemV2Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -2912,46 +2834,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - balance_id = "balance-id_example" # str | The balance to add campaigns from - balance_campaign202110_list_request = BalanceCampaign202110ListRequest( - data=[ - ResourceOfBalanceCampaign202110( - id="id_example", - type="type_example", - attributes={}, - ), - ], - ) # BalanceCampaign202110ListRequest | The campaigns to append (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.post_api202110_external_balance_campaigns_append_by_balance_id(balance_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_balance_campaigns_append_by_balance_id: %s\n" % e) + line_item_id = "line-item-id_example" # str | The given line item id # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.post_api202110_external_balance_campaigns_append_by_balance_id(balance_id, balance_campaign202110_list_request=balance_campaign202110_list_request) + api_response = api_instance.get_api_v2_external_preferred_line_item_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_balance_campaigns_append_by_balance_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_api_v2_external_preferred_line_item_by_line_item_id: %s\n" % e) ``` @@ -2959,12 +2864,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **balance_id** | **str**| The balance to add campaigns from | - **balance_campaign202110_list_request** | [**BalanceCampaign202110ListRequest**](BalanceCampaign202110ListRequest.md)| The campaigns to append | [optional] + **line_item_id** | **str**| The given line item id | ### Return type -[**BalanceCampaign202110PagedListResponse**](BalanceCampaign202110PagedListResponse.md) +[**PreferredLineItemV2Response**](PreferredLineItemV2Response.md) ### Authorization @@ -2972,7 +2876,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json @@ -2981,15 +2885,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | +**400** | Bad Request | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_balance_campaigns_delete_by_balance_id** -> BalanceCampaign202110PagedListResponse post_api202110_external_balance_campaigns_delete_by_balance_id(balance_id) +# **get_campaign_budget_overrides** +> ValueResourceOutcomeOfCampaignBudgetOverrides get_campaign_budget_overrides(campaign_id) -Removes one or more campaigns on the specified balance +Get current campaign budget overrides by given external campaign id. ### Example @@ -2998,14 +2903,13 @@ Removes one or more campaigns on the specified balance ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3015,46 +2919,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - balance_id = "balance-id_example" # str | The balance to remove campaigns from - balance_campaign202110_list_request = BalanceCampaign202110ListRequest( - data=[ - ResourceOfBalanceCampaign202110( - id="id_example", - type="type_example", - attributes={}, - ), - ], - ) # BalanceCampaign202110ListRequest | The campaigns to append (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.post_api202110_external_balance_campaigns_delete_by_balance_id(balance_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_balance_campaigns_delete_by_balance_id: %s\n" % e) + campaign_id = 1 # int | External campaign id. # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.post_api202110_external_balance_campaigns_delete_by_balance_id(balance_id, balance_campaign202110_list_request=balance_campaign202110_list_request) + api_response = api_instance.get_campaign_budget_overrides(campaign_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_balance_campaigns_delete_by_balance_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_campaign_budget_overrides: %s\n" % e) ``` @@ -3062,12 +2949,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **balance_id** | **str**| The balance to remove campaigns from | - **balance_campaign202110_list_request** | [**BalanceCampaign202110ListRequest**](BalanceCampaign202110ListRequest.md)| The campaigns to append | [optional] + **campaign_id** | **int**| External campaign id. | ### Return type -[**BalanceCampaign202110PagedListResponse**](BalanceCampaign202110PagedListResponse.md) +[**ValueResourceOutcomeOfCampaignBudgetOverrides**](ValueResourceOutcomeOfCampaignBudgetOverrides.md) ### Authorization @@ -3075,7 +2961,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json @@ -3087,12 +2973,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_campaign_preferred_line_items_by_campaign_id** -> PreferredLineItem202110Response post_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id) +# **get_line_item_budget_overrides** +> ValueResourceOutcomeOfLineItemBudgetOverrides get_line_item_budget_overrides(line_item_id) -Creates a new preferred line item with the specified settings +Gets a collection of monthly and daily budget overrides for the provided line item. ### Example @@ -3101,14 +2987,13 @@ Creates a new preferred line item with the specified settings ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.preferred_line_item_create_model202110_request import PreferredLineItemCreateModel202110Request -from criteo_api_retailmedia_v2023_07.model.preferred_line_item202110_response import PreferredLineItem202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3118,68 +3003,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - campaign_id = "campaign-id_example" # str | The given campaign id - preferred_line_item_create_model202110_request = PreferredLineItemCreateModel202110Request( - data=InputResourceOfPreferredLineItemCreateModel202110( - type="type_example", - attributes=ExternalPreferredLineItemCreateModel202110( - name="name_example", - start_date=dateutil_parser('1970-01-01').date(), - end_date=dateutil_parser('1970-01-01').date(), - status="unknown", - pacing="unknown", - capping=ExternalLineItemCapping202110( - type="unknown", - count=1, - ), - page=ExternalLineItemPage202110( - page_type="search", - categories=[ - ExternalLineItemPageCategory202110( - category_id="category_id_example", - include_children=True, - ), - ], - search_keywords=[ - "search_keywords_example", - ], - ), - target_retailer_id="target_retailer_id_example", - budget=3.14, - creative_id="creative_id_example", - ), - ), - ) # PreferredLineItemCreateModel202110Request | The line item settings to create a line item with (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.post_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_campaign_preferred_line_items_by_campaign_id: %s\n" % e) + line_item_id = "lineItemId_example" # str | The line item id to get budget overrides for. # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.post_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, preferred_line_item_create_model202110_request=preferred_line_item_create_model202110_request) + api_response = api_instance.get_line_item_budget_overrides(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_campaign_preferred_line_items_by_campaign_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->get_line_item_budget_overrides: %s\n" % e) ``` @@ -3187,12 +3033,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **campaign_id** | **str**| The given campaign id | - **preferred_line_item_create_model202110_request** | [**PreferredLineItemCreateModel202110Request**](PreferredLineItemCreateModel202110Request.md)| The line item settings to create a line item with | [optional] + **line_item_id** | **str**| The line item id to get budget overrides for. | ### Return type -[**PreferredLineItem202110Response**](PreferredLineItem202110Response.md) +[**ValueResourceOutcomeOfLineItemBudgetOverrides**](ValueResourceOutcomeOfLineItemBudgetOverrides.md) ### Authorization @@ -3200,7 +3045,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json @@ -3208,17 +3053,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Success | - | -**400** | Bad Request | - | +**200** | Success | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_line_item_products_append_by_line_item_id** -> PromotedProduct202110PagedListResponse post_api202110_external_line_item_products_append_by_line_item_id(line_item_id) +# **pause_promoted_products** +> pause_promoted_products(line_item_id) -This endpoint appends one or more products to promote on the specified line item. The resulting state of the line item is returned. +Pause a collection of promoted products associated with a line item ### Example @@ -3227,14 +3071,14 @@ This endpoint appends one or more products to promote on the specified line item ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_paged_list_response import PromotedProduct202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_list_request import PromotedProduct202110ListRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.product_resource_outcome import ProductResourceOutcome +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3244,48 +3088,48 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The line item to interact with - promoted_product202110_list_request = PromotedProduct202110ListRequest( + line_item_id = "line-item-id_example" # str | ID of the line item + promoted_product_resource_collection_input = PromotedProductResourceCollectionInput( data=[ - ResourceOfPromotedProduct202110( + PromotedProductResource( id="id_example", type="type_example", - attributes=ExternalPromotedProduct202110( + attributes=PromotedProduct( + id="id_example", bid_override=3.14, + status=LineItemProductStatus("Unknown"), ), ), ], - ) # PromotedProduct202110ListRequest | the products to append to this line item (optional) + ) # PromotedProductResourceCollectionInput | Request body whose {data} contains an array of promoted products. (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.post_api202110_external_line_item_products_append_by_line_item_id(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_line_item_products_append_by_line_item_id: %s\n" % e) + api_instance.pause_promoted_products(line_item_id) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->pause_promoted_products: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.post_api202110_external_line_item_products_append_by_line_item_id(line_item_id, promoted_product202110_list_request=promoted_product202110_list_request) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_line_item_products_append_by_line_item_id: %s\n" % e) + api_instance.pause_promoted_products(line_item_id, promoted_product_resource_collection_input=promoted_product_resource_collection_input) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->pause_promoted_products: %s\n" % e) ``` @@ -3293,12 +3137,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with | - **promoted_product202110_list_request** | [**PromotedProduct202110ListRequest**](PromotedProduct202110ListRequest.md)| the products to append to this line item | [optional] + **line_item_id** | **str**| ID of the line item | + **promoted_product_resource_collection_input** | [**PromotedProductResourceCollectionInput**](PromotedProductResourceCollectionInput.md)| Request body whose {data} contains an array of promoted products. | [optional] ### Return type -[**PromotedProduct202110PagedListResponse**](PromotedProduct202110PagedListResponse.md) +void (empty response body) ### Authorization @@ -3314,16 +3158,18 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**204** | Promoted products paused | - | +**400** | Invalid request body | - | +**403** | Invalid external line item ID | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_line_item_products_delete_by_line_item_id** -> PromotedProduct202110PagedListResponse post_api202110_external_line_item_products_delete_by_line_item_id(line_item_id) +# **post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id** +> KeywordTarget202110Response post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(line_item_id) -This endpoint removes one or more products from promotion on the specified line item. The resulting state of the line item is returned. +This endpoint appends one or more keywords to targeting on the specified line item. The resulting state of the keyword target is returned. ### Example @@ -3332,14 +3178,14 @@ This endpoint removes one or more products from promotion on the specified line ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_paged_list_response import PromotedProduct202110PagedListResponse -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_list_request import PromotedProduct202110ListRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.keyword_target202110_response import KeywordTarget202110Response +from criteo_api_retailmedia_v2024_10.model.keyword_target202110_request import KeywordTarget202110Request from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3349,48 +3195,47 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with - promoted_product202110_list_request = PromotedProduct202110ListRequest( - data=[ - ResourceOfPromotedProduct202110( - id="id_example", - type="type_example", - attributes=ExternalPromotedProduct202110( - bid_override=3.14, - ), + keyword_target202110_request = KeywordTarget202110Request( + data=ValueTypeResourceOfKeywordTarget202110( + type="type_example", + attributes=ExternalKeywordTarget202110( + keywords={ + "unknown": "unknown", + }, ), - ], - ) # PromotedProduct202110ListRequest | (optional) + ), + ) # KeywordTarget202110Request | (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.post_api202110_external_line_item_products_delete_by_line_item_id(line_item_id) + api_response = api_instance.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_line_item_products_delete_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.post_api202110_external_line_item_products_delete_by_line_item_id(line_item_id, promoted_product202110_list_request=promoted_product202110_list_request) + api_response = api_instance.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(line_item_id, keyword_target202110_request=keyword_target202110_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_line_item_products_delete_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id: %s\n" % e) ``` @@ -3399,11 +3244,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **line_item_id** | **str**| The line item to interact with | - **promoted_product202110_list_request** | [**PromotedProduct202110ListRequest**](PromotedProduct202110ListRequest.md)| | [optional] + **keyword_target202110_request** | [**KeywordTarget202110Request**](KeywordTarget202110Request.md)| | [optional] ### Return type -[**PromotedProduct202110PagedListResponse**](PromotedProduct202110PagedListResponse.md) +[**KeywordTarget202110Response**](KeywordTarget202110Response.md) ### Authorization @@ -3420,15 +3265,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | +**400** | Bad Request | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_line_item_products_pause_by_line_item_id** -> post_api202110_external_line_item_products_pause_by_line_item_id(line_item_id) +# **post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id** +> KeywordTarget202110Response post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id(line_item_id) -This endpoint pauses one or more promoted products on a specified line item. +This endpoint removes one or more keywords from targeting on the specified line item. The resulting state of the keyword target is returned. ### Example @@ -3437,13 +3283,14 @@ This endpoint pauses one or more promoted products on a specified line item. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_list_request import PromotedProduct202110ListRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.keyword_target202110_response import KeywordTarget202110Response +from criteo_api_retailmedia_v2024_10.model.keyword_target202110_request import KeywordTarget202110Request from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3453,46 +3300,47 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The line item to interact with. - promoted_product202110_list_request = PromotedProduct202110ListRequest( - data=[ - ResourceOfPromotedProduct202110( - id="id_example", - type="type_example", - attributes=ExternalPromotedProduct202110( - bid_override=3.14, - ), + line_item_id = "line-item-id_example" # str | The line item to interact with + keyword_target202110_request = KeywordTarget202110Request( + data=ValueTypeResourceOfKeywordTarget202110( + type="type_example", + attributes=ExternalKeywordTarget202110( + keywords={ + "unknown": "unknown", + }, ), - ], - ) # PromotedProduct202110ListRequest | The products from which their IDs will be used to pause. (optional) + ), + ) # KeywordTarget202110Request | (optional) # example passing only required values which don't have defaults set try: - api_instance.post_api202110_external_line_item_products_pause_by_line_item_id(line_item_id) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_line_item_products_pause_by_line_item_id: %s\n" % e) + api_response = api_instance.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id(line_item_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_instance.post_api202110_external_line_item_products_pause_by_line_item_id(line_item_id, promoted_product202110_list_request=promoted_product202110_list_request) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_line_item_products_pause_by_line_item_id: %s\n" % e) + api_response = api_instance.post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id(line_item_id, keyword_target202110_request=keyword_target202110_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_auction_line_item_targeting_keywords_delete_by_line_item_id: %s\n" % e) ``` @@ -3500,12 +3348,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with. | - **promoted_product202110_list_request** | [**PromotedProduct202110ListRequest**](PromotedProduct202110ListRequest.md)| The products from which their IDs will be used to pause. | [optional] + **line_item_id** | **str**| The line item to interact with | + **keyword_target202110_request** | [**KeywordTarget202110Request**](KeywordTarget202110Request.md)| | [optional] ### Return type -void (empty response body) +[**KeywordTarget202110Response**](KeywordTarget202110Response.md) ### Authorization @@ -3514,7 +3362,7 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details @@ -3522,15 +3370,16 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | +**400** | Bad Request | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_line_item_products_unpause_by_line_item_id** -> post_api202110_external_line_item_products_unpause_by_line_item_id(line_item_id) +# **post_api202110_external_balance_campaigns_append_by_balance_id** +> BalanceCampaign202110PagedListResponse post_api202110_external_balance_campaigns_append_by_balance_id(balance_id) -This endpoint unpauses one or more promoted products on a specified line item. +appends one or more campaigns to the specified balance ### Example @@ -3539,13 +3388,14 @@ This endpoint unpauses one or more promoted products on a specified line item. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.promoted_product202110_list_request import PromotedProduct202110ListRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3555,46 +3405,46 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The line item to interact with. - promoted_product202110_list_request = PromotedProduct202110ListRequest( + balance_id = "balance-id_example" # str | The balance to add campaigns from + balance_campaign202110_list_request = BalanceCampaign202110ListRequest( data=[ - ResourceOfPromotedProduct202110( + ResourceOfBalanceCampaign202110( id="id_example", type="type_example", - attributes=ExternalPromotedProduct202110( - bid_override=3.14, - ), + attributes={}, ), ], - ) # PromotedProduct202110ListRequest | The products from which their IDs will be used to unpause. (optional) + ) # BalanceCampaign202110ListRequest | The campaigns to append (optional) # example passing only required values which don't have defaults set try: - api_instance.post_api202110_external_line_item_products_unpause_by_line_item_id(line_item_id) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_line_item_products_unpause_by_line_item_id: %s\n" % e) + api_response = api_instance.post_api202110_external_balance_campaigns_append_by_balance_id(balance_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_balance_campaigns_append_by_balance_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_instance.post_api202110_external_line_item_products_unpause_by_line_item_id(line_item_id, promoted_product202110_list_request=promoted_product202110_list_request) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_line_item_products_unpause_by_line_item_id: %s\n" % e) + api_response = api_instance.post_api202110_external_balance_campaigns_append_by_balance_id(balance_id, balance_campaign202110_list_request=balance_campaign202110_list_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_balance_campaigns_append_by_balance_id: %s\n" % e) ``` @@ -3602,12 +3452,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with. | - **promoted_product202110_list_request** | [**PromotedProduct202110ListRequest**](PromotedProduct202110ListRequest.md)| The products from which their IDs will be used to unpause. | [optional] + **balance_id** | **str**| The balance to add campaigns from | + **balance_campaign202110_list_request** | [**BalanceCampaign202110ListRequest**](BalanceCampaign202110ListRequest.md)| The campaigns to append | [optional] ### Return type -void (empty response body) +[**BalanceCampaign202110PagedListResponse**](BalanceCampaign202110PagedListResponse.md) ### Authorization @@ -3616,7 +3466,7 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details @@ -3627,12 +3477,12 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id** -> AddToBasketTarget202110Response post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id(line_item_id) +# **post_api202110_external_balance_campaigns_delete_by_balance_id** +> BalanceCampaign202110PagedListResponse post_api202110_external_balance_campaigns_delete_by_balance_id(balance_id) -This endpoint appends one or more add to basket ids to targeting on the specified line item. The resulting state of the add to basket target is returned. +Removes one or more campaigns on the specified balance ### Example @@ -3641,14 +3491,14 @@ This endpoint appends one or more add to basket ids to targeting on the specifie ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.add_to_basket_target202110_response import AddToBasketTarget202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest +from criteo_api_retailmedia_v2024_10.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3658,50 +3508,46 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The line item to interact with - add_to_basket_ids_update_model202110_request = AddToBasketIdsUpdateModel202110Request( - data=ValueTypeResourceOfAddToBasketIdsUpdateModel202110( - type="type_example", - attributes=ExternalAddToBasketIdsUpdateModel202110( - product_ids=[ - "product_ids_example", - ], - category_ids=[ - "category_ids_example", - ], + balance_id = "balance-id_example" # str | The balance to remove campaigns from + balance_campaign202110_list_request = BalanceCampaign202110ListRequest( + data=[ + ResourceOfBalanceCampaign202110( + id="id_example", + type="type_example", + attributes={}, ), - ), - ) # AddToBasketIdsUpdateModel202110Request | Ids to append to the target (optional) + ], + ) # BalanceCampaign202110ListRequest | The campaigns to append (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id(line_item_id) + api_response = api_instance.post_api202110_external_balance_campaigns_delete_by_balance_id(balance_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_balance_campaigns_delete_by_balance_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id(line_item_id, add_to_basket_ids_update_model202110_request=add_to_basket_ids_update_model202110_request) + api_response = api_instance.post_api202110_external_balance_campaigns_delete_by_balance_id(balance_id, balance_campaign202110_list_request=balance_campaign202110_list_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_balance_campaigns_delete_by_balance_id: %s\n" % e) ``` @@ -3709,12 +3555,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with | - **add_to_basket_ids_update_model202110_request** | [**AddToBasketIdsUpdateModel202110Request**](AddToBasketIdsUpdateModel202110Request.md)| Ids to append to the target | [optional] + **balance_id** | **str**| The balance to remove campaigns from | + **balance_campaign202110_list_request** | [**BalanceCampaign202110ListRequest**](BalanceCampaign202110ListRequest.md)| The campaigns to append | [optional] ### Return type -[**AddToBasketTarget202110Response**](AddToBasketTarget202110Response.md) +[**BalanceCampaign202110PagedListResponse**](BalanceCampaign202110PagedListResponse.md) ### Authorization @@ -3731,16 +3577,15 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | -**400** | Bad Request | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id** -> AddToBasketTarget202110Response post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id(line_item_id) +# **post_api202110_external_campaign_preferred_line_items_by_campaign_id** +> PreferredLineItemV2Response post_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, preferred_line_item_create_model_v2_request) -This endpoint removes one or more add to basket ids from targeting on the specified line item. The resulting state of the add to basket target is returned. +Creates a new preferred line item with the specified settings ### Example @@ -3749,14 +3594,14 @@ This endpoint removes one or more add to basket ids from targeting on the specif ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.add_to_basket_target202110_response import AddToBasketTarget202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_v2_response import PreferredLineItemV2Response +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3766,50 +3611,60 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The line item to interact with - add_to_basket_ids_update_model202110_request = AddToBasketIdsUpdateModel202110Request( - data=ValueTypeResourceOfAddToBasketIdsUpdateModel202110( + campaign_id = "campaign-id_example" # str | The given campaign id + preferred_line_item_create_model_v2_request = PreferredLineItemCreateModelV2Request( + data=InputResourceOfPreferredLineItemCreateModelV2( type="type_example", - attributes=ExternalAddToBasketIdsUpdateModel202110( - product_ids=[ - "product_ids_example", - ], - category_ids=[ - "category_ids_example", - ], + attributes=ExternalPreferredLineItemCreateModelV2( + name="name_example", + start_date=dateutil_parser('1970-01-01').date(), + end_date=dateutil_parser('1970-01-01').date(), + status="unknown", + pacing="unknown", + capping=ExternalLineItemCappingV2( + type="unknown", + count=1, + ), + page=ExternalLineItemPageV2( + page_type="unknown", + categories=[ + ExternalLineItemPageCategoryV2( + category_id="category_id_example", + include_children=True, + ), + ], + search_keywords=[ + "search_keywords_example", + ], + ), + target_retailer_id="target_retailer_id_example", + budget=3.14, + creative_id="creative_id_example", ), ), - ) # AddToBasketIdsUpdateModel202110Request | Ids to remove from the target (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id: %s\n" % e) + ) # PreferredLineItemCreateModelV2Request | The line item settings to create a line item with # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id(line_item_id, add_to_basket_ids_update_model202110_request=add_to_basket_ids_update_model202110_request) + api_response = api_instance.post_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, preferred_line_item_create_model_v2_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_campaign_preferred_line_items_by_campaign_id: %s\n" % e) ``` @@ -3817,12 +3672,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with | - **add_to_basket_ids_update_model202110_request** | [**AddToBasketIdsUpdateModel202110Request**](AddToBasketIdsUpdateModel202110Request.md)| Ids to remove from the target | [optional] + **campaign_id** | **str**| The given campaign id | + **preferred_line_item_create_model_v2_request** | [**PreferredLineItemCreateModelV2Request**](PreferredLineItemCreateModelV2Request.md)| The line item settings to create a line item with | ### Return type -[**AddToBasketTarget202110Response**](AddToBasketTarget202110Response.md) +[**PreferredLineItemV2Response**](PreferredLineItemV2Response.md) ### Authorization @@ -3838,17 +3693,17 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | +**201** | Success | - | **400** | Bad Request | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id** -> AudienceTarget202110Response post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id(line_item_id) +# **post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id** +> AddToBasketTarget202110Response post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id(line_item_id) -This endpoint appends one or more audiences ids to targeting on the specified line item. The resulting state of the audience target is returned. +This endpoint appends one or more add to basket ids to targeting on the specified line item. The resulting state of the add to basket target is returned. ### Example @@ -3857,14 +3712,14 @@ This endpoint appends one or more audiences ids to targeting on the specified li ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.audience_target202110_response import AudienceTarget202110Response -from criteo_api_retailmedia_v2023_07.model.audience_ids_update_model202110_request import AudienceIdsUpdateModel202110Request +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.add_to_basket_target202110_response import AddToBasketTarget202110Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3874,47 +3729,50 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with - audience_ids_update_model202110_request = AudienceIdsUpdateModel202110Request( - data=ValueTypeResourceOfAudienceIdsUpdateModel202110( + add_to_basket_ids_update_model202110_request = AddToBasketIdsUpdateModel202110Request( + data=ValueTypeResourceOfAddToBasketIdsUpdateModel202110( type="type_example", - attributes=ExternalAudienceIdsUpdateModel202110( - audience_ids=[ - "audience_ids_example", + attributes=ExternalAddToBasketIdsUpdateModel202110( + product_ids=[ + "product_ids_example", + ], + category_ids=[ + "category_ids_example", ], ), ), - ) # AudienceIdsUpdateModel202110Request | Audience ids to append to the target (optional) + ) # AddToBasketIdsUpdateModel202110Request | Ids to append to the target (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id(line_item_id) + api_response = api_instance.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id(line_item_id, audience_ids_update_model202110_request=audience_ids_update_model202110_request) + api_response = api_instance.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id(line_item_id, add_to_basket_ids_update_model202110_request=add_to_basket_ids_update_model202110_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id: %s\n" % e) ``` @@ -3923,11 +3781,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **line_item_id** | **str**| The line item to interact with | - **audience_ids_update_model202110_request** | [**AudienceIdsUpdateModel202110Request**](AudienceIdsUpdateModel202110Request.md)| Audience ids to append to the target | [optional] + **add_to_basket_ids_update_model202110_request** | [**AddToBasketIdsUpdateModel202110Request**](AddToBasketIdsUpdateModel202110Request.md)| Ids to append to the target | [optional] ### Return type -[**AudienceTarget202110Response**](AudienceTarget202110Response.md) +[**AddToBasketTarget202110Response**](AddToBasketTarget202110Response.md) ### Authorization @@ -3948,12 +3806,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id** -> AudienceTarget202110Response post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id(line_item_id) +# **post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id** +> AddToBasketTarget202110Response post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id(line_item_id) -This endpoint removes one or more audiences ids from targeting on the specified line item. The resulting state of the audience target is returned. +This endpoint removes one or more add to basket ids from targeting on the specified line item. The resulting state of the add to basket target is returned. ### Example @@ -3962,14 +3820,14 @@ This endpoint removes one or more audiences ids from targeting on the specified ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.audience_target202110_response import AudienceTarget202110Response -from criteo_api_retailmedia_v2023_07.model.audience_ids_update_model202110_request import AudienceIdsUpdateModel202110Request +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.add_to_basket_target202110_response import AddToBasketTarget202110Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -3979,27 +3837,240 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with - audience_ids_update_model202110_request = AudienceIdsUpdateModel202110Request( - data=ValueTypeResourceOfAudienceIdsUpdateModel202110( + add_to_basket_ids_update_model202110_request = AddToBasketIdsUpdateModel202110Request( + data=ValueTypeResourceOfAddToBasketIdsUpdateModel202110( type="type_example", - attributes=ExternalAudienceIdsUpdateModel202110( - audience_ids=[ + attributes=ExternalAddToBasketIdsUpdateModel202110( + product_ids=[ + "product_ids_example", + ], + category_ids=[ + "category_ids_example", + ], + ), + ), + ) # AddToBasketIdsUpdateModel202110Request | Ids to remove from the target (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id(line_item_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id(line_item_id, add_to_basket_ids_update_model202110_request=add_to_basket_ids_update_model202110_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **line_item_id** | **str**| The line item to interact with | + **add_to_basket_ids_update_model202110_request** | [**AddToBasketIdsUpdateModel202110Request**](AddToBasketIdsUpdateModel202110Request.md)| Ids to remove from the target | [optional] + +### Return type + +[**AddToBasketTarget202110Response**](AddToBasketTarget202110Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | +**400** | Bad Request | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id** +> AudienceTarget202110Response post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id(line_item_id) + + + +This endpoint appends one or more audiences ids to targeting on the specified line item. The resulting state of the audience target is returned. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.audience_ids_update_model202110_request import AudienceIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.audience_target202110_response import AudienceTarget202110Response +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = campaign_api.CampaignApi(api_client) + line_item_id = "line-item-id_example" # str | The line item to interact with + audience_ids_update_model202110_request = AudienceIdsUpdateModel202110Request( + data=ValueTypeResourceOfAudienceIdsUpdateModel202110( + type="type_example", + attributes=ExternalAudienceIdsUpdateModel202110( + audience_ids=[ + "audience_ids_example", + ], + ), + ), + ) # AudienceIdsUpdateModel202110Request | Audience ids to append to the target (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id(line_item_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id(line_item_id, audience_ids_update_model202110_request=audience_ids_update_model202110_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **line_item_id** | **str**| The line item to interact with | + **audience_ids_update_model202110_request** | [**AudienceIdsUpdateModel202110Request**](AudienceIdsUpdateModel202110Request.md)| Audience ids to append to the target | [optional] + +### Return type + +[**AudienceTarget202110Response**](AudienceTarget202110Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | +**400** | Bad Request | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id** +> AudienceTarget202110Response post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id(line_item_id) + + + +This endpoint removes one or more audiences ids from targeting on the specified line item. The resulting state of the audience target is returned. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.audience_ids_update_model202110_request import AudienceIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.audience_target202110_response import AudienceTarget202110Response +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = campaign_api.CampaignApi(api_client) + line_item_id = "line-item-id_example" # str | The line item to interact with + audience_ids_update_model202110_request = AudienceIdsUpdateModel202110Request( + data=ValueTypeResourceOfAudienceIdsUpdateModel202110( + type="type_example", + attributes=ExternalAudienceIdsUpdateModel202110( + audience_ids=[ "audience_ids_example", ], ), @@ -4010,7 +4081,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -4018,7 +4089,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id(line_item_id, audience_ids_update_model202110_request=audience_ids_update_model202110_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id: %s\n" % e) ``` @@ -4067,14 +4138,14 @@ This endpoint appends one or more store ids to targeting on the specified line i ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.store_target202110_response import StoreTarget202110Response -from criteo_api_retailmedia_v2023_07.model.store_ids_update_model202110_request import StoreIdsUpdateModel202110Request +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.store_ids_update_model202110_request import StoreIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.store_target202110_response import StoreTarget202110Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -4084,19 +4155,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with @@ -4115,7 +4186,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -4123,7 +4194,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id(line_item_id, store_ids_update_model202110_request=store_ids_update_model202110_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id: %s\n" % e) ``` @@ -4172,14 +4243,14 @@ This endpoint removes one or more store ids from targeting on the specified line ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.store_target202110_response import StoreTarget202110Response -from criteo_api_retailmedia_v2023_07.model.store_ids_update_model202110_request import StoreIdsUpdateModel202110Request +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.store_ids_update_model202110_request import StoreIdsUpdateModel202110Request +from criteo_api_retailmedia_v2024_10.model.store_target202110_response import StoreTarget202110Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -4189,19 +4260,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with @@ -4220,7 +4291,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -4228,7 +4299,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id(line_item_id, store_ids_update_model202110_request=store_ids_update_model202110_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id: %s\n" % e) ``` @@ -4277,14 +4348,14 @@ Create a creative for an account ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.creative202210_response import Creative202210Response -from criteo_api_retailmedia_v2023_07.model.creative_create_model202207 import CreativeCreateModel202207 +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.creative_create_model202207 import CreativeCreateModel202207 +from criteo_api_retailmedia_v2024_10.model.creative202210_response import Creative202210Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -4294,19 +4365,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) account_id = "account-id_example" # str | External account id to create a creative for @@ -4345,7 +4416,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api202210_external_account_creatives_by_account_id(account_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api202210_external_account_creatives_by_account_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -4353,7 +4424,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api202210_external_account_creatives_by_account_id(account_id, creative_create_model202207=creative_create_model202207) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api202210_external_account_creatives_by_account_id: %s\n" % e) ``` @@ -4387,12 +4458,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202210_external_account_creatives_search_by_account_id** -> Creative202210ListResponse post_api202210_external_account_creatives_search_by_account_id(account_id) +# **post_api202301_external_account_campaigns_by_account_id** +> JsonApiSingleResponseOfCampaignV202301 post_api202301_external_account_campaigns_by_account_id(account_id) -Get account creatives +Create a campaign and assign budgets for the given account id with creatable campaign attributes given in request body constrained by business validation. The validation error includes details and source of errors. Pacing can be adjusted and affected by the status of the campaign and the days left on the campaign if auto daily pacing is enabled. ### Example @@ -4401,13 +4472,14 @@ Get account creatives ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.creative202210_list_response import Creative202210ListResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.post_campaign_v202301 import PostCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -4417,40 +4489,61 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - account_id = "account-id_example" # str | External account id to retrieve creatives for - creative_ids = [ - "creative-ids_example", - ] # [str] | Creatives to filter by (optional) + account_id = "account-id_example" # str | The account to request the campaign for. + post_campaign_v202301 = PostCampaignV202301( + data=JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301( + type="type_example", + attributes=CampaignAttributesV202301( + type="auction", + drawable_balance_ids=[ + "drawable_balance_ids_example", + ], + click_attribution_window="30D", + view_attribution_window="None", + name="name_example", + budget=3.14, + monthly_pacing=3.14, + daily_pacing=3.14, + is_auto_daily_pacing=True, + start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), + end_date=dateutil_parser('1970-01-01T00:00:00.00Z'), + click_attribution_scope="unknown", + view_attribution_scope="unknown", + company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", + ), + ), + ) # PostCampaignV202301 | Creatable campaign attributes (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.post_api202210_external_account_creatives_search_by_account_id(account_id) + api_response = api_instance.post_api202301_external_account_campaigns_by_account_id(account_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202210_external_account_creatives_search_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202301_external_account_campaigns_by_account_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.post_api202210_external_account_creatives_search_by_account_id(account_id, creative_ids=creative_ids) + api_response = api_instance.post_api202301_external_account_campaigns_by_account_id(account_id, post_campaign_v202301=post_campaign_v202301) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202210_external_account_creatives_search_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api202301_external_account_campaigns_by_account_id: %s\n" % e) ``` @@ -4458,12 +4551,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| External account id to retrieve creatives for | - **creative_ids** | **[str]**| Creatives to filter by | [optional] + **account_id** | **str**| The account to request the campaign for. | + **post_campaign_v202301** | [**PostCampaignV202301**](PostCampaignV202301.md)| Creatable campaign attributes | [optional] ### Return type -[**Creative202210ListResponse**](Creative202210ListResponse.md) +[**JsonApiSingleResponseOfCampaignV202301**](JsonApiSingleResponseOfCampaignV202301.md) ### Authorization @@ -4471,7 +4564,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json @@ -4479,16 +4572,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Creatives found | - | +**201** | Success | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api202301_external_account_campaigns_by_account_id** -> JsonApiSingleResponseOfCampaignV202301 post_api202301_external_account_campaigns_by_account_id(account_id) +# **post_api_v1_external_account_catalogs_by_account_id** +> JsonApiSingleResponseOfCatalogStatus post_api_v1_external_account_catalogs_by_account_id(account_id) -Create a campaign and assign budgets for the given account id with creatable campaign attributes given in request body constrained by business validation. The validation error includes details and source of errors. Pacing can be adjusted and affected by the status of the campaign and the days left on the campaign if auto daily pacing is enabled. +Create a request for a Catalog available to the indicated account. ### Example @@ -4497,14 +4590,14 @@ Create a campaign and assign budgets for the given account id with creatable cam ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.post_campaign_v202301 import PostCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus +from criteo_api_retailmedia_v2024_10.model.json_api_request_of_catalog_request import JsonApiRequestOfCatalogRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -4514,60 +4607,48 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - account_id = "account-id_example" # str | The account to request the campaign for. - post_campaign_v202301 = PostCampaignV202301( - data=JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301( + account_id = "accountId_example" # str | The account to request the catalog for. + json_api_request_of_catalog_request = JsonApiRequestOfCatalogRequest( + data=JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest( type="type_example", - attributes=CampaignAttributesV202301( - type="auction", - drawable_balance_ids=[ - "drawable_balance_ids_example", + attributes=ExternalCatalogRequest( + format="json-newline", + brand_id_filter=[ + "brand_id_filter_example", ], - click_attribution_window="30D", - view_attribution_window="None", - name="name_example", - budget=3.14, - monthly_pacing=3.14, - daily_pacing=3.14, - is_auto_daily_pacing=True, - start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), - end_date=dateutil_parser('1970-01-01T00:00:00.00Z'), - click_attribution_scope="unknown", - view_attribution_scope="unknown", - company_name="company_name_example", ), ), - ) # PostCampaignV202301 | Creatable campaign attributes (optional) + ) # JsonApiRequestOfCatalogRequest | (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.post_api202301_external_account_campaigns_by_account_id(account_id) + api_response = api_instance.post_api_v1_external_account_catalogs_by_account_id(account_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202301_external_account_campaigns_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api_v1_external_account_catalogs_by_account_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.post_api202301_external_account_campaigns_by_account_id(account_id, post_campaign_v202301=post_campaign_v202301) + api_response = api_instance.post_api_v1_external_account_catalogs_by_account_id(account_id, json_api_request_of_catalog_request=json_api_request_of_catalog_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api202301_external_account_campaigns_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api_v1_external_account_catalogs_by_account_id: %s\n" % e) ``` @@ -4575,12 +4656,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| The account to request the campaign for. | - **post_campaign_v202301** | [**PostCampaignV202301**](PostCampaignV202301.md)| Creatable campaign attributes | [optional] + **account_id** | **str**| The account to request the catalog for. | + **json_api_request_of_catalog_request** | [**JsonApiRequestOfCatalogRequest**](JsonApiRequestOfCatalogRequest.md)| | [optional] ### Return type -[**JsonApiSingleResponseOfCampaignV202301**](JsonApiSingleResponseOfCampaignV202301.md) +[**JsonApiSingleResponseOfCatalogStatus**](JsonApiSingleResponseOfCatalogStatus.md) ### Authorization @@ -4596,16 +4677,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Success | - | +**200** | Catalog request successfully created | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **post_api_v1_external_account_catalogs_by_account_id** -> JsonApiSingleResponseOfCatalogStatus post_api_v1_external_account_catalogs_by_account_id(account_id) +# **post_api_v2_external_account_creatives_search_by_account_id** +> CreativeV2ListResponse post_api_v2_external_account_creatives_search_by_account_id(account_id) -Create a request for a Catalog available to the indicated account. +Get account creatives ### Example @@ -4614,14 +4695,13 @@ Create a request for a Catalog available to the indicated account. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus -from criteo_api_retailmedia_v2023_07.model.json_api_request_of_catalog_request import JsonApiRequestOfCatalogRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.creative_v2_list_response import CreativeV2ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -4631,48 +4711,40 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - account_id = "accountId_example" # str | The account to request the catalog for. - json_api_request_of_catalog_request = JsonApiRequestOfCatalogRequest( - data=JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest( - type="type_example", - attributes=ExternalCatalogRequest( - format="json-newline", - brand_id_filter=[ - "brand_id_filter_example", - ], - ), - ), - ) # JsonApiRequestOfCatalogRequest | (optional) + account_id = "account-id_example" # str | External account id to retrieve creatives for + creative_ids = [ + "creative-ids_example", + ] # [str] | Creatives to filter by (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.post_api_v1_external_account_catalogs_by_account_id(account_id) + api_response = api_instance.post_api_v2_external_account_creatives_search_by_account_id(account_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api_v1_external_account_catalogs_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api_v2_external_account_creatives_search_by_account_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.post_api_v1_external_account_catalogs_by_account_id(account_id, json_api_request_of_catalog_request=json_api_request_of_catalog_request) + api_response = api_instance.post_api_v2_external_account_creatives_search_by_account_id(account_id, creative_ids=creative_ids) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->post_api_v1_external_account_catalogs_by_account_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->post_api_v2_external_account_creatives_search_by_account_id: %s\n" % e) ``` @@ -4680,12 +4752,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| The account to request the catalog for. | - **json_api_request_of_catalog_request** | [**JsonApiRequestOfCatalogRequest**](JsonApiRequestOfCatalogRequest.md)| | [optional] + **account_id** | **str**| External account id to retrieve creatives for | + **creative_ids** | **[str]**| Creatives to filter by | [optional] ### Return type -[**JsonApiSingleResponseOfCatalogStatus**](JsonApiSingleResponseOfCatalogStatus.md) +[**CreativeV2ListResponse**](CreativeV2ListResponse.md) ### Authorization @@ -4693,15 +4765,15 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Catalog request successfully created | - | +**200** | Creatives found | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -4719,14 +4791,14 @@ Creates new auction line item with the specified settings ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.auction_line_item_response import AuctionLineItemResponse -from criteo_api_retailmedia_v2023_07.model.auction_line_item_create_model_request import AuctionLineItemCreateModelRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.auction_line_item_response import AuctionLineItemResponse +from criteo_api_retailmedia_v2024_10.model.auction_line_item_create_model_request import AuctionLineItemCreateModelRequest from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -4736,19 +4808,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) campaign_id = "campaign-id_example" # str | The given campaign id @@ -4776,7 +4848,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api_v2_external_campaign_auction_line_items_by_campaign_id(campaign_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api_v2_external_campaign_auction_line_items_by_campaign_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -4784,7 +4856,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.post_api_v2_external_campaign_auction_line_items_by_campaign_id(campaign_id, auction_line_item_create_model_request=auction_line_item_create_model_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->post_api_v2_external_campaign_auction_line_items_by_campaign_id: %s\n" % e) ``` @@ -4820,7 +4892,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **put_api202110_external_preferred_line_item_by_line_item_id** -> PreferredLineItem202110Response put_api202110_external_preferred_line_item_by_line_item_id(line_item_id) +> PreferredLineItemV2Response put_api202110_external_preferred_line_item_by_line_item_id(line_item_id, preferred_line_item_update_model_v2_request) @@ -4833,14 +4905,14 @@ Updates the preferred line item for the given line item id ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.preferred_line_item_update_model202110_request import PreferredLineItemUpdateModel202110Request -from criteo_api_retailmedia_v2023_07.model.preferred_line_item202110_response import PreferredLineItem202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_v2_response import PreferredLineItemV2Response +from criteo_api_retailmedia_v2024_10.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -4850,40 +4922,40 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The given line item id - preferred_line_item_update_model202110_request = PreferredLineItemUpdateModel202110Request( - data=ResourceOfPreferredLineItemUpdateModel202110( + preferred_line_item_update_model_v2_request = PreferredLineItemUpdateModelV2Request( + data=ResourceOfPreferredLineItemUpdateModelV2( id="id_example", type="type_example", - attributes=ExternalPreferredLineItemUpdateModel202110( + attributes=ExternalPreferredLineItemUpdateModelV2( name="name_example", start_date=dateutil_parser('1970-01-01').date(), end_date=dateutil_parser('1970-01-01').date(), status="unknown", pacing="accelerated", - capping=ExternalLineItemCapping202110( + capping=ExternalLineItemCappingV2( type="unknown", count=1, ), - page=ExternalLineItemPage202110( - page_type="search", + page=ExternalLineItemPageV2( + page_type="unknown", categories=[ - ExternalLineItemPageCategory202110( + ExternalLineItemPageCategoryV2( category_id="category_id_example", include_children=True, ), @@ -4896,21 +4968,13 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: creative_id="creative_id_example", ), ), - ) # PreferredLineItemUpdateModel202110Request | The line item settings to create a line item with (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.put_api202110_external_preferred_line_item_by_line_item_id(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_by_line_item_id: %s\n" % e) + ) # PreferredLineItemUpdateModelV2Request | The line item settings to create a line item with # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.put_api202110_external_preferred_line_item_by_line_item_id(line_item_id, preferred_line_item_update_model202110_request=preferred_line_item_update_model202110_request) + api_response = api_instance.put_api202110_external_preferred_line_item_by_line_item_id(line_item_id, preferred_line_item_update_model_v2_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_by_line_item_id: %s\n" % e) ``` @@ -4920,11 +4984,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **line_item_id** | **str**| The given line item id | - **preferred_line_item_update_model202110_request** | [**PreferredLineItemUpdateModel202110Request**](PreferredLineItemUpdateModel202110Request.md)| The line item settings to create a line item with | [optional] + **preferred_line_item_update_model_v2_request** | [**PreferredLineItemUpdateModelV2Request**](PreferredLineItemUpdateModelV2Request.md)| The line item settings to create a line item with | ### Return type -[**PreferredLineItem202110Response**](PreferredLineItem202110Response.md) +[**PreferredLineItemV2Response**](PreferredLineItemV2Response.md) ### Authorization @@ -4959,14 +5023,14 @@ This endpoint sets the scope of the add to basket target on the specified line i ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.add_to_basket_target202110_request import AddToBasketTarget202110Request -from criteo_api_retailmedia_v2023_07.model.add_to_basket_target202110_response import AddToBasketTarget202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.add_to_basket_target202110_request import AddToBasketTarget202110Request +from criteo_api_retailmedia_v2024_10.model.add_to_basket_target202110_response import AddToBasketTarget202110Response from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -4976,19 +5040,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with @@ -5011,7 +5075,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -5019,7 +5083,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(line_item_id, add_to_basket_target202110_request=add_to_basket_target202110_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id: %s\n" % e) ``` @@ -5068,14 +5132,14 @@ This endpoint sets the scope of the audience target on the specified line item. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.audience_target202110_request import AudienceTarget202110Request -from criteo_api_retailmedia_v2023_07.model.audience_target202110_response import AudienceTarget202110Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.audience_target202110_response import AudienceTarget202110Response +from criteo_api_retailmedia_v2024_10.model.audience_target202110_request import AudienceTarget202110Request from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -5085,19 +5149,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with @@ -5117,7 +5181,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set @@ -5125,7 +5189,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id(line_item_id, audience_target202110_request=audience_target202110_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_targeting_audiences_by_line_item_id: %s\n" % e) ``` @@ -5174,14 +5238,14 @@ This endpoint sets the scope of the store target on the specified line item. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.store_target202110_response import StoreTarget202110Response -from criteo_api_retailmedia_v2023_07.model.store_target202110_request import StoreTarget202110Request +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.store_target202110_response import StoreTarget202110Response +from criteo_api_retailmedia_v2024_10.model.store_target202110_request import StoreTarget202110Request from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -5191,19 +5255,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) line_item_id = "line-item-id_example" # str | The line item to interact with @@ -5217,22 +5281,378 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: ], ), ), - ) # StoreTarget202110Request | The store target to set the scope for (optional) + ) # StoreTarget202110Request | The store target to set the scope for (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id(line_item_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id(line_item_id, store_target202110_request=store_target202110_request) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **line_item_id** | **str**| The line item to interact with | + **store_target202110_request** | [**StoreTarget202110Request**](StoreTarget202110Request.md)| The store target to set the scope for | [optional] + +### Return type + +[**StoreTarget202110Response**](StoreTarget202110Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | +**400** | Bad Request | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **put_api202210_external_account_by_account_id_creativescreative_id** +> Creative202210Response put_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id) + + + +Update a creative + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.creative_update_model202207 import CreativeUpdateModel202207 +from criteo_api_retailmedia_v2024_10.model.creative202210_response import Creative202210Response +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = campaign_api.CampaignApi(api_client) + account_id = "account-id_example" # str | External account id containing the creative + creative_id = "creative-id_example" # str | Creative to update + creative_update_model202207 = CreativeUpdateModel202207( + name="name_example", + brand_id=1, + retailer_id=1, + template_id=1, + template_variable_values=[ + TemplateVariableValue( + id="id_example", + text_variable_value=TextVariableValue( + text="text_example", + ), + choice_variable_value=ChoiceVariableValue( + chosen_options=[ + "chosen_options_example", + ], + ), + color_variable_value=ColorVariableValue( + color="#2EC", + ), + files_variable_value=FilesVariableValue( + asset_ids=[ + "asset_ids_example", + ], + ), + hyperlink_variable_value=HyperlinkVariableValue( + url="url_example", + ), + ), + ], + ) # CreativeUpdateModel202207 | The creative to create (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.put_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api202210_external_account_by_account_id_creativescreative_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.put_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id, creative_update_model202207=creative_update_model202207) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api202210_external_account_by_account_id_creativescreative_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| External account id containing the creative | + **creative_id** | **str**| Creative to update | + **creative_update_model202207** | [**CreativeUpdateModel202207**](CreativeUpdateModel202207.md)| The creative to create | [optional] + +### Return type + +[**Creative202210Response**](Creative202210Response.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | +**204** | Creative updated | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **put_api202301_external_campaign_by_campaign_id** +> JsonApiSingleResponseOfCampaignV202301 put_api202301_external_campaign_by_campaign_id(campaign_id) + + + +Edit a campaign for the given campaign id with a given editable attributes. This will return updated creatable and editable attributes of the campaign as the result of the operation. Pacing can be adjusted and affected by the status of the campaign and the days left on the campaign if auto daily pacing is enabled. + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.put_campaign_v202301 import PutCampaignV202301 +from criteo_api_retailmedia_v2024_10.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = campaign_api.CampaignApi(api_client) + campaign_id = "campaignId_example" # str | Campaign Id of the updating campaign + put_campaign_v202301 = PutCampaignV202301( + data=JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301( + id="id_example", + type="type_example", + attributes=EditableCampaignAttributesV202301( + name="name_example", + budget=3.14, + monthly_pacing=3.14, + daily_pacing=3.14, + is_auto_daily_pacing=True, + start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), + end_date=dateutil_parser('1970-01-01T00:00:00.00Z'), + click_attribution_window="7D", + view_attribution_window="None", + click_attribution_scope="unknown", + view_attribution_scope="unknown", + company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", + ), + ), + ) # PutCampaignV202301 | Editable campaign attributes (optional) + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.put_api202301_external_campaign_by_campaign_id(campaign_id) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api202301_external_campaign_by_campaign_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.put_api202301_external_campaign_by_campaign_id(campaign_id, put_campaign_v202301=put_campaign_v202301) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api202301_external_campaign_by_campaign_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **campaign_id** | **str**| Campaign Id of the updating campaign | + **put_campaign_v202301** | [**PutCampaignV202301**](PutCampaignV202301.md)| Editable campaign attributes | [optional] + +### Return type + +[**JsonApiSingleResponseOfCampaignV202301**](JsonApiSingleResponseOfCampaignV202301.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **put_api_v2_external_auction_line_item_by_line_item_id** +> AuctionLineItemResponse put_api_v2_external_auction_line_item_by_line_item_id(line_item_id) + + + +Updates the auction line item for the given line item id + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.auction_line_item_response import AuctionLineItemResponse +from criteo_api_retailmedia_v2024_10.model.auction_line_item_update_model_request import AuctionLineItemUpdateModelRequest +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_v2024_10.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = campaign_api.CampaignApi(api_client) + line_item_id = "line-item-id_example" # str | The given line item id + auction_line_item_update_model_request = AuctionLineItemUpdateModelRequest( + data=ResourceOfAuctionLineItemUpdateModel( + id="id_example", + type="type_example", + attributes=ExternalAuctionLineItemUpdateModel( + name="name_example", + start_date=dateutil_parser('1970-01-01').date(), + end_date=dateutil_parser('1970-01-01').date(), + status="unknown", + budget=3.14, + target_bid=3.14, + max_bid=3.14, + monthly_pacing=3.14, + daily_pacing=3.14, + is_auto_daily_pacing=True, + bid_strategy="conversion", + ), + ), + ) # AuctionLineItemUpdateModelRequest | The line item settings to create a line item with (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id(line_item_id) + api_response = api_instance.put_api_v2_external_auction_line_item_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api_v2_external_auction_line_item_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id(line_item_id, store_target202110_request=store_target202110_request) + api_response = api_instance.put_api_v2_external_auction_line_item_by_line_item_id(line_item_id, auction_line_item_update_model_request=auction_line_item_update_model_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api_v2_external_auction_line_item_by_line_item_id: %s\n" % e) ``` @@ -5240,12 +5660,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item to interact with | - **store_target202110_request** | [**StoreTarget202110Request**](StoreTarget202110Request.md)| The store target to set the scope for | [optional] + **line_item_id** | **str**| The given line item id | + **auction_line_item_update_model_request** | [**AuctionLineItemUpdateModelRequest**](AuctionLineItemUpdateModelRequest.md)| The line item settings to create a line item with | [optional] ### Return type -[**StoreTarget202110Response**](StoreTarget202110Response.md) +[**AuctionLineItemResponse**](AuctionLineItemResponse.md) ### Authorization @@ -5266,12 +5686,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **put_api202210_external_account_by_account_id_creativescreative_id** -> Creative202210Response put_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id) +# **put_api_v2_external_line_item_bid_multipliers_by_line_item_id** +> LineItemBidMultipliersV2Response put_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id) -Update a creative +Updates the bid multipliers for a given line item ### Example @@ -5280,14 +5700,14 @@ Update a creative ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.creative_update_model202207 import CreativeUpdateModel202207 -from criteo_api_retailmedia_v2023_07.model.creative202210_response import Creative202210Response +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.line_item_bid_multipliers_v2_response import LineItemBidMultipliersV2Response +from criteo_api_retailmedia_v2024_10.model.line_item_bid_multipliers_v2_request import LineItemBidMultipliersV2Request from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -5297,68 +5717,56 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - account_id = "account-id_example" # str | External account id containing the creative - creative_id = "creative-id_example" # str | Creative to update - creative_update_model202207 = CreativeUpdateModel202207( - name="name_example", - brand_id=1, - retailer_id=1, - template_id=1, - template_variable_values=[ - TemplateVariableValue( - id="id_example", - text_variable_value=TextVariableValue( - text="text_example", - ), - choice_variable_value=ChoiceVariableValue( - chosen_options=[ - "chosen_options_example", - ], - ), - color_variable_value=ColorVariableValue( - color="#2EC", - ), - files_variable_value=FilesVariableValue( - asset_ids=[ - "asset_ids_example", - ], - ), - hyperlink_variable_value=HyperlinkVariableValue( - url="url_example", - ), + line_item_id = "line-item-id_example" # str | External LineItemId for bid multiplier retrieval + line_item_bid_multipliers_v2_request = LineItemBidMultipliersV2Request( + data=ResourceOfLineItemBidMultipliersV2( + attributes=ExternalLineItemBidMultipliersV2( + search=3.14, + home=3.14, + category=3.14, + product_detail=3.14, + confirmation=3.14, + merchandising=3.14, + deals=3.14, + checkout=3.14, + favorites=3.14, + search_bar=3.14, + category_menu=3.14, ), - ], - ) # CreativeUpdateModel202207 | The creative to create (optional) + id="id_example", + type="type_example", + ), + ) # LineItemBidMultipliersV2Request | New Bid Multipliers to be set (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.put_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id) + api_response = api_instance.put_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api202210_external_account_by_account_id_creativescreative_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api_v2_external_line_item_bid_multipliers_by_line_item_id: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.put_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id, creative_update_model202207=creative_update_model202207) + api_response = api_instance.put_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id, line_item_bid_multipliers_v2_request=line_item_bid_multipliers_v2_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api202210_external_account_by_account_id_creativescreative_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->put_api_v2_external_line_item_bid_multipliers_by_line_item_id: %s\n" % e) ``` @@ -5366,13 +5774,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **str**| External account id containing the creative | - **creative_id** | **str**| Creative to update | - **creative_update_model202207** | [**CreativeUpdateModel202207**](CreativeUpdateModel202207.md)| The creative to create | [optional] + **line_item_id** | **str**| External LineItemId for bid multiplier retrieval | + **line_item_bid_multipliers_v2_request** | [**LineItemBidMultipliersV2Request**](LineItemBidMultipliersV2Request.md)| New Bid Multipliers to be set | [optional] ### Return type -[**Creative202210Response**](Creative202210Response.md) +[**LineItemBidMultipliersV2Response**](LineItemBidMultipliersV2Response.md) ### Authorization @@ -5381,24 +5788,23 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: text/plain, application/json, text/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**204** | Creative updated | - | +**200** | BidMultipliers Updated | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **put_api202301_external_campaign_by_campaign_id** -> JsonApiSingleResponseOfCampaignV202301 put_api202301_external_campaign_by_campaign_id(campaign_id) +# **set_keyword_bids** +> ResourceOutcome set_keyword_bids(id) -Edit a campaign for the given campaign id with a given editable attributes. This will return updated creatable and editable attributes of the campaign as the result of the operation. Pacing can be adjusted and affected by the status of the campaign and the days left on the campaign if auto daily pacing is enabled. +Set bid overrides for associated keywords to the given line item in bulk ### Example @@ -5407,14 +5813,14 @@ Edit a campaign for the given campaign id with a given editable attributes. This ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.put_campaign_v202301 import PutCampaignV202301 -from criteo_api_retailmedia_v2023_07.model.json_api_single_response_of_campaign_v202301 import JsonApiSingleResponseOfCampaignV202301 +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.set_bids_model_request import SetBidsModelRequest +from criteo_api_retailmedia_v2024_10.model.resource_outcome import ResourceOutcome from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -5424,57 +5830,51 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - campaign_id = "campaignId_example" # str | Campaign Id of the updating campaign - put_campaign_v202301 = PutCampaignV202301( - data=JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301( + id = "id_example" # str | ID of the line item + set_bids_model_request = SetBidsModelRequest( + data=SetBidsModelResource( id="id_example", type="type_example", - attributes=EditableCampaignAttributesV202301( - name="name_example", - budget=3.14, - monthly_pacing=3.14, - daily_pacing=3.14, - is_auto_daily_pacing=True, - start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), - end_date=dateutil_parser('1970-01-01T00:00:00.00Z'), - click_attribution_window="7D", - view_attribution_window="None", - click_attribution_scope="unknown", - view_attribution_scope="unknown", - company_name="company_name_example", + attributes=SetBidsModel( + keywords=[ + SetBidModel( + phrase="phrase_example", + bid=3.14, + ), + ], ), ), - ) # PutCampaignV202301 | Editable campaign attributes (optional) + ) # SetBidsModelRequest | (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.put_api202301_external_campaign_by_campaign_id(campaign_id) + api_response = api_instance.set_keyword_bids(id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api202301_external_campaign_by_campaign_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->set_keyword_bids: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.put_api202301_external_campaign_by_campaign_id(campaign_id, put_campaign_v202301=put_campaign_v202301) + api_response = api_instance.set_keyword_bids(id, set_bids_model_request=set_bids_model_request) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api202301_external_campaign_by_campaign_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->set_keyword_bids: %s\n" % e) ``` @@ -5482,12 +5882,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **campaign_id** | **str**| Campaign Id of the updating campaign | - **put_campaign_v202301** | [**PutCampaignV202301**](PutCampaignV202301.md)| Editable campaign attributes | [optional] + **id** | **str**| ID of the line item | + **set_bids_model_request** | [**SetBidsModelRequest**](SetBidsModelRequest.md)| | [optional] ### Return type -[**JsonApiSingleResponseOfCampaignV202301**](JsonApiSingleResponseOfCampaignV202301.md) +[**ResourceOutcome**](ResourceOutcome.md) ### Authorization @@ -5504,15 +5904,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | +**400** | Bad Request | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **put_api202301_external_line_item_bid_multipliers_by_line_item_id** -> LineItemBidMultipliersResponse put_api202301_external_line_item_bid_multipliers_by_line_item_id(line_item_id) +# **submit_proposal** +> ProposalStatusModelResponse submit_proposal(id) -Replace bid multipliers on a line item +Only the components of the Line Item that are in a valid state will be reviewed. ### Example @@ -5521,14 +5922,14 @@ Replace bid multipliers on a line item ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.line_item_bid_multipliers_response import LineItemBidMultipliersResponse -from criteo_api_retailmedia_v2023_07.model.line_item_bid_multipliers_request import LineItemBidMultipliersRequest +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.proposal_status_model_response import ProposalStatusModelResponse +from criteo_api_retailmedia_v2024_10.model.resource_outcome import ResourceOutcome from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -5538,53 +5939,29 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | Long external id of the associated line item - line_item_bid_multipliers_request = LineItemBidMultipliersRequest( - data=ResourceOfLineItemBidMultipliers( - attributes=LineItemBidMultipliers( - search=3.14, - homepage=3.14, - categories=3.14, - product_detail=3.14, - confirmation=3.14, - merchandising=3.14, - deals=3.14, - checkout=3.14, - ), - id="id_example", - type="type_example", - ), - ) # LineItemBidMultipliersRequest | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.put_api202301_external_line_item_bid_multipliers_by_line_item_id(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api202301_external_line_item_bid_multipliers_by_line_item_id: %s\n" % e) + id = "id_example" # str | ID of the line item # example passing only required values which don't have defaults set - # and optional values try: - api_response = api_instance.put_api202301_external_line_item_bid_multipliers_by_line_item_id(line_item_id, line_item_bid_multipliers_request=line_item_bid_multipliers_request) + api_response = api_instance.submit_proposal(id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api202301_external_line_item_bid_multipliers_by_line_item_id: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->submit_proposal: %s\n" % e) ``` @@ -5592,12 +5969,11 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| Long external id of the associated line item | - **line_item_bid_multipliers_request** | [**LineItemBidMultipliersRequest**](LineItemBidMultipliersRequest.md)| | [optional] + **id** | **str**| ID of the line item | ### Return type -[**LineItemBidMultipliersResponse**](LineItemBidMultipliersResponse.md) +[**ProposalStatusModelResponse**](ProposalStatusModelResponse.md) ### Authorization @@ -5605,8 +5981,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: Not defined + - **Accept**: application/json ### HTTP response details @@ -5614,15 +5990,17 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Success | - | +**400** | Bad Request | - | +**403** | Forbidden | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **put_api_v2_external_auction_line_item_by_line_item_id** -> AuctionLineItemResponse put_api_v2_external_auction_line_item_by_line_item_id(line_item_id) +# **unpause_promoted_products** +> unpause_promoted_products(line_item_id) -Updates the auction line item for the given line item id +Un-pause a collection of promoted products associated with a line item ### Example @@ -5631,14 +6009,14 @@ Updates the auction line item for the given line item id ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.auction_line_item_update_model_request import AuctionLineItemUpdateModelRequest -from criteo_api_retailmedia_v2023_07.model.auction_line_item_response import AuctionLineItemResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.product_resource_outcome import ProductResourceOutcome +from criteo_api_retailmedia_v2024_10.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -5648,56 +6026,48 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "line-item-id_example" # str | The given line item id - auction_line_item_update_model_request = AuctionLineItemUpdateModelRequest( - data=ResourceOfAuctionLineItemUpdateModel( - id="id_example", - type="type_example", - attributes=ExternalAuctionLineItemUpdateModel( - name="name_example", - start_date=dateutil_parser('1970-01-01').date(), - end_date=dateutil_parser('1970-01-01').date(), - status="unknown", - budget=3.14, - target_bid=3.14, - max_bid=3.14, - monthly_pacing=3.14, - daily_pacing=3.14, - is_auto_daily_pacing=True, - bid_strategy="conversion", + line_item_id = "line-item-id_example" # str | ID of the line item + promoted_product_resource_collection_input = PromotedProductResourceCollectionInput( + data=[ + PromotedProductResource( + id="id_example", + type="type_example", + attributes=PromotedProduct( + id="id_example", + bid_override=3.14, + status=LineItemProductStatus("Unknown"), + ), ), - ), - ) # AuctionLineItemUpdateModelRequest | The line item settings to create a line item with (optional) + ], + ) # PromotedProductResourceCollectionInput | Request body whose {data} contains an array of promoted products. (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.put_api_v2_external_auction_line_item_by_line_item_id(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api_v2_external_auction_line_item_by_line_item_id: %s\n" % e) + api_instance.unpause_promoted_products(line_item_id) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->unpause_promoted_products: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.put_api_v2_external_auction_line_item_by_line_item_id(line_item_id, auction_line_item_update_model_request=auction_line_item_update_model_request) - pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->put_api_v2_external_auction_line_item_by_line_item_id: %s\n" % e) + api_instance.unpause_promoted_products(line_item_id, promoted_product_resource_collection_input=promoted_product_resource_collection_input) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->unpause_promoted_products: %s\n" % e) ``` @@ -5705,12 +6075,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The given line item id | - **auction_line_item_update_model_request** | [**AuctionLineItemUpdateModelRequest**](AuctionLineItemUpdateModelRequest.md)| The line item settings to create a line item with | [optional] + **line_item_id** | **str**| ID of the line item | + **promoted_product_resource_collection_input** | [**PromotedProductResourceCollectionInput**](PromotedProductResourceCollectionInput.md)| Request body whose {data} contains an array of promoted products. | [optional] ### Return type -[**AuctionLineItemResponse**](AuctionLineItemResponse.md) +void (empty response body) ### Authorization @@ -5726,17 +6096,18 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**204** | Promoted products un-paused | - | +**400** | Invalid request body | - | +**403** | Invalid external line item ID | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **set_keyword_bids** -> ResourceOutcome set_keyword_bids(id) +# **update_campaign_budget_overrides** +> ValueResourceOutcomeOfCampaignBudgetOverrides update_campaign_budget_overrides(campaign_id) -Set bid overrides for associated keywords to the given line item in bulk +Update campaign budget overrides by given external campaign id and new campaign budget overrides settings. ### Example @@ -5745,14 +6116,14 @@ Set bid overrides for associated keywords to the given line item in bulk ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.set_bids_model_request import SetBidsModelRequest -from criteo_api_retailmedia_v2023_07.model.resource_outcome import ResourceOutcome +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -5762,51 +6133,60 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - id = "id_example" # str | ID of the line item - set_bids_model_request = SetBidsModelRequest( - data=SetBidsModelResource( - id="id_example", + campaign_id = 1 # int | External campaign id. + value_resource_input_of_campaign_budget_overrides = ValueResourceInputOfCampaignBudgetOverrides( + data=ValueResourceOfCampaignBudgetOverrides( type="type_example", - attributes=SetBidsModel( - keywords=[ - SetBidModel( - phrase="phrase_example", - bid=3.14, + attributes=CampaignBudgetOverrides( + monthly_budget_overrides=[ + CampaignMonthlyBudgetOverride( + start_month=dateutil_parser('1970-01-01T00:00:00.00Z'), + duration="duration_example", + max_monthly_spend=3.14, + status="Expired", + ), + ], + daily_budget_overrides=[ + CampaignDailyBudgetOverride( + start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), + duration="duration_example", + max_daily_spend=3.14, + status="Expired", ), ], ), ), - ) # SetBidsModelRequest | (optional) + ) # ValueResourceInputOfCampaignBudgetOverrides | New campaign budget overrides settings value resource input. (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.set_keyword_bids(id) + api_response = api_instance.update_campaign_budget_overrides(campaign_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->set_keyword_bids: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->update_campaign_budget_overrides: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.set_keyword_bids(id, set_bids_model_request=set_bids_model_request) + api_response = api_instance.update_campaign_budget_overrides(campaign_id, value_resource_input_of_campaign_budget_overrides=value_resource_input_of_campaign_budget_overrides) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->set_keyword_bids: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->update_campaign_budget_overrides: %s\n" % e) ``` @@ -5814,12 +6194,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| ID of the line item | - **set_bids_model_request** | [**SetBidsModelRequest**](SetBidsModelRequest.md)| | [optional] + **campaign_id** | **int**| External campaign id. | + **value_resource_input_of_campaign_budget_overrides** | [**ValueResourceInputOfCampaignBudgetOverrides**](ValueResourceInputOfCampaignBudgetOverrides.md)| New campaign budget overrides settings value resource input. | [optional] ### Return type -[**ResourceOutcome**](ResourceOutcome.md) +[**ValueResourceOutcomeOfCampaignBudgetOverrides**](ValueResourceOutcomeOfCampaignBudgetOverrides.md) ### Authorization @@ -5827,7 +6207,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - **Accept**: application/json @@ -5835,17 +6215,16 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | +**201** | Success | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **submit_proposal** -> ProposalStatusModelResponse submit_proposal(id) +# **update_line_item_budget_overrides** +> ValueResourceOutcomeOfLineItemBudgetOverrides update_line_item_budget_overrides(line_item_id) -Only the components of the Line Item that are in a valid state will be reviewed. +Update line item budget overrides by given external line item id and new line item budget overrides settings. ### Example @@ -5854,14 +6233,14 @@ Only the components of the Line Item that are in a valid state will be reviewed. ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import campaign_api -from criteo_api_retailmedia_v2023_07.model.proposal_status_model_response import ProposalStatusModelResponse -from criteo_api_retailmedia_v2023_07.model.resource_outcome import ResourceOutcome +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import campaign_api +from criteo_api_retailmedia_v2024_10.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides +from criteo_api_retailmedia_v2024_10.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -5871,29 +6250,60 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = campaign_api.CampaignApi(api_client) - id = "id_example" # str | ID of the line item + line_item_id = "lineItemId_example" # str | Line item external id. + value_resource_input_of_line_item_budget_overrides = ValueResourceInputOfLineItemBudgetOverrides( + data=ValueResourceOfLineItemBudgetOverrides( + type="type_example", + attributes=LineItemBudgetOverrides( + monthly_line_item_budget_overrides=[ + MonthlyLineItemBudegetOverride( + start_month=dateutil_parser('1970-01-01T00:00:00.00Z'), + duration="duration_example", + max_monthly_spend=3.14, + status="Expired", + ), + ], + daily_line_item_budget_overrides=[ + DailyLineItemBudgetOverride( + start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), + duration="duration_example", + max_daily_spend=3.14, + status="Expired", + ), + ], + ), + ), + ) # ValueResourceInputOfLineItemBudgetOverrides | New line item budget overrides settings value resource input. (optional) # example passing only required values which don't have defaults set try: - api_response = api_instance.submit_proposal(id) + api_response = api_instance.update_line_item_budget_overrides(line_item_id) pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: - print("Exception when calling CampaignApi->submit_proposal: %s\n" % e) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->update_line_item_budget_overrides: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.update_line_item_budget_overrides(line_item_id, value_resource_input_of_line_item_budget_overrides=value_resource_input_of_line_item_budget_overrides) + pprint(api_response) + except criteo_api_retailmedia_v2024_10.ApiException as e: + print("Exception when calling CampaignApi->update_line_item_budget_overrides: %s\n" % e) ``` @@ -5901,11 +6311,12 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| ID of the line item | + **line_item_id** | **str**| Line item external id. | + **value_resource_input_of_line_item_budget_overrides** | [**ValueResourceInputOfLineItemBudgetOverrides**](ValueResourceInputOfLineItemBudgetOverrides.md)| New line item budget overrides settings value resource input. | [optional] ### Return type -[**ProposalStatusModelResponse**](ProposalStatusModelResponse.md) +[**ValueResourceOutcomeOfLineItemBudgetOverrides**](ValueResourceOutcomeOfLineItemBudgetOverrides.md) ### Authorization @@ -5913,7 +6324,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - **Accept**: application/json @@ -5921,9 +6332,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Success | - | -**400** | Bad Request | - | -**403** | Forbidden | - | +**201** | Success | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/CampaignAttributesV202301.md b/sdks/retailmedia_2024-10/docs/CampaignAttributesV202301.md similarity index 95% rename from sdks/retailmedia_2023-07/docs/CampaignAttributesV202301.md rename to sdks/retailmedia_2024-10/docs/CampaignAttributesV202301.md index efaef3a0..5d257957 100644 --- a/sdks/retailmedia_2023-07/docs/CampaignAttributesV202301.md +++ b/sdks/retailmedia_2024-10/docs/CampaignAttributesV202301.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/docs/CampaignBudgetOverrides.md b/sdks/retailmedia_2024-10/docs/CampaignBudgetOverrides.md similarity index 100% rename from sdks/retailmedia_preview/docs/CampaignBudgetOverrides.md rename to sdks/retailmedia_2024-10/docs/CampaignBudgetOverrides.md diff --git a/sdks/retailmedia_preview/docs/CampaignDailyBudgetOverride.md b/sdks/retailmedia_2024-10/docs/CampaignDailyBudgetOverride.md similarity index 100% rename from sdks/retailmedia_preview/docs/CampaignDailyBudgetOverride.md rename to sdks/retailmedia_2024-10/docs/CampaignDailyBudgetOverride.md diff --git a/sdks/retailmedia_preview/docs/CampaignMonthlyBudgetOverride.md b/sdks/retailmedia_2024-10/docs/CampaignMonthlyBudgetOverride.md similarity index 100% rename from sdks/retailmedia_preview/docs/CampaignMonthlyBudgetOverride.md rename to sdks/retailmedia_2024-10/docs/CampaignMonthlyBudgetOverride.md diff --git a/sdks/retailmedia_2023-07/docs/CampaignV202301.md b/sdks/retailmedia_2024-10/docs/CampaignV202301.md similarity index 96% rename from sdks/retailmedia_2023-07/docs/CampaignV202301.md rename to sdks/retailmedia_2024-10/docs/CampaignV202301.md index 29683d2c..65eb532a 100644 --- a/sdks/retailmedia_2023-07/docs/CampaignV202301.md +++ b/sdks/retailmedia_2024-10/docs/CampaignV202301.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/Category202204.md b/sdks/retailmedia_2024-10/docs/Category202204.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/Category202204.md rename to sdks/retailmedia_2024-10/docs/Category202204.md diff --git a/sdks/retailmedia_2023-07/docs/Category202204ListResponse.md b/sdks/retailmedia_2024-10/docs/Category202204ListResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/Category202204ListResponse.md rename to sdks/retailmedia_2024-10/docs/Category202204ListResponse.md diff --git a/sdks/retailmedia_2024-10/docs/ChangeDatesOfBalanceV2.md b/sdks/retailmedia_2024-10/docs/ChangeDatesOfBalanceV2.md new file mode 100644 index 00000000..ec9c3723 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ChangeDatesOfBalanceV2.md @@ -0,0 +1,15 @@ +# ChangeDatesOfBalanceV2 + +An object that represents the available options to modify schedule of a balance. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**start_date** | **str, none_type** | Start date of the balance in the format YYYY-MM-DD. | [optional] +**end_date** | **str, none_type** | End date of the balance in the format YYYY-MM-DD. | [optional] +**memo** | **str, none_type** | Memo. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ChangeDatesOfBalanceV2Request.md b/sdks/retailmedia_2024-10/docs/ChangeDatesOfBalanceV2Request.md new file mode 100644 index 00000000..dc2fa6b0 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ChangeDatesOfBalanceV2Request.md @@ -0,0 +1,13 @@ +# ChangeDatesOfBalanceV2Request + +A top-level object that encapsulates a Criteo API request for a single entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ResourceOfChangeDatesOfBalanceV2**](ResourceOfChangeDatesOfBalanceV2.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ChangeDetailsV1.md b/sdks/retailmedia_2024-10/docs/ChangeDetailsV1.md new file mode 100644 index 00000000..864b8b5b --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ChangeDetailsV1.md @@ -0,0 +1,14 @@ +# ChangeDetailsV1 + +Change details of a property of the balance. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**previous_value** | **str, none_type** | Previous value of a property of the insertion order. | +**current_value** | **str, none_type** | Current value of a property of the insertion order. | +**change_value** | **str, none_type** | Change detail of a property of the insertion order. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ChoiceOption.md b/sdks/retailmedia_2024-10/docs/ChoiceOption.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ChoiceOption.md rename to sdks/retailmedia_2024-10/docs/ChoiceOption.md diff --git a/sdks/retailmedia_2023-07/docs/ChoiceVariableSpecification.md b/sdks/retailmedia_2024-10/docs/ChoiceVariableSpecification.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ChoiceVariableSpecification.md rename to sdks/retailmedia_2024-10/docs/ChoiceVariableSpecification.md diff --git a/sdks/retailmedia_2023-07/docs/ChoiceVariableValue.md b/sdks/retailmedia_2024-10/docs/ChoiceVariableValue.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ChoiceVariableValue.md rename to sdks/retailmedia_2024-10/docs/ChoiceVariableValue.md diff --git a/sdks/retailmedia_2023-07/docs/ColorVariableValue.md b/sdks/retailmedia_2024-10/docs/ColorVariableValue.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ColorVariableValue.md rename to sdks/retailmedia_2024-10/docs/ColorVariableValue.md diff --git a/sdks/retailmedia_2023-07/docs/CommonError.md b/sdks/retailmedia_2024-10/docs/CommonError.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/CommonError.md rename to sdks/retailmedia_2024-10/docs/CommonError.md diff --git a/sdks/retailmedia_2023-07/docs/CommonLineItemPagedListResponse.md b/sdks/retailmedia_2024-10/docs/CommonLineItemPagedListResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/CommonLineItemPagedListResponse.md rename to sdks/retailmedia_2024-10/docs/CommonLineItemPagedListResponse.md diff --git a/sdks/retailmedia_2023-07/docs/CommonLineItemResponse.md b/sdks/retailmedia_2024-10/docs/CommonLineItemResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/CommonLineItemResponse.md rename to sdks/retailmedia_2024-10/docs/CommonLineItemResponse.md diff --git a/sdks/retailmedia_2023-07/docs/CommonProblem.md b/sdks/retailmedia_2024-10/docs/CommonProblem.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/CommonProblem.md rename to sdks/retailmedia_2024-10/docs/CommonProblem.md diff --git a/sdks/retailmedia_2023-07/docs/CommonWarning.md b/sdks/retailmedia_2024-10/docs/CommonWarning.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/CommonWarning.md rename to sdks/retailmedia_2024-10/docs/CommonWarning.md diff --git a/sdks/retailmedia_2024-10/docs/CreateBalanceV2.md b/sdks/retailmedia_2024-10/docs/CreateBalanceV2.md new file mode 100644 index 00000000..a38eddc8 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/CreateBalanceV2.md @@ -0,0 +1,19 @@ +# CreateBalanceV2 + +An object that represents the available options to set when creating a Retail Media Balance + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the balance. | +**start_date** | **date** | Start date of the balance in the format YYYY-MM-DD. | +**spend_type** | **str** | Type of the balance spend. | +**po_number** | **str, none_type** | Purchase Order number. | [optional] +**deposited** | **float, none_type** | Amount of billable funds allotted to the balance. | [optional] +**end_date** | **date, none_type** | End date of the balance in the format YYYY-MM-DD. | [optional] +**memo** | **str, none_type** | Memo | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/CreateBalanceV2Request.md b/sdks/retailmedia_2024-10/docs/CreateBalanceV2Request.md new file mode 100644 index 00000000..482991d5 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/CreateBalanceV2Request.md @@ -0,0 +1,13 @@ +# CreateBalanceV2Request + +A top-level object that encapsulates a Criteo API request for a single entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ResourceOfCreateBalanceV2**](ResourceOfCreateBalanceV2.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/Creative202110.md b/sdks/retailmedia_2024-10/docs/Creative202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/Creative202110.md rename to sdks/retailmedia_2024-10/docs/Creative202110.md diff --git a/sdks/retailmedia_2023-07/docs/Creative202110ListResponse.md b/sdks/retailmedia_2024-10/docs/Creative202110ListResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/Creative202110ListResponse.md rename to sdks/retailmedia_2024-10/docs/Creative202110ListResponse.md diff --git a/sdks/retailmedia_2023-07/docs/Creative202210.md b/sdks/retailmedia_2024-10/docs/Creative202210.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/Creative202210.md rename to sdks/retailmedia_2024-10/docs/Creative202210.md diff --git a/sdks/retailmedia_2023-07/docs/Creative202210Response.md b/sdks/retailmedia_2024-10/docs/Creative202210Response.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/Creative202210Response.md rename to sdks/retailmedia_2024-10/docs/Creative202210Response.md diff --git a/sdks/retailmedia_2023-07/docs/CreativeCreateModel202207.md b/sdks/retailmedia_2024-10/docs/CreativeCreateModel202207.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/CreativeCreateModel202207.md rename to sdks/retailmedia_2024-10/docs/CreativeCreateModel202207.md diff --git a/sdks/retailmedia_2023-07/docs/CreativeUpdateModel202207.md b/sdks/retailmedia_2024-10/docs/CreativeUpdateModel202207.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/CreativeUpdateModel202207.md rename to sdks/retailmedia_2024-10/docs/CreativeUpdateModel202207.md diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2ListResponse.md b/sdks/retailmedia_2024-10/docs/CreativeV2ListResponse.md similarity index 81% rename from sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2ListResponse.md rename to sdks/retailmedia_2024-10/docs/CreativeV2ListResponse.md index 7194b21f..b50666f8 100644 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2ListResponse.md +++ b/sdks/retailmedia_2024-10/docs/CreativeV2ListResponse.md @@ -1,11 +1,11 @@ -# RmLegacyAudienceGetEntityV2ListResponse +# CreativeV2ListResponse A top-level object that encapsulates a Criteo API response for several entities ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[RmLegacyAudienceGetEntityV2Resource], none_type**](RmLegacyAudienceGetEntityV2Resource.md) | | [optional] +**data** | [**[ResourceOfCreativeV2], none_type**](ResourceOfCreativeV2.md) | | [optional] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1Response.md b/sdks/retailmedia_2024-10/docs/CreativeV2Response.md similarity index 81% rename from sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1Response.md rename to sdks/retailmedia_2024-10/docs/CreativeV2Response.md index f5f772b5..d6de8d16 100644 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1Response.md +++ b/sdks/retailmedia_2024-10/docs/CreativeV2Response.md @@ -1,11 +1,11 @@ -# RmLegacyAudienceCreateEntityV1Response +# CreativeV2Response A top-level object that encapsulates a Criteo API response for a single entity ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**RmLegacyAudienceCreateEntityV1Resource**](RmLegacyAudienceCreateEntityV1Resource.md) | | [optional] +**data** | [**ResourceOfCreativeV2**](ResourceOfCreativeV2.md) | | [optional] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_preview/docs/DailyLineItemBudgetOverride.md b/sdks/retailmedia_2024-10/docs/DailyLineItemBudgetOverride.md similarity index 100% rename from sdks/retailmedia_preview/docs/DailyLineItemBudgetOverride.md rename to sdks/retailmedia_2024-10/docs/DailyLineItemBudgetOverride.md diff --git a/sdks/retailmedia_2023-07/docs/EditableCampaignAttributesV202301.md b/sdks/retailmedia_2024-10/docs/EditableCampaignAttributesV202301.md similarity index 94% rename from sdks/retailmedia_2023-07/docs/EditableCampaignAttributesV202301.md rename to sdks/retailmedia_2024-10/docs/EditableCampaignAttributesV202301.md index 0dbdac3d..b8c8aa20 100644 --- a/sdks/retailmedia_2023-07/docs/EditableCampaignAttributesV202301.md +++ b/sdks/retailmedia_2024-10/docs/EditableCampaignAttributesV202301.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **click_attribution_scope** | **str, none_type** | | [optional] **view_attribution_scope** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_2023-07/docs/GetAudiencesResponse.md b/sdks/retailmedia_2024-10/docs/ErrorCodeResponse.md similarity index 74% rename from sdks/marketingsolutions_2023-07/docs/GetAudiencesResponse.md rename to sdks/retailmedia_2024-10/docs/ErrorCodeResponse.md index 9de4b05b..369d0712 100644 --- a/sdks/marketingsolutions_2023-07/docs/GetAudiencesResponse.md +++ b/sdks/retailmedia_2024-10/docs/ErrorCodeResponse.md @@ -1,13 +1,12 @@ -# GetAudiencesResponse +# ErrorCodeResponse -Body of the GET audience operation +Definition of the error code ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[Audience]**](Audience.md) | | **errors** | [**[AudienceError]**](AudienceError.md) | | -**warnings** | [**[AudienceWarning]**](AudienceWarning.md) | | +**warnings** | [**[AudienceWarning], none_type**](AudienceWarning.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/ExternalAccount.md b/sdks/retailmedia_2024-10/docs/ExternalAccount.md similarity index 92% rename from sdks/retailmedia_2023-07/docs/ExternalAccount.md rename to sdks/retailmedia_2024-10/docs/ExternalAccount.md index 27965745..4f322ef3 100644 --- a/sdks/retailmedia_2023-07/docs/ExternalAccount.md +++ b/sdks/retailmedia_2024-10/docs/ExternalAccount.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **time_zone** | **str** | | **subtype** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/ExternalAddToBasketIdsUpdateModel202110.md b/sdks/retailmedia_2024-10/docs/ExternalAddToBasketIdsUpdateModel202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalAddToBasketIdsUpdateModel202110.md rename to sdks/retailmedia_2024-10/docs/ExternalAddToBasketIdsUpdateModel202110.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalAddToBasketTarget202110.md b/sdks/retailmedia_2024-10/docs/ExternalAddToBasketTarget202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalAddToBasketTarget202110.md rename to sdks/retailmedia_2024-10/docs/ExternalAddToBasketTarget202110.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalAuctionLineItem.md b/sdks/retailmedia_2024-10/docs/ExternalAuctionLineItem.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalAuctionLineItem.md rename to sdks/retailmedia_2024-10/docs/ExternalAuctionLineItem.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalAuctionLineItemCreateModel.md b/sdks/retailmedia_2024-10/docs/ExternalAuctionLineItemCreateModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalAuctionLineItemCreateModel.md rename to sdks/retailmedia_2024-10/docs/ExternalAuctionLineItemCreateModel.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalAuctionLineItemUpdateModel.md b/sdks/retailmedia_2024-10/docs/ExternalAuctionLineItemUpdateModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalAuctionLineItemUpdateModel.md rename to sdks/retailmedia_2024-10/docs/ExternalAuctionLineItemUpdateModel.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalAudienceIdsUpdateModel202110.md b/sdks/retailmedia_2024-10/docs/ExternalAudienceIdsUpdateModel202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalAudienceIdsUpdateModel202110.md rename to sdks/retailmedia_2024-10/docs/ExternalAudienceIdsUpdateModel202110.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalAudienceTarget202110.md b/sdks/retailmedia_2024-10/docs/ExternalAudienceTarget202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalAudienceTarget202110.md rename to sdks/retailmedia_2024-10/docs/ExternalAudienceTarget202110.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalBrand.md b/sdks/retailmedia_2024-10/docs/ExternalBrand.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalBrand.md rename to sdks/retailmedia_2024-10/docs/ExternalBrand.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalCatalogRequest.md b/sdks/retailmedia_2024-10/docs/ExternalCatalogRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalCatalogRequest.md rename to sdks/retailmedia_2024-10/docs/ExternalCatalogRequest.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalCatalogStatus.md b/sdks/retailmedia_2024-10/docs/ExternalCatalogStatus.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalCatalogStatus.md rename to sdks/retailmedia_2024-10/docs/ExternalCatalogStatus.md diff --git a/sdks/retailmedia_2024-10/docs/ExternalChoiceVariableValue.md b/sdks/retailmedia_2024-10/docs/ExternalChoiceVariableValue.md new file mode 100644 index 00000000..b8de67b8 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalChoiceVariableValue.md @@ -0,0 +1,13 @@ +# ExternalChoiceVariableValue + +A value of a template choice variable (among different accepted options) + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**chosen_options** | **[str]** | The chosen options | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ExternalColorVariableValue.md b/sdks/retailmedia_2024-10/docs/ExternalColorVariableValue.md new file mode 100644 index 00000000..6c202a98 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalColorVariableValue.md @@ -0,0 +1,13 @@ +# ExternalColorVariableValue + +A value of a template color variable + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**color** | **str, none_type** | The displayed color (HEX format) | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ExternalCommonLineItem.md b/sdks/retailmedia_2024-10/docs/ExternalCommonLineItem.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalCommonLineItem.md rename to sdks/retailmedia_2024-10/docs/ExternalCommonLineItem.md diff --git a/sdks/retailmedia_2024-10/docs/ExternalCreativeV2.md b/sdks/retailmedia_2024-10/docs/ExternalCreativeV2.md new file mode 100644 index 00000000..dc7c053c --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalCreativeV2.md @@ -0,0 +1,24 @@ +# ExternalCreativeV2 + +A creative entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name | +**status** | **str** | Creative Status | +**brand_id** | **int** | Brand Id | +**retailer_id** | **int** | Retailer Id | +**template_id** | **int** | Template Id | +**template_name** | **str** | Template Name | +**format_id** | **int** | Format Id | +**associated_line_item_ids** | **[str]** | Associated Line Item Ids | +**updated_at** | **datetime** | Updated at time | +**creative_format_type** | **str** | Creative format type | +**environments** | [**[ExternalPageTypeEnvironment]**](ExternalPageTypeEnvironment.md) | Environment type (e.g. mobile, web, app) | +**template_variable_values** | [**[ExternalTemplateVariableValue]**](ExternalTemplateVariableValue.md) | The template chosen values | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ExternalFilesVariableValue.md b/sdks/retailmedia_2024-10/docs/ExternalFilesVariableValue.md new file mode 100644 index 00000000..dd45f9a1 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalFilesVariableValue.md @@ -0,0 +1,13 @@ +# ExternalFilesVariableValue + +A value of a template file variable (one or several files), like images in a creative + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**asset_ids** | **[str]** | The assets representing the images to be displayed | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ExternalHyperlinkVariableValue.md b/sdks/retailmedia_2024-10/docs/ExternalHyperlinkVariableValue.md new file mode 100644 index 00000000..1eb2cf84 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalHyperlinkVariableValue.md @@ -0,0 +1,13 @@ +# ExternalHyperlinkVariableValue + +A value of a template hyperlink variable + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**url** | **str, none_type** | The url to redirect to | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ExternalKeywordTarget202110.md b/sdks/retailmedia_2024-10/docs/ExternalKeywordTarget202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalKeywordTarget202110.md rename to sdks/retailmedia_2024-10/docs/ExternalKeywordTarget202110.md diff --git a/sdks/retailmedia_2024-10/docs/ExternalLineItemBidMultipliersV2.md b/sdks/retailmedia_2024-10/docs/ExternalLineItemBidMultipliersV2.md new file mode 100644 index 00000000..b68d86fe --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalLineItemBidMultipliersV2.md @@ -0,0 +1,23 @@ +# ExternalLineItemBidMultipliersV2 + +The Bid Multiplier Entity of a LineItem + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**search** | **float, none_type** | Search Page Type Bid Multiplier | [optional] +**home** | **float, none_type** | Home Page Type Bid Multiplier | [optional] +**category** | **float, none_type** | Categories Page Type Bid Multiplier | [optional] +**product_detail** | **float, none_type** | ProductDetail Page Type Bid Multiplier | [optional] +**confirmation** | **float, none_type** | Confirmation Page Type Bid Multiplier | [optional] +**merchandising** | **float, none_type** | Merchandising Page Type Bid Multiplier | [optional] +**deals** | **float, none_type** | Deals Page Type Bid Multiplier | [optional] +**checkout** | **float, none_type** | Checkout Page Type Bid Multiplier | [optional] +**favorites** | **float, none_type** | Favorites Page Type Bid Multiplier | [optional] +**search_bar** | **float, none_type** | SearchBar Page Type Bid Multiplier | [optional] +**category_menu** | **float, none_type** | CategoryMenu Page Type Bid Multiplier | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ExternalLineItemCappingV2.md b/sdks/retailmedia_2024-10/docs/ExternalLineItemCappingV2.md new file mode 100644 index 00000000..82180daf --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalLineItemCappingV2.md @@ -0,0 +1,14 @@ +# ExternalLineItemCappingV2 + +Frequency Capping for a Preferred Line Item + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | Line Item Capping Type Enum | +**count** | **int** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ExternalLineItemPageCategory202110.md b/sdks/retailmedia_2024-10/docs/ExternalLineItemPageCategoryV2.md similarity index 94% rename from sdks/retailmedia_2023-07/docs/ExternalLineItemPageCategory202110.md rename to sdks/retailmedia_2024-10/docs/ExternalLineItemPageCategoryV2.md index a45a3c75..5ae71ce9 100644 --- a/sdks/retailmedia_2023-07/docs/ExternalLineItemPageCategory202110.md +++ b/sdks/retailmedia_2024-10/docs/ExternalLineItemPageCategoryV2.md @@ -1,4 +1,4 @@ -# ExternalLineItemPageCategory202110 +# ExternalLineItemPageCategoryV2 Category information for a preferred line item page diff --git a/sdks/retailmedia_2023-07/docs/ExternalLineItemPage202110.md b/sdks/retailmedia_2024-10/docs/ExternalLineItemPageV2.md similarity index 75% rename from sdks/retailmedia_2023-07/docs/ExternalLineItemPage202110.md rename to sdks/retailmedia_2024-10/docs/ExternalLineItemPageV2.md index e984d215..15d9895d 100644 --- a/sdks/retailmedia_2023-07/docs/ExternalLineItemPage202110.md +++ b/sdks/retailmedia_2024-10/docs/ExternalLineItemPageV2.md @@ -1,12 +1,12 @@ -# ExternalLineItemPage202110 +# ExternalLineItemPageV2 Page information for a preferred line item ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**page_type** | **str** | | -**categories** | [**[ExternalLineItemPageCategory202110]**](ExternalLineItemPageCategory202110.md) | | [optional] +**page_type** | **str** | Page Type Enum | +**categories** | [**[ExternalLineItemPageCategoryV2]**](ExternalLineItemPageCategoryV2.md) | | [optional] **search_keywords** | **[str]** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2024-10/docs/ExternalPageTypeEnvironment.md b/sdks/retailmedia_2024-10/docs/ExternalPageTypeEnvironment.md new file mode 100644 index 00000000..62e3483f --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalPageTypeEnvironment.md @@ -0,0 +1,14 @@ +# ExternalPageTypeEnvironment + +The PageType-Environment Tuples for creatives + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**page_type** | **str, none_type** | Creative PageType | [optional] +**environments** | **[str], none_type** | List of environments per PageType | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ExternalPreferredLineItemCreateModel202110.md b/sdks/retailmedia_2024-10/docs/ExternalPreferredLineItemCreateModelV2.md similarity index 72% rename from sdks/retailmedia_2023-07/docs/ExternalPreferredLineItemCreateModel202110.md rename to sdks/retailmedia_2024-10/docs/ExternalPreferredLineItemCreateModelV2.md index f814c7d9..55360ca8 100644 --- a/sdks/retailmedia_2023-07/docs/ExternalPreferredLineItemCreateModel202110.md +++ b/sdks/retailmedia_2024-10/docs/ExternalPreferredLineItemCreateModelV2.md @@ -1,4 +1,4 @@ -# ExternalPreferredLineItemCreateModel202110 +# ExternalPreferredLineItemCreateModelV2 Model used to create a preferred line item @@ -8,12 +8,12 @@ Name | Type | Description | Notes **name** | **str** | | **start_date** | **date** | Represents the Date as a year, month, and day in the format YYYY-MM-DD | **end_date** | **date** | Represents the Date as a year, month, and day in the format YYYY-MM-DD | -**pacing** | **str** | | -**page** | [**ExternalLineItemPage202110**](ExternalLineItemPage202110.md) | | +**pacing** | **str** | Line Item Pacing Enum | +**page** | [**ExternalLineItemPageV2**](ExternalLineItemPageV2.md) | | **target_retailer_id** | **str** | | **budget** | **float** | | -**status** | **str** | | [optional] -**capping** | [**ExternalLineItemCapping202110**](ExternalLineItemCapping202110.md) | | [optional] +**status** | **str** | Line Item Status Enum | [optional] +**capping** | [**ExternalLineItemCappingV2**](ExternalLineItemCappingV2.md) | | [optional] **creative_id** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2023-07/docs/ExternalPreferredLineItemUpdateModel202110.md b/sdks/retailmedia_2024-10/docs/ExternalPreferredLineItemUpdateModelV2.md similarity index 77% rename from sdks/retailmedia_2023-07/docs/ExternalPreferredLineItemUpdateModel202110.md rename to sdks/retailmedia_2024-10/docs/ExternalPreferredLineItemUpdateModelV2.md index 79e0a6bc..3ad4dc54 100644 --- a/sdks/retailmedia_2023-07/docs/ExternalPreferredLineItemUpdateModel202110.md +++ b/sdks/retailmedia_2024-10/docs/ExternalPreferredLineItemUpdateModelV2.md @@ -1,4 +1,4 @@ -# ExternalPreferredLineItemUpdateModel202110 +# ExternalPreferredLineItemUpdateModelV2 Model used to update a preferred line item @@ -8,10 +8,10 @@ Name | Type | Description | Notes **name** | **str** | | **start_date** | **date** | Represents the Date as a year, month, and day in the format YYYY-MM-DD | **end_date** | **date** | Represents the Date as a year, month, and day in the format YYYY-MM-DD | -**status** | **str** | | +**status** | **str** | Line Item Status Enum | **pacing** | **str** | | [optional] if omitted the server will use the default value of "accelerated" -**capping** | [**ExternalLineItemCapping202110**](ExternalLineItemCapping202110.md) | | [optional] -**page** | [**ExternalLineItemPage202110**](ExternalLineItemPage202110.md) | | [optional] +**capping** | [**ExternalLineItemCappingV2**](ExternalLineItemCappingV2.md) | | [optional] +**page** | [**ExternalLineItemPageV2**](ExternalLineItemPageV2.md) | | [optional] **budget** | **float** | | [optional] **creative_id** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2023-07/docs/ExternalPreferredLineItem202110.md b/sdks/retailmedia_2024-10/docs/ExternalPreferredLineItemV2.md similarity index 62% rename from sdks/retailmedia_2023-07/docs/ExternalPreferredLineItem202110.md rename to sdks/retailmedia_2024-10/docs/ExternalPreferredLineItemV2.md index b87bb5d2..b058c359 100644 --- a/sdks/retailmedia_2023-07/docs/ExternalPreferredLineItem202110.md +++ b/sdks/retailmedia_2024-10/docs/ExternalPreferredLineItemV2.md @@ -1,4 +1,4 @@ -# ExternalPreferredLineItem202110 +# ExternalPreferredLineItemV2 A Retail Media Preferred Line Item used to hold bid settings for one or many promoted products on a single retailer @@ -8,18 +8,18 @@ Name | Type | Description | Notes **name** | **str** | | **start_date** | **date** | Represents the Date as a year, month, and day in the format YYYY-MM-DD | **end_date** | **date** | Represents the Date as a year, month, and day in the format YYYY-MM-DD | -**status** | **str** | | -**pacing** | **str** | | -**page** | [**ExternalLineItemPage202110**](ExternalLineItemPage202110.md) | | +**status** | **str** | Line Item Status Enum | **target_retailer_id** | **str** | | -**budget** | **float** | | **campaign_id** | **str** | | **created_at** | **datetime** | | **updated_at** | **datetime** | | -**capping** | [**ExternalLineItemCapping202110**](ExternalLineItemCapping202110.md) | | [optional] -**budget_spent** | **float** | | [optional] -**budget_remaining** | **float** | | [optional] -**creative_id** | **str, none_type** | | [optional] +**pacing** | **str, none_type** | | [optional] +**capping** | [**ExternalLineItemCappingV2**](ExternalLineItemCappingV2.md) | | [optional] +**page** | [**ExternalLineItemPageV2**](ExternalLineItemPageV2.md) | | [optional] +**budget** | **float, none_type** | | [optional] +**budget_spent** | **float, none_type** | | [optional] +**budget_remaining** | **float, none_type** | | [optional] +**creative_id** | **str, none_type** | External creative Id | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/ExternalRetailer.md b/sdks/retailmedia_2024-10/docs/ExternalRetailer.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalRetailer.md rename to sdks/retailmedia_2024-10/docs/ExternalRetailer.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalRetailerPages202110.md b/sdks/retailmedia_2024-10/docs/ExternalRetailerPages202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalRetailerPages202110.md rename to sdks/retailmedia_2024-10/docs/ExternalRetailerPages202110.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalStoreIdsUpdateModel202110.md b/sdks/retailmedia_2024-10/docs/ExternalStoreIdsUpdateModel202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalStoreIdsUpdateModel202110.md rename to sdks/retailmedia_2024-10/docs/ExternalStoreIdsUpdateModel202110.md diff --git a/sdks/retailmedia_2023-07/docs/ExternalStoreTarget202110.md b/sdks/retailmedia_2024-10/docs/ExternalStoreTarget202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ExternalStoreTarget202110.md rename to sdks/retailmedia_2024-10/docs/ExternalStoreTarget202110.md diff --git a/sdks/retailmedia_2024-10/docs/ExternalTemplateVariableValue.md b/sdks/retailmedia_2024-10/docs/ExternalTemplateVariableValue.md new file mode 100644 index 00000000..d3ad6a7d --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalTemplateVariableValue.md @@ -0,0 +1,19 @@ +# ExternalTemplateVariableValue + +A value for a variable in a creative template. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | The id of the template variable the value is applied to | +**text_variable_value** | [**ExternalTextVariableValue**](ExternalTextVariableValue.md) | | [optional] +**choice_variable_value** | [**ExternalChoiceVariableValue**](ExternalChoiceVariableValue.md) | | [optional] +**color_variable_value** | [**ExternalColorVariableValue**](ExternalColorVariableValue.md) | | [optional] +**files_variable_value** | [**ExternalFilesVariableValue**](ExternalFilesVariableValue.md) | | [optional] +**hyperlink_variable_value** | [**ExternalHyperlinkVariableValue**](ExternalHyperlinkVariableValue.md) | | [optional] +**video_variable_value** | [**ExternalVideoVariableValue**](ExternalVideoVariableValue.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_2023-07/docs/NewAudienceRequest.md b/sdks/retailmedia_2024-10/docs/ExternalTextVariableValue.md similarity index 77% rename from sdks/marketingsolutions_2023-07/docs/NewAudienceRequest.md rename to sdks/retailmedia_2024-10/docs/ExternalTextVariableValue.md index 865562e7..af05d90f 100644 --- a/sdks/marketingsolutions_2023-07/docs/NewAudienceRequest.md +++ b/sdks/retailmedia_2024-10/docs/ExternalTextVariableValue.md @@ -1,11 +1,11 @@ -# NewAudienceRequest +# ExternalTextVariableValue -Body of creation of a new audience +A value of a template text variable ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**NewAudience**](NewAudience.md) | | [optional] +**text** | **str, none_type** | The displayed text | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-10/docs/ExternalVideoVariableValue.md b/sdks/retailmedia_2024-10/docs/ExternalVideoVariableValue.md new file mode 100644 index 00000000..5e2e9f03 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ExternalVideoVariableValue.md @@ -0,0 +1,16 @@ +# ExternalVideoVariableValue + +A value of a template video variable + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**url** | **str** | The vast video url | +**width** | **int** | The video's width | +**height** | **int** | The video's height | +**duration** | **str** | The video's duration | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/FilesVariableValue.md b/sdks/retailmedia_2024-10/docs/FilesVariableValue.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/FilesVariableValue.md rename to sdks/retailmedia_2024-10/docs/FilesVariableValue.md diff --git a/sdks/retailmedia_2023-07/docs/FilesVariablesSpecification.md b/sdks/retailmedia_2024-10/docs/FilesVariablesSpecification.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/FilesVariablesSpecification.md rename to sdks/retailmedia_2024-10/docs/FilesVariablesSpecification.md diff --git a/sdks/retailmedia_2023-07/docs/GatewayApi.md b/sdks/retailmedia_2024-10/docs/GatewayApi.md similarity index 80% rename from sdks/retailmedia_2023-07/docs/GatewayApi.md rename to sdks/retailmedia_2024-10/docs/GatewayApi.md index ee9e735e..52ba34fd 100644 --- a/sdks/retailmedia_2023-07/docs/GatewayApi.md +++ b/sdks/retailmedia_2024-10/docs/GatewayApi.md @@ -1,10 +1,10 @@ -# criteo_api_retailmedia_v2023_07.GatewayApi +# criteo_api_retailmedia_v2024_10.GatewayApi All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_current_application**](GatewayApi.md#get_current_application) | **GET** /2023-07/retail-media/me | +[**get_current_application**](GatewayApi.md#get_current_application) | **GET** /2024-10/retail-media/me | # **get_current_application** @@ -21,13 +21,13 @@ Get information about the currently logged application ```python import time -import criteo_api_retailmedia_v2023_07 -from criteo_api_retailmedia_v2023_07.api import gateway_api -from criteo_api_retailmedia_v2023_07.model.application_summary_model_response import ApplicationSummaryModelResponse +import criteo_api_retailmedia_v2024_10 +from criteo_api_retailmedia_v2024_10.api import gateway_api +from criteo_api_retailmedia_v2024_10.model.application_summary_model_response import ApplicationSummaryModelResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) @@ -37,19 +37,19 @@ configuration = criteo_api_retailmedia_v2023_07.Configuration( # satisfies your auth use case. # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_v2023_07.Configuration( +configuration = criteo_api_retailmedia_v2024_10.Configuration( host = "https://api.criteo.com" ) configuration.access_token = 'YOUR_ACCESS_TOKEN' # Enter a context with an instance of the API client -with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: +with criteo_api_retailmedia_v2024_10.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = gateway_api.GatewayApi(api_client) @@ -57,7 +57,7 @@ with criteo_api_retailmedia_v2023_07.ApiClient(configuration) as api_client: try: api_response = api_instance.get_current_application() pprint(api_response) - except criteo_api_retailmedia_v2023_07.ApiException as e: + except criteo_api_retailmedia_v2024_10.ApiException as e: print("Exception when calling GatewayApi->get_current_application: %s\n" % e) ``` diff --git a/sdks/retailmedia_2023-07/docs/HyperlinkVariableValue.md b/sdks/retailmedia_2024-10/docs/HyperlinkVariableValue.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/HyperlinkVariableValue.md rename to sdks/retailmedia_2024-10/docs/HyperlinkVariableValue.md diff --git a/sdks/retailmedia_2023-07/docs/InputKeywordsModel.md b/sdks/retailmedia_2024-10/docs/InputKeywordsModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/InputKeywordsModel.md rename to sdks/retailmedia_2024-10/docs/InputKeywordsModel.md diff --git a/sdks/retailmedia_2023-07/docs/InputResourceOfAuctionLineItemCreateModel.md b/sdks/retailmedia_2024-10/docs/InputResourceOfAuctionLineItemCreateModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/InputResourceOfAuctionLineItemCreateModel.md rename to sdks/retailmedia_2024-10/docs/InputResourceOfAuctionLineItemCreateModel.md diff --git a/sdks/retailmedia_2023-07/docs/InputResourceOfPreferredLineItemCreateModel202110.md b/sdks/retailmedia_2024-10/docs/InputResourceOfPreferredLineItemCreateModelV2.md similarity index 73% rename from sdks/retailmedia_2023-07/docs/InputResourceOfPreferredLineItemCreateModel202110.md rename to sdks/retailmedia_2024-10/docs/InputResourceOfPreferredLineItemCreateModelV2.md index 0d79549a..08baddc1 100644 --- a/sdks/retailmedia_2023-07/docs/InputResourceOfPreferredLineItemCreateModel202110.md +++ b/sdks/retailmedia_2024-10/docs/InputResourceOfPreferredLineItemCreateModelV2.md @@ -1,4 +1,4 @@ -# InputResourceOfPreferredLineItemCreateModel202110 +# InputResourceOfPreferredLineItemCreateModelV2 Data model for a Resource @@ -6,7 +6,7 @@ Data model for a Resource Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str** | | [optional] -**attributes** | [**ExternalPreferredLineItemCreateModel202110**](ExternalPreferredLineItemCreateModel202110.md) | | [optional] +**attributes** | [**ExternalPreferredLineItemCreateModelV2**](ExternalPreferredLineItemCreateModelV2.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301.md b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301.md rename to sdks/retailmedia_2024-10/docs/JsonApiBodyWithExternalIdOfEditableCampaignAttributesV202301AndCampaignV202301.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndAccountAndAccount.md b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndAccountAndAccount.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndAccountAndAccount.md rename to sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndAccountAndAccount.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndBrandAndBrand.md b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndBrandAndBrand.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndBrandAndBrand.md rename to sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndBrandAndBrand.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301.md b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301.md rename to sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndCampaignV202301AndCampaignV202301.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus.md b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus.md rename to sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndCatalogStatusAndCatalogStatus.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers.md b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2.md similarity index 60% rename from sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers.md rename to sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2.md index c7cfd79b..7efe7dbb 100644 --- a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers.md +++ b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2.md @@ -1,13 +1,13 @@ -# JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersAndLineItemBidMultipliers +# JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2 -Response object for line item bid multiplier calls +A JSON:API wrapper class to format a with external Id, Type, and Attributes properties ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | **type** | **str** | | -**attributes** | [**LineItemBidMultipliers**](LineItemBidMultipliers.md) | | [optional] +**attributes** | [**ExternalLineItemBidMultipliersV2**](ExternalLineItemBidMultipliersV2.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndRetailerAndRetailer.md b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndRetailerAndRetailer.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiBodyWithIdOfInt64AndRetailerAndRetailer.md rename to sdks/retailmedia_2024-10/docs/JsonApiBodyWithIdOfInt64AndRetailerAndRetailer.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301.md b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301.md rename to sdks/retailmedia_2024-10/docs/JsonApiBodyWithoutIdOfCampaignAttributesV202301AndCampaignV202301.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest.md b/sdks/retailmedia_2024-10/docs/JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest.md rename to sdks/retailmedia_2024-10/docs/JsonApiBodyWithoutIdOfCatalogRequestAndCatalogRequest.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiPageResponseOfAccount.md b/sdks/retailmedia_2024-10/docs/JsonApiPageResponseOfAccount.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiPageResponseOfAccount.md rename to sdks/retailmedia_2024-10/docs/JsonApiPageResponseOfAccount.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiPageResponseOfBrand.md b/sdks/retailmedia_2024-10/docs/JsonApiPageResponseOfBrand.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiPageResponseOfBrand.md rename to sdks/retailmedia_2024-10/docs/JsonApiPageResponseOfBrand.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiPageResponseOfCampaignV202301.md b/sdks/retailmedia_2024-10/docs/JsonApiPageResponseOfCampaignV202301.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiPageResponseOfCampaignV202301.md rename to sdks/retailmedia_2024-10/docs/JsonApiPageResponseOfCampaignV202301.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiPageResponseOfRetailer.md b/sdks/retailmedia_2024-10/docs/JsonApiPageResponseOfRetailer.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiPageResponseOfRetailer.md rename to sdks/retailmedia_2024-10/docs/JsonApiPageResponseOfRetailer.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiRequestOfCatalogRequest.md b/sdks/retailmedia_2024-10/docs/JsonApiRequestOfCatalogRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiRequestOfCatalogRequest.md rename to sdks/retailmedia_2024-10/docs/JsonApiRequestOfCatalogRequest.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiSingleResponseOfCampaignV202301.md b/sdks/retailmedia_2024-10/docs/JsonApiSingleResponseOfCampaignV202301.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiSingleResponseOfCampaignV202301.md rename to sdks/retailmedia_2024-10/docs/JsonApiSingleResponseOfCampaignV202301.md diff --git a/sdks/retailmedia_2023-07/docs/JsonApiSingleResponseOfCatalogStatus.md b/sdks/retailmedia_2024-10/docs/JsonApiSingleResponseOfCatalogStatus.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/JsonApiSingleResponseOfCatalogStatus.md rename to sdks/retailmedia_2024-10/docs/JsonApiSingleResponseOfCatalogStatus.md diff --git a/sdks/retailmedia_2024-10/docs/JsonApiSingleResponseOfLineItemBidMultipliersV2.md b/sdks/retailmedia_2024-10/docs/JsonApiSingleResponseOfLineItemBidMultipliersV2.md new file mode 100644 index 00000000..4cb548f9 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/JsonApiSingleResponseOfLineItemBidMultipliersV2.md @@ -0,0 +1,15 @@ +# JsonApiSingleResponseOfLineItemBidMultipliersV2 + +A JSON:API wrapper class to add one JSON:API within a data property + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2**](JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultipliersV2.md) | | +**errors** | [**[CommonError], none_type**](CommonError.md) | | [optional] +**warnings** | [**[CommonWarning], none_type**](CommonWarning.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/KeywordDataModel.md b/sdks/retailmedia_2024-10/docs/KeywordDataModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/KeywordDataModel.md rename to sdks/retailmedia_2024-10/docs/KeywordDataModel.md diff --git a/sdks/retailmedia_2023-07/docs/KeywordTarget202110Request.md b/sdks/retailmedia_2024-10/docs/KeywordTarget202110Request.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/KeywordTarget202110Request.md rename to sdks/retailmedia_2024-10/docs/KeywordTarget202110Request.md diff --git a/sdks/retailmedia_2023-07/docs/KeywordTarget202110Response.md b/sdks/retailmedia_2024-10/docs/KeywordTarget202110Response.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/KeywordTarget202110Response.md rename to sdks/retailmedia_2024-10/docs/KeywordTarget202110Response.md diff --git a/sdks/retailmedia_2023-07/docs/KeywordsModel.md b/sdks/retailmedia_2024-10/docs/KeywordsModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/KeywordsModel.md rename to sdks/retailmedia_2024-10/docs/KeywordsModel.md diff --git a/sdks/retailmedia_2023-07/docs/KeywordsModelResource.md b/sdks/retailmedia_2024-10/docs/KeywordsModelResource.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/KeywordsModelResource.md rename to sdks/retailmedia_2024-10/docs/KeywordsModelResource.md diff --git a/sdks/retailmedia_2023-07/docs/KeywordsModelResponse.md b/sdks/retailmedia_2024-10/docs/KeywordsModelResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/KeywordsModelResponse.md rename to sdks/retailmedia_2024-10/docs/KeywordsModelResponse.md diff --git a/sdks/retailmedia_2024-10/docs/LineItemBidMultipliersV2Request.md b/sdks/retailmedia_2024-10/docs/LineItemBidMultipliersV2Request.md new file mode 100644 index 00000000..ab84773b --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/LineItemBidMultipliersV2Request.md @@ -0,0 +1,13 @@ +# LineItemBidMultipliersV2Request + +A top-level object that encapsulates a Criteo API request for a single entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ResourceOfLineItemBidMultipliersV2**](ResourceOfLineItemBidMultipliersV2.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2Response.md b/sdks/retailmedia_2024-10/docs/LineItemBidMultipliersV2Response.md similarity index 81% rename from sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2Response.md rename to sdks/retailmedia_2024-10/docs/LineItemBidMultipliersV2Response.md index cbed2e41..1e130c25 100644 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2Response.md +++ b/sdks/retailmedia_2024-10/docs/LineItemBidMultipliersV2Response.md @@ -1,11 +1,11 @@ -# RmLegacyAudienceCreateEntityV2Response +# LineItemBidMultipliersV2Response A top-level object that encapsulates a Criteo API response for a single entity ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**RmLegacyAudienceCreateEntityV2Resource**](RmLegacyAudienceCreateEntityV2Resource.md) | | [optional] +**data** | [**ResourceOfLineItemBidMultipliersV2**](ResourceOfLineItemBidMultipliersV2.md) | | [optional] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_preview/docs/LineItemBudgetOverrides.md b/sdks/retailmedia_2024-10/docs/LineItemBudgetOverrides.md similarity index 100% rename from sdks/retailmedia_preview/docs/LineItemBudgetOverrides.md rename to sdks/retailmedia_2024-10/docs/LineItemBudgetOverrides.md diff --git a/sdks/retailmedia_2024-10/docs/LineItemProductStatus.md b/sdks/retailmedia_2024-10/docs/LineItemProductStatus.md new file mode 100644 index 00000000..e0c71b80 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/LineItemProductStatus.md @@ -0,0 +1,12 @@ +# LineItemProductStatus + +The status of a promoted product in the context of the line item. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | **str** | The status of a promoted product in the context of the line item. | must be one of ["Unknown", "Active", "Paused", ] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/MatchTypeModel.md b/sdks/retailmedia_2024-10/docs/MatchTypeModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/MatchTypeModel.md rename to sdks/retailmedia_2024-10/docs/MatchTypeModel.md diff --git a/sdks/retailmedia_2024-10/docs/Metadata.md b/sdks/retailmedia_2024-10/docs/Metadata.md new file mode 100644 index 00000000..84035cd2 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/Metadata.md @@ -0,0 +1,14 @@ +# Metadata + +Metadata related to the current request. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**offset** | **int** | The (zero-based) starting offset in the collection. | +**limit** | **int** | The number of elements to be returned. | +**count** | **int, none_type** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/MonthlyLineItemBudegetOverride.md b/sdks/retailmedia_2024-10/docs/MonthlyLineItemBudegetOverride.md similarity index 100% rename from sdks/retailmedia_preview/docs/MonthlyLineItemBudegetOverride.md rename to sdks/retailmedia_2024-10/docs/MonthlyLineItemBudegetOverride.md diff --git a/sdks/retailmedia_2023-07/docs/NegotiationStateModel.md b/sdks/retailmedia_2024-10/docs/NegotiationStateModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/NegotiationStateModel.md rename to sdks/retailmedia_2024-10/docs/NegotiationStateModel.md diff --git a/sdks/retailmedia_2024-10/docs/NillableString.md b/sdks/retailmedia_2024-10/docs/NillableString.md new file mode 100644 index 00000000..d43aca99 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/NillableString.md @@ -0,0 +1,13 @@ +# NillableString + +Placeholder object for string value for which \"null\" is a valid business value + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | **str, none_type** | The string's value. If missing or null the string's value is set to \"null\" | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/PageMetadata.md b/sdks/retailmedia_2024-10/docs/PageMetadata.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/PageMetadata.md rename to sdks/retailmedia_2024-10/docs/PageMetadata.md diff --git a/sdks/retailmedia_2024-10/docs/PageOfBalanceHistoryChangeDataCaptureV1.md b/sdks/retailmedia_2024-10/docs/PageOfBalanceHistoryChangeDataCaptureV1.md new file mode 100644 index 00000000..147e10c7 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/PageOfBalanceHistoryChangeDataCaptureV1.md @@ -0,0 +1,13 @@ +# PageOfBalanceHistoryChangeDataCaptureV1 + +A wrapper class to return a single page of items with metadata. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**meta** | [**Metadata**](Metadata.md) | | +**data** | [**[BalanceHistoryChangeDataCaptureV1]**](BalanceHistoryChangeDataCaptureV1.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/PageTypeEnvironment.md b/sdks/retailmedia_2024-10/docs/PageTypeEnvironment.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/PageTypeEnvironment.md rename to sdks/retailmedia_2024-10/docs/PageTypeEnvironment.md diff --git a/sdks/retailmedia_2023-07/docs/PromotedProduct202110PagedListResponse.md b/sdks/retailmedia_2024-10/docs/PagedResourceCollectionOutcomeOfBalanceResponseV2.md similarity index 66% rename from sdks/retailmedia_2023-07/docs/PromotedProduct202110PagedListResponse.md rename to sdks/retailmedia_2024-10/docs/PagedResourceCollectionOutcomeOfBalanceResponseV2.md index 8eb0f6c1..b7d40541 100644 --- a/sdks/retailmedia_2023-07/docs/PromotedProduct202110PagedListResponse.md +++ b/sdks/retailmedia_2024-10/docs/PagedResourceCollectionOutcomeOfBalanceResponseV2.md @@ -1,4 +1,4 @@ -# PromotedProduct202110PagedListResponse +# PagedResourceCollectionOutcomeOfBalanceResponseV2 Data model for a paged list of response resources @@ -6,9 +6,9 @@ Data model for a paged list of response resources Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **metadata** | [**PageMetadata**](PageMetadata.md) | | [optional] -**data** | [**[ResourceOfPromotedProduct202110]**](ResourceOfPromotedProduct202110.md) | | [optional] -**warnings** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**errors** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] +**data** | [**[ResourceOfBalanceResponseV2]**](ResourceOfBalanceResponseV2.md) | | [optional] +**warnings** | [**[CommonProblem]**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem]**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/PostCampaignV202301.md b/sdks/retailmedia_2024-10/docs/PostCampaignV202301.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/PostCampaignV202301.md rename to sdks/retailmedia_2024-10/docs/PostCampaignV202301.md diff --git a/sdks/retailmedia_2023-07/docs/PreferredLineItemCreateModel202110Request.md b/sdks/retailmedia_2024-10/docs/PreferredLineItemCreateModelV2Request.md similarity index 72% rename from sdks/retailmedia_2023-07/docs/PreferredLineItemCreateModel202110Request.md rename to sdks/retailmedia_2024-10/docs/PreferredLineItemCreateModelV2Request.md index f4f861cc..4a997a7d 100644 --- a/sdks/retailmedia_2023-07/docs/PreferredLineItemCreateModel202110Request.md +++ b/sdks/retailmedia_2024-10/docs/PreferredLineItemCreateModelV2Request.md @@ -1,11 +1,11 @@ -# PreferredLineItemCreateModel202110Request +# PreferredLineItemCreateModelV2Request Data model for a create input resource ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**InputResourceOfPreferredLineItemCreateModel202110**](InputResourceOfPreferredLineItemCreateModel202110.md) | | [optional] +**data** | [**InputResourceOfPreferredLineItemCreateModelV2**](InputResourceOfPreferredLineItemCreateModelV2.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/LineItemBidMultipliersRequest.md b/sdks/retailmedia_2024-10/docs/PreferredLineItemUpdateModelV2Request.md similarity index 74% rename from sdks/retailmedia_2023-07/docs/LineItemBidMultipliersRequest.md rename to sdks/retailmedia_2024-10/docs/PreferredLineItemUpdateModelV2Request.md index 83df2f3b..eb2482f5 100644 --- a/sdks/retailmedia_2023-07/docs/LineItemBidMultipliersRequest.md +++ b/sdks/retailmedia_2024-10/docs/PreferredLineItemUpdateModelV2Request.md @@ -1,11 +1,11 @@ -# LineItemBidMultipliersRequest +# PreferredLineItemUpdateModelV2Request Data model for an input resource ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**ResourceOfLineItemBidMultipliers**](ResourceOfLineItemBidMultipliers.md) | | [optional] +**data** | [**ResourceOfPreferredLineItemUpdateModelV2**](ResourceOfPreferredLineItemUpdateModelV2.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/Balance202110PagedListResponse.md b/sdks/retailmedia_2024-10/docs/PreferredLineItemV2PagedListResponse.md similarity index 67% rename from sdks/retailmedia_2023-07/docs/Balance202110PagedListResponse.md rename to sdks/retailmedia_2024-10/docs/PreferredLineItemV2PagedListResponse.md index 880c26b5..e7281fa3 100644 --- a/sdks/retailmedia_2023-07/docs/Balance202110PagedListResponse.md +++ b/sdks/retailmedia_2024-10/docs/PreferredLineItemV2PagedListResponse.md @@ -1,4 +1,4 @@ -# Balance202110PagedListResponse +# PreferredLineItemV2PagedListResponse Data model for a paged list of response resources @@ -6,9 +6,9 @@ Data model for a paged list of response resources Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **metadata** | [**PageMetadata**](PageMetadata.md) | | [optional] -**data** | [**[ResourceOfBalance202110]**](ResourceOfBalance202110.md) | | [optional] -**warnings** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] -**errors** | [**[ProblemDetails]**](ProblemDetails.md) | | [optional] [readonly] +**data** | [**[ResourceOfPreferredLineItemV2]**](ResourceOfPreferredLineItemV2.md) | | [optional] +**warnings** | [**[CommonProblem]**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem]**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-10/docs/PreferredLineItemV2Response.md b/sdks/retailmedia_2024-10/docs/PreferredLineItemV2Response.md new file mode 100644 index 00000000..5686af0d --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/PreferredLineItemV2Response.md @@ -0,0 +1,15 @@ +# PreferredLineItemV2Response + +A top-level object that encapsulates a Criteo API response for a single entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ResourceOfPreferredLineItemV2**](ResourceOfPreferredLineItemV2.md) | | [optional] +**warnings** | [**[CommonProblem]**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem]**](CommonProblem.md) | | [optional] [readonly] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ProblemDetails.md b/sdks/retailmedia_2024-10/docs/ProblemDetails.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ProblemDetails.md rename to sdks/retailmedia_2024-10/docs/ProblemDetails.md diff --git a/sdks/retailmedia_2024-10/docs/ProductMetadata.md b/sdks/retailmedia_2024-10/docs/ProductMetadata.md new file mode 100644 index 00000000..6b368620 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ProductMetadata.md @@ -0,0 +1,15 @@ +# ProductMetadata + +Metadata about the response. Used for pagination. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**offset** | **int, none_type** | Zero based offset of the first item in the response. | [optional] +**limit** | **int, none_type** | Maximum number of items in the response. | [optional] +**count** | **int, none_type** | Total number of items available. | [optional] +**response_count** | **int, none_type** | Number of items in the response. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ProductResourceOutcome.md b/sdks/retailmedia_2024-10/docs/ProductResourceOutcome.md new file mode 100644 index 00000000..2f7e8e35 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ProductResourceOutcome.md @@ -0,0 +1,13 @@ +# ProductResourceOutcome + +Outcome object containing errors and warnings. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**errors** | [**[RmcaCommonProblem], none_type**](RmcaCommonProblem.md) | | [optional] +**warnings** | [**[RmcaCommonProblem], none_type**](RmcaCommonProblem.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/PromotedProduct.md b/sdks/retailmedia_2024-10/docs/PromotedProduct.md new file mode 100644 index 00000000..a99497cd --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/PromotedProduct.md @@ -0,0 +1,14 @@ +# PromotedProduct + +A promoted product. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str, none_type** | A retailer defined SKU ID for the promoted product. | [optional] +**bid_override** | **float, none_type** | The bid override for the promoted product for this line item. Ignored unless adding a product. | [optional] +**status** | [**LineItemProductStatus**](LineItemProductStatus.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/PromotedProductResource.md b/sdks/retailmedia_2024-10/docs/PromotedProductResource.md new file mode 100644 index 00000000..0e0e3432 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/PromotedProductResource.md @@ -0,0 +1,14 @@ +# PromotedProductResource + +Resource object containing a promoted product. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str, none_type** | | [optional] +**type** | **str, none_type** | | [optional] +**attributes** | [**PromotedProduct**](PromotedProduct.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/PromotedProductResourceCollectionInput.md b/sdks/retailmedia_2024-10/docs/PromotedProductResourceCollectionInput.md new file mode 100644 index 00000000..58a7b857 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/PromotedProductResourceCollectionInput.md @@ -0,0 +1,12 @@ +# PromotedProductResourceCollectionInput + +Request object containing promoted products to be appended, deleted, paused or unpaused. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[PromotedProductResource], none_type**](PromotedProductResource.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/PromotedProductResourceCollectionOutcome.md b/sdks/retailmedia_2024-10/docs/PromotedProductResourceCollectionOutcome.md new file mode 100644 index 00000000..2454d53e --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/PromotedProductResourceCollectionOutcome.md @@ -0,0 +1,15 @@ +# PromotedProductResourceCollectionOutcome + +Outcome object containing promoted products. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**errors** | [**[RmcaCommonProblem], none_type**](RmcaCommonProblem.md) | | [optional] [readonly] +**warnings** | [**[RmcaCommonProblem], none_type**](RmcaCommonProblem.md) | | [optional] [readonly] +**metadata** | [**ProductMetadata**](ProductMetadata.md) | | [optional] +**data** | [**[PromotedProductResource], none_type**](PromotedProductResource.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ProposalStatusModel.md b/sdks/retailmedia_2024-10/docs/ProposalStatusModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ProposalStatusModel.md rename to sdks/retailmedia_2024-10/docs/ProposalStatusModel.md diff --git a/sdks/retailmedia_2023-07/docs/ProposalStatusModelResource.md b/sdks/retailmedia_2024-10/docs/ProposalStatusModelResource.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ProposalStatusModelResource.md rename to sdks/retailmedia_2024-10/docs/ProposalStatusModelResource.md diff --git a/sdks/retailmedia_2023-07/docs/ProposalStatusModelResponse.md b/sdks/retailmedia_2024-10/docs/ProposalStatusModelResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ProposalStatusModelResponse.md rename to sdks/retailmedia_2024-10/docs/ProposalStatusModelResponse.md diff --git a/sdks/retailmedia_2023-07/docs/PutCampaignV202301.md b/sdks/retailmedia_2024-10/docs/PutCampaignV202301.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/PutCampaignV202301.md rename to sdks/retailmedia_2024-10/docs/PutCampaignV202301.md diff --git a/sdks/retailmedia_2023-07/docs/ReportOutcome.md b/sdks/retailmedia_2024-10/docs/ReportOutcome.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ReportOutcome.md rename to sdks/retailmedia_2024-10/docs/ReportOutcome.md diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfBalance202110.md b/sdks/retailmedia_2024-10/docs/ResourceOfAddFundsToBalanceV2.md similarity index 77% rename from sdks/retailmedia_2023-07/docs/ResourceOfBalance202110.md rename to sdks/retailmedia_2024-10/docs/ResourceOfAddFundsToBalanceV2.md index 247f0f68..d239ebf2 100644 --- a/sdks/retailmedia_2023-07/docs/ResourceOfBalance202110.md +++ b/sdks/retailmedia_2024-10/docs/ResourceOfAddFundsToBalanceV2.md @@ -1,13 +1,13 @@ -# ResourceOfBalance202110 +# ResourceOfAddFundsToBalanceV2 -A class that represents an entity in a guild compliant way +A class that represents a domain entity exposed by an API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**AddFundsToBalanceV2**](AddFundsToBalanceV2.md) | | [optional] **id** | **str, none_type** | Id of the entity | [optional] **type** | **str, none_type** | Canonical type name of the entity | [optional] -**attributes** | [**ExternalBalance202110**](ExternalBalance202110.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfAuctionLineItem.md b/sdks/retailmedia_2024-10/docs/ResourceOfAuctionLineItem.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ResourceOfAuctionLineItem.md rename to sdks/retailmedia_2024-10/docs/ResourceOfAuctionLineItem.md diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfAuctionLineItemUpdateModel.md b/sdks/retailmedia_2024-10/docs/ResourceOfAuctionLineItemUpdateModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ResourceOfAuctionLineItemUpdateModel.md rename to sdks/retailmedia_2024-10/docs/ResourceOfAuctionLineItemUpdateModel.md diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfBalanceCampaign202110.md b/sdks/retailmedia_2024-10/docs/ResourceOfBalanceCampaign202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ResourceOfBalanceCampaign202110.md rename to sdks/retailmedia_2024-10/docs/ResourceOfBalanceCampaign202110.md diff --git a/sdks/retailmedia_2024-10/docs/ResourceOfBalanceResponseV2.md b/sdks/retailmedia_2024-10/docs/ResourceOfBalanceResponseV2.md new file mode 100644 index 00000000..7dcf3e27 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ResourceOfBalanceResponseV2.md @@ -0,0 +1,15 @@ +# ResourceOfBalanceResponseV2 + +A class that represents a domain entity exposed by an API + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**BalanceResponseV2**](BalanceResponseV2.md) | | [optional] +**id** | **str, none_type** | Id of the entity | [optional] +**type** | **str, none_type** | Canonical type name of the entity | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfCategory202204.md b/sdks/retailmedia_2024-10/docs/ResourceOfCategory202204.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ResourceOfCategory202204.md rename to sdks/retailmedia_2024-10/docs/ResourceOfCategory202204.md diff --git a/sdks/retailmedia_2024-10/docs/ResourceOfChangeDatesOfBalanceV2.md b/sdks/retailmedia_2024-10/docs/ResourceOfChangeDatesOfBalanceV2.md new file mode 100644 index 00000000..a3884d08 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ResourceOfChangeDatesOfBalanceV2.md @@ -0,0 +1,15 @@ +# ResourceOfChangeDatesOfBalanceV2 + +A class that represents a domain entity exposed by an API + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**ChangeDatesOfBalanceV2**](ChangeDatesOfBalanceV2.md) | | [optional] +**id** | **str, none_type** | Id of the entity | [optional] +**type** | **str, none_type** | Canonical type name of the entity | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfCommonLineItem.md b/sdks/retailmedia_2024-10/docs/ResourceOfCommonLineItem.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ResourceOfCommonLineItem.md rename to sdks/retailmedia_2024-10/docs/ResourceOfCommonLineItem.md diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfPromotedProduct202110.md b/sdks/retailmedia_2024-10/docs/ResourceOfCreateBalanceV2.md similarity index 78% rename from sdks/retailmedia_2023-07/docs/ResourceOfPromotedProduct202110.md rename to sdks/retailmedia_2024-10/docs/ResourceOfCreateBalanceV2.md index f9afec3d..6b0aa018 100644 --- a/sdks/retailmedia_2023-07/docs/ResourceOfPromotedProduct202110.md +++ b/sdks/retailmedia_2024-10/docs/ResourceOfCreateBalanceV2.md @@ -1,13 +1,13 @@ -# ResourceOfPromotedProduct202110 +# ResourceOfCreateBalanceV2 -Data model for a Resource +A class that represents a domain entity exposed by an API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**CreateBalanceV2**](CreateBalanceV2.md) | | [optional] **id** | **str, none_type** | Id of the entity | [optional] **type** | **str, none_type** | Canonical type name of the entity | [optional] -**attributes** | [**ExternalPromotedProduct202110**](ExternalPromotedProduct202110.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfCreative202110.md b/sdks/retailmedia_2024-10/docs/ResourceOfCreative202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ResourceOfCreative202110.md rename to sdks/retailmedia_2024-10/docs/ResourceOfCreative202110.md diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfCreative202210.md b/sdks/retailmedia_2024-10/docs/ResourceOfCreative202210.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ResourceOfCreative202210.md rename to sdks/retailmedia_2024-10/docs/ResourceOfCreative202210.md diff --git a/sdks/retailmedia_2024-10/docs/ResourceOfCreativeV2.md b/sdks/retailmedia_2024-10/docs/ResourceOfCreativeV2.md new file mode 100644 index 00000000..08f842c9 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ResourceOfCreativeV2.md @@ -0,0 +1,15 @@ +# ResourceOfCreativeV2 + +A class that represents a domain entity exposed by an API + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**ExternalCreativeV2**](ExternalCreativeV2.md) | | [optional] +**id** | **str, none_type** | Id of the entity | [optional] +**type** | **str, none_type** | Canonical type name of the entity | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ResourceOfLineItemBidMultipliersV2.md b/sdks/retailmedia_2024-10/docs/ResourceOfLineItemBidMultipliersV2.md new file mode 100644 index 00000000..7be3f53e --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ResourceOfLineItemBidMultipliersV2.md @@ -0,0 +1,15 @@ +# ResourceOfLineItemBidMultipliersV2 + +A class that represents a domain entity exposed by an API + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**ExternalLineItemBidMultipliersV2**](ExternalLineItemBidMultipliersV2.md) | | [optional] +**id** | **str, none_type** | Id of the entity | [optional] +**type** | **str, none_type** | Canonical type name of the entity | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfPreferredLineItem202110.md b/sdks/retailmedia_2024-10/docs/ResourceOfPreferredLineItemUpdateModelV2.md similarity index 78% rename from sdks/retailmedia_2023-07/docs/ResourceOfPreferredLineItem202110.md rename to sdks/retailmedia_2024-10/docs/ResourceOfPreferredLineItemUpdateModelV2.md index f4728c8a..9eee8ae5 100644 --- a/sdks/retailmedia_2023-07/docs/ResourceOfPreferredLineItem202110.md +++ b/sdks/retailmedia_2024-10/docs/ResourceOfPreferredLineItemUpdateModelV2.md @@ -1,4 +1,4 @@ -# ResourceOfPreferredLineItem202110 +# ResourceOfPreferredLineItemUpdateModelV2 Data model for a Resource @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str, none_type** | Id of the entity | [optional] **type** | **str, none_type** | Canonical type name of the entity | [optional] -**attributes** | [**ExternalPreferredLineItem202110**](ExternalPreferredLineItem202110.md) | | [optional] +**attributes** | [**ExternalPreferredLineItemUpdateModelV2**](ExternalPreferredLineItemUpdateModelV2.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfLineItemBidMultipliers.md b/sdks/retailmedia_2024-10/docs/ResourceOfPreferredLineItemV2.md similarity index 82% rename from sdks/retailmedia_2023-07/docs/ResourceOfLineItemBidMultipliers.md rename to sdks/retailmedia_2024-10/docs/ResourceOfPreferredLineItemV2.md index 19ac36e6..6a5a1ec9 100644 --- a/sdks/retailmedia_2023-07/docs/ResourceOfLineItemBidMultipliers.md +++ b/sdks/retailmedia_2024-10/docs/ResourceOfPreferredLineItemV2.md @@ -1,13 +1,13 @@ -# ResourceOfLineItemBidMultipliers +# ResourceOfPreferredLineItemV2 Data model for a Resource ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**LineItemBidMultipliers**](LineItemBidMultipliers.md) | | [optional] **id** | **str, none_type** | Id of the entity | [optional] **type** | **str, none_type** | Canonical type name of the entity | [optional] +**attributes** | [**ExternalPreferredLineItemV2**](ExternalPreferredLineItemV2.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-10/docs/ResourceOfRetailMediaAccount.md b/sdks/retailmedia_2024-10/docs/ResourceOfRetailMediaAccount.md new file mode 100644 index 00000000..09defaca --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ResourceOfRetailMediaAccount.md @@ -0,0 +1,14 @@ +# ResourceOfRetailMediaAccount + +A class that represents a domain entity exposed by an API. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**RetailMediaAccount**](RetailMediaAccount.md) | | [optional] +**id** | **str, none_type** | Unique identifier of this resource. | [optional] +**type** | **str, none_type** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfTemplate.md b/sdks/retailmedia_2024-10/docs/ResourceOfTemplate.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ResourceOfTemplate.md rename to sdks/retailmedia_2024-10/docs/ResourceOfTemplate.md diff --git a/sdks/retailmedia_2024-10/docs/ResourceOfUpdateBalanceModelV2.md b/sdks/retailmedia_2024-10/docs/ResourceOfUpdateBalanceModelV2.md new file mode 100644 index 00000000..bbdf4ed3 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ResourceOfUpdateBalanceModelV2.md @@ -0,0 +1,15 @@ +# ResourceOfUpdateBalanceModelV2 + +A class that represents a domain entity exposed by an API + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**UpdateBalanceModelV2**](UpdateBalanceModelV2.md) | | [optional] +**id** | **str, none_type** | Id of the entity | [optional] +**type** | **str, none_type** | Canonical type name of the entity | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ResourceOutcome.md b/sdks/retailmedia_2024-10/docs/ResourceOutcome.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ResourceOutcome.md rename to sdks/retailmedia_2024-10/docs/ResourceOutcome.md diff --git a/sdks/retailmedia_2024-10/docs/ResourceOutcomeOfRetailMediaAccount.md b/sdks/retailmedia_2024-10/docs/ResourceOutcomeOfRetailMediaAccount.md new file mode 100644 index 00000000..cb033b34 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ResourceOutcomeOfRetailMediaAccount.md @@ -0,0 +1,14 @@ +# ResourceOutcomeOfRetailMediaAccount + +A top-level object that encapsulates a Criteo API response for a single entity. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ResourceOfRetailMediaAccount**](ResourceOfRetailMediaAccount.md) | | [optional] +**warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RetailMediaAccount.md b/sdks/retailmedia_2024-10/docs/RetailMediaAccount.md new file mode 100644 index 00000000..ba688f16 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RetailMediaAccount.md @@ -0,0 +1,20 @@ +# RetailMediaAccount + +The details for a newly created account + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str, none_type** | account name | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] +**type** | **str, none_type** | Type for the account | [optional] +**sub_type** | **str, none_type** | subtype for the account | [optional] +**country_ids** | **[str], none_type** | list of countries associated with the account | [optional] +**currency_id** | **str, none_type** | the currency for the account | [optional] +**parent_account_label** | **str, none_type** | parent account label for the account | [optional] +**time_zone** | **str, none_type** | the timezone for the account | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RetailMediaBrandAccountCreation.md b/sdks/retailmedia_2024-10/docs/RetailMediaBrandAccountCreation.md new file mode 100644 index 00000000..90ef3c4e --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RetailMediaBrandAccountCreation.md @@ -0,0 +1,15 @@ +# RetailMediaBrandAccountCreation + +the initial set up and configuration options for a new private market demand brand account + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str, none_type** | the name of the account, must be unique across all accounts | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] +**brands** | **[int], none_type** | list of brands to link to the new account | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RetailMediaBrands.md b/sdks/retailmedia_2024-10/docs/RetailMediaBrands.md new file mode 100644 index 00000000..b9adf29b --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RetailMediaBrands.md @@ -0,0 +1,12 @@ +# RetailMediaBrands + +A collection of brand ids + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**brand_ids** | **[int], none_type** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendment.md b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendment.md new file mode 100644 index 00000000..85e70ec4 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendment.md @@ -0,0 +1,14 @@ +# RetailMediaContactlistAmendment + +Request data of retail media contact list amendment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**RetailMediaContactlistAmendmentAttributes**](RetailMediaContactlistAmendmentAttributes.md) | | +**type** | **str, none_type** | User List | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendmentAttributes.md b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendmentAttributes.md new file mode 100644 index 00000000..276c6db9 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendmentAttributes.md @@ -0,0 +1,15 @@ +# RetailMediaContactlistAmendmentAttributes + +Attributes of retail media contact list amendment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**operation** | **str** | Whether to add or remove users | +**identifiers** | **[str]** | The users to add or remove, each in the schema specified | +**identifier_type** | **str, none_type** | What type of identifiers are used | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendmentRequest.md b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendmentRequest.md new file mode 100644 index 00000000..d51d3177 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistAmendmentRequest.md @@ -0,0 +1,13 @@ +# RetailMediaContactlistAmendmentRequest + +Request of Retail Media contactlist + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**RetailMediaContactlistAmendment**](RetailMediaContactlistAmendment.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_2023-07/docs/DeleteAudienceResponse.md b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperation.md similarity index 73% rename from sdks/marketingsolutions_2023-07/docs/DeleteAudienceResponse.md rename to sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperation.md index 2ac1615c..37b941b5 100644 --- a/sdks/marketingsolutions_2023-07/docs/DeleteAudienceResponse.md +++ b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperation.md @@ -1,11 +1,11 @@ -# DeleteAudienceResponse +# RetailMediaContactlistOperation -Response of an audience deletion +Operation on Retail Media contact list ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**BasicAudienceDefinition**](BasicAudienceDefinition.md) | | +**data** | [**RetailMediaContactlistOperationResponseAttributes**](RetailMediaContactlistOperationResponseAttributes.md) | | **errors** | [**[AudienceError]**](AudienceError.md) | | **warnings** | [**[AudienceWarning]**](AudienceWarning.md) | | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/marketingsolutions_2023-07/docs/NewAudience.md b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperationResponseAttributes.md similarity index 65% rename from sdks/marketingsolutions_2023-07/docs/NewAudience.md rename to sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperationResponseAttributes.md index a0e97880..3e51b7a7 100644 --- a/sdks/marketingsolutions_2023-07/docs/NewAudience.md +++ b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperationResponseAttributes.md @@ -1,12 +1,12 @@ -# NewAudience +# RetailMediaContactlistOperationResponseAttributes -Body for the creation of a new audience (name, advertiserId, etc) +Response data of Retail Media contact list operation ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str** | the name of the entity type | -**attributes** | [**NewAudienceAttributes**](NewAudienceAttributes.md) | | +**attributes** | [**RetailMediaContactlistOperationResponseAttributesAttributes**](RetailMediaContactlistOperationResponseAttributesAttributes.md) | | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperationResponseAttributesAttributes.md b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperationResponseAttributesAttributes.md new file mode 100644 index 00000000..963db514 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RetailMediaContactlistOperationResponseAttributesAttributes.md @@ -0,0 +1,19 @@ +# RetailMediaContactlistOperationResponseAttributesAttributes + +The attributes of Retaile Media contact list operation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**contact_list_id** | **int** | The affected user list id | +**operation** | **str** | The action recorded | +**request_date** | **datetime** | When the action was recorded | +**identifier_type** | **str, none_type** | The schema specified for of the identifiers | [optional] +**nb_invalid_identifiers** | **int, none_type** | How many identifiers were invalid for the specified schema | [optional] +**nb_valid_identifiers** | **int, none_type** | How many identifiers were valid for the specified schema | [optional] +**sample_invalid_identifiers** | **[str], none_type** | A sample of invalid identifiers if there is some | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RetailMediaSeller.md b/sdks/retailmedia_2024-10/docs/RetailMediaSeller.md new file mode 100644 index 00000000..dede3531 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RetailMediaSeller.md @@ -0,0 +1,13 @@ +# RetailMediaSeller + +used to define the exact seller linked with an account + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**seller_id** | **str, none_type** | the seller id | [optional] +**retailer_id** | **int, none_type** | the retailer id | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RetailMediaSellerAccountCreation.md b/sdks/retailmedia_2024-10/docs/RetailMediaSellerAccountCreation.md new file mode 100644 index 00000000..4b6fd25c --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RetailMediaSellerAccountCreation.md @@ -0,0 +1,15 @@ +# RetailMediaSellerAccountCreation + +the initial set up and configuration options for a new private market demand brand account + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str, none_type** | the name of the account, must be unique across all accounts | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] +**sellers** | [**[RetailMediaSeller], none_type**](RetailMediaSeller.md) | list of sellers to associate to the new account | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ReviewStateModel.md b/sdks/retailmedia_2024-10/docs/ReviewStateModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ReviewStateModel.md rename to sdks/retailmedia_2024-10/docs/ReviewStateModel.md diff --git a/sdks/retailmedia_2024-10/docs/RmAlgebraNodeV1.md b/sdks/retailmedia_2024-10/docs/RmAlgebraNodeV1.md new file mode 100644 index 00000000..290276ee --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAlgebraNodeV1.md @@ -0,0 +1,16 @@ +# RmAlgebraNodeV1 + +Node in the audience algebra definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_and** | [**[RmAlgebraNodeV1], none_type**](RmAlgebraNodeV1.md) | | [optional] +**_or** | [**[RmAlgebraNodeV1], none_type**](RmAlgebraNodeV1.md) | | [optional] +**_not** | [**RmAlgebraNodeV1**](RmAlgebraNodeV1.md) | | [optional] +**audience_segment_id** | **str, none_type** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceEntityV1.md b/sdks/retailmedia_2024-10/docs/RmAudienceEntityV1.md new file mode 100644 index 00000000..c895dc6e --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceEntityV1.md @@ -0,0 +1,21 @@ +# RmAudienceEntityV1 + +Audience of people of interest for a marketer. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_id** | **str, none_type** | Account associated to the audience | [optional] +**name** | **str, none_type** | Name of the audience | [optional] +**description** | **str, none_type** | Description of the audience | [optional] +**retailer_id** | **str, none_type** | Retailer associated to the audience | [optional] +**created_by_id** | **str, none_type** | User that created the audience | [optional] +**created_at** | **datetime, none_type** | ISO-8601 timestamp in UTC of audience creation (read-only) | [optional] +**updated_at** | **datetime, none_type** | ISO-8601 timestamp in UTC of audience update (read-only) | [optional] +**channels** | **[str], none_type** | Channels associated to the audience (read-only) | [optional] +**algebra** | [**RmAlgebraNodeV1**](RmAlgebraNodeV1.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2Resource.md b/sdks/retailmedia_2024-10/docs/RmAudienceEntityV1Resource.md similarity index 81% rename from sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2Resource.md rename to sdks/retailmedia_2024-10/docs/RmAudienceEntityV1Resource.md index 4ac7df63..979ff87e 100644 --- a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2Resource.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceEntityV1Resource.md @@ -1,11 +1,11 @@ -# RmLegacyAudienceGetEntityV2Resource +# RmAudienceEntityV1Resource A class that represents a domain entity exposed by an API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**RmLegacyAudienceGetEntityV2**](RmLegacyAudienceGetEntityV2.md) | | [optional] +**attributes** | [**RmAudienceEntityV1**](RmAudienceEntityV1.md) | | [optional] **id** | **str, none_type** | Id of the entity | [optional] **type** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1ListResponse.md b/sdks/retailmedia_2024-10/docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md similarity index 73% rename from sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1ListResponse.md rename to sdks/retailmedia_2024-10/docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md index 177bd87b..2e26d20a 100644 --- a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1ListResponse.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md @@ -1,11 +1,12 @@ -# RmLegacyAudienceGetEntityV1ListResponse +# RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse A top-level object that encapsulates a Criteo API response for several entities and metadata ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[RmLegacyAudienceGetEntityV1Resource], none_type**](RmLegacyAudienceGetEntityV1Resource.md) | | [optional] +**meta** | [**RmAudienceSearchMetadataV1**](RmAudienceSearchMetadataV1.md) | | [optional] +**data** | [**[RmAudienceEntityV1Resource], none_type**](RmAudienceEntityV1Resource.md) | | [optional] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSearchEntityV1.md b/sdks/retailmedia_2024-10/docs/RmAudienceSearchEntityV1.md new file mode 100644 index 00000000..b0e5da54 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSearchEntityV1.md @@ -0,0 +1,15 @@ +# RmAudienceSearchEntityV1 + +Available filters to perform a search on audiences. If present, the filters are AND'ed together when applied. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**audience_ids** | **[str], none_type** | List of audience ids | [optional] +**retailer_ids** | **[str], none_type** | List of retailer ids | [optional] +**audience_segment_ids** | **[str], none_type** | List of segment ids (linked to the result audiences) | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_preview/docs/DeleteUserProfileModelResource.md b/sdks/retailmedia_2024-10/docs/RmAudienceSearchEntityV1Resource.md similarity index 81% rename from sdks/marketingsolutions_preview/docs/DeleteUserProfileModelResource.md rename to sdks/retailmedia_2024-10/docs/RmAudienceSearchEntityV1Resource.md index cb56d444..da8d49b6 100644 --- a/sdks/marketingsolutions_preview/docs/DeleteUserProfileModelResource.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSearchEntityV1Resource.md @@ -1,4 +1,4 @@ -# DeleteUserProfileModelResource +# RmAudienceSearchEntityV1Resource A top-level object that encapsulates a Criteo API response for a single value @@ -6,7 +6,7 @@ A top-level object that encapsulates a Criteo API response for a single value Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str, none_type** | | [optional] -**attributes** | [**DeleteUserProfileModel**](DeleteUserProfileModel.md) | | [optional] +**attributes** | [**RmAudienceSearchEntityV1**](RmAudienceSearchEntityV1.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSearchInputV1.md b/sdks/retailmedia_2024-10/docs/RmAudienceSearchInputV1.md new file mode 100644 index 00000000..46426023 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSearchInputV1.md @@ -0,0 +1,13 @@ +# RmAudienceSearchInputV1 + +A top-level object that encapsulates a Criteo API request for a single value. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**RmAudienceSearchEntityV1Resource**](RmAudienceSearchEntityV1Resource.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSearchMetadataV1.md b/sdks/retailmedia_2024-10/docs/RmAudienceSearchMetadataV1.md new file mode 100644 index 00000000..ddc3c37c --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSearchMetadataV1.md @@ -0,0 +1,15 @@ +# RmAudienceSearchMetadataV1 + +Metadata for the audience search response. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_items** | **int, none_type** | Total number of items | [optional] +**limit** | **int, none_type** | Max item of the current page | [optional] +**offset** | **int, none_type** | Number of item to skip | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_preview/docs/DeleteUserProfileModelListRequest.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkCreateInputV1.md similarity index 73% rename from sdks/marketingsolutions_preview/docs/DeleteUserProfileModelListRequest.md rename to sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkCreateInputV1.md index 7f65a754..fad0c5af 100644 --- a/sdks/marketingsolutions_preview/docs/DeleteUserProfileModelListRequest.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkCreateInputV1.md @@ -1,11 +1,11 @@ -# DeleteUserProfileModelListRequest +# RmAudienceSegmentBulkCreateInputV1 -A top-level object that encapsulates a Criteo API request for several values +A top-level object that encapsulates a Criteo API request for several values. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[DeleteUserProfileModelResource], none_type**](DeleteUserProfileModelResource.md) | | [optional] +**data** | [**[RmAudienceSegmentCreateEntityV1Resource], none_type**](RmAudienceSegmentCreateEntityV1Resource.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/marketingsolutions_preview/docs/SetUserProfileModelListRequest.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkDeleteInputV1.md similarity index 73% rename from sdks/marketingsolutions_preview/docs/SetUserProfileModelListRequest.md rename to sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkDeleteInputV1.md index 341adc98..6242d4e1 100644 --- a/sdks/marketingsolutions_preview/docs/SetUserProfileModelListRequest.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkDeleteInputV1.md @@ -1,11 +1,11 @@ -# SetUserProfileModelListRequest +# RmAudienceSegmentBulkDeleteInputV1 -A top-level object that encapsulates a Criteo API request for several values +A top-level object that encapsulates a Criteo API request for several entities. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[SetUserProfileModelResource], none_type**](SetUserProfileModelResource.md) | | [optional] +**data** | [**[RmAudienceSegmentDeleteEntityV1Resource], none_type**](RmAudienceSegmentDeleteEntityV1Resource.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkUpdateInputV1.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkUpdateInputV1.md new file mode 100644 index 00000000..1a6e2474 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentBulkUpdateInputV1.md @@ -0,0 +1,13 @@ +# RmAudienceSegmentBulkUpdateInputV1 + +A top-level object that encapsulates a Criteo API request for several entities. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[RmAudienceSegmentUpdateEntityV1Resource], none_type**](RmAudienceSegmentUpdateEntityV1Resource.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentCreateEntityV1.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentCreateEntityV1.md new file mode 100644 index 00000000..bf874dae --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentCreateEntityV1.md @@ -0,0 +1,16 @@ +# RmAudienceSegmentCreateEntityV1 + +Set of rules that defines specific people to target. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the segment | +**retailer_id** | **str** | Retailer associated to the segment | +**description** | **str, none_type** | Description of the segment | [optional] +**contact_list** | [**RmContactListCreateV1**](RmContactListCreateV1.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentCreateEntityV1Resource.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentCreateEntityV1Resource.md new file mode 100644 index 00000000..e1a77588 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentCreateEntityV1Resource.md @@ -0,0 +1,14 @@ +# RmAudienceSegmentCreateEntityV1Resource + +A top-level object that encapsulates a Criteo API response for a single value + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str, none_type** | | [optional] +**attributes** | [**RmAudienceSegmentCreateEntityV1**](RmAudienceSegmentCreateEntityV1.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentDeleteEntityV1Resource.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentDeleteEntityV1Resource.md new file mode 100644 index 00000000..7b3dc304 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentDeleteEntityV1Resource.md @@ -0,0 +1,15 @@ +# RmAudienceSegmentDeleteEntityV1Resource + +A class that represents a domain entity exposed by an API + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Segment to delete | [optional] +**id** | **str, none_type** | Id of the entity | [optional] +**type** | **str, none_type** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1.md new file mode 100644 index 00000000..ed95533d --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1.md @@ -0,0 +1,23 @@ +# RmAudienceSegmentEntityV1 + +Set of rules that defines specific people to target. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_id** | **str, none_type** | Account associated to the segment | [optional] +**name** | **str, none_type** | Name of the segment | [optional] +**description** | **str, none_type** | Description of the segment | [optional] +**retailer_id** | **str, none_type** | Retailer associated to the segment | [optional] +**type** | **str, none_type** | Type of segment (read-only) | [optional] +**created_at** | **datetime, none_type** | ISO-8601 timestamp in UTC of segment creation (read-only) | [optional] +**updated_at** | **datetime, none_type** | ISO-8601 timestamp in UTC of segment update (read-only) | [optional] +**created_by_id** | **str, none_type** | User that created the segment | [optional] +**contact_list** | [**RmContactListV1**](RmContactListV1.md) | | [optional] +**events** | [**RmEventsV1**](RmEventsV1.md) | | [optional] +**channels** | **[str], none_type** | Channels associated to the segment (read-only) | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2ListResponse.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1ListResponse.md similarity index 81% rename from sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2ListResponse.md rename to sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1ListResponse.md index 7194b21f..c3541f95 100644 --- a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2ListResponse.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1ListResponse.md @@ -1,11 +1,11 @@ -# RmLegacyAudienceGetEntityV2ListResponse +# RmAudienceSegmentEntityV1ListResponse A top-level object that encapsulates a Criteo API response for several entities ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[RmLegacyAudienceGetEntityV2Resource], none_type**](RmLegacyAudienceGetEntityV2Resource.md) | | [optional] +**data** | [**[RmAudienceSegmentEntityV1Resource], none_type**](RmAudienceSegmentEntityV1Resource.md) | | [optional] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2Resource.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1Resource.md similarity index 81% rename from sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2Resource.md rename to sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1Resource.md index 4ac7df63..648018df 100644 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV2Resource.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1Resource.md @@ -1,11 +1,11 @@ -# RmLegacyAudienceGetEntityV2Resource +# RmAudienceSegmentEntityV1Resource A class that represents a domain entity exposed by an API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**RmLegacyAudienceGetEntityV2**](RmLegacyAudienceGetEntityV2.md) | | [optional] +**attributes** | [**RmAudienceSegmentEntityV1**](RmAudienceSegmentEntityV1.md) | | [optional] **id** | **str, none_type** | Id of the entity | [optional] **type** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse.md new file mode 100644 index 00000000..8de49d4b --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse.md @@ -0,0 +1,16 @@ +# RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse + +A top-level object that encapsulates a Criteo API response for several entities and metadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**meta** | [**RmAudienceSegmentSearchMetadataV1**](RmAudienceSegmentSearchMetadataV1.md) | | [optional] +**data** | [**[RmAudienceSegmentEntityV1Resource], none_type**](RmAudienceSegmentEntityV1Resource.md) | | [optional] +**warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1ListResponse.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentIdEntityV1ListResponse.md similarity index 78% rename from sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1ListResponse.md rename to sdks/retailmedia_2024-10/docs/RmAudienceSegmentIdEntityV1ListResponse.md index 177bd87b..335e73f6 100644 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1ListResponse.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentIdEntityV1ListResponse.md @@ -1,11 +1,11 @@ -# RmLegacyAudienceGetEntityV1ListResponse +# RmAudienceSegmentIdEntityV1ListResponse -A top-level object that encapsulates a Criteo API response for several entities and metadata +A top-level object that encapsulates a Criteo API response for several entities ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**[RmLegacyAudienceGetEntityV1Resource], none_type**](RmLegacyAudienceGetEntityV1Resource.md) | | [optional] +**data** | [**[RmAudienceSegmentIdEntityV1Resource], none_type**](RmAudienceSegmentIdEntityV1Resource.md) | | [optional] **warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentIdEntityV1Resource.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentIdEntityV1Resource.md new file mode 100644 index 00000000..40c8ca6d --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentIdEntityV1Resource.md @@ -0,0 +1,15 @@ +# RmAudienceSegmentIdEntityV1Resource + +A class that represents a domain entity exposed by an API + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Audience Segment entity only with its ID | [optional] +**id** | **str, none_type** | Id of the entity | [optional] +**type** | **str, none_type** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchEntityV1.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchEntityV1.md new file mode 100644 index 00000000..feb33118 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchEntityV1.md @@ -0,0 +1,15 @@ +# RmAudienceSegmentSearchEntityV1 + +Available filters to perform a search on audience segments. If present, the filters are AND'ed together when applied. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**audience_segment_ids** | **[str], none_type** | List of segment ids | [optional] +**retailer_ids** | **[str], none_type** | List of retailer ids | [optional] +**audience_segment_types** | **[str], none_type** | List of segment types | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchEntityV1Resource.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchEntityV1Resource.md new file mode 100644 index 00000000..a79bc6e6 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchEntityV1Resource.md @@ -0,0 +1,14 @@ +# RmAudienceSegmentSearchEntityV1Resource + +A top-level object that encapsulates a Criteo API response for a single value + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str, none_type** | | [optional] +**attributes** | [**RmAudienceSegmentSearchEntityV1**](RmAudienceSegmentSearchEntityV1.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_2023-07/docs/Audience.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchInputV1.md similarity index 66% rename from sdks/marketingsolutions_2023-07/docs/Audience.md rename to sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchInputV1.md index 24156138..d8902145 100644 --- a/sdks/marketingsolutions_2023-07/docs/Audience.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchInputV1.md @@ -1,13 +1,11 @@ -# Audience +# RmAudienceSegmentSearchInputV1 -Definition of an audience and all its information +A top-level object that encapsulates a Criteo API request for a single value. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | the name of the entity type | -**id** | **str** | id of the Audience | -**attributes** | [**AudienceAttributes**](AudienceAttributes.md) | | +**data** | [**RmAudienceSegmentSearchEntityV1Resource**](RmAudienceSegmentSearchEntityV1Resource.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchMetadataV1.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchMetadataV1.md new file mode 100644 index 00000000..f0c944e1 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentSearchMetadataV1.md @@ -0,0 +1,15 @@ +# RmAudienceSegmentSearchMetadataV1 + +Metadata for the audience segment search response. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_items** | **int, none_type** | Total number of items | [optional] +**limit** | **int, none_type** | Max item of the current page | [optional] +**offset** | **int, none_type** | Number of item to skip | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/ResourceOfPreferredLineItemUpdateModel202110.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentUpdateEntityV1.md similarity index 53% rename from sdks/retailmedia_2023-07/docs/ResourceOfPreferredLineItemUpdateModel202110.md rename to sdks/retailmedia_2024-10/docs/RmAudienceSegmentUpdateEntityV1.md index 746400eb..9e38f20b 100644 --- a/sdks/retailmedia_2023-07/docs/ResourceOfPreferredLineItemUpdateModel202110.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentUpdateEntityV1.md @@ -1,13 +1,13 @@ -# ResourceOfPreferredLineItemUpdateModel202110 +# RmAudienceSegmentUpdateEntityV1 -Data model for a Resource +Set of rules that defines specific people to target. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str, none_type** | Id of the entity | [optional] -**type** | **str, none_type** | Canonical type name of the entity | [optional] -**attributes** | [**ExternalPreferredLineItemUpdateModel202110**](ExternalPreferredLineItemUpdateModel202110.md) | | [optional] +**name** | **str, none_type** | Name of the segment | [optional] +**description** | [**NillableString**](NillableString.md) | | [optional] +**contact_list** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Settings to update the contact list of the segment | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2Resource.md b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentUpdateEntityV1Resource.md similarity index 80% rename from sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2Resource.md rename to sdks/retailmedia_2024-10/docs/RmAudienceSegmentUpdateEntityV1Resource.md index e04fa06d..a6ecd3ab 100644 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV2Resource.md +++ b/sdks/retailmedia_2024-10/docs/RmAudienceSegmentUpdateEntityV1Resource.md @@ -1,11 +1,11 @@ -# RmLegacyAudienceCreateEntityV2Resource +# RmAudienceSegmentUpdateEntityV1Resource A class that represents a domain entity exposed by an API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**RmLegacyAudienceCreateEntityV2**](RmLegacyAudienceCreateEntityV2.md) | | [optional] +**attributes** | [**RmAudienceSegmentUpdateEntityV1**](RmAudienceSegmentUpdateEntityV1.md) | | [optional] **id** | **str, none_type** | Id of the entity | [optional] **type** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_2024-10/docs/RmContactListCreateV1.md b/sdks/retailmedia_2024-10/docs/RmContactListCreateV1.md new file mode 100644 index 00000000..a993e91e --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmContactListCreateV1.md @@ -0,0 +1,13 @@ +# RmContactListCreateV1 + +Settings to target users with your contact lists. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**identifier_type** | **str, none_type** | Indicates contact list type | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1.md b/sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1.md new file mode 100644 index 00000000..b7f9b751 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1.md @@ -0,0 +1,15 @@ +# RmContactListStatisticsEntityV1 + +Contact list statistics. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**number_of_identifiers** | **int, none_type** | Number of identifiers in the contact list. | [optional] +**number_of_matches** | **int, none_type** | Number of matched identifiers in the contact list. | [optional] +**match_rate** | **float, none_type** | Percentage of matched identifiers in the contact list. Can differ from matches/identifiers depending on the contact list type. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1Resource.md b/sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1Resource.md new file mode 100644 index 00000000..32bfa3ad --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1Resource.md @@ -0,0 +1,15 @@ +# RmContactListStatisticsEntityV1Resource + +A class that represents a domain entity exposed by an API + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**RmContactListStatisticsEntityV1**](RmContactListStatisticsEntityV1.md) | | [optional] +**id** | **str, none_type** | Id of the entity | [optional] +**type** | **str, none_type** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1Response.md b/sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1Response.md new file mode 100644 index 00000000..e855e357 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmContactListStatisticsEntityV1Response.md @@ -0,0 +1,15 @@ +# RmContactListStatisticsEntityV1Response + +A top-level object that encapsulates a Criteo API response for a single entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**RmContactListStatisticsEntityV1Resource**](RmContactListStatisticsEntityV1Resource.md) | | [optional] +**warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/RmContactListV1.md b/sdks/retailmedia_2024-10/docs/RmContactListV1.md new file mode 100644 index 00000000..45c1ad87 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/RmContactListV1.md @@ -0,0 +1,15 @@ +# RmContactListV1 + +Settings to target users with your contact lists. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is_read_only** | **bool, none_type** | Is the segment read-only | [optional] +**identifier_type** | **str, none_type** | Indicates contact list identifier's type | [optional] +**sharing_status** | **str, none_type** | Indicates if the contact list is shared with other accounts | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmUserBehaviorV1.md b/sdks/retailmedia_2024-10/docs/RmEventsV1.md similarity index 98% rename from sdks/retailmedia_preview/docs/RmUserBehaviorV1.md rename to sdks/retailmedia_2024-10/docs/RmEventsV1.md index 7c0b3464..083cef74 100644 --- a/sdks/retailmedia_preview/docs/RmUserBehaviorV1.md +++ b/sdks/retailmedia_2024-10/docs/RmEventsV1.md @@ -1,4 +1,4 @@ -# RmUserBehaviorV1 +# RmEventsV1 Settings to target users based on their behavior diff --git a/sdks/retailmedia_2023-07/docs/RmcaCommonProblem.md b/sdks/retailmedia_2024-10/docs/RmcaCommonProblem.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/RmcaCommonProblem.md rename to sdks/retailmedia_2024-10/docs/RmcaCommonProblem.md diff --git a/sdks/retailmedia_2023-07/docs/Section.md b/sdks/retailmedia_2024-10/docs/Section.md similarity index 92% rename from sdks/retailmedia_2023-07/docs/Section.md rename to sdks/retailmedia_2024-10/docs/Section.md index 09186289..f09646c7 100644 --- a/sdks/retailmedia_2023-07/docs/Section.md +++ b/sdks/retailmedia_2024-10/docs/Section.md @@ -5,8 +5,8 @@ Section object that hold template variables ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | | **template_variables** | [**[TemplateVariable]**](TemplateVariable.md) | | +**title** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_2023-07/docs/SetBidModel.md b/sdks/retailmedia_2024-10/docs/SetBidModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/SetBidModel.md rename to sdks/retailmedia_2024-10/docs/SetBidModel.md diff --git a/sdks/retailmedia_2023-07/docs/SetBidsModel.md b/sdks/retailmedia_2024-10/docs/SetBidsModel.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/SetBidsModel.md rename to sdks/retailmedia_2024-10/docs/SetBidsModel.md diff --git a/sdks/retailmedia_2023-07/docs/SetBidsModelRequest.md b/sdks/retailmedia_2024-10/docs/SetBidsModelRequest.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/SetBidsModelRequest.md rename to sdks/retailmedia_2024-10/docs/SetBidsModelRequest.md diff --git a/sdks/retailmedia_2023-07/docs/SetBidsModelResource.md b/sdks/retailmedia_2024-10/docs/SetBidsModelResource.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/SetBidsModelResource.md rename to sdks/retailmedia_2024-10/docs/SetBidsModelResource.md diff --git a/sdks/retailmedia_2023-07/docs/StatusResponse.md b/sdks/retailmedia_2024-10/docs/StatusResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/StatusResponse.md rename to sdks/retailmedia_2024-10/docs/StatusResponse.md diff --git a/sdks/retailmedia_2023-07/docs/StatusResponseResource.md b/sdks/retailmedia_2024-10/docs/StatusResponseResource.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/StatusResponseResource.md rename to sdks/retailmedia_2024-10/docs/StatusResponseResource.md diff --git a/sdks/retailmedia_2023-07/docs/StoreIdsUpdateModel202110Request.md b/sdks/retailmedia_2024-10/docs/StoreIdsUpdateModel202110Request.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/StoreIdsUpdateModel202110Request.md rename to sdks/retailmedia_2024-10/docs/StoreIdsUpdateModel202110Request.md diff --git a/sdks/retailmedia_2023-07/docs/StoreTarget202110Request.md b/sdks/retailmedia_2024-10/docs/StoreTarget202110Request.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/StoreTarget202110Request.md rename to sdks/retailmedia_2024-10/docs/StoreTarget202110Request.md diff --git a/sdks/retailmedia_2023-07/docs/StoreTarget202110Response.md b/sdks/retailmedia_2024-10/docs/StoreTarget202110Response.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/StoreTarget202110Response.md rename to sdks/retailmedia_2024-10/docs/StoreTarget202110Response.md diff --git a/sdks/retailmedia_2023-07/docs/Template.md b/sdks/retailmedia_2024-10/docs/Template.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/Template.md rename to sdks/retailmedia_2024-10/docs/Template.md diff --git a/sdks/retailmedia_2023-07/docs/TemplateListResponse.md b/sdks/retailmedia_2024-10/docs/TemplateListResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/TemplateListResponse.md rename to sdks/retailmedia_2024-10/docs/TemplateListResponse.md diff --git a/sdks/retailmedia_2023-07/docs/TemplateResponse.md b/sdks/retailmedia_2024-10/docs/TemplateResponse.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/TemplateResponse.md rename to sdks/retailmedia_2024-10/docs/TemplateResponse.md diff --git a/sdks/retailmedia_2023-07/docs/TemplateVariable.md b/sdks/retailmedia_2024-10/docs/TemplateVariable.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/TemplateVariable.md rename to sdks/retailmedia_2024-10/docs/TemplateVariable.md diff --git a/sdks/retailmedia_2023-07/docs/TemplateVariableValue.md b/sdks/retailmedia_2024-10/docs/TemplateVariableValue.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/TemplateVariableValue.md rename to sdks/retailmedia_2024-10/docs/TemplateVariableValue.md diff --git a/sdks/retailmedia_2023-07/docs/TextVariableSpecification.md b/sdks/retailmedia_2024-10/docs/TextVariableSpecification.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/TextVariableSpecification.md rename to sdks/retailmedia_2024-10/docs/TextVariableSpecification.md diff --git a/sdks/retailmedia_2023-07/docs/TextVariableValue.md b/sdks/retailmedia_2024-10/docs/TextVariableValue.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/TextVariableValue.md rename to sdks/retailmedia_2024-10/docs/TextVariableValue.md diff --git a/sdks/retailmedia_2024-10/docs/UpdateBalanceModelV2.md b/sdks/retailmedia_2024-10/docs/UpdateBalanceModelV2.md new file mode 100644 index 00000000..902dcae1 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/UpdateBalanceModelV2.md @@ -0,0 +1,17 @@ +# UpdateBalanceModelV2 + +An object that represents the available options to set when updating a Retail Media Balance. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str, none_type** | Name of the balance. | [optional] +**po_number** | **str, none_type** | Purchase Order number. | [optional] +**start_date** | **str, none_type** | Start date of the balance in the format YYYY-MM-DD. | [optional] +**end_date** | **str, none_type** | End date of the balance in the format YYYY-MM-DD. | [optional] +**memo** | **str, none_type** | Memo. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/UpdateBalanceModelV2Request.md b/sdks/retailmedia_2024-10/docs/UpdateBalanceModelV2Request.md new file mode 100644 index 00000000..d6155bd3 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/UpdateBalanceModelV2Request.md @@ -0,0 +1,13 @@ +# UpdateBalanceModelV2Request + +A top-level object that encapsulates a Criteo API request for a single entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ResourceOfUpdateBalanceModelV2**](ResourceOfUpdateBalanceModelV2.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ValueResourceCollectionInputOfRetailMediaSeller.md b/sdks/retailmedia_2024-10/docs/ValueResourceCollectionInputOfRetailMediaSeller.md new file mode 100644 index 00000000..98663f8a --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ValueResourceCollectionInputOfRetailMediaSeller.md @@ -0,0 +1,12 @@ +# ValueResourceCollectionInputOfRetailMediaSeller + +A top-level object that encapsulates a Criteo API request for several values. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[ValueResourceOfRetailMediaSeller], none_type**](ValueResourceOfRetailMediaSeller.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ValueResourceCollectionOutcomeOfRetailMediaSeller.md b/sdks/retailmedia_2024-10/docs/ValueResourceCollectionOutcomeOfRetailMediaSeller.md new file mode 100644 index 00000000..dd0b690d --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ValueResourceCollectionOutcomeOfRetailMediaSeller.md @@ -0,0 +1,14 @@ +# ValueResourceCollectionOutcomeOfRetailMediaSeller + +A top-level object that encapsulates a Criteo API response for several values. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[ValueResourceOfRetailMediaSeller], none_type**](ValueResourceOfRetailMediaSeller.md) | | [optional] +**warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/ValueResourceInputOfCampaignBudgetOverrides.md b/sdks/retailmedia_2024-10/docs/ValueResourceInputOfCampaignBudgetOverrides.md similarity index 100% rename from sdks/retailmedia_preview/docs/ValueResourceInputOfCampaignBudgetOverrides.md rename to sdks/retailmedia_2024-10/docs/ValueResourceInputOfCampaignBudgetOverrides.md diff --git a/sdks/retailmedia_preview/docs/ValueResourceInputOfLineItemBudgetOverrides.md b/sdks/retailmedia_2024-10/docs/ValueResourceInputOfLineItemBudgetOverrides.md similarity index 100% rename from sdks/retailmedia_preview/docs/ValueResourceInputOfLineItemBudgetOverrides.md rename to sdks/retailmedia_2024-10/docs/ValueResourceInputOfLineItemBudgetOverrides.md diff --git a/sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaBrandAccountCreation.md b/sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaBrandAccountCreation.md new file mode 100644 index 00000000..c36494ce --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaBrandAccountCreation.md @@ -0,0 +1,12 @@ +# ValueResourceInputOfRetailMediaBrandAccountCreation + +A top-level object that encapsulates a Criteo API request for a single value. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ValueResourceOfRetailMediaBrandAccountCreation**](ValueResourceOfRetailMediaBrandAccountCreation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaBrands.md b/sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaBrands.md new file mode 100644 index 00000000..bc448e22 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaBrands.md @@ -0,0 +1,12 @@ +# ValueResourceInputOfRetailMediaBrands + +A top-level object that encapsulates a Criteo API request for a single value. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ValueResourceOfRetailMediaBrands**](ValueResourceOfRetailMediaBrands.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaSellerAccountCreation.md b/sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaSellerAccountCreation.md new file mode 100644 index 00000000..cc08bf10 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ValueResourceInputOfRetailMediaSellerAccountCreation.md @@ -0,0 +1,12 @@ +# ValueResourceInputOfRetailMediaSellerAccountCreation + +A top-level object that encapsulates a Criteo API request for a single value. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**ValueResourceOfRetailMediaSellerAccountCreation**](ValueResourceOfRetailMediaSellerAccountCreation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/ValueResourceOfCampaignBudgetOverrides.md b/sdks/retailmedia_2024-10/docs/ValueResourceOfCampaignBudgetOverrides.md similarity index 100% rename from sdks/retailmedia_preview/docs/ValueResourceOfCampaignBudgetOverrides.md rename to sdks/retailmedia_2024-10/docs/ValueResourceOfCampaignBudgetOverrides.md diff --git a/sdks/retailmedia_preview/docs/ValueResourceOfLineItemBudgetOverrides.md b/sdks/retailmedia_2024-10/docs/ValueResourceOfLineItemBudgetOverrides.md similarity index 100% rename from sdks/retailmedia_preview/docs/ValueResourceOfLineItemBudgetOverrides.md rename to sdks/retailmedia_2024-10/docs/ValueResourceOfLineItemBudgetOverrides.md diff --git a/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaBrandAccountCreation.md b/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaBrandAccountCreation.md new file mode 100644 index 00000000..4f96750f --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaBrandAccountCreation.md @@ -0,0 +1,13 @@ +# ValueResourceOfRetailMediaBrandAccountCreation + +A top-level object that encapsulates a Criteo API response for a single value. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str, none_type** | | [optional] +**attributes** | [**RetailMediaBrandAccountCreation**](RetailMediaBrandAccountCreation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaBrands.md b/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaBrands.md new file mode 100644 index 00000000..a13d9bc9 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaBrands.md @@ -0,0 +1,13 @@ +# ValueResourceOfRetailMediaBrands + +A top-level object that encapsulates a Criteo API response for a single value. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str, none_type** | | [optional] +**attributes** | [**RetailMediaBrands**](RetailMediaBrands.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaSeller.md b/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaSeller.md new file mode 100644 index 00000000..3b087b99 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaSeller.md @@ -0,0 +1,13 @@ +# ValueResourceOfRetailMediaSeller + +A top-level object that encapsulates a Criteo API response for a single value. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str, none_type** | | [optional] +**attributes** | [**RetailMediaSeller**](RetailMediaSeller.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaSellerAccountCreation.md b/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaSellerAccountCreation.md new file mode 100644 index 00000000..d8c45011 --- /dev/null +++ b/sdks/retailmedia_2024-10/docs/ValueResourceOfRetailMediaSellerAccountCreation.md @@ -0,0 +1,13 @@ +# ValueResourceOfRetailMediaSellerAccountCreation + +A top-level object that encapsulates a Criteo API response for a single value. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str, none_type** | | [optional] +**attributes** | [**RetailMediaSellerAccountCreation**](RetailMediaSellerAccountCreation.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/ValueResourceOutcomeOfCampaignBudgetOverrides.md b/sdks/retailmedia_2024-10/docs/ValueResourceOutcomeOfCampaignBudgetOverrides.md similarity index 100% rename from sdks/retailmedia_preview/docs/ValueResourceOutcomeOfCampaignBudgetOverrides.md rename to sdks/retailmedia_2024-10/docs/ValueResourceOutcomeOfCampaignBudgetOverrides.md diff --git a/sdks/retailmedia_preview/docs/ValueResourceOutcomeOfLineItemBudgetOverrides.md b/sdks/retailmedia_2024-10/docs/ValueResourceOutcomeOfLineItemBudgetOverrides.md similarity index 100% rename from sdks/retailmedia_preview/docs/ValueResourceOutcomeOfLineItemBudgetOverrides.md rename to sdks/retailmedia_2024-10/docs/ValueResourceOutcomeOfLineItemBudgetOverrides.md diff --git a/sdks/retailmedia_2023-07/docs/ValueTypeResourceOfAddToBasketIdsUpdateModel202110.md b/sdks/retailmedia_2024-10/docs/ValueTypeResourceOfAddToBasketIdsUpdateModel202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ValueTypeResourceOfAddToBasketIdsUpdateModel202110.md rename to sdks/retailmedia_2024-10/docs/ValueTypeResourceOfAddToBasketIdsUpdateModel202110.md diff --git a/sdks/retailmedia_2023-07/docs/ValueTypeResourceOfAddToBasketTarget202110.md b/sdks/retailmedia_2024-10/docs/ValueTypeResourceOfAddToBasketTarget202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ValueTypeResourceOfAddToBasketTarget202110.md rename to sdks/retailmedia_2024-10/docs/ValueTypeResourceOfAddToBasketTarget202110.md diff --git a/sdks/retailmedia_2023-07/docs/ValueTypeResourceOfAudienceIdsUpdateModel202110.md b/sdks/retailmedia_2024-10/docs/ValueTypeResourceOfAudienceIdsUpdateModel202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ValueTypeResourceOfAudienceIdsUpdateModel202110.md rename to sdks/retailmedia_2024-10/docs/ValueTypeResourceOfAudienceIdsUpdateModel202110.md diff --git a/sdks/retailmedia_2023-07/docs/ValueTypeResourceOfAudienceTarget202110.md b/sdks/retailmedia_2024-10/docs/ValueTypeResourceOfAudienceTarget202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ValueTypeResourceOfAudienceTarget202110.md rename to sdks/retailmedia_2024-10/docs/ValueTypeResourceOfAudienceTarget202110.md diff --git a/sdks/retailmedia_2023-07/docs/ValueTypeResourceOfKeywordTarget202110.md b/sdks/retailmedia_2024-10/docs/ValueTypeResourceOfKeywordTarget202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ValueTypeResourceOfKeywordTarget202110.md rename to sdks/retailmedia_2024-10/docs/ValueTypeResourceOfKeywordTarget202110.md diff --git a/sdks/retailmedia_2023-07/docs/ValueTypeResourceOfStoreIdsUpdateModel202110.md b/sdks/retailmedia_2024-10/docs/ValueTypeResourceOfStoreIdsUpdateModel202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ValueTypeResourceOfStoreIdsUpdateModel202110.md rename to sdks/retailmedia_2024-10/docs/ValueTypeResourceOfStoreIdsUpdateModel202110.md diff --git a/sdks/retailmedia_2023-07/docs/ValueTypeResourceOfStoreTarget202110.md b/sdks/retailmedia_2024-10/docs/ValueTypeResourceOfStoreTarget202110.md similarity index 100% rename from sdks/retailmedia_2023-07/docs/ValueTypeResourceOfStoreTarget202110.md rename to sdks/retailmedia_2024-10/docs/ValueTypeResourceOfStoreTarget202110.md diff --git a/sdks/retailmedia_2023-07/requirements.txt b/sdks/retailmedia_2024-10/requirements.txt similarity index 100% rename from sdks/retailmedia_2023-07/requirements.txt rename to sdks/retailmedia_2024-10/requirements.txt diff --git a/sdks/retailmedia_2023-07/setup.cfg b/sdks/retailmedia_2024-10/setup.cfg similarity index 100% rename from sdks/retailmedia_2023-07/setup.cfg rename to sdks/retailmedia_2024-10/setup.cfg diff --git a/sdks/retailmedia_2023-07/setup.py b/sdks/retailmedia_2024-10/setup.py similarity index 92% rename from sdks/retailmedia_2023-07/setup.py rename to sdks/retailmedia_2024-10/setup.py index bda58914..7acc5d36 100644 --- a/sdks/retailmedia_2023-07/setup.py +++ b/sdks/retailmedia_2024-10/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-retailmedia-sdk" -VERSION = "2023.07.0.240808" +VERSION = "2024.10.0.241029" # To install the library, run the following # # python setup.py install @@ -24,13 +24,13 @@ ```sh -pip install criteo-api-retailmedia-sdk==2023.07.0.240808 +pip install criteo-api-retailmedia-sdk==2024.10.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2023.07.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2024.10.0.241029`) Then import the package: ```python -import criteo_api_retailmedia_v2023_07 +import criteo_api_retailmedia_v2024_10 ``` Full documentation on [Github](https://github.com/criteo/criteo-api-python-sdk). diff --git a/sdks/retailmedia_2023-07/test-requirements.txt b/sdks/retailmedia_2024-10/test-requirements.txt similarity index 100% rename from sdks/retailmedia_2023-07/test-requirements.txt rename to sdks/retailmedia_2024-10/test-requirements.txt diff --git a/sdks/retailmedia_2023-07/test/example_application_with_auth_code.py b/sdks/retailmedia_2024-10/test/example_application_with_auth_code.py similarity index 92% rename from sdks/retailmedia_2023-07/test/example_application_with_auth_code.py rename to sdks/retailmedia_2024-10/test/example_application_with_auth_code.py index 49ff3316..43ea2812 100644 --- a/sdks/retailmedia_2023-07/test/example_application_with_auth_code.py +++ b/sdks/retailmedia_2024-10/test/example_application_with_auth_code.py @@ -1,5 +1,5 @@ -from criteo_api_retailmedia_v2023_07.api.gateway_api import GatewayApi -from criteo_api_retailmedia_v2023_07 import ApiClientBuilder +from criteo_api_retailmedia_v2024_10.api.gateway_api import GatewayApi +from criteo_api_retailmedia_v2024_10 import ApiClientBuilder class ExampleApplication: diff --git a/sdks/retailmedia_2023-07/test/example_application_with_client_credentials.py b/sdks/retailmedia_2024-10/test/example_application_with_client_credentials.py similarity index 90% rename from sdks/retailmedia_2023-07/test/example_application_with_client_credentials.py rename to sdks/retailmedia_2024-10/test/example_application_with_client_credentials.py index 75bd0fcf..4c52b2cd 100644 --- a/sdks/retailmedia_2023-07/test/example_application_with_client_credentials.py +++ b/sdks/retailmedia_2024-10/test/example_application_with_client_credentials.py @@ -1,5 +1,5 @@ -from criteo_api_retailmedia_v2023_07.api.gateway_api import GatewayApi -from criteo_api_retailmedia_v2023_07 import ApiClientBuilder +from criteo_api_retailmedia_v2024_10.api.gateway_api import GatewayApi +from criteo_api_retailmedia_v2024_10 import ApiClientBuilder class ExampleApplication: diff --git a/sdks/retailmedia_2023-07/test/example_application_with_refresh_token.py b/sdks/retailmedia_2024-10/test/example_application_with_refresh_token.py similarity index 92% rename from sdks/retailmedia_2023-07/test/example_application_with_refresh_token.py rename to sdks/retailmedia_2024-10/test/example_application_with_refresh_token.py index bc8f4357..66050cdc 100644 --- a/sdks/retailmedia_2023-07/test/example_application_with_refresh_token.py +++ b/sdks/retailmedia_2024-10/test/example_application_with_refresh_token.py @@ -1,5 +1,5 @@ -from criteo_api_retailmedia_v2023_07.api.gateway_api import GatewayApi -from criteo_api_retailmedia_v2023_07 import ApiClientBuilder +from criteo_api_retailmedia_v2024_10.api.gateway_api import GatewayApi +from criteo_api_retailmedia_v2024_10 import ApiClientBuilder class ExampleApplication: diff --git a/sdks/retailmedia_2023-07/test/test_gateway_api.py b/sdks/retailmedia_2024-10/test/test_gateway_api.py similarity index 91% rename from sdks/retailmedia_2023-07/test/test_gateway_api.py rename to sdks/retailmedia_2024-10/test/test_gateway_api.py index 2b6926c1..92d521c4 100644 --- a/sdks/retailmedia_2023-07/test/test_gateway_api.py +++ b/sdks/retailmedia_2024-10/test/test_gateway_api.py @@ -1,9 +1,9 @@ import pytest import os -from criteo_api_retailmedia_v2023_07.api.gateway_api import GatewayApi -from criteo_api_retailmedia_v2023_07.api_client_builder import ApiClientBuilder -from criteo_api_retailmedia_v2023_07.rest import ApiException +from criteo_api_retailmedia_v2024_10.api.gateway_api import GatewayApi +from criteo_api_retailmedia_v2024_10.api_client_builder import ApiClientBuilder +from criteo_api_retailmedia_v2024_10.rest import ApiException from example_application_with_client_credentials import ExampleApplication class TestGatewayApi: diff --git a/sdks/retailmedia_2023-07/tox.ini b/sdks/retailmedia_2024-10/tox.ini similarity index 71% rename from sdks/retailmedia_2023-07/tox.ini rename to sdks/retailmedia_2024-10/tox.ini index 398b3f72..fea4d8b1 100644 --- a/sdks/retailmedia_2023-07/tox.ini +++ b/sdks/retailmedia_2024-10/tox.ini @@ -6,4 +6,4 @@ deps=-r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands= - pytest --cov=criteo_api_retailmedia_v2023_07 + pytest --cov=criteo_api_retailmedia_v2024_10 diff --git a/sdks/retailmedia_preview/.openapi-generator/FILES b/sdks/retailmedia_preview/.openapi-generator/FILES index 2602ca8f..a2dad988 100644 --- a/sdks/retailmedia_preview/.openapi-generator/FILES +++ b/sdks/retailmedia_preview/.openapi-generator/FILES @@ -12,6 +12,7 @@ criteo_api_retailmedia_preview/api/balance_api.py criteo_api_retailmedia_preview/api/campaign_api.py criteo_api_retailmedia_preview/api/catalog_api.py criteo_api_retailmedia_preview/api/gateway_api.py +criteo_api_retailmedia_preview/api/on_site_recommendation_api.py criteo_api_retailmedia_preview/api_client.py criteo_api_retailmedia_preview/api_client_builder.py criteo_api_retailmedia_preview/apis/__init__.py @@ -48,12 +49,11 @@ criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py criteo_api_retailmedia_preview/model/balance_response_v2.py criteo_api_retailmedia_preview/model/balance_response_v2_response.py criteo_api_retailmedia_preview/model/batch_accepted_response.py +criteo_api_retailmedia_preview/model/bot_message.py +criteo_api_retailmedia_preview/model/botmessage.py criteo_api_retailmedia_preview/model/brand.py criteo_api_retailmedia_preview/model/brand_preview.py criteo_api_retailmedia_preview/model/brand_preview_list_response.py -criteo_api_retailmedia_preview/model/campaign_budget_overrides.py -criteo_api_retailmedia_preview/model/campaign_daily_budget_override.py -criteo_api_retailmedia_preview/model/campaign_monthly_budget_override.py criteo_api_retailmedia_preview/model/category.py criteo_api_retailmedia_preview/model/category202204.py criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py @@ -70,7 +70,8 @@ criteo_api_retailmedia_preview/model/create_balance_v2_request.py criteo_api_retailmedia_preview/model/creative_v2_list_response.py criteo_api_retailmedia_preview/model/creative_v2_response.py criteo_api_retailmedia_preview/model/custom_attribute.py -criteo_api_retailmedia_preview/model/daily_line_item_budget_override.py +criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_account.py +criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_account.py criteo_api_retailmedia_preview/model/error_code_response.py criteo_api_retailmedia_preview/model/export_report_column.py criteo_api_retailmedia_preview/model/export_report_meta_data.py @@ -94,6 +95,7 @@ criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py criteo_api_retailmedia_preview/model/external_product_button_request.py criteo_api_retailmedia_preview/model/external_product_button_response.py +criteo_api_retailmedia_preview/model/external_retail_media_account.py criteo_api_retailmedia_preview/model/external_retailer.py criteo_api_retailmedia_preview/model/external_template_variable_value.py criteo_api_retailmedia_preview/model/external_text_variable_value.py @@ -102,6 +104,10 @@ criteo_api_retailmedia_preview/model/fail_response.py criteo_api_retailmedia_preview/model/grant_consent_input.py criteo_api_retailmedia_preview/model/grant_consent_model.py criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +criteo_api_retailmedia_preview/model/http_validation_error.py +criteo_api_retailmedia_preview/model/inbot_discussion.py +criteo_api_retailmedia_preview/model/inbot_discussion_body_model.py +criteo_api_retailmedia_preview/model/inbot_discussion_data_instance_model.py criteo_api_retailmedia_preview/model/input_keywords.py criteo_api_retailmedia_preview/model/input_keywords_model.py criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py @@ -126,12 +132,15 @@ criteo_api_retailmedia_preview/model/keywords_model_resource.py criteo_api_retailmedia_preview/model/keywords_model_response.py criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py -criteo_api_retailmedia_preview/model/line_item_budget_overrides.py criteo_api_retailmedia_preview/model/line_item_product_status.py +criteo_api_retailmedia_preview/model/location_inner.py criteo_api_retailmedia_preview/model/loyalty_points.py criteo_api_retailmedia_preview/model/match_type_model.py +criteo_api_retailmedia_preview/model/message.py +criteo_api_retailmedia_preview/model/message_body_model.py +criteo_api_retailmedia_preview/model/message_data_instance_model.py +criteo_api_retailmedia_preview/model/message_error.py criteo_api_retailmedia_preview/model/metadata.py -criteo_api_retailmedia_preview/model/monthly_line_item_budeget_override.py criteo_api_retailmedia_preview/model/negotiation_state_model.py criteo_api_retailmedia_preview/model/nillable_string.py criteo_api_retailmedia_preview/model/page_metadata.py @@ -153,6 +162,7 @@ criteo_api_retailmedia_preview/model/product_button_request.py criteo_api_retailmedia_preview/model/product_importer_error.py criteo_api_retailmedia_preview/model/product_importer_warning.py criteo_api_retailmedia_preview/model/product_metadata.py +criteo_api_retailmedia_preview/model/product_recommendation.py criteo_api_retailmedia_preview/model/product_resource_outcome.py criteo_api_retailmedia_preview/model/product_shipping.py criteo_api_retailmedia_preview/model/product_shipping_dimension.py @@ -173,6 +183,8 @@ criteo_api_retailmedia_preview/model/recommended_keywords_result.py criteo_api_retailmedia_preview/model/report_data_response_resource.py criteo_api_retailmedia_preview/model/report_detail_error.py criteo_api_retailmedia_preview/model/report_detail_errors.py +criteo_api_retailmedia_preview/model/report_detail_warning.py +criteo_api_retailmedia_preview/model/report_detail_warnings.py criteo_api_retailmedia_preview/model/report_ok_response.py criteo_api_retailmedia_preview/model/report_outcome.py criteo_api_retailmedia_preview/model/report_response.py @@ -212,6 +224,14 @@ criteo_api_retailmedia_preview/model/retail_media_contactlist_operation_response criteo_api_retailmedia_preview/model/retail_media_seller.py criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py criteo_api_retailmedia_preview/model/review_state_model.py +criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +criteo_api_retailmedia_preview/model/rm_audience_entity_v1_resource.py +criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +criteo_api_retailmedia_preview/model/rm_audience_search_input_v1.py +criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_create_input_v1.py criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_delete_input_v1.py criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_update_input_v1.py @@ -235,17 +255,7 @@ criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_resource.py criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py criteo_api_retailmedia_preview/model/rm_contact_list_v1.py -criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1.py -criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1_list_response.py -criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1_resource.py -criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2.py -criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_list_response.py -criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_resource.py -criteo_api_retailmedia_preview/model/rm_legacy_audience_user_behavior_details_v2.py -criteo_api_retailmedia_preview/model/rm_legacy_segment_customer_list.py -criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v1.py -criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v2.py -criteo_api_retailmedia_preview/model/rm_user_behavior_v1.py +criteo_api_retailmedia_preview/model/rm_events_v1.py criteo_api_retailmedia_preview/model/rmca_common_problem.py criteo_api_retailmedia_preview/model/seller_catalog_request.py criteo_api_retailmedia_preview/model/seller_identifier.py @@ -283,18 +293,13 @@ criteo_api_retailmedia_preview/model/sync_line_items_report_request.py criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py criteo_api_retailmedia_preview/model/update_balance_model_v2.py criteo_api_retailmedia_preview/model/update_balance_model_v2_request.py +criteo_api_retailmedia_preview/model/validation_error.py criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py -criteo_api_retailmedia_preview/model/value_resource_input_of_campaign_budget_overrides.py -criteo_api_retailmedia_preview/model/value_resource_input_of_line_item_budget_overrides.py criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py -criteo_api_retailmedia_preview/model/value_resource_of_campaign_budget_overrides.py -criteo_api_retailmedia_preview/model/value_resource_of_line_item_budget_overrides.py criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation.py -criteo_api_retailmedia_preview/model/value_resource_outcome_of_campaign_budget_overrides.py -criteo_api_retailmedia_preview/model/value_resource_outcome_of_line_item_budget_overrides.py criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py criteo_api_retailmedia_preview/model_utils.py criteo_api_retailmedia_preview/models/__init__.py @@ -329,13 +334,12 @@ docs/BalanceHistoryChangeDataCaptureV1.md docs/BalanceResponseV2.md docs/BalanceResponseV2Response.md docs/BatchAcceptedResponse.md +docs/BotMessage.md +docs/Botmessage.md docs/Brand.md docs/BrandPreview.md docs/BrandPreviewListResponse.md docs/CampaignApi.md -docs/CampaignBudgetOverrides.md -docs/CampaignDailyBudgetOverride.md -docs/CampaignMonthlyBudgetOverride.md docs/CatalogApi.md docs/Category.md docs/Category202204.md @@ -353,7 +357,8 @@ docs/CreateBalanceV2Request.md docs/CreativeV2ListResponse.md docs/CreativeV2Response.md docs/CustomAttribute.md -docs/DailyLineItemBudgetOverride.md +docs/EntityResourceCollectionOutcomeOfRetailMediaAccount.md +docs/EntityResourceOfRetailMediaAccount.md docs/ErrorCodeResponse.md docs/ExportReportColumn.md docs/ExportReportMetaData.md @@ -377,6 +382,7 @@ docs/ExternalPreferredLineItemUpdateModelV2.md docs/ExternalPreferredLineItemV2.md docs/ExternalProductButtonRequest.md docs/ExternalProductButtonResponse.md +docs/ExternalRetailMediaAccount.md docs/ExternalRetailer.md docs/ExternalTemplateVariableValue.md docs/ExternalTextVariableValue.md @@ -386,6 +392,10 @@ docs/GatewayApi.md docs/GrantConsentInput.md docs/GrantConsentModel.md docs/GrantConsentModelValueResource.md +docs/HttpValidationError.md +docs/InbotDiscussion.md +docs/InbotDiscussionBodyModel.md +docs/InbotDiscussionDataInstanceModel.md docs/InputKeywords.md docs/InputKeywordsModel.md docs/InputResourceOfPreferredLineItemCreateModelV2.md @@ -410,14 +420,18 @@ docs/KeywordsModelResource.md docs/KeywordsModelResponse.md docs/LineItemBidMultipliersV2Request.md docs/LineItemBidMultipliersV2Response.md -docs/LineItemBudgetOverrides.md docs/LineItemProductStatus.md +docs/LocationInner.md docs/LoyaltyPoints.md docs/MatchTypeModel.md +docs/Message.md +docs/MessageBodyModel.md +docs/MessageDataInstanceModel.md +docs/MessageError.md docs/Metadata.md -docs/MonthlyLineItemBudegetOverride.md docs/NegotiationStateModel.md docs/NillableString.md +docs/OnSiteRecommendationApi.md docs/PageMetadata.md docs/PageOfBalanceHistoryChangeDataCaptureV1.md docs/PageOfInsertionOrderHistoryChangeDataCaptureV2.md @@ -437,6 +451,7 @@ docs/ProductButtonRequest.md docs/ProductImporterError.md docs/ProductImporterWarning.md docs/ProductMetadata.md +docs/ProductRecommendation.md docs/ProductResourceOutcome.md docs/ProductShipping.md docs/ProductShippingDimension.md @@ -457,6 +472,8 @@ docs/RecommendedKeywordsResult.md docs/ReportDataResponseResource.md docs/ReportDetailError.md docs/ReportDetailErrors.md +docs/ReportDetailWarning.md +docs/ReportDetailWarnings.md docs/ReportOkResponse.md docs/ReportOutcome.md docs/ReportResponse.md @@ -496,6 +513,14 @@ docs/RetailMediaContactlistOperationResponseAttributesAttributes.md docs/RetailMediaSeller.md docs/RetailMediaSellerAccountCreation.md docs/ReviewStateModel.md +docs/RmAlgebraNodeV1.md +docs/RmAudienceEntityV1.md +docs/RmAudienceEntityV1Resource.md +docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md +docs/RmAudienceSearchEntityV1.md +docs/RmAudienceSearchEntityV1Resource.md +docs/RmAudienceSearchInputV1.md +docs/RmAudienceSearchMetadataV1.md docs/RmAudienceSegmentBulkCreateInputV1.md docs/RmAudienceSegmentBulkDeleteInputV1.md docs/RmAudienceSegmentBulkUpdateInputV1.md @@ -519,17 +544,7 @@ docs/RmContactListStatisticsEntityV1.md docs/RmContactListStatisticsEntityV1Resource.md docs/RmContactListStatisticsEntityV1Response.md docs/RmContactListV1.md -docs/RmLegacyAudienceGetEntityV1.md -docs/RmLegacyAudienceGetEntityV1ListResponse.md -docs/RmLegacyAudienceGetEntityV1Resource.md -docs/RmLegacyAudienceGetEntityV2.md -docs/RmLegacyAudienceGetEntityV2ListResponse.md -docs/RmLegacyAudienceGetEntityV2Resource.md -docs/RmLegacyAudienceUserBehaviorDetailsV2.md -docs/RmLegacySegmentCustomerList.md -docs/RmLegacySegmentUserBehaviorV1.md -docs/RmLegacySegmentUserBehaviorV2.md -docs/RmUserBehaviorV1.md +docs/RmEventsV1.md docs/RmcaCommonProblem.md docs/SellerCatalogRequest.md docs/SellerIdentifier.md @@ -567,18 +582,13 @@ docs/SyncLineItemsReportRequest.md docs/SyncLineItemsReportResource.md docs/UpdateBalanceModelV2.md docs/UpdateBalanceModelV2Request.md +docs/ValidationError.md docs/ValueResourceCollectionInputOfRetailMediaSeller.md docs/ValueResourceCollectionOutcomeOfRetailMediaSeller.md -docs/ValueResourceInputOfCampaignBudgetOverrides.md -docs/ValueResourceInputOfLineItemBudgetOverrides.md docs/ValueResourceInputOfRetailMediaSellerAccountCreation.md -docs/ValueResourceOfCampaignBudgetOverrides.md -docs/ValueResourceOfLineItemBudgetOverrides.md docs/ValueResourceOfRecommendedKeywordsResult.md docs/ValueResourceOfRetailMediaSeller.md docs/ValueResourceOfRetailMediaSellerAccountCreation.md -docs/ValueResourceOutcomeOfCampaignBudgetOverrides.md -docs/ValueResourceOutcomeOfLineItemBudgetOverrides.md docs/ValueResourceOutcomeOfRecommendedKeywordsResult.md git_push.sh requirements.txt diff --git a/sdks/retailmedia_preview/README.md b/sdks/retailmedia_preview/README.md index 7df29e90..c5be4433 100644 --- a/sdks/retailmedia_preview/README.md +++ b/sdks/retailmedia_preview/README.md @@ -4,11 +4,11 @@ API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues. -More information: [https://developers.criteo.com/](https://developers.criteo.com/) +More information on how to use Criteo API and these SDKs can be found at: [https://developers.criteo.com/](https://developers.criteo.com/). This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 0.0.240808 +- Package version: 0.0.241029 ## Requirements @@ -18,9 +18,9 @@ Python 2.7 and 3.5+ ### pip install ```sh -pip install criteo-api-retailmedia-sdk==0.0.240808 +pip install criteo-api-retailmedia-sdk==0.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.241029`) Then import the package: ```python @@ -86,12 +86,11 @@ Class | Method | HTTP request | Description - [BalanceResponseV2](docs/BalanceResponseV2.md) - [BalanceResponseV2Response](docs/BalanceResponseV2Response.md) - [BatchAcceptedResponse](docs/BatchAcceptedResponse.md) + - [BotMessage](docs/BotMessage.md) + - [Botmessage](docs/Botmessage.md) - [Brand](docs/Brand.md) - [BrandPreview](docs/BrandPreview.md) - [BrandPreviewListResponse](docs/BrandPreviewListResponse.md) - - [CampaignBudgetOverrides](docs/CampaignBudgetOverrides.md) - - [CampaignDailyBudgetOverride](docs/CampaignDailyBudgetOverride.md) - - [CampaignMonthlyBudgetOverride](docs/CampaignMonthlyBudgetOverride.md) - [Category](docs/Category.md) - [Category202204](docs/Category202204.md) - [ChangeDatesOfBalanceV2](docs/ChangeDatesOfBalanceV2.md) @@ -108,7 +107,8 @@ Class | Method | HTTP request | Description - [CreativeV2ListResponse](docs/CreativeV2ListResponse.md) - [CreativeV2Response](docs/CreativeV2Response.md) - [CustomAttribute](docs/CustomAttribute.md) - - [DailyLineItemBudgetOverride](docs/DailyLineItemBudgetOverride.md) + - [EntityResourceCollectionOutcomeOfRetailMediaAccount](docs/EntityResourceCollectionOutcomeOfRetailMediaAccount.md) + - [EntityResourceOfRetailMediaAccount](docs/EntityResourceOfRetailMediaAccount.md) - [ErrorCodeResponse](docs/ErrorCodeResponse.md) - [ExportReportColumn](docs/ExportReportColumn.md) - [ExportReportMetaData](docs/ExportReportMetaData.md) @@ -132,6 +132,7 @@ Class | Method | HTTP request | Description - [ExternalPreferredLineItemV2](docs/ExternalPreferredLineItemV2.md) - [ExternalProductButtonRequest](docs/ExternalProductButtonRequest.md) - [ExternalProductButtonResponse](docs/ExternalProductButtonResponse.md) + - [ExternalRetailMediaAccount](docs/ExternalRetailMediaAccount.md) - [ExternalRetailer](docs/ExternalRetailer.md) - [ExternalTemplateVariableValue](docs/ExternalTemplateVariableValue.md) - [ExternalTextVariableValue](docs/ExternalTextVariableValue.md) @@ -140,6 +141,10 @@ Class | Method | HTTP request | Description - [GrantConsentInput](docs/GrantConsentInput.md) - [GrantConsentModel](docs/GrantConsentModel.md) - [GrantConsentModelValueResource](docs/GrantConsentModelValueResource.md) + - [HttpValidationError](docs/HttpValidationError.md) + - [InbotDiscussion](docs/InbotDiscussion.md) + - [InbotDiscussionBodyModel](docs/InbotDiscussionBodyModel.md) + - [InbotDiscussionDataInstanceModel](docs/InbotDiscussionDataInstanceModel.md) - [InputKeywords](docs/InputKeywords.md) - [InputKeywordsModel](docs/InputKeywordsModel.md) - [InputResourceOfPreferredLineItemCreateModelV2](docs/InputResourceOfPreferredLineItemCreateModelV2.md) @@ -164,12 +169,15 @@ Class | Method | HTTP request | Description - [KeywordsModelResponse](docs/KeywordsModelResponse.md) - [LineItemBidMultipliersV2Request](docs/LineItemBidMultipliersV2Request.md) - [LineItemBidMultipliersV2Response](docs/LineItemBidMultipliersV2Response.md) - - [LineItemBudgetOverrides](docs/LineItemBudgetOverrides.md) - [LineItemProductStatus](docs/LineItemProductStatus.md) + - [LocationInner](docs/LocationInner.md) - [LoyaltyPoints](docs/LoyaltyPoints.md) - [MatchTypeModel](docs/MatchTypeModel.md) + - [Message](docs/Message.md) + - [MessageBodyModel](docs/MessageBodyModel.md) + - [MessageDataInstanceModel](docs/MessageDataInstanceModel.md) + - [MessageError](docs/MessageError.md) - [Metadata](docs/Metadata.md) - - [MonthlyLineItemBudegetOverride](docs/MonthlyLineItemBudegetOverride.md) - [NegotiationStateModel](docs/NegotiationStateModel.md) - [NillableString](docs/NillableString.md) - [PageMetadata](docs/PageMetadata.md) @@ -191,6 +199,7 @@ Class | Method | HTTP request | Description - [ProductImporterError](docs/ProductImporterError.md) - [ProductImporterWarning](docs/ProductImporterWarning.md) - [ProductMetadata](docs/ProductMetadata.md) + - [ProductRecommendation](docs/ProductRecommendation.md) - [ProductResourceOutcome](docs/ProductResourceOutcome.md) - [ProductShipping](docs/ProductShipping.md) - [ProductShippingDimension](docs/ProductShippingDimension.md) @@ -211,6 +220,8 @@ Class | Method | HTTP request | Description - [ReportDataResponseResource](docs/ReportDataResponseResource.md) - [ReportDetailError](docs/ReportDetailError.md) - [ReportDetailErrors](docs/ReportDetailErrors.md) + - [ReportDetailWarning](docs/ReportDetailWarning.md) + - [ReportDetailWarnings](docs/ReportDetailWarnings.md) - [ReportOkResponse](docs/ReportOkResponse.md) - [ReportOutcome](docs/ReportOutcome.md) - [ReportResponse](docs/ReportResponse.md) @@ -250,6 +261,14 @@ Class | Method | HTTP request | Description - [RetailMediaSeller](docs/RetailMediaSeller.md) - [RetailMediaSellerAccountCreation](docs/RetailMediaSellerAccountCreation.md) - [ReviewStateModel](docs/ReviewStateModel.md) + - [RmAlgebraNodeV1](docs/RmAlgebraNodeV1.md) + - [RmAudienceEntityV1](docs/RmAudienceEntityV1.md) + - [RmAudienceEntityV1Resource](docs/RmAudienceEntityV1Resource.md) + - [RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse](docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md) + - [RmAudienceSearchEntityV1](docs/RmAudienceSearchEntityV1.md) + - [RmAudienceSearchEntityV1Resource](docs/RmAudienceSearchEntityV1Resource.md) + - [RmAudienceSearchInputV1](docs/RmAudienceSearchInputV1.md) + - [RmAudienceSearchMetadataV1](docs/RmAudienceSearchMetadataV1.md) - [RmAudienceSegmentBulkCreateInputV1](docs/RmAudienceSegmentBulkCreateInputV1.md) - [RmAudienceSegmentBulkDeleteInputV1](docs/RmAudienceSegmentBulkDeleteInputV1.md) - [RmAudienceSegmentBulkUpdateInputV1](docs/RmAudienceSegmentBulkUpdateInputV1.md) @@ -273,17 +292,7 @@ Class | Method | HTTP request | Description - [RmContactListStatisticsEntityV1Resource](docs/RmContactListStatisticsEntityV1Resource.md) - [RmContactListStatisticsEntityV1Response](docs/RmContactListStatisticsEntityV1Response.md) - [RmContactListV1](docs/RmContactListV1.md) - - [RmLegacyAudienceGetEntityV1](docs/RmLegacyAudienceGetEntityV1.md) - - [RmLegacyAudienceGetEntityV1ListResponse](docs/RmLegacyAudienceGetEntityV1ListResponse.md) - - [RmLegacyAudienceGetEntityV1Resource](docs/RmLegacyAudienceGetEntityV1Resource.md) - - [RmLegacyAudienceGetEntityV2](docs/RmLegacyAudienceGetEntityV2.md) - - [RmLegacyAudienceGetEntityV2ListResponse](docs/RmLegacyAudienceGetEntityV2ListResponse.md) - - [RmLegacyAudienceGetEntityV2Resource](docs/RmLegacyAudienceGetEntityV2Resource.md) - - [RmLegacyAudienceUserBehaviorDetailsV2](docs/RmLegacyAudienceUserBehaviorDetailsV2.md) - - [RmLegacySegmentCustomerList](docs/RmLegacySegmentCustomerList.md) - - [RmLegacySegmentUserBehaviorV1](docs/RmLegacySegmentUserBehaviorV1.md) - - [RmLegacySegmentUserBehaviorV2](docs/RmLegacySegmentUserBehaviorV2.md) - - [RmUserBehaviorV1](docs/RmUserBehaviorV1.md) + - [RmEventsV1](docs/RmEventsV1.md) - [RmcaCommonProblem](docs/RmcaCommonProblem.md) - [SellerCatalogRequest](docs/SellerCatalogRequest.md) - [SellerIdentifier](docs/SellerIdentifier.md) @@ -321,18 +330,13 @@ Class | Method | HTTP request | Description - [SyncLineItemsReportResource](docs/SyncLineItemsReportResource.md) - [UpdateBalanceModelV2](docs/UpdateBalanceModelV2.md) - [UpdateBalanceModelV2Request](docs/UpdateBalanceModelV2Request.md) + - [ValidationError](docs/ValidationError.md) - [ValueResourceCollectionInputOfRetailMediaSeller](docs/ValueResourceCollectionInputOfRetailMediaSeller.md) - [ValueResourceCollectionOutcomeOfRetailMediaSeller](docs/ValueResourceCollectionOutcomeOfRetailMediaSeller.md) - - [ValueResourceInputOfCampaignBudgetOverrides](docs/ValueResourceInputOfCampaignBudgetOverrides.md) - - [ValueResourceInputOfLineItemBudgetOverrides](docs/ValueResourceInputOfLineItemBudgetOverrides.md) - [ValueResourceInputOfRetailMediaSellerAccountCreation](docs/ValueResourceInputOfRetailMediaSellerAccountCreation.md) - - [ValueResourceOfCampaignBudgetOverrides](docs/ValueResourceOfCampaignBudgetOverrides.md) - - [ValueResourceOfLineItemBudgetOverrides](docs/ValueResourceOfLineItemBudgetOverrides.md) - [ValueResourceOfRecommendedKeywordsResult](docs/ValueResourceOfRecommendedKeywordsResult.md) - [ValueResourceOfRetailMediaSeller](docs/ValueResourceOfRetailMediaSeller.md) - [ValueResourceOfRetailMediaSellerAccountCreation](docs/ValueResourceOfRetailMediaSellerAccountCreation.md) - - [ValueResourceOutcomeOfCampaignBudgetOverrides](docs/ValueResourceOutcomeOfCampaignBudgetOverrides.md) - - [ValueResourceOutcomeOfLineItemBudgetOverrides](docs/ValueResourceOutcomeOfLineItemBudgetOverrides.md) - [ValueResourceOutcomeOfRecommendedKeywordsResult](docs/ValueResourceOutcomeOfRecommendedKeywordsResult.md) diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/__init__.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/__init__.py index bbdbcf8a..8551d606 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/__init__.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/__init__.py @@ -8,7 +8,7 @@ """ -__version__ = "0.0.240808" +__version__ = "0.0.241029" # import ApiClient from criteo_api_retailmedia_preview.api_client import ApiClient diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/accounts_api.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/accounts_api.py index b6aad7e2..f0273797 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/accounts_api.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/accounts_api.py @@ -21,6 +21,7 @@ none_type, validate_and_convert_types ) +from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_account import EntityResourceCollectionOutcomeOfRetailMediaAccount from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput from criteo_api_retailmedia_preview.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount from criteo_api_retailmedia_preview.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount @@ -101,6 +102,68 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint = _Endpoint( + settings={ + 'response_type': (EntityResourceCollectionOutcomeOfRetailMediaAccount,), + 'auth': [ + 'oauth', + 'oauth' + ], + 'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/private-market-child-accounts', + 'operation_id': 'get_api_external_v1_account_private_market_child_accounts_by_account_id', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'account_id', + 'offset', + 'limit', + ], + 'required': [ + 'account_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'account_id': + (str,), + 'offset': + (int,), + 'limit': + (int,), + }, + 'attribute_map': { + 'account_id': 'accountId', + 'offset': 'offset', + 'limit': 'limit', + }, + 'location_map': { + 'account_id': 'path', + 'offset': 'query', + 'limit': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.get_api_v1_external_accounts_endpoint = _Endpoint( settings={ 'response_type': (JsonApiPageResponseOfAccount,), @@ -369,6 +432,91 @@ def create_private_market_demand_seller_account( account_id return self.create_private_market_demand_seller_account_endpoint.call_with_http_info(**kwargs) + def get_api_external_v1_account_private_market_child_accounts_by_account_id( + self, + account_id, + **kwargs + ): + """get_api_external_v1_account_private_market_child_accounts_by_account_id # noqa: E501 + + Gets page of private market child accounts that are associated with the given account # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_api_external_v1_account_private_market_child_accounts_by_account_id(account_id, async_req=True) + >>> result = thread.get() + + Args: + account_id (str): Account Id + + Keyword Args: + offset (int): The (zero-based) offset into the collection of accounts. The default is 0.. [optional] if omitted the server will use the default value of 0 + limit (int): The number of accounts to be returned. The default is 25.. [optional] if omitted the server will use the default value of 25 + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + EntityResourceCollectionOutcomeOfRetailMediaAccount + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['account_id'] = \ + account_id + return self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint.call_with_http_info(**kwargs) + def get_api_v1_external_accounts( self, **kwargs diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/analytics_api.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/analytics_api.py index 6531608b..3c261123 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/analytics_api.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/analytics_api.py @@ -507,7 +507,7 @@ def generate_async_accounts_report( ): """generate_async_accounts_report # noqa: E501 - Returns an asynchronous Accounts Report # noqa: E501 + Returns an asynchronous Accounts Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -590,7 +590,7 @@ def generate_async_campaigns_report( ): """generate_async_campaigns_report # noqa: E501 - Return an asynchronous Campaigns Report # noqa: E501 + Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -673,7 +673,7 @@ def generate_async_line_items_report( ): """generate_async_line_items_report # noqa: E501 - Returns an asynchronous Line Items Report # noqa: E501 + Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/audience_api.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/audience_api.py index 508466e0..e3645c91 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/audience_api.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/audience_api.py @@ -24,6 +24,8 @@ from criteo_api_retailmedia_preview.model.error_code_response import ErrorCodeResponse from criteo_api_retailmedia_preview.model.retail_media_contactlist_amendment_request import RetailMediaContactlistAmendmentRequest from criteo_api_retailmedia_preview.model.retail_media_contactlist_operation import RetailMediaContactlistOperation +from criteo_api_retailmedia_preview.model.rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response import RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse +from criteo_api_retailmedia_preview.model.rm_audience_search_input_v1 import RmAudienceSearchInputV1 from criteo_api_retailmedia_preview.model.rm_audience_segment_bulk_create_input_v1 import RmAudienceSegmentBulkCreateInputV1 from criteo_api_retailmedia_preview.model.rm_audience_segment_bulk_delete_input_v1 import RmAudienceSegmentBulkDeleteInputV1 from criteo_api_retailmedia_preview.model.rm_audience_segment_bulk_update_input_v1 import RmAudienceSegmentBulkUpdateInputV1 @@ -32,8 +34,6 @@ from criteo_api_retailmedia_preview.model.rm_audience_segment_id_entity_v1_list_response import RmAudienceSegmentIdEntityV1ListResponse from criteo_api_retailmedia_preview.model.rm_audience_segment_search_input_v1 import RmAudienceSegmentSearchInputV1 from criteo_api_retailmedia_preview.model.rm_contact_list_statistics_entity_v1_response import RmContactListStatisticsEntityV1Response -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v1_list_response import RmLegacyAudienceGetEntityV1ListResponse -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v2_list_response import RmLegacyAudienceGetEntityV2ListResponse class AudienceApi(object): @@ -47,7 +47,7 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.bulk_create_v1_endpoint = _Endpoint( + self.bulk_create_audience_segments_endpoint = _Endpoint( settings={ 'response_type': (RmAudienceSegmentEntityV1ListResponse,), 'auth': [ @@ -55,7 +55,7 @@ def __init__(self, api_client=None): 'oauth' ], 'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/create', - 'operation_id': 'bulk_create_v1', + 'operation_id': 'bulk_create_audience_segments', 'http_method': 'POST', 'servers': None, }, @@ -111,7 +111,7 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.bulk_delete_v1_endpoint = _Endpoint( + self.bulk_delete_audience_segments_endpoint = _Endpoint( settings={ 'response_type': (RmAudienceSegmentIdEntityV1ListResponse,), 'auth': [ @@ -119,7 +119,7 @@ def __init__(self, api_client=None): 'oauth' ], 'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/delete', - 'operation_id': 'bulk_delete_v1', + 'operation_id': 'bulk_delete_audience_segments', 'http_method': 'POST', 'servers': None, }, @@ -175,7 +175,7 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.bulk_update_v1_endpoint = _Endpoint( + self.bulk_update_audience_segments_endpoint = _Endpoint( settings={ 'response_type': (RmAudienceSegmentEntityV1ListResponse,), 'auth': [ @@ -183,7 +183,7 @@ def __init__(self, api_client=None): 'oauth' ], 'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments', - 'operation_id': 'bulk_update_v1', + 'operation_id': 'bulk_update_audience_segments', 'http_method': 'PATCH', 'servers': None, }, @@ -291,7 +291,7 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_contact_list_statistics_v1_endpoint = _Endpoint( + self.get_audience_segment_contact_list_statistics_endpoint = _Endpoint( settings={ 'response_type': (RmContactListStatisticsEntityV1Response,), 'auth': [ @@ -299,7 +299,7 @@ def __init__(self, api_client=None): 'oauth' ], 'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/{audience-segment-id}/contact-list', - 'operation_id': 'get_contact_list_statistics_v1', + 'operation_id': 'get_audience_segment_contact_list_statistics', 'http_method': 'GET', 'servers': None, }, @@ -351,64 +351,69 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.legacy_get_audience_v1_endpoint = _Endpoint( + self.search_audience_segments_endpoint = _Endpoint( settings={ - 'response_type': (RmLegacyAudienceGetEntityV1ListResponse,), + 'response_type': (RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/preview/retail-media/accounts/{accountId}/audiences', - 'operation_id': 'legacy_get_audience_v1', - 'http_method': 'GET', + 'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/search', + 'operation_id': 'search_audience_segments', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'account_id', - 'limit_to_id', - 'page_size', - 'page_index', + 'rm_audience_segment_search_input_v1', + 'limit', + 'offset', ], 'required': [ 'account_id', + 'rm_audience_segment_search_input_v1', ], 'nullable': [ ], 'enum': [ ], 'validation': [ + 'limit', ] }, root_map={ 'validations': { + ('limit',): { + + 'inclusive_maximum': 100, + 'inclusive_minimum': 0, + }, }, 'allowed_values': { }, 'openapi_types': { 'account_id': + (str,), + 'rm_audience_segment_search_input_v1': + (RmAudienceSegmentSearchInputV1,), + 'limit': (int,), - 'limit_to_id': - ([int],), - 'page_size': - (int,), - 'page_index': + 'offset': (int,), }, 'attribute_map': { - 'account_id': 'accountId', - 'limit_to_id': 'limitToId', - 'page_size': 'pageSize', - 'page_index': 'pageIndex', + 'account_id': 'account-id', + 'limit': 'limit', + 'offset': 'offset', }, 'location_map': { 'account_id': 'path', - 'limit_to_id': 'query', - 'page_size': 'query', - 'page_index': 'query', + 'rm_audience_segment_search_input_v1': 'body', + 'limit': 'query', + 'offset': 'query', }, 'collection_format_map': { - 'limit_to_id': 'multi', } }, headers_map={ @@ -417,102 +422,37 @@ def __init__(self, api_client=None): 'application/json', 'text/json' ], - 'content_type': [], - }, - api_client=api_client - ) - self.legacy_get_audience_v2_endpoint = _Endpoint( - settings={ - 'response_type': (RmLegacyAudienceGetEntityV2ListResponse,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/preview/retail-media/v2/accounts/{accountId}/audiences', - 'operation_id': 'legacy_get_audience_v2', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'account_id', - 'limit_to_id', - 'page_size', - 'page_index', - ], - 'required': [ - 'account_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'account_id': - (int,), - 'limit_to_id': - ([int],), - 'page_size': - (int,), - 'page_index': - (int,), - }, - 'attribute_map': { - 'account_id': 'accountId', - 'limit_to_id': 'limitToId', - 'page_size': 'pageSize', - 'page_index': 'pageIndex', - }, - 'location_map': { - 'account_id': 'path', - 'limit_to_id': 'query', - 'page_size': 'query', - 'page_index': 'query', - }, - 'collection_format_map': { - 'limit_to_id': 'multi', - } - }, - headers_map={ - 'accept': [ - 'text/plain', + 'content_type': [ + 'application/json-patch+json', 'application/json', - 'text/json' - ], - 'content_type': [], + 'text/json', + 'application/*+json' + ] }, api_client=api_client ) - self.search_v1_endpoint = _Endpoint( + self.search_audiences_endpoint = _Endpoint( settings={ - 'response_type': (RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse,), + 'response_type': (RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/search', - 'operation_id': 'search_v1', + 'endpoint_path': '/preview/retail-media/accounts/{account-id}/audiences/search', + 'operation_id': 'search_audiences', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'account_id', - 'rm_audience_segment_search_input_v1', + 'rm_audience_search_input_v1', 'limit', 'offset', ], 'required': [ 'account_id', - 'rm_audience_segment_search_input_v1', + 'rm_audience_search_input_v1', ], 'nullable': [ ], @@ -535,8 +475,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'account_id': (str,), - 'rm_audience_segment_search_input_v1': - (RmAudienceSegmentSearchInputV1,), + 'rm_audience_search_input_v1': + (RmAudienceSearchInputV1,), 'limit': (int,), 'offset': @@ -549,7 +489,7 @@ def __init__(self, api_client=None): }, 'location_map': { 'account_id': 'path', - 'rm_audience_segment_search_input_v1': 'body', + 'rm_audience_search_input_v1': 'body', 'limit': 'query', 'offset': 'query', }, @@ -631,19 +571,19 @@ def __init__(self, api_client=None): api_client=api_client ) - def bulk_create_v1( + def bulk_create_audience_segments( self, account_id, rm_audience_segment_bulk_create_input_v1, **kwargs ): - """bulk_create_v1 # noqa: E501 + """bulk_create_audience_segments # noqa: E501 Creates all segments with a valid configuration, and returns the full segments. For those that cannot be created, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_create_v1(account_id, rm_audience_segment_bulk_create_input_v1, async_req=True) + >>> thread = api.bulk_create_audience_segments(account_id, rm_audience_segment_bulk_create_input_v1, async_req=True) >>> result = thread.get() Args: @@ -716,21 +656,21 @@ def bulk_create_v1( account_id kwargs['rm_audience_segment_bulk_create_input_v1'] = \ rm_audience_segment_bulk_create_input_v1 - return self.bulk_create_v1_endpoint.call_with_http_info(**kwargs) + return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_delete_v1( + def bulk_delete_audience_segments( self, account_id, rm_audience_segment_bulk_delete_input_v1, **kwargs ): - """bulk_delete_v1 # noqa: E501 + """bulk_delete_audience_segments # noqa: E501 Delete the segments associated to the given audience IDs. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_delete_v1(account_id, rm_audience_segment_bulk_delete_input_v1, async_req=True) + >>> thread = api.bulk_delete_audience_segments(account_id, rm_audience_segment_bulk_delete_input_v1, async_req=True) >>> result = thread.get() Args: @@ -803,21 +743,21 @@ def bulk_delete_v1( account_id kwargs['rm_audience_segment_bulk_delete_input_v1'] = \ rm_audience_segment_bulk_delete_input_v1 - return self.bulk_delete_v1_endpoint.call_with_http_info(**kwargs) + return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs) - def bulk_update_v1( + def bulk_update_audience_segments( self, account_id, rm_audience_segment_bulk_update_input_v1, **kwargs ): - """bulk_update_v1 # noqa: E501 + """bulk_update_audience_segments # noqa: E501 Updates the properties of all segments with a valid configuration, and returns the full segments. For those that cannot be updated, one or multiple errors are returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bulk_update_v1(account_id, rm_audience_segment_bulk_update_input_v1, async_req=True) + >>> thread = api.bulk_update_audience_segments(account_id, rm_audience_segment_bulk_update_input_v1, async_req=True) >>> result = thread.get() Args: @@ -890,7 +830,7 @@ def bulk_update_v1( account_id kwargs['rm_audience_segment_bulk_update_input_v1'] = \ rm_audience_segment_bulk_update_input_v1 - return self.bulk_update_v1_endpoint.call_with_http_info(**kwargs) + return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs) def delete_contact_list_identifiers( self, @@ -975,19 +915,19 @@ def delete_contact_list_identifiers( audience_segment_id return self.delete_contact_list_identifiers_endpoint.call_with_http_info(**kwargs) - def get_contact_list_statistics_v1( + def get_audience_segment_contact_list_statistics( self, account_id, audience_segment_id, **kwargs ): - """get_contact_list_statistics_v1 # noqa: E501 + """get_audience_segment_contact_list_statistics # noqa: E501 Returns the statistics of a contact list segment. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_contact_list_statistics_v1(account_id, audience_segment_id, async_req=True) + >>> thread = api.get_audience_segment_contact_list_statistics(account_id, audience_segment_id, async_req=True) >>> result = thread.get() Args: @@ -1060,115 +1000,30 @@ def get_contact_list_statistics_v1( account_id kwargs['audience_segment_id'] = \ audience_segment_id - return self.get_contact_list_statistics_v1_endpoint.call_with_http_info(**kwargs) - - def legacy_get_audience_v1( - self, - account_id, - **kwargs - ): - """legacy_get_audience_v1 # noqa: E501 - - Get a page of Audiences. (deprecated Public API) # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.legacy_get_audience_v1(account_id, async_req=True) - >>> result = thread.get() - - Args: - account_id (int): ID of the account to which this audience belongs. - - Keyword Args: - limit_to_id ([int]): Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2. [optional] - page_size (int): Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page.. [optional] - page_index (int): Returns the specified page of results given a pageSize; pages are 0-indexed.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - RmLegacyAudienceGetEntityV1ListResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['account_id'] = \ - account_id - return self.legacy_get_audience_v1_endpoint.call_with_http_info(**kwargs) + return self.get_audience_segment_contact_list_statistics_endpoint.call_with_http_info(**kwargs) - def legacy_get_audience_v2( + def search_audience_segments( self, account_id, + rm_audience_segment_search_input_v1, **kwargs ): - """legacy_get_audience_v2 # noqa: E501 + """search_audience_segments # noqa: E501 - Get a page of Audiences. (deprecated Public API) # noqa: E501 + Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.legacy_get_audience_v2(account_id, async_req=True) + >>> thread = api.search_audience_segments(account_id, rm_audience_segment_search_input_v1, async_req=True) >>> result = thread.get() Args: - account_id (int): ID of the account to which this audience belongs. + account_id (str): Account Id + rm_audience_segment_search_input_v1 (RmAudienceSegmentSearchInputV1): Segment search filters. Keyword Args: - limit_to_id ([int]): Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2. [optional] - page_size (int): Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page.. [optional] - page_index (int): Returns the specified page of results given a pageSize; pages are 0-indexed.. [optional] + limit (int): The number of elements to be returned. The default is 50 and the maximum is 100.. [optional] if omitted the server will use the default value of 50 + offset (int): The (zero-based) offset into the collection. The default is 0.. [optional] if omitted the server will use the default value of 0 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -1201,7 +1056,7 @@ def legacy_get_audience_v2( async_req (bool): execute request asynchronously Returns: - RmLegacyAudienceGetEntityV2ListResponse + RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1232,26 +1087,28 @@ def legacy_get_audience_v2( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['account_id'] = \ account_id - return self.legacy_get_audience_v2_endpoint.call_with_http_info(**kwargs) + kwargs['rm_audience_segment_search_input_v1'] = \ + rm_audience_segment_search_input_v1 + return self.search_audience_segments_endpoint.call_with_http_info(**kwargs) - def search_v1( + def search_audiences( self, account_id, - rm_audience_segment_search_input_v1, + rm_audience_search_input_v1, **kwargs ): - """search_v1 # noqa: E501 + """search_audiences # noqa: E501 - Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. # noqa: E501 + Returns a list of audiences that match the provided filters. If present, the filters are AND'ed together when applied. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_v1(account_id, rm_audience_segment_search_input_v1, async_req=True) + >>> thread = api.search_audiences(account_id, rm_audience_search_input_v1, async_req=True) >>> result = thread.get() Args: account_id (str): Account Id - rm_audience_segment_search_input_v1 (RmAudienceSegmentSearchInputV1): Segment search filters. + rm_audience_search_input_v1 (RmAudienceSearchInputV1): Audience search filters. Keyword Args: limit (int): The number of elements to be returned. The default is 50 and the maximum is 100.. [optional] if omitted the server will use the default value of 50 @@ -1288,7 +1145,7 @@ def search_v1( async_req (bool): execute request asynchronously Returns: - RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse + RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse If the method is called asynchronously, returns the request thread. """ @@ -1319,9 +1176,9 @@ def search_v1( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['account_id'] = \ account_id - kwargs['rm_audience_segment_search_input_v1'] = \ - rm_audience_segment_search_input_v1 - return self.search_v1_endpoint.call_with_http_info(**kwargs) + kwargs['rm_audience_search_input_v1'] = \ + rm_audience_search_input_v1 + return self.search_audiences_endpoint.call_with_http_info(**kwargs) def update_contact_list_identifiers( self, diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/campaign_api.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/campaign_api.py index 8322175f..af365e8e 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/campaign_api.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/campaign_api.py @@ -60,10 +60,6 @@ from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse -from criteo_api_retailmedia_preview.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides -from criteo_api_retailmedia_preview.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides -from criteo_api_retailmedia_preview.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides -from criteo_api_retailmedia_preview.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides from criteo_api_retailmedia_preview.model.value_resource_outcome_of_recommended_keywords_result import ValueResourceOutcomeOfRecommendedKeywordsResult @@ -1207,58 +1203,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_campaign_budget_overrides_endpoint = _Endpoint( - settings={ - 'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/preview/retail-media/campaigns/{campaignId}/campaign-budget-overrides', - 'operation_id': 'get_campaign_budget_overrides', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'campaign_id', - ], - 'required': [ - 'campaign_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'campaign_id': - (int,), - }, - 'attribute_map': { - 'campaign_id': 'campaignId', - }, - 'location_map': { - 'campaign_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) self.get_insertion_order_history_change_data_capture_v2_endpoint = _Endpoint( settings={ 'response_type': (PageOfInsertionOrderHistoryChangeDataCaptureV2,), @@ -1338,58 +1282,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_line_item_budget_overrides_endpoint = _Endpoint( - settings={ - 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides', - 'operation_id': 'get_line_item_budget_overrides', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'line_item_id', - ], - 'required': [ - 'line_item_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'line_item_id': - (str,), - }, - 'attribute_map': { - 'line_item_id': 'lineItemId', - }, - 'location_map': { - 'line_item_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) self.get_recommended_keywords_endpoint = _Endpoint( settings={ 'response_type': (ValueResourceOutcomeOfRecommendedKeywordsResult,), @@ -2625,128 +2517,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_campaign_budget_overrides_endpoint = _Endpoint( - settings={ - 'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/preview/retail-media/campaigns/{campaignId}/campaign-budget-overrides', - 'operation_id': 'update_campaign_budget_overrides', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'campaign_id', - 'value_resource_input_of_campaign_budget_overrides', - ], - 'required': [ - 'campaign_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'campaign_id': - (int,), - 'value_resource_input_of_campaign_budget_overrides': - (ValueResourceInputOfCampaignBudgetOverrides,), - }, - 'attribute_map': { - 'campaign_id': 'campaignId', - }, - 'location_map': { - 'campaign_id': 'path', - 'value_resource_input_of_campaign_budget_overrides': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' - ] - }, - api_client=api_client - ) - self.update_line_item_budget_overrides_endpoint = _Endpoint( - settings={ - 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,), - 'auth': [ - 'oauth', - 'oauth' - ], - 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides', - 'operation_id': 'update_line_item_budget_overrides', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'line_item_id', - 'value_resource_input_of_line_item_budget_overrides', - ], - 'required': [ - 'line_item_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'line_item_id': - (str,), - 'value_resource_input_of_line_item_budget_overrides': - (ValueResourceInputOfLineItemBudgetOverrides,), - }, - 'attribute_map': { - 'line_item_id': 'lineItemId', - }, - 'location_map': { - 'line_item_id': 'path', - 'value_resource_input_of_line_item_budget_overrides': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' - ] - }, - api_client=api_client - ) def add_remove_keywords( self, @@ -4359,89 +4129,6 @@ def get_api_v2_external_preferred_line_item_by_line_item_id( line_item_id return self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs) - def get_campaign_budget_overrides( - self, - campaign_id, - **kwargs - ): - """get_campaign_budget_overrides # noqa: E501 - - Get current campaign budget overrides by given external campaign id. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_campaign_budget_overrides(campaign_id, async_req=True) - >>> result = thread.get() - - Args: - campaign_id (int): External campaign id. - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ValueResourceOutcomeOfCampaignBudgetOverrides - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['campaign_id'] = \ - campaign_id - return self.get_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs) - def get_insertion_order_history_change_data_capture_v2( self, insertion_order_id, @@ -4528,89 +4215,6 @@ def get_insertion_order_history_change_data_capture_v2( insertion_order_id return self.get_insertion_order_history_change_data_capture_v2_endpoint.call_with_http_info(**kwargs) - def get_line_item_budget_overrides( - self, - line_item_id, - **kwargs - ): - """get_line_item_budget_overrides # noqa: E501 - - Gets a collection of monthly and daily budget overrides for the provided line item. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_line_item_budget_overrides(line_item_id, async_req=True) - >>> result = thread.get() - - Args: - line_item_id (str): The line item id to get budget overrides for. - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ValueResourceOutcomeOfLineItemBudgetOverrides - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.get_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs) - def get_recommended_keywords( self, external_line_item_id, @@ -6228,171 +5832,3 @@ def unpause_promoted_products( line_item_id return self.unpause_promoted_products_endpoint.call_with_http_info(**kwargs) - def update_campaign_budget_overrides( - self, - campaign_id, - **kwargs - ): - """update_campaign_budget_overrides # noqa: E501 - - Update campaign budget overrides by given external campaign id and new campaign budget overrides settings. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_campaign_budget_overrides(campaign_id, async_req=True) - >>> result = thread.get() - - Args: - campaign_id (int): External campaign id. - - Keyword Args: - value_resource_input_of_campaign_budget_overrides (ValueResourceInputOfCampaignBudgetOverrides): New campaign budget overrides settings value resource input.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ValueResourceOutcomeOfCampaignBudgetOverrides - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['campaign_id'] = \ - campaign_id - return self.update_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs) - - def update_line_item_budget_overrides( - self, - line_item_id, - **kwargs - ): - """update_line_item_budget_overrides # noqa: E501 - - Update line item budget overrides by given external line item id and new line item budget overrides settings. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_line_item_budget_overrides(line_item_id, async_req=True) - >>> result = thread.get() - - Args: - line_item_id (str): Line item external id. - - Keyword Args: - value_resource_input_of_line_item_budget_overrides (ValueResourceInputOfLineItemBudgetOverrides): New line item budget overrides settings value resource input.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ValueResourceOutcomeOfLineItemBudgetOverrides - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['line_item_id'] = \ - line_item_id - return self.update_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs) - diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/accounts_api.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/on_site_recommendation_api.py similarity index 67% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/accounts_api.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/on_site_recommendation_api.py index b399d75f..eb850446 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/api/accounts_api.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api/on_site_recommendation_api.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: Preview Generated by: https://openapi-generator.tech """ @@ -11,8 +11,8 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.api_client import ApiClient, Endpoint as _Endpoint -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_preview.api_client import ApiClient, Endpoint as _Endpoint +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, @@ -21,10 +21,12 @@ none_type, validate_and_convert_types ) -from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount +from criteo_api_retailmedia_preview.model.http_validation_error import HttpValidationError +from criteo_api_retailmedia_preview.model.inbot_discussion_body_model import InbotDiscussionBodyModel +from criteo_api_retailmedia_preview.model.message_body_model import MessageBodyModel -class AccountsApi(object): +class OnSiteRecommendationApi(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -35,25 +37,27 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.get_api_v1_external_accounts_endpoint = _Endpoint( + self.chatbot_product_recommendations_endpoint = _Endpoint( settings={ - 'response_type': (JsonApiPageResponseOfAccount,), + 'response_type': (MessageBodyModel,), 'auth': [ 'oauth', 'oauth' ], - 'endpoint_path': '/2023-07/retail-media/accounts', - 'operation_id': 'get_api_v1_external_accounts', - 'http_method': 'GET', + 'endpoint_path': '/preview/retail-media/chatbot-catalogs/{catalogid}/product-recommendations', + 'operation_id': 'chatbot_product_recommendations', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'limit_to_id', - 'page_index', - 'page_size', + 'catalogid', + 'inbot_discussion_body_model', + ], + 'required': [ + 'catalogid', + 'inbot_discussion_body_model', ], - 'required': [], 'nullable': [ ], 'enum': [ @@ -67,56 +71,52 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'limit_to_id': - ([str],), - 'page_index': - (int,), - 'page_size': + 'catalogid': (int,), + 'inbot_discussion_body_model': + (InbotDiscussionBodyModel,), }, 'attribute_map': { - 'limit_to_id': 'limitToId', - 'page_index': 'pageIndex', - 'page_size': 'pageSize', + 'catalogid': 'catalogid', }, 'location_map': { - 'limit_to_id': 'query', - 'page_index': 'query', - 'page_size': 'query', + 'catalogid': 'path', + 'inbot_discussion_body_model': 'body', }, 'collection_format_map': { - 'limit_to_id': 'multi', } }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], - 'content_type': [], + 'content_type': [ + 'application/json' + ] }, api_client=api_client ) - def get_api_v1_external_accounts( + def chatbot_product_recommendations( self, + catalogid, + inbot_discussion_body_model, **kwargs ): - """get_api_v1_external_accounts # noqa: E501 + """chatbot_product_recommendations # noqa: E501 - Gets page of account objects that the current user can access # noqa: E501 + Ask a chatbot for a product recommendation # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_v1_external_accounts(async_req=True) + >>> thread = api.chatbot_product_recommendations(catalogid, inbot_discussion_body_model, async_req=True) >>> result = thread.get() + Args: + catalogid (int): the identifier of the catalog to query + inbot_discussion_body_model (InbotDiscussionBodyModel): Keyword Args: - limit_to_id ([str]): The ids that you would like to limit your result set to. [optional] - page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0 - page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -149,7 +149,7 @@ def get_api_v1_external_accounts( async_req (bool): execute request asynchronously Returns: - JsonApiPageResponseOfAccount + MessageBodyModel If the method is called asynchronously, returns the request thread. """ @@ -178,5 +178,9 @@ def get_api_v1_external_accounts( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs) + kwargs['catalogid'] = \ + catalogid + kwargs['inbot_discussion_body_model'] = \ + inbot_discussion_body_model + return self.chatbot_product_recommendations_endpoint.call_with_http_info(**kwargs) diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api_client.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api_client.py index a6672268..582ed63e 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api_client.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.0.240808/python' + self.user_agent = 'OpenAPI-Generator/0.0.241029/python' def __enter__(self): return self diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/apis/__init__.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/apis/__init__.py index d6ab24be..51a764b2 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/apis/__init__.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/apis/__init__.py @@ -21,3 +21,4 @@ from criteo_api_retailmedia_preview.api.campaign_api import CampaignApi from criteo_api_retailmedia_preview.api.catalog_api import CatalogApi from criteo_api_retailmedia_preview.api.gateway_api import GatewayApi +from criteo_api_retailmedia_preview.api.on_site_recommendation_api import OnSiteRecommendationApi diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/configuration.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/configuration.py index 6d950087..f1717c1f 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/configuration.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/configuration.py @@ -395,7 +395,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: Preview\n"\ - "SDK Package Version: 0.0.240808".\ + "SDK Package Version: 0.0.241029".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/bot_message.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/bot_message.py new file mode 100644 index 00000000..ccd5c36e --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/bot_message.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_preview.model.product_recommendation import ProductRecommendation + globals()['ProductRecommendation'] = ProductRecommendation + + +class BotMessage(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'opening': (str, none_type,), # noqa: E501 + 'product_recos': ([ProductRecommendation], none_type,), # noqa: E501 + 'closing': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'opening': 'opening', # noqa: E501 + 'product_recos': 'productRecos', # noqa: E501 + 'closing': 'closing', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """BotMessage - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + opening (str, none_type): opening comment from the bot, introducing the list of recommended products if relevant.. [optional] # noqa: E501 + product_recos ([ProductRecommendation], none_type): list of recommended products. [optional] # noqa: E501 + closing (str, none_type): closing remark from the bot. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """BotMessage - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + opening (str, none_type): opening comment from the bot, introducing the list of recommended products if relevant.. [optional] # noqa: E501 + product_recos ([ProductRecommendation], none_type): list of recommended products. [optional] # noqa: E501 + closing (str, none_type): closing remark from the bot. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/botmessage.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/botmessage.py new file mode 100644 index 00000000..a47e2fd7 --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/botmessage.py @@ -0,0 +1,329 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_preview.model.bot_message import BotMessage + from criteo_api_retailmedia_preview.model.product_recommendation import ProductRecommendation + globals()['BotMessage'] = BotMessage + globals()['ProductRecommendation'] = ProductRecommendation + + +class Botmessage(ModelComposed): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = True + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'opening': (str, none_type,), # noqa: E501 + 'product_recos': ([ProductRecommendation], none_type,), # noqa: E501 + 'closing': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'opening': 'opening', # noqa: E501 + 'product_recos': 'productRecos', # noqa: E501 + 'closing': 'closing', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """Botmessage - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + opening (str, none_type): opening comment from the bot, introducing the list of recommended products if relevant.. [optional] # noqa: E501 + product_recos ([ProductRecommendation], none_type): list of recommended products. [optional] # noqa: E501 + closing (str, none_type): closing remark from the bot. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """Botmessage - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + opening (str, none_type): opening comment from the bot, introducing the list of recommended products if relevant.. [optional] # noqa: E501 + product_recos ([ProductRecommendation], none_type): list of recommended products. [optional] # noqa: E501 + closing (str, none_type): closing remark from the bot. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + BotMessage, + ], + 'oneOf': [ + ], + } diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1_list_response.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_account.py similarity index 94% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1_list_response.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_account.py index 5bcb5255..54468f4a 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1_list_response.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_account.py @@ -31,12 +31,12 @@ def lazy_import(): from criteo_api_retailmedia_preview.model.common_problem import CommonProblem - from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v1_resource import RmLegacyAudienceGetEntityV1Resource + from criteo_api_retailmedia_preview.model.entity_resource_of_retail_media_account import EntityResourceOfRetailMediaAccount globals()['CommonProblem'] = CommonProblem - globals()['RmLegacyAudienceGetEntityV1Resource'] = RmLegacyAudienceGetEntityV1Resource + globals()['EntityResourceOfRetailMediaAccount'] = EntityResourceOfRetailMediaAccount -class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal): +class EntityResourceCollectionOutcomeOfRetailMediaAccount(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'data': ([RmLegacyAudienceGetEntityV1Resource], none_type,), # noqa: E501 + 'data': ([EntityResourceOfRetailMediaAccount], none_type,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -115,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1ListResponse - a model defined in OpenAPI + """EntityResourceCollectionOutcomeOfRetailMediaAccount - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +148,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501 + data ([EntityResourceOfRetailMediaAccount], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -203,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1ListResponse - a model defined in OpenAPI + """EntityResourceCollectionOutcomeOfRetailMediaAccount - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501 + data ([EntityResourceOfRetailMediaAccount], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_account.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_account.py new file mode 100644 index 00000000..10c6e8a1 --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_account.py @@ -0,0 +1,277 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_preview.model.external_retail_media_account import ExternalRetailMediaAccount + globals()['ExternalRetailMediaAccount'] = ExternalRetailMediaAccount + + +class EntityResourceOfRetailMediaAccount(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + 'attributes': (ExternalRetailMediaAccount,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EntityResourceOfRetailMediaAccount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str, none_type): [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + attributes (ExternalRetailMediaAccount): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EntityResourceOfRetailMediaAccount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str, none_type): [optional] # noqa: E501 + type (str, none_type): [optional] # noqa: E501 + attributes (ExternalRetailMediaAccount): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/external_account.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/external_account.py index ecc058b4..8747a43f 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/external_account.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/external_account.py @@ -108,6 +108,7 @@ def openapi_types(): 'time_zone': (str,), # noqa: E501 'subtype': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 } @cached_property @@ -124,6 +125,7 @@ def discriminator(): 'time_zone': 'timeZone', # noqa: E501 'subtype': 'subtype', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 } read_only_vars = { @@ -177,6 +179,7 @@ def _from_openapi_data(cls, name, type, countries, currency, parent_account_labe _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -278,6 +281,7 @@ def __init__(self, name, type, countries, currency, parent_account_label, time_z _visited_composed_classes = (Animal,) subtype (str, none_type): [optional] # noqa: E501 company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/external_retail_media_account.py similarity index 80% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/external_retail_media_account.py index f2385ca6..fc887dd3 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/external_retail_media_account.py @@ -29,14 +29,8 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError -def lazy_import(): - from criteo_api_retailmedia_preview.model.rm_legacy_audience_user_behavior_details_v2 import RmLegacyAudienceUserBehaviorDetailsV2 - from criteo_api_retailmedia_preview.model.rm_legacy_segment_customer_list import RmLegacySegmentCustomerList - globals()['RmLegacyAudienceUserBehaviorDetailsV2'] = RmLegacyAudienceUserBehaviorDetailsV2 - globals()['RmLegacySegmentCustomerList'] = RmLegacySegmentCustomerList - -class RmLegacyAudienceGetEntityV2(ModelNormal): +class ExternalRetailMediaAccount(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -61,6 +55,16 @@ class RmLegacyAudienceGetEntityV2(ModelNormal): """ allowed_values = { + ('type',): { + 'UNKNOWN': "Unknown", + 'SUPPLY': "Supply", + 'DEMAND': "Demand", + }, + ('sub_type',): { + 'UNKNOWN': "Unknown", + 'BRAND': "Brand", + 'SELLER': "Seller", + }, } validations = { @@ -72,7 +76,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -87,12 +90,16 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { - 'retailer_id': (str,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'user_behavior_details': (RmLegacyAudienceUserBehaviorDetailsV2,), # noqa: E501 - 'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'sub_type': (str,), # noqa: E501 + 'name': (str, none_type,), # noqa: E501 + 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 + 'country_ids': ([str], none_type,), # noqa: E501 + 'currency_id': (str, none_type,), # noqa: E501 + 'parent_account_label': (str, none_type,), # noqa: E501 + 'time_zone': (str, none_type,), # noqa: E501 } @cached_property @@ -101,10 +108,15 @@ def discriminator(): attribute_map = { - 'retailer_id': 'retailerId', # noqa: E501 + 'type': 'type', # noqa: E501 + 'sub_type': 'subType', # noqa: E501 'name': 'name', # noqa: E501 - 'user_behavior_details': 'userBehaviorDetails', # noqa: E501 - 'customer_list_details': 'customerListDetails', # noqa: E501 + 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 + 'country_ids': 'countryIds', # noqa: E501 + 'currency_id': 'currencyId', # noqa: E501 + 'parent_account_label': 'parentAccountLabel', # noqa: E501 + 'time_zone': 'timeZone', # noqa: E501 } read_only_vars = { @@ -114,12 +126,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, retailer_id, name, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI + def _from_openapi_data(cls, type, sub_type, *args, **kwargs): # noqa: E501 + """ExternalRetailMediaAccount - a model defined in OpenAPI Args: - retailer_id (str): ID of the retailer associated with this audience - name (str): Name of the audience + type (str): + sub_type (str): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -152,8 +164,13 @@ def _from_openapi_data(cls, retailer_id, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501 - customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501 + name (str, none_type): [optional] # noqa: E501 + company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 + country_ids ([str], none_type): [optional] # noqa: E501 + currency_id (str, none_type): [optional] # noqa: E501 + parent_account_label (str, none_type): [optional] # noqa: E501 + time_zone (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -185,8 +202,8 @@ def _from_openapi_data(cls, retailer_id, name, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.retailer_id = retailer_id - self.name = name + self.type = type + self.sub_type = sub_type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -207,12 +224,12 @@ def _from_openapi_data(cls, retailer_id, name, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, retailer_id, name, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2 - a model defined in OpenAPI + def __init__(self, type, sub_type, *args, **kwargs): # noqa: E501 + """ExternalRetailMediaAccount - a model defined in OpenAPI Args: - retailer_id (str): ID of the retailer associated with this audience - name (str): Name of the audience + type (str): + sub_type (str): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -245,8 +262,13 @@ def __init__(self, retailer_id, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - user_behavior_details (RmLegacyAudienceUserBehaviorDetailsV2): [optional] # noqa: E501 - customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501 + name (str, none_type): [optional] # noqa: E501 + company_name (str, none_type): [optional] # noqa: E501 + on_behalf_company_name (str, none_type): [optional] # noqa: E501 + country_ids ([str], none_type): [optional] # noqa: E501 + currency_id (str, none_type): [optional] # noqa: E501 + parent_account_label (str, none_type): [optional] # noqa: E501 + time_zone (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -276,8 +298,8 @@ def __init__(self, retailer_id, name, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.retailer_id = retailer_id - self.name = name + self.type = type + self.sub_type = sub_type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_request.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/http_validation_error.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_request.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/http_validation_error.py index 76ed5886..826ef05c 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_request.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/http_validation_error.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: Preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.create_ad_set_resource import CreateAdSetResource - globals()['CreateAdSetResource'] = CreateAdSetResource + from criteo_api_retailmedia_preview.model.validation_error import ValidationError + globals()['ValidationError'] = ValidationError -class CreateAdSetRequest(ModelNormal): +class HttpValidationError(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (CreateAdSetResource,), # noqa: E501 + 'detail': ([ValidationError], none_type,), # noqa: E501 } @cached_property @@ -96,7 +96,7 @@ def discriminator(): attribute_map = { - 'data': 'data', # noqa: E501 + 'detail': 'detail', # noqa: E501 } read_only_vars = { @@ -107,7 +107,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CreateAdSetRequest - a model defined in OpenAPI + """HttpValidationError - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +140,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (CreateAdSetResource): [optional] # noqa: E501 + detail ([ValidationError], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """CreateAdSetRequest - a model defined in OpenAPI + """HttpValidationError - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (CreateAdSetResource): [optional] # noqa: E501 + detail ([ValidationError], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion.py new file mode 100644 index 00000000..7f0e8266 --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion.py @@ -0,0 +1,272 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_preview.model.message import Message + globals()['Message'] = Message + + +class InbotDiscussion(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('messages',): { + 'min_items': 1, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'messages': ([Message], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'messages': 'messages', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """InbotDiscussion - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + messages ([Message], none_type): ordered list of previous messages, alternating between user prompts and bot answers. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """InbotDiscussion - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + messages ([Message], none_type): ordered list of previous messages, alternating between user prompts and bot answers. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience_request.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion_body_model.py similarity index 93% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience_request.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion_body_model.py index 1bb1cd13..7b405dd6 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience_request.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion_body_model.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: Preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.replace_audience import ReplaceAudience - globals()['ReplaceAudience'] = ReplaceAudience + from criteo_api_retailmedia_preview.model.inbot_discussion_data_instance_model import InbotDiscussionDataInstanceModel + globals()['InbotDiscussionDataInstanceModel'] = InbotDiscussionDataInstanceModel -class ReplaceAudienceRequest(ModelNormal): +class InbotDiscussionBodyModel(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'data': (ReplaceAudience,), # noqa: E501 + 'data': (InbotDiscussionDataInstanceModel,), # noqa: E501 } @cached_property @@ -107,10 +107,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 - """ReplaceAudienceRequest - a model defined in OpenAPI + """InbotDiscussionBodyModel - a model defined in OpenAPI Args: - data (ReplaceAudience): + data (InbotDiscussionDataInstanceModel): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -196,10 +196,10 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, data, *args, **kwargs): # noqa: E501 - """ReplaceAudienceRequest - a model defined in OpenAPI + """InbotDiscussionBodyModel - a model defined in OpenAPI Args: - data (ReplaceAudience): + data (InbotDiscussionDataInstanceModel): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion_data_instance_model.py similarity index 90% rename from sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion_data_instance_model.py index 6d6cbfd1..82a6c3ed 100644 --- a/sdks/marketingsolutions_2023-07/criteo_api_marketingsolutions_v2023_07/model/replace_audience.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/inbot_discussion_data_instance_model.py @@ -1,9 +1,9 @@ """ Criteo API - Criteo API - MarketingSolutions # noqa: E501 + Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: Preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_marketingsolutions_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,15 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_marketingsolutions_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_marketingsolutions_v2023_07.model.audience_name_description import AudienceNameDescription - globals()['AudienceNameDescription'] = AudienceNameDescription + from criteo_api_retailmedia_preview.model.inbot_discussion import InbotDiscussion + globals()['InbotDiscussion'] = InbotDiscussion -class ReplaceAudience(ModelNormal): +class InbotDiscussionDataInstanceModel(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,8 +87,8 @@ def openapi_types(): """ lazy_import() return { - 'type': (str,), # noqa: E501 - 'attributes': (AudienceNameDescription,), # noqa: E501 + 'attributes': (InbotDiscussion,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 } @cached_property @@ -97,8 +97,8 @@ def discriminator(): attribute_map = { - 'type': 'type', # noqa: E501 'attributes': 'attributes', # noqa: E501 + 'type': 'type', # noqa: E501 } read_only_vars = { @@ -108,12 +108,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, type, attributes, *args, **kwargs): # noqa: E501 - """ReplaceAudience - a model defined in OpenAPI + def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501 + """InbotDiscussionDataInstanceModel - a model defined in OpenAPI Args: - type (str): the name of the entity type - attributes (AudienceNameDescription): + attributes (InbotDiscussion): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -146,6 +145,7 @@ def _from_openapi_data(cls, type, attributes, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + type (str, none_type): [optional] if omitted the server will use the default value of "InbotDiscussion" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -177,7 +177,6 @@ def _from_openapi_data(cls, type, attributes, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.type = type self.attributes = attributes for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -199,12 +198,11 @@ def _from_openapi_data(cls, type, attributes, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, type, attributes, *args, **kwargs): # noqa: E501 - """ReplaceAudience - a model defined in OpenAPI + def __init__(self, attributes, *args, **kwargs): # noqa: E501 + """InbotDiscussionDataInstanceModel - a model defined in OpenAPI Args: - type (str): the name of the entity type - attributes (AudienceNameDescription): + attributes (InbotDiscussion): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -237,6 +235,7 @@ def __init__(self, type, attributes, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + type (str, none_type): [optional] if omitted the server will use the default value of "InbotDiscussion" # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,7 +265,6 @@ def __init__(self, type, attributes, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.type = type self.attributes = attributes for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/location_inner.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/location_inner.py new file mode 100644 index 00000000..6875cb1b --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/location_inner.py @@ -0,0 +1,259 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + + +class LocationInner(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """LocationInner - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """LocationInner - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_customer_list.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message.py similarity index 92% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_customer_list.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message.py index 92c0634b..039d540f 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_customer_list.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message.py @@ -29,8 +29,12 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError +def lazy_import(): + from criteo_api_retailmedia_preview.model.botmessage import Botmessage + globals()['Botmessage'] = Botmessage -class RmLegacySegmentCustomerList(ModelNormal): + +class Message(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -66,6 +70,7 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ + lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -80,9 +85,10 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ + lazy_import() return { - 'size': (str,), # noqa: E501 - 'is_shared': (bool,), # noqa: E501 + 'user_message': (str, none_type,), # noqa: E501 + 'bot_message': (Botmessage,), # noqa: E501 } @cached_property @@ -91,8 +97,8 @@ def discriminator(): attribute_map = { - 'size': 'size', # noqa: E501 - 'is_shared': 'isShared', # noqa: E501 + 'user_message': 'userMessage', # noqa: E501 + 'bot_message': 'botMessage', # noqa: E501 } read_only_vars = { @@ -102,12 +108,8 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, size, is_shared, *args, **kwargs): # noqa: E501 - """RmLegacySegmentCustomerList - a model defined in OpenAPI - - Args: - size (str): Number of users in the customer list audience. - is_shared (bool): Indicate if the audience is shared. + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """Message - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,6 +142,8 @@ def _from_openapi_data(cls, size, is_shared, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + user_message (str, none_type): user prompt. [optional] # noqa: E501 + bot_message (Botmessage): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -171,8 +175,6 @@ def _from_openapi_data(cls, size, is_shared, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.size = size - self.is_shared = is_shared for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -193,12 +195,8 @@ def _from_openapi_data(cls, size, is_shared, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, size, is_shared, *args, **kwargs): # noqa: E501 - """RmLegacySegmentCustomerList - a model defined in OpenAPI - - Args: - size (str): Number of users in the customer list audience. - is_shared (bool): Indicate if the audience is shared. + def __init__(self, *args, **kwargs): # noqa: E501 + """Message - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -231,6 +229,8 @@ def __init__(self, size, is_shared, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + user_message (str, none_type): user prompt. [optional] # noqa: E501 + bot_message (Botmessage): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -260,8 +260,6 @@ def __init__(self, size, is_shared, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.size = size - self.is_shared = is_shared for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item_update_model202110_request.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_body_model.py similarity index 90% rename from sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item_update_model202110_request.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_body_model.py index 1dd74623..6eb9df87 100644 --- a/sdks/retailmedia_2023-07/criteo_api_retailmedia_v2023_07/model/preferred_line_item_update_model202110_request.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_body_model.py @@ -3,7 +3,7 @@ Criteo API - RetailMedia # noqa: E501 - The version of the OpenAPI document: 2023-07 + The version of the OpenAPI document: Preview Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ import re # noqa: F401 import sys # noqa: F401 -from criteo_api_retailmedia_v2023_07.model_utils import ( # noqa: F401 +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, @@ -26,15 +26,17 @@ validate_get_composed_info, OpenApiModel ) -from criteo_api_retailmedia_v2023_07.exceptions import ApiAttributeError +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError def lazy_import(): - from criteo_api_retailmedia_v2023_07.model.resource_of_preferred_line_item_update_model202110 import ResourceOfPreferredLineItemUpdateModel202110 - globals()['ResourceOfPreferredLineItemUpdateModel202110'] = ResourceOfPreferredLineItemUpdateModel202110 + from criteo_api_retailmedia_preview.model.message_data_instance_model import MessageDataInstanceModel + from criteo_api_retailmedia_preview.model.message_error import MessageError + globals()['MessageDataInstanceModel'] = MessageDataInstanceModel + globals()['MessageError'] = MessageError -class PreferredLineItemUpdateModel202110Request(ModelNormal): +class MessageBodyModel(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +89,8 @@ def openapi_types(): """ lazy_import() return { - 'data': (ResourceOfPreferredLineItemUpdateModel202110,), # noqa: E501 + 'data': (MessageDataInstanceModel,), # noqa: E501 + 'errors': ([MessageError], none_type,), # noqa: E501 } @cached_property @@ -97,6 +100,7 @@ def discriminator(): attribute_map = { 'data': 'data', # noqa: E501 + 'errors': 'errors', # noqa: E501 } read_only_vars = { @@ -107,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PreferredLineItemUpdateModel202110Request - a model defined in OpenAPI + """MessageBodyModel - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -140,7 +144,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ResourceOfPreferredLineItemUpdateModel202110): [optional] # noqa: E501 + data (MessageDataInstanceModel): [optional] # noqa: E501 + errors ([MessageError], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -193,7 +198,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """PreferredLineItemUpdateModel202110Request - a model defined in OpenAPI + """MessageBodyModel - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -226,7 +231,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data (ResourceOfPreferredLineItemUpdateModel202110): [optional] # noqa: E501 + data (MessageDataInstanceModel): [optional] # noqa: E501 + errors ([MessageError], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_data_instance_model.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_data_instance_model.py new file mode 100644 index 00000000..3149d550 --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_data_instance_model.py @@ -0,0 +1,279 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_preview.model.message import Message + globals()['Message'] = Message + + +class MessageDataInstanceModel(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'attributes': (Message,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'attributes': 'attributes', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501 + """MessageDataInstanceModel - a model defined in OpenAPI + + Args: + attributes (Message): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] if omitted the server will use the default value of "Message" # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.attributes = attributes + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, attributes, *args, **kwargs): # noqa: E501 + """MessageDataInstanceModel - a model defined in OpenAPI + + Args: + attributes (Message): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] if omitted the server will use the default value of "Message" # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.attributes = attributes + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_error.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_error.py new file mode 100644 index 00000000..1798ba1a --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/message_error.py @@ -0,0 +1,275 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + + +class MessageError(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'trace_id': (str, none_type,), # noqa: E501 + 'type': (str, none_type,), # noqa: E501 + 'code': (str, none_type,), # noqa: E501 + 'instance': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'trace_id': 'traceId', # noqa: E501 + 'type': 'type', # noqa: E501 + 'code': 'code', # noqa: E501 + 'instance': 'instance', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """MessageError - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + trace_id (str, none_type): correlation ID, unique to each request. [optional] # noqa: E501 + type (str, none_type): error category. [optional] # noqa: E501 + code (str, none_type): error code. [optional] # noqa: E501 + instance (str, none_type): specific occurrence of the problem. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """MessageError - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + trace_id (str, none_type): correlation ID, unique to each request. [optional] # noqa: E501 + type (str, none_type): error category. [optional] # noqa: E501 + code (str, none_type): error code. [optional] # noqa: E501 + instance (str, none_type): specific occurrence of the problem. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/product.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/product.py index 9b28adea..f6ce1a5e 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/product.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/product.py @@ -189,6 +189,7 @@ def openapi_types(): 'external_seller_name': (str, none_type,), # noqa: E501 'number_of_reviews': (int, none_type,), # noqa: E501 'product_rating': (str, none_type,), # noqa: E501 + 'badge': (str, none_type,), # noqa: E501 } @cached_property @@ -278,6 +279,7 @@ def discriminator(): 'external_seller_name': 'externalSellerName', # noqa: E501 'number_of_reviews': 'numberOfReviews', # noqa: E501 'product_rating': 'productRating', # noqa: E501 + 'badge': 'badge', # noqa: E501 } read_only_vars = { @@ -404,6 +406,7 @@ def _from_openapi_data(cls, id, title, link, image_link, *args, **kwargs): # no external_seller_name (str, none_type): The external name of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501 number_of_reviews (int, none_type): The number of customer reviews for the product. [optional] # noqa: E501 product_rating (str, none_type): The product rating for the product. [optional] # noqa: E501 + badge (str, none_type): URL of a badge image to display on the product.. [optional] # noqa: E501 """ channel = kwargs.get('channel', "online") @@ -578,6 +581,7 @@ def __init__(self, id, title, link, image_link, *args, **kwargs): # noqa: E501 external_seller_name (str, none_type): The external name of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501 number_of_reviews (int, none_type): The number of customer reviews for the product. [optional] # noqa: E501 product_rating (str, none_type): The product rating for the product. [optional] # noqa: E501 + badge (str, none_type): URL of a badge image to display on the product.. [optional] # noqa: E501 """ channel = kwargs.get('channel', "online") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/product_recommendation.py similarity index 79% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v1.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/product_recommendation.py index 2af789e1..89817f2e 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v1.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/product_recommendation.py @@ -30,7 +30,7 @@ -class RmLegacySegmentUserBehaviorV1(ModelNormal): +class ProductRecommendation(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -55,31 +55,16 @@ class RmLegacySegmentUserBehaviorV1(ModelNormal): """ allowed_values = { - ('user_type',): { - 'VIEWER': "viewer", - 'BUYER': "buyer", - 'ADDTOCARTER': "addToCarter", - }, - ('lookback_window',): { - 'P7D': "P7D", - 'P14D': "P14D", - 'P30D': "P30D", - 'P45D': "P45D", - 'P60D': "P60D", - 'P90D': "P90D", - 'P120D': "P120D", - 'P150D': "P150D", - 'P180D': "P180D", - }, - ('target_type',): { - 'None': None, - 'BRAND': "brand", - 'CATEGORY': "category", - }, } validations = { - ('target_ids',): { + ('image_url',): { + 'max_length': 65536, + 'min_length': 1, + }, + ('url',): { + 'max_length': 65536, + 'min_length': 1, }, } @@ -104,10 +89,14 @@ def openapi_types(): and the value is attribute type. """ return { - 'user_type': (str,), # noqa: E501 - 'lookback_window': (str,), # noqa: E501 - 'target_type': (str, none_type,), # noqa: E501 - 'target_ids': ([str], none_type,), # noqa: E501 + 'rationale': (str,), # noqa: E501 + 'name': (str, none_type,), # noqa: E501 + 'description': (str, none_type,), # noqa: E501 + 'image_url': (str, none_type,), # noqa: E501 + 'url': (str, none_type,), # noqa: E501 + 'brand': (str, none_type,), # noqa: E501 + 'price': (float, none_type,), # noqa: E501 + 'currency': (str, none_type,), # noqa: E501 } @cached_property @@ -116,10 +105,14 @@ def discriminator(): attribute_map = { - 'user_type': 'userType', # noqa: E501 - 'lookback_window': 'lookbackWindow', # noqa: E501 - 'target_type': 'targetType', # noqa: E501 - 'target_ids': 'targetIds', # noqa: E501 + 'rationale': 'rationale', # noqa: E501 + 'name': 'name', # noqa: E501 + 'description': 'description', # noqa: E501 + 'image_url': 'imageUrl', # noqa: E501 + 'url': 'url', # noqa: E501 + 'brand': 'brand', # noqa: E501 + 'price': 'price', # noqa: E501 + 'currency': 'currency', # noqa: E501 } read_only_vars = { @@ -129,12 +122,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, user_type, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorV1 - a model defined in OpenAPI + def _from_openapi_data(cls, rationale, *args, **kwargs): # noqa: E501 + """ProductRecommendation - a model defined in OpenAPI Args: - user_type (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window + rationale (str): reason for this recommendation, given by the bot Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -167,8 +159,13 @@ def _from_openapi_data(cls, user_type, lookback_window, *args, **kwargs): # noq Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - target_type (str, none_type): Type of target. [optional] # noqa: E501 - target_ids ([str], none_type): The categories to target. [optional] # noqa: E501 + name (str, none_type): name of the product. [optional] # noqa: E501 + description (str, none_type): description of the product. [optional] # noqa: E501 + image_url (str, none_type): url of the product image. [optional] # noqa: E501 + url (str, none_type): url of the product on the retailer website. [optional] # noqa: E501 + brand (str, none_type): brand of the product. [optional] # noqa: E501 + price (float, none_type): numerical value of the price of the product. [optional] # noqa: E501 + currency (str, none_type): currency of the price of the product. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -200,8 +197,7 @@ def _from_openapi_data(cls, user_type, lookback_window, *args, **kwargs): # noq self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.user_type = user_type - self.lookback_window = lookback_window + self.rationale = rationale for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -222,12 +218,11 @@ def _from_openapi_data(cls, user_type, lookback_window, *args, **kwargs): # noq ]) @convert_js_args_to_python_args - def __init__(self, user_type, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorV1 - a model defined in OpenAPI + def __init__(self, rationale, *args, **kwargs): # noqa: E501 + """ProductRecommendation - a model defined in OpenAPI Args: - user_type (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window + rationale (str): reason for this recommendation, given by the bot Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -260,8 +255,13 @@ def __init__(self, user_type, lookback_window, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - target_type (str, none_type): Type of target. [optional] # noqa: E501 - target_ids ([str], none_type): The categories to target. [optional] # noqa: E501 + name (str, none_type): name of the product. [optional] # noqa: E501 + description (str, none_type): description of the product. [optional] # noqa: E501 + image_url (str, none_type): url of the product image. [optional] # noqa: E501 + url (str, none_type): url of the product on the retailer website. [optional] # noqa: E501 + brand (str, none_type): brand of the product. [optional] # noqa: E501 + price (float, none_type): numerical value of the price of the product. [optional] # noqa: E501 + currency (str, none_type): currency of the price of the product. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -291,8 +291,7 @@ def __init__(self, user_type, lookback_window, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.user_type = user_type - self.lookback_window = lookback_window + self.rationale = rationale for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_detail_warning.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_detail_warning.py new file mode 100644 index 00000000..94bf1998 --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_detail_warning.py @@ -0,0 +1,285 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + + +class ReportDetailWarning(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('type',): { + 'OVERLARGEBADGEURL': "OverlargeBadgeUrl", + 'INVALIDBADGEURL': "InvalidBadgeUrl", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'type': (str,), # noqa: E501 + 'message': (str,), # noqa: E501 + 'is_server_related': (bool,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'message': 'message', # noqa: E501 + 'is_server_related': 'isServerRelated', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, type, message, is_server_related, *args, **kwargs): # noqa: E501 + """ReportDetailWarning - a model defined in OpenAPI + + Args: + type (str): + message (str): + is_server_related (bool): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.type = type + self.message = message + self.is_server_related = is_server_related + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, type, message, is_server_related, *args, **kwargs): # noqa: E501 + """ReportDetailWarning - a model defined in OpenAPI + + Args: + type (str): + message (str): + is_server_related (bool): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.type = type + self.message = message + self.is_server_related = is_server_related + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_detail_warnings.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_detail_warnings.py new file mode 100644 index 00000000..28fde01b --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_detail_warnings.py @@ -0,0 +1,281 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_preview.model.report_detail_warning import ReportDetailWarning + globals()['ReportDetailWarning'] = ReportDetailWarning + + +class ReportDetailWarnings(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'product_id': (str,), # noqa: E501 + 'warnings': ([ReportDetailWarning],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'product_id': 'productId', # noqa: E501 + 'warnings': 'warnings', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, product_id, warnings, *args, **kwargs): # noqa: E501 + """ReportDetailWarnings - a model defined in OpenAPI + + Args: + product_id (str): + warnings ([ReportDetailWarning]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.product_id = product_id + self.warnings = warnings + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, product_id, warnings, *args, **kwargs): # noqa: E501 + """ReportDetailWarnings - a model defined in OpenAPI + + Args: + product_id (str): + warnings ([ReportDetailWarning]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.product_id = product_id + self.warnings = warnings + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_ok_response.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_ok_response.py index 1ed40b40..5df05f75 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_ok_response.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/report_ok_response.py @@ -31,7 +31,9 @@ def lazy_import(): from criteo_api_retailmedia_preview.model.report_detail_errors import ReportDetailErrors + from criteo_api_retailmedia_preview.model.report_detail_warnings import ReportDetailWarnings globals()['ReportDetailErrors'] = ReportDetailErrors + globals()['ReportDetailWarnings'] = ReportDetailWarnings class ReportOkResponse(ModelNormal): @@ -101,6 +103,8 @@ def openapi_types(): 'number_of_products_deleted': (int,), # noqa: E501 'number_of_products_with_errors': (int,), # noqa: E501 'error_details': ([ReportDetailErrors],), # noqa: E501 + 'number_of_products_with_warnings': (int,), # noqa: E501 + 'warning_details': ([ReportDetailWarnings],), # noqa: E501 } @cached_property @@ -116,6 +120,8 @@ def discriminator(): 'number_of_products_deleted': 'numberOfProductsDeleted', # noqa: E501 'number_of_products_with_errors': 'numberOfProductsWithErrors', # noqa: E501 'error_details': 'errorDetails', # noqa: E501 + 'number_of_products_with_warnings': 'numberOfProductsWithWarnings', # noqa: E501 + 'warning_details': 'warningDetails', # noqa: E501 } read_only_vars = { @@ -125,7 +131,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, number_of_products_with_warnings, warning_details, *args, **kwargs): # noqa: E501 """ReportOkResponse - a model defined in OpenAPI Args: @@ -136,6 +142,8 @@ def _from_openapi_data(cls, status, import_request_timestamp, number_of_products number_of_products_deleted (int): The number of products deleted. number_of_products_with_errors (int): The number of products with errors. error_details ([ReportDetailErrors]): The list of errors with details. + number_of_products_with_warnings (int): The number of products with Warnings. + warning_details ([ReportDetailWarnings]): The list of Warnings with details. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -206,6 +214,8 @@ def _from_openapi_data(cls, status, import_request_timestamp, number_of_products self.number_of_products_deleted = number_of_products_deleted self.number_of_products_with_errors = number_of_products_with_errors self.error_details = error_details + self.number_of_products_with_warnings = number_of_products_with_warnings + self.warning_details = warning_details for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -226,7 +236,7 @@ def _from_openapi_data(cls, status, import_request_timestamp, number_of_products ]) @convert_js_args_to_python_args - def __init__(self, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, *args, **kwargs): # noqa: E501 + def __init__(self, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, number_of_products_with_warnings, warning_details, *args, **kwargs): # noqa: E501 """ReportOkResponse - a model defined in OpenAPI Args: @@ -237,6 +247,8 @@ def __init__(self, status, import_request_timestamp, number_of_products_in_the_b number_of_products_deleted (int): The number of products deleted. number_of_products_with_errors (int): The number of products with errors. error_details ([ReportDetailErrors]): The list of errors with details. + number_of_products_with_warnings (int): The number of products with Warnings. + warning_details ([ReportDetailWarnings]): The list of Warnings with details. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -305,6 +317,8 @@ def __init__(self, status, import_request_timestamp, number_of_products_in_the_b self.number_of_products_deleted = number_of_products_deleted self.number_of_products_with_errors = number_of_products_with_errors self.error_details = error_details + self.number_of_products_with_warnings = number_of_products_with_warnings + self.warning_details = warning_details for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/retail_media_account.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/retail_media_account.py index 70903507..d5b3c996 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/retail_media_account.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/retail_media_account.py @@ -89,6 +89,7 @@ def openapi_types(): return { 'name': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 'sub_type': (str, none_type,), # noqa: E501 'country_ids': ([str], none_type,), # noqa: E501 @@ -105,6 +106,7 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 'type': 'type', # noqa: E501 'sub_type': 'subType', # noqa: E501 'country_ids': 'countryIds', # noqa: E501 @@ -155,7 +157,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): account name. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 type (str, none_type): Type for the account. [optional] # noqa: E501 sub_type (str, none_type): subtype for the account. [optional] # noqa: E501 country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501 @@ -248,7 +251,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): account name. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 type (str, none_type): Type for the account. [optional] # noqa: E501 sub_type (str, none_type): subtype for the account. [optional] # noqa: E501 country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501 diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py index e9bb9556..8a2a0068 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py @@ -82,6 +82,7 @@ def openapi_types(): return { 'name': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 + 'on_behalf_company_name': (str, none_type,), # noqa: E501 'sellers': ([RetailMediaSeller], none_type,), # noqa: E501 } @@ -93,6 +94,7 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 'company_name': 'companyName', # noqa: E501 + 'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501 'sellers': 'sellers', # noqa: E501 } @@ -138,7 +140,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 sellers ([RetailMediaSeller], none_type): list of sellers to associate to the new account. [optional] # noqa: E501 """ @@ -226,7 +229,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501 - company_name (str, none_type): Display name for reporting the owning entity of ads for the Digital Services Act in the European Union. [optional] # noqa: E501 + company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501 + on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501 sellers ([RetailMediaSeller], none_type): list of sellers to associate to the new account. [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_user_behavior_details_v2.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py similarity index 89% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_user_behavior_details_v2.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py index 2529370a..a8c112de 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_user_behavior_details_v2.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py @@ -29,12 +29,8 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError -def lazy_import(): - from criteo_api_retailmedia_preview.model.rm_legacy_segment_user_behavior_v2 import RmLegacySegmentUserBehaviorV2 - globals()['RmLegacySegmentUserBehaviorV2'] = RmLegacySegmentUserBehaviorV2 - -class RmLegacyAudienceUserBehaviorDetailsV2(ModelNormal): +class RmAlgebraNodeV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -70,7 +66,6 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ - lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -85,10 +80,11 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { - 'inclusive_segment': (RmLegacySegmentUserBehaviorV2,), # noqa: E501 - 'exclusive_segment': (RmLegacySegmentUserBehaviorV2,), # noqa: E501 + '_and': ([RmAlgebraNodeV1], none_type,), # noqa: E501 + '_or': ([RmAlgebraNodeV1], none_type,), # noqa: E501 + '_not': (RmAlgebraNodeV1,), # noqa: E501 + 'audience_segment_id': (str, none_type,), # noqa: E501 } @cached_property @@ -97,8 +93,10 @@ def discriminator(): attribute_map = { - 'inclusive_segment': 'inclusiveSegment', # noqa: E501 - 'exclusive_segment': 'exclusiveSegment', # noqa: E501 + '_and': 'and', # noqa: E501 + '_or': 'or', # noqa: E501 + '_not': 'not', # noqa: E501 + 'audience_segment_id': 'audienceSegmentId', # noqa: E501 } read_only_vars = { @@ -108,11 +106,8 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceUserBehaviorDetailsV2 - a model defined in OpenAPI - - Args: - inclusive_segment (RmLegacySegmentUserBehaviorV2): + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAlgebraNodeV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -145,7 +140,10 @@ def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - exclusive_segment (RmLegacySegmentUserBehaviorV2): [optional] # noqa: E501 + _and ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501 + _or ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501 + _not (RmAlgebraNodeV1): [optional] # noqa: E501 + audience_segment_id (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -177,7 +175,6 @@ def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.inclusive_segment = inclusive_segment for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -198,11 +195,8 @@ def _from_openapi_data(cls, inclusive_segment, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, inclusive_segment, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceUserBehaviorDetailsV2 - a model defined in OpenAPI - - Args: - inclusive_segment (RmLegacySegmentUserBehaviorV2): + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAlgebraNodeV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -235,7 +229,10 @@ def __init__(self, inclusive_segment, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - exclusive_segment (RmLegacySegmentUserBehaviorV2): [optional] # noqa: E501 + _and ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501 + _or ([RmAlgebraNodeV1], none_type): [optional] # noqa: E501 + _not (RmAlgebraNodeV1): [optional] # noqa: E501 + audience_segment_id (str, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -265,7 +262,6 @@ def __init__(self, inclusive_segment, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.inclusive_segment = inclusive_segment for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1_resource.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py similarity index 77% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1_resource.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py index ef42b023..c22940ae 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1_resource.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py @@ -30,11 +30,11 @@ def lazy_import(): - from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v1 import RmLegacyAudienceGetEntityV1 - globals()['RmLegacyAudienceGetEntityV1'] = RmLegacyAudienceGetEntityV1 + from criteo_api_retailmedia_preview.model.rm_algebra_node_v1 import RmAlgebraNodeV1 + globals()['RmAlgebraNodeV1'] = RmAlgebraNodeV1 -class RmLegacyAudienceGetEntityV1Resource(ModelNormal): +class RmAudienceEntityV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -59,10 +59,11 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal): """ allowed_values = { - ('audience_type',): { + ('channels',): { 'None': None, - 'CUSTOMERLIST': "customerList", - 'USERBEHAVIOR': "userBehavior", + 'UNKNOWN': "Unknown", + 'ONSITE': "Onsite", + 'OFFSITE': "Offsite", }, } @@ -92,10 +93,15 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (RmLegacyAudienceGetEntityV1,), # noqa: E501 - 'id': (str, none_type,), # noqa: E501 - 'audience_type': (str, none_type,), # noqa: E501 - 'type': (str, none_type,), # noqa: E501 + 'account_id': (str, none_type,), # noqa: E501 + 'name': (str, none_type,), # noqa: E501 + 'description': (str, none_type,), # noqa: E501 + 'retailer_id': (str, none_type,), # noqa: E501 + 'created_by_id': (str, none_type,), # noqa: E501 + 'created_at': (datetime, none_type,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + 'channels': ([str], none_type,), # noqa: E501 + 'algebra': (RmAlgebraNodeV1,), # noqa: E501 } @cached_property @@ -104,10 +110,15 @@ def discriminator(): attribute_map = { - 'attributes': 'attributes', # noqa: E501 - 'id': 'id', # noqa: E501 - 'audience_type': 'audienceType', # noqa: E501 - 'type': 'type', # noqa: E501 + 'account_id': 'accountId', # noqa: E501 + 'name': 'name', # noqa: E501 + 'description': 'description', # noqa: E501 + 'retailer_id': 'retailerId', # noqa: E501 + 'created_by_id': 'createdById', # noqa: E501 + 'created_at': 'createdAt', # noqa: E501 + 'updated_at': 'updatedAt', # noqa: E501 + 'channels': 'channels', # noqa: E501 + 'algebra': 'algebra', # noqa: E501 } read_only_vars = { @@ -118,7 +129,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1Resource - a model defined in OpenAPI + """RmAudienceEntityV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -151,10 +162,15 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 - type (str, none_type): [optional] # noqa: E501 + account_id (str, none_type): Account associated to the audience. [optional] # noqa: E501 + name (str, none_type): Name of the audience. [optional] # noqa: E501 + description (str, none_type): Description of the audience. [optional] # noqa: E501 + retailer_id (str, none_type): Retailer associated to the audience. [optional] # noqa: E501 + created_by_id (str, none_type): User that created the audience. [optional] # noqa: E501 + created_at (datetime, none_type): ISO-8601 timestamp in UTC of audience creation (read-only). [optional] # noqa: E501 + updated_at (datetime, none_type): ISO-8601 timestamp in UTC of audience update (read-only). [optional] # noqa: E501 + channels ([str], none_type): Channels associated to the audience (read-only). [optional] # noqa: E501 + algebra (RmAlgebraNodeV1): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -207,7 +223,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1Resource - a model defined in OpenAPI + """RmAudienceEntityV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -240,10 +256,15 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501 - id (str, none_type): [optional] # noqa: E501 - audience_type (str, none_type): [optional] # noqa: E501 - type (str, none_type): [optional] # noqa: E501 + account_id (str, none_type): Account associated to the audience. [optional] # noqa: E501 + name (str, none_type): Name of the audience. [optional] # noqa: E501 + description (str, none_type): Description of the audience. [optional] # noqa: E501 + retailer_id (str, none_type): Retailer associated to the audience. [optional] # noqa: E501 + created_by_id (str, none_type): User that created the audience. [optional] # noqa: E501 + created_at (datetime, none_type): ISO-8601 timestamp in UTC of audience creation (read-only). [optional] # noqa: E501 + updated_at (datetime, none_type): ISO-8601 timestamp in UTC of audience update (read-only). [optional] # noqa: E501 + channels ([str], none_type): Channels associated to the audience (read-only). [optional] # noqa: E501 + algebra (RmAlgebraNodeV1): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_resource.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_entity_v1_resource.py similarity index 94% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_resource.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_entity_v1_resource.py index 580737e4..cfab7998 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_resource.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_entity_v1_resource.py @@ -30,11 +30,11 @@ def lazy_import(): - from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v2 import RmLegacyAudienceGetEntityV2 - globals()['RmLegacyAudienceGetEntityV2'] = RmLegacyAudienceGetEntityV2 + from criteo_api_retailmedia_preview.model.rm_audience_entity_v1 import RmAudienceEntityV1 + globals()['RmAudienceEntityV1'] = RmAudienceEntityV1 -class RmLegacyAudienceGetEntityV2Resource(ModelNormal): +class RmAudienceEntityV1Resource(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -87,7 +87,7 @@ def openapi_types(): """ lazy_import() return { - 'attributes': (RmLegacyAudienceGetEntityV2,), # noqa: E501 + 'attributes': (RmAudienceEntityV1,), # noqa: E501 'id': (str, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 } @@ -111,7 +111,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2Resource - a model defined in OpenAPI + """RmAudienceEntityV1Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -144,7 +144,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceGetEntityV2): [optional] # noqa: E501 + attributes (RmAudienceEntityV1): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ @@ -199,7 +199,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2Resource - a model defined in OpenAPI + """RmAudienceEntityV1Resource - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,7 +232,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (RmLegacyAudienceGetEntityV2): [optional] # noqa: E501 + attributes (RmAudienceEntityV1): [optional] # noqa: E501 id (str, none_type): Id of the entity. [optional] # noqa: E501 type (str, none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_list_response.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py similarity index 91% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_list_response.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py index 5a100d29..e519a76e 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_list_response.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py @@ -31,12 +31,14 @@ def lazy_import(): from criteo_api_retailmedia_preview.model.common_problem import CommonProblem - from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v2_resource import RmLegacyAudienceGetEntityV2Resource + from criteo_api_retailmedia_preview.model.rm_audience_entity_v1_resource import RmAudienceEntityV1Resource + from criteo_api_retailmedia_preview.model.rm_audience_search_metadata_v1 import RmAudienceSearchMetadataV1 globals()['CommonProblem'] = CommonProblem - globals()['RmLegacyAudienceGetEntityV2Resource'] = RmLegacyAudienceGetEntityV2Resource + globals()['RmAudienceEntityV1Resource'] = RmAudienceEntityV1Resource + globals()['RmAudienceSearchMetadataV1'] = RmAudienceSearchMetadataV1 -class RmLegacyAudienceGetEntityV2ListResponse(ModelNormal): +class RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -89,7 +91,8 @@ def openapi_types(): """ lazy_import() return { - 'data': ([RmLegacyAudienceGetEntityV2Resource], none_type,), # noqa: E501 + 'meta': (RmAudienceSearchMetadataV1,), # noqa: E501 + 'data': ([RmAudienceEntityV1Resource], none_type,), # noqa: E501 'warnings': ([CommonProblem], none_type,), # noqa: E501 'errors': ([CommonProblem], none_type,), # noqa: E501 } @@ -100,6 +103,7 @@ def discriminator(): attribute_map = { + 'meta': 'meta', # noqa: E501 'data': 'data', # noqa: E501 'warnings': 'warnings', # noqa: E501 'errors': 'errors', # noqa: E501 @@ -115,7 +119,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2ListResponse - a model defined in OpenAPI + """RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -148,7 +152,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([RmLegacyAudienceGetEntityV2Resource], none_type): [optional] # noqa: E501 + meta (RmAudienceSearchMetadataV1): [optional] # noqa: E501 + data ([RmAudienceEntityV1Resource], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ @@ -203,7 +208,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV2ListResponse - a model defined in OpenAPI + """RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -236,7 +241,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - data ([RmLegacyAudienceGetEntityV2Resource], none_type): [optional] # noqa: E501 + meta (RmAudienceSearchMetadataV1): [optional] # noqa: E501 + data ([RmAudienceEntityV1Resource], none_type): [optional] # noqa: E501 warnings ([CommonProblem], none_type): [optional] # noqa: E501 errors ([CommonProblem], none_type): [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py new file mode 100644 index 00000000..8f0829a3 --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py @@ -0,0 +1,271 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + + +class RmAudienceSearchEntityV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'audience_ids': ([str], none_type,), # noqa: E501 + 'retailer_ids': ([str], none_type,), # noqa: E501 + 'audience_segment_ids': ([str], none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'audience_ids': 'audienceIds', # noqa: E501 + 'retailer_ids': 'retailerIds', # noqa: E501 + 'audience_segment_ids': 'audienceSegmentIds', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSearchEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + audience_ids ([str], none_type): List of audience ids. [optional] # noqa: E501 + retailer_ids ([str], none_type): List of retailer ids. [optional] # noqa: E501 + audience_segment_ids ([str], none_type): List of segment ids (linked to the result audiences). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSearchEntityV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + audience_ids ([str], none_type): List of audience ids. [optional] # noqa: E501 + retailer_ids ([str], none_type): List of retailer ids. [optional] # noqa: E501 + audience_segment_ids ([str], none_type): List of segment ids (linked to the result audiences). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py new file mode 100644 index 00000000..763e5f6a --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py @@ -0,0 +1,273 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_preview.model.rm_audience_search_entity_v1 import RmAudienceSearchEntityV1 + globals()['RmAudienceSearchEntityV1'] = RmAudienceSearchEntityV1 + + +class RmAudienceSearchEntityV1Resource(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'type': (str, none_type,), # noqa: E501 + 'attributes': (RmAudienceSearchEntityV1,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'attributes': 'attributes', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSearchEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RmAudienceSearchEntityV1): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSearchEntityV1Resource - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str, none_type): [optional] # noqa: E501 + attributes (RmAudienceSearchEntityV1): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_input_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_input_v1.py new file mode 100644 index 00000000..8da70ff9 --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_input_v1.py @@ -0,0 +1,269 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_preview.model.rm_audience_search_entity_v1_resource import RmAudienceSearchEntityV1Resource + globals()['RmAudienceSearchEntityV1Resource'] = RmAudienceSearchEntityV1Resource + + +class RmAudienceSearchInputV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'data': (RmAudienceSearchEntityV1Resource,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSearchInputV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (RmAudienceSearchEntityV1Resource): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSearchInputV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + data (RmAudienceSearchEntityV1Resource): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py new file mode 100644 index 00000000..ad87b99d --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py @@ -0,0 +1,271 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + + +class RmAudienceSearchMetadataV1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'total_items': (int, none_type,), # noqa: E501 + 'limit': (int, none_type,), # noqa: E501 + 'offset': (int, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'total_items': 'totalItems', # noqa: E501 + 'limit': 'limit', # noqa: E501 + 'offset': 'offset', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """RmAudienceSearchMetadataV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + total_items (int, none_type): Total number of items. [optional] # noqa: E501 + limit (int, none_type): Max item of the current page. [optional] # noqa: E501 + offset (int, none_type): Number of item to skip. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """RmAudienceSearchMetadataV1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + total_items (int, none_type): Total number of items. [optional] # noqa: E501 + limit (int, none_type): Max item of the current page. [optional] # noqa: E501 + offset (int, none_type): Number of item to skip. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py index ed39efdd..f21a1d12 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py @@ -87,9 +87,9 @@ def openapi_types(): """ lazy_import() return { - 'name': (str, none_type,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'retailer_id': (str,), # noqa: E501 'description': (str, none_type,), # noqa: E501 - 'retailer_id': (str, none_type,), # noqa: E501 'contact_list': (RmContactListCreateV1,), # noqa: E501 } @@ -100,8 +100,8 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 - 'description': 'description', # noqa: E501 'retailer_id': 'retailerId', # noqa: E501 + 'description': 'description', # noqa: E501 'contact_list': 'contactList', # noqa: E501 } @@ -112,9 +112,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501 """RmAudienceSegmentCreateEntityV1 - a model defined in OpenAPI + Args: + name (str): Name of the segment + retailer_id (str): Retailer associated to the segment + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -146,9 +150,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - name (str, none_type): Name of the segment. [optional] # noqa: E501 description (str, none_type): Description of the segment. [optional] # noqa: E501 - retailer_id (str, none_type): Retailer associated to the segment. [optional] # noqa: E501 contact_list (RmContactListCreateV1): [optional] # noqa: E501 """ @@ -181,6 +183,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.name = name + self.retailer_id = retailer_id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -201,9 +205,13 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, name, retailer_id, *args, **kwargs): # noqa: E501 """RmAudienceSegmentCreateEntityV1 - a model defined in OpenAPI + Args: + name (str): Name of the segment + retailer_id (str): Retailer associated to the segment + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -235,9 +243,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - name (str, none_type): Name of the segment. [optional] # noqa: E501 description (str, none_type): Description of the segment. [optional] # noqa: E501 - retailer_id (str, none_type): Retailer associated to the segment. [optional] # noqa: E501 contact_list (RmContactListCreateV1): [optional] # noqa: E501 """ @@ -268,6 +274,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.name = name + self.retailer_id = retailer_id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py index 1ec76434..0e21b125 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py @@ -31,9 +31,9 @@ def lazy_import(): from criteo_api_retailmedia_preview.model.rm_contact_list_v1 import RmContactListV1 - from criteo_api_retailmedia_preview.model.rm_user_behavior_v1 import RmUserBehaviorV1 + from criteo_api_retailmedia_preview.model.rm_events_v1 import RmEventsV1 globals()['RmContactListV1'] = RmContactListV1 - globals()['RmUserBehaviorV1'] = RmUserBehaviorV1 + globals()['RmEventsV1'] = RmEventsV1 class RmAudienceSegmentEntityV1(ModelNormal): @@ -65,7 +65,7 @@ class RmAudienceSegmentEntityV1(ModelNormal): 'None': None, 'UNKNOWN': "Unknown", 'CONTACTLIST': "ContactList", - 'USERBEHAVIOR': "UserBehavior", + 'EVENTS': "Events", }, ('channels',): { 'None': None, @@ -110,7 +110,7 @@ def openapi_types(): 'updated_at': (datetime, none_type,), # noqa: E501 'created_by_id': (str, none_type,), # noqa: E501 'contact_list': (RmContactListV1,), # noqa: E501 - 'user_behavior': (RmUserBehaviorV1,), # noqa: E501 + 'events': (RmEventsV1,), # noqa: E501 'channels': ([str], none_type,), # noqa: E501 } @@ -129,7 +129,7 @@ def discriminator(): 'updated_at': 'updatedAt', # noqa: E501 'created_by_id': 'createdById', # noqa: E501 'contact_list': 'contactList', # noqa: E501 - 'user_behavior': 'userBehavior', # noqa: E501 + 'events': 'events', # noqa: E501 'channels': 'channels', # noqa: E501 } @@ -183,7 +183,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 updated_at (datetime, none_type): ISO-8601 timestamp in UTC of segment update (read-only). [optional] # noqa: E501 created_by_id (str, none_type): User that created the segment. [optional] # noqa: E501 contact_list (RmContactListV1): [optional] # noqa: E501 - user_behavior (RmUserBehaviorV1): [optional] # noqa: E501 + events (RmEventsV1): [optional] # noqa: E501 channels ([str], none_type): Channels associated to the segment (read-only). [optional] # noqa: E501 """ @@ -279,7 +279,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 updated_at (datetime, none_type): ISO-8601 timestamp in UTC of segment update (read-only). [optional] # noqa: E501 created_by_id (str, none_type): User that created the segment. [optional] # noqa: E501 contact_list (RmContactListV1): [optional] # noqa: E501 - user_behavior (RmUserBehaviorV1): [optional] # noqa: E501 + events (RmEventsV1): [optional] # noqa: E501 channels ([str], none_type): Channels associated to the segment (read-only). [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py index f789dd6e..d856b973 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py @@ -59,7 +59,7 @@ class RmAudienceSegmentSearchEntityV1(ModelNormal): 'None': None, 'UNKNOWN': "Unknown", 'CONTACTLIST': "ContactList", - 'USERBEHAVIOR': "UserBehavior", + 'EVENTS': "Events", }, } diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_contact_list_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_contact_list_v1.py index 4259d4b8..fd1b994f 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_contact_list_v1.py @@ -55,7 +55,7 @@ class RmContactListV1(ModelNormal): """ allowed_values = { - ('type',): { + ('identifier_type',): { 'None': None, 'UNKNOWN': "Unknown", 'EMAIL': "Email", @@ -97,7 +97,7 @@ def openapi_types(): """ return { 'is_read_only': (bool, none_type,), # noqa: E501 - 'type': (str, none_type,), # noqa: E501 + 'identifier_type': (str, none_type,), # noqa: E501 'sharing_status': (str, none_type,), # noqa: E501 } @@ -108,7 +108,7 @@ def discriminator(): attribute_map = { 'is_read_only': 'isReadOnly', # noqa: E501 - 'type': 'type', # noqa: E501 + 'identifier_type': 'identifierType', # noqa: E501 'sharing_status': 'sharingStatus', # noqa: E501 } @@ -154,7 +154,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) is_read_only (bool, none_type): Is the segment read-only. [optional] # noqa: E501 - type (str, none_type): Indicates contact list type. [optional] # noqa: E501 + identifier_type (str, none_type): Indicates contact list identifier's type. [optional] # noqa: E501 sharing_status (str, none_type): Indicates if the contact list is shared with other accounts. [optional] # noqa: E501 """ @@ -242,7 +242,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) is_read_only (bool, none_type): Is the segment read-only. [optional] # noqa: E501 - type (str, none_type): Indicates contact list type. [optional] # noqa: E501 + identifier_type (str, none_type): Indicates contact list identifier's type. [optional] # noqa: E501 sharing_status (str, none_type): Indicates if the contact list is shared with other accounts. [optional] # noqa: E501 """ diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_user_behavior_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_events_v1.py similarity index 98% rename from sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_user_behavior_v1.py rename to sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_events_v1.py index dff9591d..604a6ec3 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_user_behavior_v1.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_events_v1.py @@ -30,7 +30,7 @@ -class RmUserBehaviorV1(ModelNormal): +class RmEventsV1(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -131,7 +131,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RmUserBehaviorV1 - a model defined in OpenAPI + """RmEventsV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -222,7 +222,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """RmUserBehaviorV1 - a model defined in OpenAPI + """RmEventsV1 - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1.py deleted file mode 100644 index d59276d4..00000000 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Criteo API - - Criteo API - RetailMedia # noqa: E501 - - The version of the OpenAPI document: Preview - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError - - -def lazy_import(): - from criteo_api_retailmedia_preview.model.rm_legacy_segment_customer_list import RmLegacySegmentCustomerList - from criteo_api_retailmedia_preview.model.rm_legacy_segment_user_behavior_v1 import RmLegacySegmentUserBehaviorV1 - globals()['RmLegacySegmentCustomerList'] = RmLegacySegmentCustomerList - globals()['RmLegacySegmentUserBehaviorV1'] = RmLegacySegmentUserBehaviorV1 - - -class RmLegacyAudienceGetEntityV1(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'name': (str,), # noqa: E501 - 'retailer_id': (str,), # noqa: E501 - 'user_behavior_details': (RmLegacySegmentUserBehaviorV1,), # noqa: E501 - 'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'retailer_id': 'retailerId', # noqa: E501 - 'user_behavior_details': 'userBehaviorDetails', # noqa: E501 - 'customer_list_details': 'customerListDetails', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, retailer_id, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1 - a model defined in OpenAPI - - Args: - name (str): Name of the audience - retailer_id (str): ID of the retailer associated with this audience - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501 - customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.retailer_id = retailer_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, retailer_id, *args, **kwargs): # noqa: E501 - """RmLegacyAudienceGetEntityV1 - a model defined in OpenAPI - - Args: - name (str): Name of the audience - retailer_id (str): ID of the retailer associated with this audience - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501 - customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.retailer_id = retailer_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v2.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v2.py deleted file mode 100644 index d8d64e4e..00000000 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v2.py +++ /dev/null @@ -1,311 +0,0 @@ -""" - Criteo API - - Criteo API - RetailMedia # noqa: E501 - - The version of the OpenAPI document: Preview - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from criteo_api_retailmedia_preview.exceptions import ApiAttributeError - - - -class RmLegacySegmentUserBehaviorV2(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('user_action',): { - 'BUY': "buy", - 'VIEW': "view", - 'ADDTOCART': "addToCart", - }, - ('lookback_window',): { - 'P7D': "P7D", - 'P14D': "P14D", - 'P30D': "P30D", - 'P45D': "P45D", - 'P60D': "P60D", - 'P90D': "P90D", - 'P120D': "P120D", - 'P150D': "P150D", - 'P180D': "P180D", - }, - } - - validations = { - ('category_ids',): { - }, - ('brand_ids',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'user_action': (str,), # noqa: E501 - 'lookback_window': (str,), # noqa: E501 - 'category_ids': ([int], none_type,), # noqa: E501 - 'brand_ids': ([int], none_type,), # noqa: E501 - 'min_price': (float, none_type,), # noqa: E501 - 'max_price': (float, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'user_action': 'userAction', # noqa: E501 - 'lookback_window': 'lookbackWindow', # noqa: E501 - 'category_ids': 'categoryIds', # noqa: E501 - 'brand_ids': 'brandIds', # noqa: E501 - 'min_price': 'minPrice', # noqa: E501 - 'max_price': 'maxPrice', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, user_action, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorV2 - a model defined in OpenAPI - - Args: - user_action (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - category_ids ([int], none_type): The categories to target. [optional] # noqa: E501 - brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501 - min_price (float, none_type): The min price of targeted skus.. [optional] # noqa: E501 - max_price (float, none_type): The max price of targeted skus.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_action = user_action - self.lookback_window = lookback_window - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, user_action, lookback_window, *args, **kwargs): # noqa: E501 - """RmLegacySegmentUserBehaviorV2 - a model defined in OpenAPI - - Args: - user_action (str): Type of shopper activity used to generate the audience. - lookback_window (str): Length of lookback window - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - category_ids ([int], none_type): The categories to target. [optional] # noqa: E501 - brand_ids ([int], none_type): The brands to target. [optional] # noqa: E501 - min_price (float, none_type): The min price of targeted skus.. [optional] # noqa: E501 - max_price (float, none_type): The max price of targeted skus.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user_action = user_action - self.lookback_window = lookback_window - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/validation_error.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/validation_error.py new file mode 100644 index 00000000..62bb4793 --- /dev/null +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/model/validation_error.py @@ -0,0 +1,287 @@ +""" + Criteo API + + Criteo API - RetailMedia # noqa: E501 + + The version of the OpenAPI document: Preview + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from criteo_api_retailmedia_preview.exceptions import ApiAttributeError + + +def lazy_import(): + from criteo_api_retailmedia_preview.model.location_inner import LocationInner + globals()['LocationInner'] = LocationInner + + +class ValidationError(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'loc': ([LocationInner],), # noqa: E501 + 'msg': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'loc': 'loc', # noqa: E501 + 'msg': 'msg', # noqa: E501 + 'type': 'type', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, loc, msg, type, *args, **kwargs): # noqa: E501 + """ValidationError - a model defined in OpenAPI + + Args: + loc ([LocationInner]): + msg (str): + type (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.loc = loc + self.msg = msg + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, loc, msg, type, *args, **kwargs): # noqa: E501 + """ValidationError - a model defined in OpenAPI + + Args: + loc ([LocationInner]): + msg (str): + type (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.loc = loc + self.msg = msg + self.type = type + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/models/__init__.py b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/models/__init__.py index d5ad604e..fe78fe90 100644 --- a/sdks/retailmedia_preview/criteo_api_retailmedia_preview/models/__init__.py +++ b/sdks/retailmedia_preview/criteo_api_retailmedia_preview/models/__init__.py @@ -35,12 +35,11 @@ from criteo_api_retailmedia_preview.model.balance_response_v2 import BalanceResponseV2 from criteo_api_retailmedia_preview.model.balance_response_v2_response import BalanceResponseV2Response from criteo_api_retailmedia_preview.model.batch_accepted_response import BatchAcceptedResponse +from criteo_api_retailmedia_preview.model.bot_message import BotMessage +from criteo_api_retailmedia_preview.model.botmessage import Botmessage from criteo_api_retailmedia_preview.model.brand import Brand from criteo_api_retailmedia_preview.model.brand_preview import BrandPreview from criteo_api_retailmedia_preview.model.brand_preview_list_response import BrandPreviewListResponse -from criteo_api_retailmedia_preview.model.campaign_budget_overrides import CampaignBudgetOverrides -from criteo_api_retailmedia_preview.model.campaign_daily_budget_override import CampaignDailyBudgetOverride -from criteo_api_retailmedia_preview.model.campaign_monthly_budget_override import CampaignMonthlyBudgetOverride from criteo_api_retailmedia_preview.model.category import Category from criteo_api_retailmedia_preview.model.category202204 import Category202204 from criteo_api_retailmedia_preview.model.change_dates_of_balance_v2 import ChangeDatesOfBalanceV2 @@ -57,7 +56,8 @@ from criteo_api_retailmedia_preview.model.creative_v2_list_response import CreativeV2ListResponse from criteo_api_retailmedia_preview.model.creative_v2_response import CreativeV2Response from criteo_api_retailmedia_preview.model.custom_attribute import CustomAttribute -from criteo_api_retailmedia_preview.model.daily_line_item_budget_override import DailyLineItemBudgetOverride +from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_account import EntityResourceCollectionOutcomeOfRetailMediaAccount +from criteo_api_retailmedia_preview.model.entity_resource_of_retail_media_account import EntityResourceOfRetailMediaAccount from criteo_api_retailmedia_preview.model.error_code_response import ErrorCodeResponse from criteo_api_retailmedia_preview.model.export_report_column import ExportReportColumn from criteo_api_retailmedia_preview.model.export_report_meta_data import ExportReportMetaData @@ -81,6 +81,7 @@ from criteo_api_retailmedia_preview.model.external_preferred_line_item_v2 import ExternalPreferredLineItemV2 from criteo_api_retailmedia_preview.model.external_product_button_request import ExternalProductButtonRequest from criteo_api_retailmedia_preview.model.external_product_button_response import ExternalProductButtonResponse +from criteo_api_retailmedia_preview.model.external_retail_media_account import ExternalRetailMediaAccount from criteo_api_retailmedia_preview.model.external_retailer import ExternalRetailer from criteo_api_retailmedia_preview.model.external_template_variable_value import ExternalTemplateVariableValue from criteo_api_retailmedia_preview.model.external_text_variable_value import ExternalTextVariableValue @@ -89,6 +90,10 @@ from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput from criteo_api_retailmedia_preview.model.grant_consent_model import GrantConsentModel from criteo_api_retailmedia_preview.model.grant_consent_model_value_resource import GrantConsentModelValueResource +from criteo_api_retailmedia_preview.model.http_validation_error import HttpValidationError +from criteo_api_retailmedia_preview.model.inbot_discussion import InbotDiscussion +from criteo_api_retailmedia_preview.model.inbot_discussion_body_model import InbotDiscussionBodyModel +from criteo_api_retailmedia_preview.model.inbot_discussion_data_instance_model import InbotDiscussionDataInstanceModel from criteo_api_retailmedia_preview.model.input_keywords import InputKeywords from criteo_api_retailmedia_preview.model.input_keywords_model import InputKeywordsModel from criteo_api_retailmedia_preview.model.input_resource_of_preferred_line_item_create_model_v2 import InputResourceOfPreferredLineItemCreateModelV2 @@ -113,12 +118,15 @@ from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_request import LineItemBidMultipliersV2Request from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_response import LineItemBidMultipliersV2Response -from criteo_api_retailmedia_preview.model.line_item_budget_overrides import LineItemBudgetOverrides from criteo_api_retailmedia_preview.model.line_item_product_status import LineItemProductStatus +from criteo_api_retailmedia_preview.model.location_inner import LocationInner from criteo_api_retailmedia_preview.model.loyalty_points import LoyaltyPoints from criteo_api_retailmedia_preview.model.match_type_model import MatchTypeModel +from criteo_api_retailmedia_preview.model.message import Message +from criteo_api_retailmedia_preview.model.message_body_model import MessageBodyModel +from criteo_api_retailmedia_preview.model.message_data_instance_model import MessageDataInstanceModel +from criteo_api_retailmedia_preview.model.message_error import MessageError from criteo_api_retailmedia_preview.model.metadata import Metadata -from criteo_api_retailmedia_preview.model.monthly_line_item_budeget_override import MonthlyLineItemBudegetOverride from criteo_api_retailmedia_preview.model.negotiation_state_model import NegotiationStateModel from criteo_api_retailmedia_preview.model.nillable_string import NillableString from criteo_api_retailmedia_preview.model.page_metadata import PageMetadata @@ -140,6 +148,7 @@ from criteo_api_retailmedia_preview.model.product_importer_error import ProductImporterError from criteo_api_retailmedia_preview.model.product_importer_warning import ProductImporterWarning from criteo_api_retailmedia_preview.model.product_metadata import ProductMetadata +from criteo_api_retailmedia_preview.model.product_recommendation import ProductRecommendation from criteo_api_retailmedia_preview.model.product_resource_outcome import ProductResourceOutcome from criteo_api_retailmedia_preview.model.product_shipping import ProductShipping from criteo_api_retailmedia_preview.model.product_shipping_dimension import ProductShippingDimension @@ -160,6 +169,8 @@ from criteo_api_retailmedia_preview.model.report_data_response_resource import ReportDataResponseResource from criteo_api_retailmedia_preview.model.report_detail_error import ReportDetailError from criteo_api_retailmedia_preview.model.report_detail_errors import ReportDetailErrors +from criteo_api_retailmedia_preview.model.report_detail_warning import ReportDetailWarning +from criteo_api_retailmedia_preview.model.report_detail_warnings import ReportDetailWarnings from criteo_api_retailmedia_preview.model.report_ok_response import ReportOkResponse from criteo_api_retailmedia_preview.model.report_outcome import ReportOutcome from criteo_api_retailmedia_preview.model.report_response import ReportResponse @@ -199,6 +210,14 @@ from criteo_api_retailmedia_preview.model.retail_media_seller import RetailMediaSeller from criteo_api_retailmedia_preview.model.retail_media_seller_account_creation import RetailMediaSellerAccountCreation from criteo_api_retailmedia_preview.model.review_state_model import ReviewStateModel +from criteo_api_retailmedia_preview.model.rm_algebra_node_v1 import RmAlgebraNodeV1 +from criteo_api_retailmedia_preview.model.rm_audience_entity_v1 import RmAudienceEntityV1 +from criteo_api_retailmedia_preview.model.rm_audience_entity_v1_resource import RmAudienceEntityV1Resource +from criteo_api_retailmedia_preview.model.rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response import RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse +from criteo_api_retailmedia_preview.model.rm_audience_search_entity_v1 import RmAudienceSearchEntityV1 +from criteo_api_retailmedia_preview.model.rm_audience_search_entity_v1_resource import RmAudienceSearchEntityV1Resource +from criteo_api_retailmedia_preview.model.rm_audience_search_input_v1 import RmAudienceSearchInputV1 +from criteo_api_retailmedia_preview.model.rm_audience_search_metadata_v1 import RmAudienceSearchMetadataV1 from criteo_api_retailmedia_preview.model.rm_audience_segment_bulk_create_input_v1 import RmAudienceSegmentBulkCreateInputV1 from criteo_api_retailmedia_preview.model.rm_audience_segment_bulk_delete_input_v1 import RmAudienceSegmentBulkDeleteInputV1 from criteo_api_retailmedia_preview.model.rm_audience_segment_bulk_update_input_v1 import RmAudienceSegmentBulkUpdateInputV1 @@ -222,17 +241,7 @@ from criteo_api_retailmedia_preview.model.rm_contact_list_statistics_entity_v1_resource import RmContactListStatisticsEntityV1Resource from criteo_api_retailmedia_preview.model.rm_contact_list_statistics_entity_v1_response import RmContactListStatisticsEntityV1Response from criteo_api_retailmedia_preview.model.rm_contact_list_v1 import RmContactListV1 -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v1 import RmLegacyAudienceGetEntityV1 -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v1_list_response import RmLegacyAudienceGetEntityV1ListResponse -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v1_resource import RmLegacyAudienceGetEntityV1Resource -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v2 import RmLegacyAudienceGetEntityV2 -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v2_list_response import RmLegacyAudienceGetEntityV2ListResponse -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v2_resource import RmLegacyAudienceGetEntityV2Resource -from criteo_api_retailmedia_preview.model.rm_legacy_audience_user_behavior_details_v2 import RmLegacyAudienceUserBehaviorDetailsV2 -from criteo_api_retailmedia_preview.model.rm_legacy_segment_customer_list import RmLegacySegmentCustomerList -from criteo_api_retailmedia_preview.model.rm_legacy_segment_user_behavior_v1 import RmLegacySegmentUserBehaviorV1 -from criteo_api_retailmedia_preview.model.rm_legacy_segment_user_behavior_v2 import RmLegacySegmentUserBehaviorV2 -from criteo_api_retailmedia_preview.model.rm_user_behavior_v1 import RmUserBehaviorV1 +from criteo_api_retailmedia_preview.model.rm_events_v1 import RmEventsV1 from criteo_api_retailmedia_preview.model.rmca_common_problem import RmcaCommonProblem from criteo_api_retailmedia_preview.model.seller_catalog_request import SellerCatalogRequest from criteo_api_retailmedia_preview.model.seller_identifier import SellerIdentifier @@ -270,16 +279,11 @@ from criteo_api_retailmedia_preview.model.sync_line_items_report_resource import SyncLineItemsReportResource from criteo_api_retailmedia_preview.model.update_balance_model_v2 import UpdateBalanceModelV2 from criteo_api_retailmedia_preview.model.update_balance_model_v2_request import UpdateBalanceModelV2Request +from criteo_api_retailmedia_preview.model.validation_error import ValidationError from criteo_api_retailmedia_preview.model.value_resource_collection_input_of_retail_media_seller import ValueResourceCollectionInputOfRetailMediaSeller from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller -from criteo_api_retailmedia_preview.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides -from criteo_api_retailmedia_preview.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides from criteo_api_retailmedia_preview.model.value_resource_input_of_retail_media_seller_account_creation import ValueResourceInputOfRetailMediaSellerAccountCreation -from criteo_api_retailmedia_preview.model.value_resource_of_campaign_budget_overrides import ValueResourceOfCampaignBudgetOverrides -from criteo_api_retailmedia_preview.model.value_resource_of_line_item_budget_overrides import ValueResourceOfLineItemBudgetOverrides from criteo_api_retailmedia_preview.model.value_resource_of_recommended_keywords_result import ValueResourceOfRecommendedKeywordsResult from criteo_api_retailmedia_preview.model.value_resource_of_retail_media_seller import ValueResourceOfRetailMediaSeller from criteo_api_retailmedia_preview.model.value_resource_of_retail_media_seller_account_creation import ValueResourceOfRetailMediaSellerAccountCreation -from criteo_api_retailmedia_preview.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides -from criteo_api_retailmedia_preview.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides from criteo_api_retailmedia_preview.model.value_resource_outcome_of_recommended_keywords_result import ValueResourceOutcomeOfRecommendedKeywordsResult diff --git a/sdks/retailmedia_preview/docs/AccountsApi.md b/sdks/retailmedia_preview/docs/AccountsApi.md index ecd2afba..33329e5e 100644 --- a/sdks/retailmedia_preview/docs/AccountsApi.md +++ b/sdks/retailmedia_preview/docs/AccountsApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_private_market_demand_seller_account**](AccountsApi.md#create_private_market_demand_seller_account) | **POST** /preview/retail-media/account-management/accounts/{accountId}/create-seller-account | +[**get_api_external_v1_account_private_market_child_accounts_by_account_id**](AccountsApi.md#get_api_external_v1_account_private_market_child_accounts_by_account_id) | **GET** /preview/retail-media/account-management/accounts/{accountId}/private-market-child-accounts | [**get_api_v1_external_accounts**](AccountsApi.md#get_api_v1_external_accounts) | **GET** /preview/retail-media/accounts | [**grant_consent**](AccountsApi.md#grant_consent) | **POST** /preview/retail-media/accounts/{accountId}/grant-consent | [**update_sellers**](AccountsApi.md#update_sellers) | **PUT** /preview/retail-media/account-management/accounts/{accountId}/sellers | @@ -63,6 +64,7 @@ with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: attributes=RetailMediaSellerAccountCreation( name="name_example", company_name="company_name_example", + on_behalf_company_name="on_behalf_company_name_example", sellers=[ RetailMediaSeller( seller_id="seller_id_example", @@ -119,6 +121,102 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_api_external_v1_account_private_market_child_accounts_by_account_id** +> EntityResourceCollectionOutcomeOfRetailMediaAccount get_api_external_v1_account_private_market_child_accounts_by_account_id(account_id) + + + +Gets page of private market child accounts that are associated with the given account + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_preview +from criteo_api_retailmedia_preview.api import accounts_api +from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_account import EntityResourceCollectionOutcomeOfRetailMediaAccount +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_preview.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_preview.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_preview.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounts_api.AccountsApi(api_client) + account_id = "accountId_example" # str | Account Id + offset = 0 # int | The (zero-based) offset into the collection of accounts. The default is 0. (optional) if omitted the server will use the default value of 0 + limit = 25 # int | The number of accounts to be returned. The default is 25. (optional) if omitted the server will use the default value of 25 + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_api_external_v1_account_private_market_child_accounts_by_account_id(account_id) + pprint(api_response) + except criteo_api_retailmedia_preview.ApiException as e: + print("Exception when calling AccountsApi->get_api_external_v1_account_private_market_child_accounts_by_account_id: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + api_response = api_instance.get_api_external_v1_account_private_market_child_accounts_by_account_id(account_id, offset=offset, limit=limit) + pprint(api_response) + except criteo_api_retailmedia_preview.ApiException as e: + print("Exception when calling AccountsApi->get_api_external_v1_account_private_market_child_accounts_by_account_id: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| Account Id | + **offset** | **int**| The (zero-based) offset into the collection of accounts. The default is 0. | [optional] if omitted the server will use the default value of 0 + **limit** | **int**| The number of accounts to be returned. The default is 25. | [optional] if omitted the server will use the default value of 25 + +### Return type + +[**EntityResourceCollectionOutcomeOfRetailMediaAccount**](EntityResourceCollectionOutcomeOfRetailMediaAccount.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Success | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_api_v1_external_accounts** > JsonApiPageResponseOfAccount get_api_v1_external_accounts() diff --git a/sdks/retailmedia_preview/docs/AnalyticsApi.md b/sdks/retailmedia_preview/docs/AnalyticsApi.md index debf6c91..df99e43f 100644 --- a/sdks/retailmedia_preview/docs/AnalyticsApi.md +++ b/sdks/retailmedia_preview/docs/AnalyticsApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description -Returns an asynchronous Accounts Report +Returns an asynchronous Accounts Report This endpoint is subject to specific rate limits. ### Example @@ -132,7 +132,7 @@ Name | Type | Description | Notes -Return an asynchronous Campaigns Report +Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. ### Example @@ -245,7 +245,7 @@ Name | Type | Description | Notes -Returns an asynchronous Line Items Report +Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. ### Example diff --git a/sdks/retailmedia_preview/docs/AudienceApi.md b/sdks/retailmedia_preview/docs/AudienceApi.md index a9aa34f0..717e139b 100644 --- a/sdks/retailmedia_preview/docs/AudienceApi.md +++ b/sdks/retailmedia_preview/docs/AudienceApi.md @@ -4,19 +4,18 @@ All URIs are relative to *https://api.criteo.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**bulk_create_v1**](AudienceApi.md#bulk_create_v1) | **POST** /preview/retail-media/accounts/{account-id}/audience-segments/create | -[**bulk_delete_v1**](AudienceApi.md#bulk_delete_v1) | **POST** /preview/retail-media/accounts/{account-id}/audience-segments/delete | -[**bulk_update_v1**](AudienceApi.md#bulk_update_v1) | **PATCH** /preview/retail-media/accounts/{account-id}/audience-segments | +[**bulk_create_audience_segments**](AudienceApi.md#bulk_create_audience_segments) | **POST** /preview/retail-media/accounts/{account-id}/audience-segments/create | +[**bulk_delete_audience_segments**](AudienceApi.md#bulk_delete_audience_segments) | **POST** /preview/retail-media/accounts/{account-id}/audience-segments/delete | +[**bulk_update_audience_segments**](AudienceApi.md#bulk_update_audience_segments) | **PATCH** /preview/retail-media/accounts/{account-id}/audience-segments | [**delete_contact_list_identifiers**](AudienceApi.md#delete_contact_list_identifiers) | **POST** /preview/retail-media/audience-segments/{audience-segment-id}/contact-list/clear | -[**get_contact_list_statistics_v1**](AudienceApi.md#get_contact_list_statistics_v1) | **GET** /preview/retail-media/accounts/{account-id}/audience-segments/{audience-segment-id}/contact-list | -[**legacy_get_audience_v1**](AudienceApi.md#legacy_get_audience_v1) | **GET** /preview/retail-media/accounts/{accountId}/audiences | -[**legacy_get_audience_v2**](AudienceApi.md#legacy_get_audience_v2) | **GET** /preview/retail-media/v2/accounts/{accountId}/audiences | -[**search_v1**](AudienceApi.md#search_v1) | **POST** /preview/retail-media/accounts/{account-id}/audience-segments/search | +[**get_audience_segment_contact_list_statistics**](AudienceApi.md#get_audience_segment_contact_list_statistics) | **GET** /preview/retail-media/accounts/{account-id}/audience-segments/{audience-segment-id}/contact-list | +[**search_audience_segments**](AudienceApi.md#search_audience_segments) | **POST** /preview/retail-media/accounts/{account-id}/audience-segments/search | +[**search_audiences**](AudienceApi.md#search_audiences) | **POST** /preview/retail-media/accounts/{account-id}/audiences/search | [**update_contact_list_identifiers**](AudienceApi.md#update_contact_list_identifiers) | **POST** /preview/retail-media/audience-segments/{audience-segment-id}/contact-list/add-remove | -# **bulk_create_v1** -> RmAudienceSegmentEntityV1ListResponse bulk_create_v1(account_id, rm_audience_segment_bulk_create_input_v1) +# **bulk_create_audience_segments** +> RmAudienceSegmentEntityV1ListResponse bulk_create_audience_segments(account_id, rm_audience_segment_bulk_create_input_v1) @@ -80,10 +79,10 @@ with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set try: - api_response = api_instance.bulk_create_v1(account_id, rm_audience_segment_bulk_create_input_v1) + api_response = api_instance.bulk_create_audience_segments(account_id, rm_audience_segment_bulk_create_input_v1) pprint(api_response) except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->bulk_create_v1: %s\n" % e) + print("Exception when calling AudienceApi->bulk_create_audience_segments: %s\n" % e) ``` @@ -119,8 +118,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **bulk_delete_v1** -> RmAudienceSegmentIdEntityV1ListResponse bulk_delete_v1(account_id, rm_audience_segment_bulk_delete_input_v1) +# **bulk_delete_audience_segments** +> RmAudienceSegmentIdEntityV1ListResponse bulk_delete_audience_segments(account_id, rm_audience_segment_bulk_delete_input_v1) @@ -178,10 +177,10 @@ with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set try: - api_response = api_instance.bulk_delete_v1(account_id, rm_audience_segment_bulk_delete_input_v1) + api_response = api_instance.bulk_delete_audience_segments(account_id, rm_audience_segment_bulk_delete_input_v1) pprint(api_response) except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->bulk_delete_v1: %s\n" % e) + print("Exception when calling AudienceApi->bulk_delete_audience_segments: %s\n" % e) ``` @@ -217,8 +216,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **bulk_update_v1** -> RmAudienceSegmentEntityV1ListResponse bulk_update_v1(account_id, rm_audience_segment_bulk_update_input_v1) +# **bulk_update_audience_segments** +> RmAudienceSegmentEntityV1ListResponse bulk_update_audience_segments(account_id, rm_audience_segment_bulk_update_input_v1) @@ -282,10 +281,10 @@ with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set try: - api_response = api_instance.bulk_update_v1(account_id, rm_audience_segment_bulk_update_input_v1) + api_response = api_instance.bulk_update_audience_segments(account_id, rm_audience_segment_bulk_update_input_v1) pprint(api_response) except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->bulk_update_v1: %s\n" % e) + print("Exception when calling AudienceApi->bulk_update_audience_segments: %s\n" % e) ``` @@ -405,8 +404,8 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_contact_list_statistics_v1** -> RmContactListStatisticsEntityV1Response get_contact_list_statistics_v1(account_id, audience_segment_id) +# **get_audience_segment_contact_list_statistics** +> RmContactListStatisticsEntityV1Response get_audience_segment_contact_list_statistics(account_id, audience_segment_id) @@ -455,10 +454,10 @@ with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set try: - api_response = api_instance.get_contact_list_statistics_v1(account_id, audience_segment_id) + api_response = api_instance.get_audience_segment_contact_list_statistics(account_id, audience_segment_id) pprint(api_response) except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->get_contact_list_statistics_v1: %s\n" % e) + print("Exception when calling AudienceApi->get_audience_segment_contact_list_statistics: %s\n" % e) ``` @@ -494,115 +493,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **legacy_get_audience_v1** -> RmLegacyAudienceGetEntityV1ListResponse legacy_get_audience_v1(account_id) +# **search_audience_segments** +> RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse search_audience_segments(account_id, rm_audience_segment_search_input_v1) -Get a page of Audiences. (deprecated Public API) - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_preview -from criteo_api_retailmedia_preview.api import audience_api -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v1_list_response import RmLegacyAudienceGetEntityV1ListResponse -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = audience_api.AudienceApi(api_client) - account_id = 1 # int | ID of the account to which this audience belongs. - limit_to_id = [ - 1, - ] # [int] | Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2 (optional) - page_size = 1 # int | Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page. (optional) - page_index = 1 # int | Returns the specified page of results given a pageSize; pages are 0-indexed. (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.legacy_get_audience_v1(account_id) - pprint(api_response) - except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->legacy_get_audience_v1: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.legacy_get_audience_v1(account_id, limit_to_id=limit_to_id, page_size=page_size, page_index=page_index) - pprint(api_response) - except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->legacy_get_audience_v1: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **account_id** | **int**| ID of the account to which this audience belongs. | - **limit_to_id** | **[int]**| Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2 | [optional] - **page_size** | **int**| Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page. | [optional] - **page_index** | **int**| Returns the specified page of results given a pageSize; pages are 0-indexed. | [optional] - -### Return type - -[**RmLegacyAudienceGetEntityV1ListResponse**](RmLegacyAudienceGetEntityV1ListResponse.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: text/plain, application/json, text/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | A page of audiences for the supplied account or shared by related retailers. | - | -**400** | Bad request | - | -**401** | The API client is not properly authenticated. | - | -**403** | The API client is not authorized to access this resource. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **legacy_get_audience_v2** -> RmLegacyAudienceGetEntityV2ListResponse legacy_get_audience_v2(account_id) - - - -Get a page of Audiences. (deprecated Public API) +Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. ### Example @@ -613,7 +509,8 @@ Get a page of Audiences. (deprecated Public API) import time import criteo_api_retailmedia_preview from criteo_api_retailmedia_preview.api import audience_api -from criteo_api_retailmedia_preview.model.rm_legacy_audience_get_entity_v2_list_response import RmLegacyAudienceGetEntityV2ListResponse +from criteo_api_retailmedia_preview.model.rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response import RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse +from criteo_api_retailmedia_preview.model.rm_audience_segment_search_input_v1 import RmAudienceSegmentSearchInputV1 from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -642,27 +539,40 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN' with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) - account_id = 1 # int | ID of the account to which this audience belongs. - limit_to_id = [ - 1, - ] # [int] | Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2 (optional) - page_size = 1 # int | Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page. (optional) - page_index = 1 # int | Returns the specified page of results given a pageSize; pages are 0-indexed. (optional) + account_id = "account-id_example" # str | Account Id + rm_audience_segment_search_input_v1 = RmAudienceSegmentSearchInputV1( + data=RmAudienceSegmentSearchEntityV1Resource( + type="type_example", + attributes=RmAudienceSegmentSearchEntityV1( + audience_segment_ids=[ + "audience_segment_ids_example", + ], + retailer_ids=[ + "retailer_ids_example", + ], + audience_segment_types=[ + "Unknown", + ], + ), + ), + ) # RmAudienceSegmentSearchInputV1 | Segment search filters. + limit = 50 # int | The number of elements to be returned. The default is 50 and the maximum is 100. (optional) if omitted the server will use the default value of 50 + offset = 0 # int | The (zero-based) offset into the collection. The default is 0. (optional) if omitted the server will use the default value of 0 # example passing only required values which don't have defaults set try: - api_response = api_instance.legacy_get_audience_v2(account_id) + api_response = api_instance.search_audience_segments(account_id, rm_audience_segment_search_input_v1) pprint(api_response) except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->legacy_get_audience_v2: %s\n" % e) + print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.legacy_get_audience_v2(account_id, limit_to_id=limit_to_id, page_size=page_size, page_index=page_index) + api_response = api_instance.search_audience_segments(account_id, rm_audience_segment_search_input_v1, limit=limit, offset=offset) pprint(api_response) except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->legacy_get_audience_v2: %s\n" % e) + print("Exception when calling AudienceApi->search_audience_segments: %s\n" % e) ``` @@ -670,14 +580,14 @@ with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **account_id** | **int**| ID of the account to which this audience belongs. | - **limit_to_id** | **[int]**| Limits results to the entity IDs specified; parameter key is repeated, eg. limitToId=1&limitToId=2 | [optional] - **page_size** | **int**| Specifies the maximum number of entities returned in a single page; defaults to 25 entities per page. | [optional] - **page_index** | **int**| Returns the specified page of results given a pageSize; pages are 0-indexed. | [optional] + **account_id** | **str**| Account Id | + **rm_audience_segment_search_input_v1** | [**RmAudienceSegmentSearchInputV1**](RmAudienceSegmentSearchInputV1.md)| Segment search filters. | + **limit** | **int**| The number of elements to be returned. The default is 50 and the maximum is 100. | [optional] if omitted the server will use the default value of 50 + **offset** | **int**| The (zero-based) offset into the collection. The default is 0. | [optional] if omitted the server will use the default value of 0 ### Return type -[**RmLegacyAudienceGetEntityV2ListResponse**](RmLegacyAudienceGetEntityV2ListResponse.md) +[**RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse**](RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse.md) ### Authorization @@ -685,7 +595,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - **Accept**: text/plain, application/json, text/json @@ -693,19 +603,19 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | A page of audiences for the supplied account or shared by related retailers. | - | +**200** | Success or partial success | - | **400** | Bad request | - | **401** | The API client is not properly authenticated. | - | **403** | The API client is not authorized to access this resource. | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **search_v1** -> RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse search_v1(account_id, rm_audience_segment_search_input_v1) +# **search_audiences** +> RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse search_audiences(account_id, rm_audience_search_input_v1) -Returns a list of segments that match the provided filters. If present, the filters are AND'ed together when applied. +Returns a list of audiences that match the provided filters. If present, the filters are AND'ed together when applied. ### Example @@ -716,8 +626,8 @@ Returns a list of segments that match the provided filters. If present, the filt import time import criteo_api_retailmedia_preview from criteo_api_retailmedia_preview.api import audience_api -from criteo_api_retailmedia_preview.model.rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response import RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse -from criteo_api_retailmedia_preview.model.rm_audience_segment_search_input_v1 import RmAudienceSegmentSearchInputV1 +from criteo_api_retailmedia_preview.model.rm_audience_search_input_v1 import RmAudienceSearchInputV1 +from criteo_api_retailmedia_preview.model.rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response import RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse from pprint import pprint # Defining the host is optional and defaults to https://api.criteo.com # See configuration.py for a list of all supported configuration parameters. @@ -747,39 +657,39 @@ with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = audience_api.AudienceApi(api_client) account_id = "account-id_example" # str | Account Id - rm_audience_segment_search_input_v1 = RmAudienceSegmentSearchInputV1( - data=RmAudienceSegmentSearchEntityV1Resource( + rm_audience_search_input_v1 = RmAudienceSearchInputV1( + data=RmAudienceSearchEntityV1Resource( type="type_example", - attributes=RmAudienceSegmentSearchEntityV1( - audience_segment_ids=[ - "audience_segment_ids_example", + attributes=RmAudienceSearchEntityV1( + audience_ids=[ + "audience_ids_example", ], retailer_ids=[ "retailer_ids_example", ], - audience_segment_types=[ - "Unknown", + audience_segment_ids=[ + "audience_segment_ids_example", ], ), ), - ) # RmAudienceSegmentSearchInputV1 | Segment search filters. + ) # RmAudienceSearchInputV1 | Audience search filters. limit = 50 # int | The number of elements to be returned. The default is 50 and the maximum is 100. (optional) if omitted the server will use the default value of 50 offset = 0 # int | The (zero-based) offset into the collection. The default is 0. (optional) if omitted the server will use the default value of 0 # example passing only required values which don't have defaults set try: - api_response = api_instance.search_v1(account_id, rm_audience_segment_search_input_v1) + api_response = api_instance.search_audiences(account_id, rm_audience_search_input_v1) pprint(api_response) except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->search_v1: %s\n" % e) + print("Exception when calling AudienceApi->search_audiences: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - api_response = api_instance.search_v1(account_id, rm_audience_segment_search_input_v1, limit=limit, offset=offset) + api_response = api_instance.search_audiences(account_id, rm_audience_search_input_v1, limit=limit, offset=offset) pprint(api_response) except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling AudienceApi->search_v1: %s\n" % e) + print("Exception when calling AudienceApi->search_audiences: %s\n" % e) ``` @@ -788,13 +698,13 @@ with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **account_id** | **str**| Account Id | - **rm_audience_segment_search_input_v1** | [**RmAudienceSegmentSearchInputV1**](RmAudienceSegmentSearchInputV1.md)| Segment search filters. | + **rm_audience_search_input_v1** | [**RmAudienceSearchInputV1**](RmAudienceSearchInputV1.md)| Audience search filters. | **limit** | **int**| The number of elements to be returned. The default is 50 and the maximum is 100. | [optional] if omitted the server will use the default value of 50 **offset** | **int**| The (zero-based) offset into the collection. The default is 0. | [optional] if omitted the server will use the default value of 0 ### Return type -[**RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse**](RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse.md) +[**RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse**](RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md) ### Authorization diff --git a/sdks/retailmedia_preview/docs/BotMessage.md b/sdks/retailmedia_preview/docs/BotMessage.md new file mode 100644 index 00000000..2679e388 --- /dev/null +++ b/sdks/retailmedia_preview/docs/BotMessage.md @@ -0,0 +1,15 @@ +# BotMessage + +bot structured answer to the user prompt + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**opening** | **str, none_type** | opening comment from the bot, introducing the list of recommended products if relevant. | [optional] +**product_recos** | [**[ProductRecommendation], none_type**](ProductRecommendation.md) | list of recommended products | [optional] +**closing** | **str, none_type** | closing remark from the bot | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_2023-07/docs/PatchAdSet.md b/sdks/retailmedia_preview/docs/Botmessage.md similarity index 55% rename from sdks/marketingsolutions_2023-07/docs/PatchAdSet.md rename to sdks/retailmedia_preview/docs/Botmessage.md index 749b72dc..b2e71e0c 100644 --- a/sdks/marketingsolutions_2023-07/docs/PatchAdSet.md +++ b/sdks/retailmedia_preview/docs/Botmessage.md @@ -1,15 +1,13 @@ -# PatchAdSet +# Botmessage -ad set patch model +bot answer with recommendations ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str, none_type** | | [optional] -**scheduling** | [**PatchAdSetScheduling**](PatchAdSetScheduling.md) | | [optional] -**bidding** | [**PatchAdSetBidding**](PatchAdSetBidding.md) | | [optional] -**targeting** | [**AdSetTargeting**](AdSetTargeting.md) | | [optional] -**budget** | [**PatchAdSetBudget**](PatchAdSetBudget.md) | | [optional] +**opening** | **str, none_type** | opening comment from the bot, introducing the list of recommended products if relevant. | [optional] +**product_recos** | [**[ProductRecommendation], none_type**](ProductRecommendation.md) | list of recommended products | [optional] +**closing** | **str, none_type** | closing remark from the bot | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/docs/CampaignApi.md b/sdks/retailmedia_preview/docs/CampaignApi.md index 7814fdba..a643c4a6 100644 --- a/sdks/retailmedia_preview/docs/CampaignApi.md +++ b/sdks/retailmedia_preview/docs/CampaignApi.md @@ -23,9 +23,7 @@ Method | HTTP request | Description [**get_api_v2_external_campaign_preferred_line_items_by_campaign_id**](CampaignApi.md#get_api_v2_external_campaign_preferred_line_items_by_campaign_id) | **GET** /preview/retail-media/campaigns/{campaign-id}/preferred-line-items | [**get_api_v2_external_line_item_bid_multipliers_by_line_item_id**](CampaignApi.md#get_api_v2_external_line_item_bid_multipliers_by_line_item_id) | **GET** /preview/retail-media/line-items/{line-item-id}/bid-multipliers | [**get_api_v2_external_preferred_line_item_by_line_item_id**](CampaignApi.md#get_api_v2_external_preferred_line_item_by_line_item_id) | **GET** /preview/retail-media/preferred-line-items/{line-item-id} | -[**get_campaign_budget_overrides**](CampaignApi.md#get_campaign_budget_overrides) | **GET** /preview/retail-media/campaigns/{campaignId}/campaign-budget-overrides | [**get_insertion_order_history_change_data_capture_v2**](CampaignApi.md#get_insertion_order_history_change_data_capture_v2) | **GET** /preview/retail-media/insertion-order-history/{insertionOrderId}/change-data-capture | -[**get_line_item_budget_overrides**](CampaignApi.md#get_line_item_budget_overrides) | **GET** /preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides | [**get_recommended_keywords**](CampaignApi.md#get_recommended_keywords) | **GET** /preview/retail-media/line-items/{externalLineItemId}/keywords/recommended | [**get_sku_by_product_id**](CampaignApi.md#get_sku_by_product_id) | **POST** /preview/retail-media/catalogs/sku/search/accounts/{accountId}/retailers/{retailerId}/by-id | [**pause_promoted_products**](CampaignApi.md#pause_promoted_products) | **POST** /preview/retail-media/line-items/{line-item-id}/products/pause | @@ -45,8 +43,6 @@ Method | HTTP request | Description [**set_keyword_bids**](CampaignApi.md#set_keyword_bids) | **POST** /preview/retail-media/line-items/{id}/keywords/set-bid | [**submit_proposal**](CampaignApi.md#submit_proposal) | **POST** /preview/retail-media/preferred-deal-line-items/{id}/proposal/submit | [**unpause_promoted_products**](CampaignApi.md#unpause_promoted_products) | **POST** /preview/retail-media/line-items/{line-item-id}/products/unpause | -[**update_campaign_budget_overrides**](CampaignApi.md#update_campaign_budget_overrides) | **PUT** /preview/retail-media/campaigns/{campaignId}/campaign-budget-overrides | -[**update_line_item_budget_overrides**](CampaignApi.md#update_line_item_budget_overrides) | **PUT** /preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides | # **add_remove_keywords** @@ -1820,90 +1816,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_campaign_budget_overrides** -> ValueResourceOutcomeOfCampaignBudgetOverrides get_campaign_budget_overrides(campaign_id) - - - -Get current campaign budget overrides by given external campaign id. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_preview -from criteo_api_retailmedia_preview.api import campaign_api -from criteo_api_retailmedia_preview.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = campaign_api.CampaignApi(api_client) - campaign_id = 1 # int | External campaign id. - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_campaign_budget_overrides(campaign_id) - pprint(api_response) - except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling CampaignApi->get_campaign_budget_overrides: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **campaign_id** | **int**| External campaign id. | - -### Return type - -[**ValueResourceOutcomeOfCampaignBudgetOverrides**](ValueResourceOutcomeOfCampaignBudgetOverrides.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Success | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **get_insertion_order_history_change_data_capture_v2** > PageOfInsertionOrderHistoryChangeDataCaptureV2 get_insertion_order_history_change_data_capture_v2(insertion_order_id) @@ -1994,90 +1906,6 @@ Name | Type | Description | Notes - **Accept**: application/json -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Success | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_line_item_budget_overrides** -> ValueResourceOutcomeOfLineItemBudgetOverrides get_line_item_budget_overrides(line_item_id) - - - -Gets a collection of monthly and daily budget overrides for the provided line item. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_preview -from criteo_api_retailmedia_preview.api import campaign_api -from criteo_api_retailmedia_preview.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "lineItemId_example" # str | The line item id to get budget overrides for. - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_line_item_budget_overrides(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling CampaignApi->get_line_item_budget_overrides: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| The line item id to get budget overrides for. | - -### Return type - -[**ValueResourceOutcomeOfLineItemBudgetOverrides**](ValueResourceOutcomeOfLineItemBudgetOverrides.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - ### HTTP response details | Status code | Description | Response headers | @@ -4149,237 +3977,3 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_campaign_budget_overrides** -> ValueResourceOutcomeOfCampaignBudgetOverrides update_campaign_budget_overrides(campaign_id) - - - -Update campaign budget overrides by given external campaign id and new campaign budget overrides settings. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_preview -from criteo_api_retailmedia_preview.api import campaign_api -from criteo_api_retailmedia_preview.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides -from criteo_api_retailmedia_preview.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = campaign_api.CampaignApi(api_client) - campaign_id = 1 # int | External campaign id. - value_resource_input_of_campaign_budget_overrides = ValueResourceInputOfCampaignBudgetOverrides( - data=ValueResourceOfCampaignBudgetOverrides( - type="type_example", - attributes=CampaignBudgetOverrides( - monthly_budget_overrides=[ - CampaignMonthlyBudgetOverride( - start_month=dateutil_parser('1970-01-01T00:00:00.00Z'), - duration="duration_example", - max_monthly_spend=3.14, - status="Expired", - ), - ], - daily_budget_overrides=[ - CampaignDailyBudgetOverride( - start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), - duration="duration_example", - max_daily_spend=3.14, - status="Expired", - ), - ], - ), - ), - ) # ValueResourceInputOfCampaignBudgetOverrides | New campaign budget overrides settings value resource input. (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_campaign_budget_overrides(campaign_id) - pprint(api_response) - except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling CampaignApi->update_campaign_budget_overrides: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_campaign_budget_overrides(campaign_id, value_resource_input_of_campaign_budget_overrides=value_resource_input_of_campaign_budget_overrides) - pprint(api_response) - except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling CampaignApi->update_campaign_budget_overrides: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **campaign_id** | **int**| External campaign id. | - **value_resource_input_of_campaign_budget_overrides** | [**ValueResourceInputOfCampaignBudgetOverrides**](ValueResourceInputOfCampaignBudgetOverrides.md)| New campaign budget overrides settings value resource input. | [optional] - -### Return type - -[**ValueResourceOutcomeOfCampaignBudgetOverrides**](ValueResourceOutcomeOfCampaignBudgetOverrides.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Success | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_line_item_budget_overrides** -> ValueResourceOutcomeOfLineItemBudgetOverrides update_line_item_budget_overrides(line_item_id) - - - -Update line item budget overrides by given external line item id and new line item budget overrides settings. - -### Example - -* OAuth Authentication (oauth): -* OAuth Authentication (oauth): - -```python -import time -import criteo_api_retailmedia_preview -from criteo_api_retailmedia_preview.api import campaign_api -from criteo_api_retailmedia_preview.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides -from criteo_api_retailmedia_preview.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides -from pprint import pprint -# Defining the host is optional and defaults to https://api.criteo.com -# See configuration.py for a list of all supported configuration parameters. -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Configure OAuth2 access token for authorization: oauth -configuration = criteo_api_retailmedia_preview.Configuration( - host = "https://api.criteo.com" -) -configuration.access_token = 'YOUR_ACCESS_TOKEN' - -# Enter a context with an instance of the API client -with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = campaign_api.CampaignApi(api_client) - line_item_id = "lineItemId_example" # str | Line item external id. - value_resource_input_of_line_item_budget_overrides = ValueResourceInputOfLineItemBudgetOverrides( - data=ValueResourceOfLineItemBudgetOverrides( - type="type_example", - attributes=LineItemBudgetOverrides( - monthly_line_item_budget_overrides=[ - MonthlyLineItemBudegetOverride( - start_month=dateutil_parser('1970-01-01T00:00:00.00Z'), - duration="duration_example", - max_monthly_spend=3.14, - status="Expired", - ), - ], - daily_line_item_budget_overrides=[ - DailyLineItemBudgetOverride( - start_date=dateutil_parser('1970-01-01T00:00:00.00Z'), - duration="duration_example", - max_daily_spend=3.14, - status="Expired", - ), - ], - ), - ), - ) # ValueResourceInputOfLineItemBudgetOverrides | New line item budget overrides settings value resource input. (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_line_item_budget_overrides(line_item_id) - pprint(api_response) - except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling CampaignApi->update_line_item_budget_overrides: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_line_item_budget_overrides(line_item_id, value_resource_input_of_line_item_budget_overrides=value_resource_input_of_line_item_budget_overrides) - pprint(api_response) - except criteo_api_retailmedia_preview.ApiException as e: - print("Exception when calling CampaignApi->update_line_item_budget_overrides: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **line_item_id** | **str**| Line item external id. | - **value_resource_input_of_line_item_budget_overrides** | [**ValueResourceInputOfLineItemBudgetOverrides**](ValueResourceInputOfLineItemBudgetOverrides.md)| New line item budget overrides settings value resource input. | [optional] - -### Return type - -[**ValueResourceOutcomeOfLineItemBudgetOverrides**](ValueResourceOutcomeOfLineItemBudgetOverrides.md) - -### Authorization - -[oauth](../README.md#oauth), [oauth](../README.md#oauth) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Success | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/sdks/retailmedia_preview/docs/CatalogApi.md b/sdks/retailmedia_preview/docs/CatalogApi.md index 0ab12c12..92f3b9e3 100644 --- a/sdks/retailmedia_preview/docs/CatalogApi.md +++ b/sdks/retailmedia_preview/docs/CatalogApi.md @@ -227,6 +227,7 @@ with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: external_seller_name="external_seller_name_example", number_of_reviews=1, product_rating="product_rating_example", + badge="badge_example", ), feed_id="feed_id_example", ), diff --git a/sdks/retailmedia_preview/docs/EntityResourceCollectionOutcomeOfRetailMediaAccount.md b/sdks/retailmedia_preview/docs/EntityResourceCollectionOutcomeOfRetailMediaAccount.md new file mode 100644 index 00000000..56305c0c --- /dev/null +++ b/sdks/retailmedia_preview/docs/EntityResourceCollectionOutcomeOfRetailMediaAccount.md @@ -0,0 +1,15 @@ +# EntityResourceCollectionOutcomeOfRetailMediaAccount + +A resource that represents collection of Retail Media account entities + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**[EntityResourceOfRetailMediaAccount], none_type**](EntityResourceOfRetailMediaAccount.md) | | [optional] +**warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1Resource.md b/sdks/retailmedia_preview/docs/EntityResourceOfRetailMediaAccount.md similarity index 68% rename from sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1Resource.md rename to sdks/retailmedia_preview/docs/EntityResourceOfRetailMediaAccount.md index dad0c799..40952327 100644 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceGetEntityV1Resource.md +++ b/sdks/retailmedia_preview/docs/EntityResourceOfRetailMediaAccount.md @@ -1,14 +1,13 @@ -# RmLegacyAudienceGetEntityV1Resource +# EntityResourceOfRetailMediaAccount -A class that represents a domain entity exposed by an API +A resource object that represents a single Retail Media account entity ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**RmLegacyAudienceGetEntityV1**](RmLegacyAudienceGetEntityV1.md) | | [optional] **id** | **str, none_type** | | [optional] -**audience_type** | **str, none_type** | | [optional] **type** | **str, none_type** | | [optional] +**attributes** | [**ExternalRetailMediaAccount**](ExternalRetailMediaAccount.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/docs/ExternalAccount.md b/sdks/retailmedia_preview/docs/ExternalAccount.md index 27965745..4f322ef3 100644 --- a/sdks/retailmedia_preview/docs/ExternalAccount.md +++ b/sdks/retailmedia_preview/docs/ExternalAccount.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **time_zone** | **str** | | **subtype** | **str, none_type** | | [optional] **company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/docs/ExternalRetailMediaAccount.md b/sdks/retailmedia_preview/docs/ExternalRetailMediaAccount.md new file mode 100644 index 00000000..61a1a774 --- /dev/null +++ b/sdks/retailmedia_preview/docs/ExternalRetailMediaAccount.md @@ -0,0 +1,21 @@ +# ExternalRetailMediaAccount + +A Retail Media account entity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | | +**sub_type** | **str** | | +**name** | **str, none_type** | | [optional] +**company_name** | **str, none_type** | | [optional] +**on_behalf_company_name** | **str, none_type** | | [optional] +**country_ids** | **[str], none_type** | | [optional] +**currency_id** | **str, none_type** | | [optional] +**parent_account_label** | **str, none_type** | | [optional] +**time_zone** | **str, none_type** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_2023-07/docs/ReplaceAudienceRequest.md b/sdks/retailmedia_preview/docs/HttpValidationError.md similarity index 77% rename from sdks/marketingsolutions_2023-07/docs/ReplaceAudienceRequest.md rename to sdks/retailmedia_preview/docs/HttpValidationError.md index 36739af4..44040257 100644 --- a/sdks/marketingsolutions_2023-07/docs/ReplaceAudienceRequest.md +++ b/sdks/retailmedia_preview/docs/HttpValidationError.md @@ -1,11 +1,11 @@ -# ReplaceAudienceRequest +# HttpValidationError -Request to replace an audience +http validation error ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data** | [**ReplaceAudience**](ReplaceAudience.md) | | +**detail** | [**[ValidationError], none_type**](ValidationError.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/docs/InbotDiscussion.md b/sdks/retailmedia_preview/docs/InbotDiscussion.md new file mode 100644 index 00000000..430d5225 --- /dev/null +++ b/sdks/retailmedia_preview/docs/InbotDiscussion.md @@ -0,0 +1,13 @@ +# InbotDiscussion + +discussion between the user and the chatbot + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**messages** | [**[Message], none_type**](Message.md) | ordered list of previous messages, alternating between user prompts and bot answers | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/InbotDiscussionBodyModel.md b/sdks/retailmedia_preview/docs/InbotDiscussionBodyModel.md new file mode 100644 index 00000000..dd006c07 --- /dev/null +++ b/sdks/retailmedia_preview/docs/InbotDiscussionBodyModel.md @@ -0,0 +1,13 @@ +# InbotDiscussionBodyModel + +an API recommendation message + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**InbotDiscussionDataInstanceModel**](InbotDiscussionDataInstanceModel.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/InbotDiscussionDataInstanceModel.md b/sdks/retailmedia_preview/docs/InbotDiscussionDataInstanceModel.md new file mode 100644 index 00000000..530e59a1 --- /dev/null +++ b/sdks/retailmedia_preview/docs/InbotDiscussionDataInstanceModel.md @@ -0,0 +1,14 @@ +# InbotDiscussionDataInstanceModel + +an API recommendation request + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**InbotDiscussion**](InbotDiscussion.md) | | +**type** | **str, none_type** | | [optional] if omitted the server will use the default value of "InbotDiscussion" +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/marketingsolutions_preview/docs/UserProfileAttributeModel.md b/sdks/retailmedia_preview/docs/LocationInner.md similarity index 80% rename from sdks/marketingsolutions_preview/docs/UserProfileAttributeModel.md rename to sdks/retailmedia_preview/docs/LocationInner.md index 4788fd0c..921c37a2 100644 --- a/sdks/marketingsolutions_preview/docs/UserProfileAttributeModel.md +++ b/sdks/retailmedia_preview/docs/LocationInner.md @@ -1,12 +1,9 @@ -# UserProfileAttributeModel +# LocationInner -Attributes of a user profile ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**key** | **str** | | -**value** | **str** | | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/docs/Message.md b/sdks/retailmedia_preview/docs/Message.md new file mode 100644 index 00000000..332e13e4 --- /dev/null +++ b/sdks/retailmedia_preview/docs/Message.md @@ -0,0 +1,14 @@ +# Message + +message of the discussion + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**user_message** | **str, none_type** | user prompt | [optional] +**bot_message** | [**Botmessage**](Botmessage.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/MessageBodyModel.md b/sdks/retailmedia_preview/docs/MessageBodyModel.md new file mode 100644 index 00000000..a8c459c4 --- /dev/null +++ b/sdks/retailmedia_preview/docs/MessageBodyModel.md @@ -0,0 +1,14 @@ +# MessageBodyModel + +error message + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**MessageDataInstanceModel**](MessageDataInstanceModel.md) | | [optional] +**errors** | [**[MessageError], none_type**](MessageError.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/MessageDataInstanceModel.md b/sdks/retailmedia_preview/docs/MessageDataInstanceModel.md new file mode 100644 index 00000000..5b88e814 --- /dev/null +++ b/sdks/retailmedia_preview/docs/MessageDataInstanceModel.md @@ -0,0 +1,14 @@ +# MessageDataInstanceModel + +an API answer message + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attributes** | [**Message**](Message.md) | | +**type** | **str, none_type** | | [optional] if omitted the server will use the default value of "Message" +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/MessageError.md b/sdks/retailmedia_preview/docs/MessageError.md new file mode 100644 index 00000000..41c25a9d --- /dev/null +++ b/sdks/retailmedia_preview/docs/MessageError.md @@ -0,0 +1,16 @@ +# MessageError + +error message + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**trace_id** | **str, none_type** | correlation ID, unique to each request | [optional] +**type** | **str, none_type** | error category | [optional] +**code** | **str, none_type** | error code | [optional] +**instance** | **str, none_type** | specific occurrence of the problem | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/OnSiteRecommendationApi.md b/sdks/retailmedia_preview/docs/OnSiteRecommendationApi.md new file mode 100644 index 00000000..d7d0e195 --- /dev/null +++ b/sdks/retailmedia_preview/docs/OnSiteRecommendationApi.md @@ -0,0 +1,113 @@ +# criteo_api_retailmedia_preview.OnSiteRecommendationApi + +All URIs are relative to *https://api.criteo.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**chatbot_product_recommendations**](OnSiteRecommendationApi.md#chatbot_product_recommendations) | **POST** /preview/retail-media/chatbot-catalogs/{catalogid}/product-recommendations | + + +# **chatbot_product_recommendations** +> MessageBodyModel chatbot_product_recommendations(catalogid, inbot_discussion_body_model) + + + +Ask a chatbot for a product recommendation + +### Example + +* OAuth Authentication (oauth): +* OAuth Authentication (oauth): + +```python +import time +import criteo_api_retailmedia_preview +from criteo_api_retailmedia_preview.api import on_site_recommendation_api +from criteo_api_retailmedia_preview.model.message_body_model import MessageBodyModel +from criteo_api_retailmedia_preview.model.inbot_discussion_body_model import InbotDiscussionBodyModel +from criteo_api_retailmedia_preview.model.http_validation_error import HttpValidationError +from pprint import pprint +# Defining the host is optional and defaults to https://api.criteo.com +# See configuration.py for a list of all supported configuration parameters. +configuration = criteo_api_retailmedia_preview.Configuration( + host = "https://api.criteo.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_preview.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Configure OAuth2 access token for authorization: oauth +configuration = criteo_api_retailmedia_preview.Configuration( + host = "https://api.criteo.com" +) +configuration.access_token = 'YOUR_ACCESS_TOKEN' + +# Enter a context with an instance of the API client +with criteo_api_retailmedia_preview.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = on_site_recommendation_api.OnSiteRecommendationApi(api_client) + catalogid = 1 # int | the identifier of the catalog to query + inbot_discussion_body_model = InbotDiscussionBodyModel( + data=InbotDiscussionDataInstanceModel( + type="InbotDiscussion", + attributes=InbotDiscussion( + messages=[ + Message( + user_message="user_message_example", + bot_message=Botmessage(None), + ), + ], + ), + ), + ) # InbotDiscussionBodyModel | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.chatbot_product_recommendations(catalogid, inbot_discussion_body_model) + pprint(api_response) + except criteo_api_retailmedia_preview.ApiException as e: + print("Exception when calling OnSiteRecommendationApi->chatbot_product_recommendations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **catalogid** | **int**| the identifier of the catalog to query | + **inbot_discussion_body_model** | [**InbotDiscussionBodyModel**](InbotDiscussionBodyModel.md)| | + +### Return type + +[**MessageBodyModel**](MessageBodyModel.md) + +### Authorization + +[oauth](../README.md#oauth), [oauth](../README.md#oauth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful Response | - | +**400** | Bad Request | - | +**403** | Forbidden | - | +**404** | Not Found | - | +**422** | Validation Error | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/sdks/retailmedia_preview/docs/Product.md b/sdks/retailmedia_preview/docs/Product.md index 9f654009..d58e1369 100644 --- a/sdks/retailmedia_preview/docs/Product.md +++ b/sdks/retailmedia_preview/docs/Product.md @@ -86,6 +86,7 @@ Name | Type | Description | Notes **external_seller_name** | **str, none_type** | The external name of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads. | [optional] **number_of_reviews** | **int, none_type** | The number of customer reviews for the product | [optional] **product_rating** | **str, none_type** | The product rating for the product | [optional] +**badge** | **str, none_type** | URL of a badge image to display on the product. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/docs/ProductRecommendation.md b/sdks/retailmedia_preview/docs/ProductRecommendation.md new file mode 100644 index 00000000..5bab6718 --- /dev/null +++ b/sdks/retailmedia_preview/docs/ProductRecommendation.md @@ -0,0 +1,20 @@ +# ProductRecommendation + +recommendation data for a product + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rationale** | **str** | reason for this recommendation, given by the bot | +**name** | **str, none_type** | name of the product | [optional] +**description** | **str, none_type** | description of the product | [optional] +**image_url** | **str, none_type** | url of the product image | [optional] +**url** | **str, none_type** | url of the product on the retailer website | [optional] +**brand** | **str, none_type** | brand of the product | [optional] +**price** | **float, none_type** | numerical value of the price of the product | [optional] +**currency** | **str, none_type** | currency of the price of the product | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/ReportDetailWarning.md b/sdks/retailmedia_preview/docs/ReportDetailWarning.md new file mode 100644 index 00000000..bcb6a4b8 --- /dev/null +++ b/sdks/retailmedia_preview/docs/ReportDetailWarning.md @@ -0,0 +1,15 @@ +# ReportDetailWarning + +A warning on a batch operation. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | | +**message** | **str** | | +**is_server_related** | **bool** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/ReportDetailWarnings.md b/sdks/retailmedia_preview/docs/ReportDetailWarnings.md new file mode 100644 index 00000000..b6e87448 --- /dev/null +++ b/sdks/retailmedia_preview/docs/ReportDetailWarnings.md @@ -0,0 +1,14 @@ +# ReportDetailWarnings + +A list of warnings on a batch operation. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**product_id** | **str** | | +**warnings** | [**[ReportDetailWarning]**](ReportDetailWarning.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/ReportOkResponse.md b/sdks/retailmedia_preview/docs/ReportOkResponse.md index bfb3c05e..fff2cfce 100644 --- a/sdks/retailmedia_preview/docs/ReportOkResponse.md +++ b/sdks/retailmedia_preview/docs/ReportOkResponse.md @@ -12,6 +12,8 @@ Name | Type | Description | Notes **number_of_products_deleted** | **int** | The number of products deleted. | **number_of_products_with_errors** | **int** | The number of products with errors. | **error_details** | [**[ReportDetailErrors]**](ReportDetailErrors.md) | The list of errors with details. | +**number_of_products_with_warnings** | **int** | The number of products with Warnings. | +**warning_details** | [**[ReportDetailWarnings]**](ReportDetailWarnings.md) | The list of Warnings with details. | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/docs/RetailMediaAccount.md b/sdks/retailmedia_preview/docs/RetailMediaAccount.md index efc008b5..ba688f16 100644 --- a/sdks/retailmedia_preview/docs/RetailMediaAccount.md +++ b/sdks/retailmedia_preview/docs/RetailMediaAccount.md @@ -6,7 +6,8 @@ The details for a newly created account Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str, none_type** | account name | [optional] -**company_name** | **str, none_type** | Display name for reporting the owning entity of ads for the Digital Services Act in the European Union | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] **type** | **str, none_type** | Type for the account | [optional] **sub_type** | **str, none_type** | subtype for the account | [optional] **country_ids** | **[str], none_type** | list of countries associated with the account | [optional] diff --git a/sdks/retailmedia_preview/docs/RetailMediaSellerAccountCreation.md b/sdks/retailmedia_preview/docs/RetailMediaSellerAccountCreation.md index e7b2eef9..4b6fd25c 100644 --- a/sdks/retailmedia_preview/docs/RetailMediaSellerAccountCreation.md +++ b/sdks/retailmedia_preview/docs/RetailMediaSellerAccountCreation.md @@ -6,7 +6,8 @@ the initial set up and configuration options for a new private market demand bra Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str, none_type** | the name of the account, must be unique across all accounts | [optional] -**company_name** | **str, none_type** | Display name for reporting the owning entity of ads for the Digital Services Act in the European Union | [optional] +**company_name** | **str, none_type** | Paying entity name of ads for the Digital Services Act | [optional] +**on_behalf_company_name** | **str, none_type** | On behalf entity name of ads for the Digital Services Act | [optional] **sellers** | [**[RetailMediaSeller], none_type**](RetailMediaSeller.md) | list of sellers to associate to the new account | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/docs/RmAlgebraNodeV1.md b/sdks/retailmedia_preview/docs/RmAlgebraNodeV1.md new file mode 100644 index 00000000..290276ee --- /dev/null +++ b/sdks/retailmedia_preview/docs/RmAlgebraNodeV1.md @@ -0,0 +1,16 @@ +# RmAlgebraNodeV1 + +Node in the audience algebra definition. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**_and** | [**[RmAlgebraNodeV1], none_type**](RmAlgebraNodeV1.md) | | [optional] +**_or** | [**[RmAlgebraNodeV1], none_type**](RmAlgebraNodeV1.md) | | [optional] +**_not** | [**RmAlgebraNodeV1**](RmAlgebraNodeV1.md) | | [optional] +**audience_segment_id** | **str, none_type** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmAudienceEntityV1.md b/sdks/retailmedia_preview/docs/RmAudienceEntityV1.md new file mode 100644 index 00000000..c895dc6e --- /dev/null +++ b/sdks/retailmedia_preview/docs/RmAudienceEntityV1.md @@ -0,0 +1,21 @@ +# RmAudienceEntityV1 + +Audience of people of interest for a marketer. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_id** | **str, none_type** | Account associated to the audience | [optional] +**name** | **str, none_type** | Name of the audience | [optional] +**description** | **str, none_type** | Description of the audience | [optional] +**retailer_id** | **str, none_type** | Retailer associated to the audience | [optional] +**created_by_id** | **str, none_type** | User that created the audience | [optional] +**created_at** | **datetime, none_type** | ISO-8601 timestamp in UTC of audience creation (read-only) | [optional] +**updated_at** | **datetime, none_type** | ISO-8601 timestamp in UTC of audience update (read-only) | [optional] +**channels** | **[str], none_type** | Channels associated to the audience (read-only) | [optional] +**algebra** | [**RmAlgebraNodeV1**](RmAlgebraNodeV1.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1Resource.md b/sdks/retailmedia_preview/docs/RmAudienceEntityV1Resource.md similarity index 80% rename from sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1Resource.md rename to sdks/retailmedia_preview/docs/RmAudienceEntityV1Resource.md index 4f5bdbaa..979ff87e 100644 --- a/sdks/retailmedia_2023-07/docs/RmLegacyAudienceCreateEntityV1Resource.md +++ b/sdks/retailmedia_preview/docs/RmAudienceEntityV1Resource.md @@ -1,11 +1,11 @@ -# RmLegacyAudienceCreateEntityV1Resource +# RmAudienceEntityV1Resource A class that represents a domain entity exposed by an API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**RmLegacyAudienceCreateEntityV1**](RmLegacyAudienceCreateEntityV1.md) | | [optional] +**attributes** | [**RmAudienceEntityV1**](RmAudienceEntityV1.md) | | [optional] **id** | **str, none_type** | Id of the entity | [optional] **type** | **str, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_preview/docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md b/sdks/retailmedia_preview/docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md new file mode 100644 index 00000000..2e26d20a --- /dev/null +++ b/sdks/retailmedia_preview/docs/RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse.md @@ -0,0 +1,16 @@ +# RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse + +A top-level object that encapsulates a Criteo API response for several entities and metadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**meta** | [**RmAudienceSearchMetadataV1**](RmAudienceSearchMetadataV1.md) | | [optional] +**data** | [**[RmAudienceEntityV1Resource], none_type**](RmAudienceEntityV1Resource.md) | | [optional] +**warnings** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**errors** | [**[CommonProblem], none_type**](CommonProblem.md) | | [optional] [readonly] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmAudienceSearchEntityV1.md b/sdks/retailmedia_preview/docs/RmAudienceSearchEntityV1.md new file mode 100644 index 00000000..b0e5da54 --- /dev/null +++ b/sdks/retailmedia_preview/docs/RmAudienceSearchEntityV1.md @@ -0,0 +1,15 @@ +# RmAudienceSearchEntityV1 + +Available filters to perform a search on audiences. If present, the filters are AND'ed together when applied. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**audience_ids** | **[str], none_type** | List of audience ids | [optional] +**retailer_ids** | **[str], none_type** | List of retailer ids | [optional] +**audience_segment_ids** | **[str], none_type** | List of segment ids (linked to the result audiences) | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmAudienceSearchEntityV1Resource.md b/sdks/retailmedia_preview/docs/RmAudienceSearchEntityV1Resource.md new file mode 100644 index 00000000..da8d49b6 --- /dev/null +++ b/sdks/retailmedia_preview/docs/RmAudienceSearchEntityV1Resource.md @@ -0,0 +1,14 @@ +# RmAudienceSearchEntityV1Resource + +A top-level object that encapsulates a Criteo API response for a single value + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str, none_type** | | [optional] +**attributes** | [**RmAudienceSearchEntityV1**](RmAudienceSearchEntityV1.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmAudienceSearchInputV1.md b/sdks/retailmedia_preview/docs/RmAudienceSearchInputV1.md new file mode 100644 index 00000000..46426023 --- /dev/null +++ b/sdks/retailmedia_preview/docs/RmAudienceSearchInputV1.md @@ -0,0 +1,13 @@ +# RmAudienceSearchInputV1 + +A top-level object that encapsulates a Criteo API request for a single value. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**RmAudienceSearchEntityV1Resource**](RmAudienceSearchEntityV1Resource.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmAudienceSearchMetadataV1.md b/sdks/retailmedia_preview/docs/RmAudienceSearchMetadataV1.md new file mode 100644 index 00000000..ddc3c37c --- /dev/null +++ b/sdks/retailmedia_preview/docs/RmAudienceSearchMetadataV1.md @@ -0,0 +1,15 @@ +# RmAudienceSearchMetadataV1 + +Metadata for the audience search response. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_items** | **int, none_type** | Total number of items | [optional] +**limit** | **int, none_type** | Max item of the current page | [optional] +**offset** | **int, none_type** | Number of item to skip | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkCreateInputV1.md b/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkCreateInputV1.md index 841625ff..fad0c5af 100644 --- a/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkCreateInputV1.md +++ b/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkCreateInputV1.md @@ -1,6 +1,6 @@ # RmAudienceSegmentBulkCreateInputV1 -Input to create one or more audience segments. +A top-level object that encapsulates a Criteo API request for several values. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkDeleteInputV1.md b/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkDeleteInputV1.md index a4f0953f..6242d4e1 100644 --- a/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkDeleteInputV1.md +++ b/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkDeleteInputV1.md @@ -1,6 +1,6 @@ # RmAudienceSegmentBulkDeleteInputV1 -Input to delete one or more segments. +A top-level object that encapsulates a Criteo API request for several entities. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkUpdateInputV1.md b/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkUpdateInputV1.md index 306f6c9b..1a6e2474 100644 --- a/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkUpdateInputV1.md +++ b/sdks/retailmedia_preview/docs/RmAudienceSegmentBulkUpdateInputV1.md @@ -1,6 +1,6 @@ # RmAudienceSegmentBulkUpdateInputV1 -Input to update one or more segments. +A top-level object that encapsulates a Criteo API request for several entities. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_preview/docs/RmAudienceSegmentCreateEntityV1.md b/sdks/retailmedia_preview/docs/RmAudienceSegmentCreateEntityV1.md index 1da7de28..bf874dae 100644 --- a/sdks/retailmedia_preview/docs/RmAudienceSegmentCreateEntityV1.md +++ b/sdks/retailmedia_preview/docs/RmAudienceSegmentCreateEntityV1.md @@ -5,9 +5,9 @@ Set of rules that defines specific people to target. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str, none_type** | Name of the segment | [optional] +**name** | **str** | Name of the segment | +**retailer_id** | **str** | Retailer associated to the segment | **description** | **str, none_type** | Description of the segment | [optional] -**retailer_id** | **str, none_type** | Retailer associated to the segment | [optional] **contact_list** | [**RmContactListCreateV1**](RmContactListCreateV1.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_preview/docs/RmAudienceSegmentEntityV1.md b/sdks/retailmedia_preview/docs/RmAudienceSegmentEntityV1.md index 9bfb7921..ed95533d 100644 --- a/sdks/retailmedia_preview/docs/RmAudienceSegmentEntityV1.md +++ b/sdks/retailmedia_preview/docs/RmAudienceSegmentEntityV1.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **updated_at** | **datetime, none_type** | ISO-8601 timestamp in UTC of segment update (read-only) | [optional] **created_by_id** | **str, none_type** | User that created the segment | [optional] **contact_list** | [**RmContactListV1**](RmContactListV1.md) | | [optional] -**user_behavior** | [**RmUserBehaviorV1**](RmUserBehaviorV1.md) | | [optional] +**events** | [**RmEventsV1**](RmEventsV1.md) | | [optional] **channels** | **[str], none_type** | Channels associated to the segment (read-only) | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_preview/docs/RmAudienceSegmentSearchInputV1.md b/sdks/retailmedia_preview/docs/RmAudienceSegmentSearchInputV1.md index ff97b215..d8902145 100644 --- a/sdks/retailmedia_preview/docs/RmAudienceSegmentSearchInputV1.md +++ b/sdks/retailmedia_preview/docs/RmAudienceSegmentSearchInputV1.md @@ -1,6 +1,6 @@ # RmAudienceSegmentSearchInputV1 -Audience segment search parameter +A top-level object that encapsulates a Criteo API request for a single value. ## Properties Name | Type | Description | Notes diff --git a/sdks/retailmedia_preview/docs/RmContactListV1.md b/sdks/retailmedia_preview/docs/RmContactListV1.md index e4926302..45c1ad87 100644 --- a/sdks/retailmedia_preview/docs/RmContactListV1.md +++ b/sdks/retailmedia_preview/docs/RmContactListV1.md @@ -6,7 +6,7 @@ Settings to target users with your contact lists. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **is_read_only** | **bool, none_type** | Is the segment read-only | [optional] -**type** | **str, none_type** | Indicates contact list type | [optional] +**identifier_type** | **str, none_type** | Indicates contact list identifier's type | [optional] **sharing_status** | **str, none_type** | Indicates if the contact list is shared with other accounts | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/retailmedia_preview/docs/RmEventsV1.md b/sdks/retailmedia_preview/docs/RmEventsV1.md new file mode 100644 index 00000000..083cef74 --- /dev/null +++ b/sdks/retailmedia_preview/docs/RmEventsV1.md @@ -0,0 +1,18 @@ +# RmEventsV1 + +Settings to target users based on their behavior + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**shopper_activity** | **str, none_type** | Reach people who performed specific action | [optional] +**lookback_days** | **str, none_type** | The number of days to look back | [optional] +**category_ids** | **[str], none_type** | The list of category ids | [optional] +**brand_ids** | **[str], none_type** | The list of brand ids | [optional] +**min_price** | **float, none_type** | Minimum price of the products | [optional] +**max_price** | **float, none_type** | Maximum price of the products | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1.md b/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1.md deleted file mode 100644 index d2ae9cfb..00000000 --- a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1.md +++ /dev/null @@ -1,16 +0,0 @@ -# RmLegacyAudienceGetEntityV1 - -Audience definition of people of interest for a marketer. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Name of the audience | -**retailer_id** | **str** | ID of the retailer associated with this audience | -**user_behavior_details** | [**RmLegacySegmentUserBehaviorV1**](RmLegacySegmentUserBehaviorV1.md) | | [optional] -**customer_list_details** | [**RmLegacySegmentCustomerList**](RmLegacySegmentCustomerList.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1Resource.md b/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1Resource.md deleted file mode 100644 index dad0c799..00000000 --- a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV1Resource.md +++ /dev/null @@ -1,16 +0,0 @@ -# RmLegacyAudienceGetEntityV1Resource - -A class that represents a domain entity exposed by an API - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attributes** | [**RmLegacyAudienceGetEntityV1**](RmLegacyAudienceGetEntityV1.md) | | [optional] -**id** | **str, none_type** | | [optional] -**audience_type** | **str, none_type** | | [optional] -**type** | **str, none_type** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2.md b/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2.md deleted file mode 100644 index 2058682d..00000000 --- a/sdks/retailmedia_preview/docs/RmLegacyAudienceGetEntityV2.md +++ /dev/null @@ -1,16 +0,0 @@ -# RmLegacyAudienceGetEntityV2 - -Audience definition of people of interest for a marketer - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**retailer_id** | **str** | ID of the retailer associated with this audience | -**name** | **str** | Name of the audience | -**user_behavior_details** | [**RmLegacyAudienceUserBehaviorDetailsV2**](RmLegacyAudienceUserBehaviorDetailsV2.md) | | [optional] -**customer_list_details** | [**RmLegacySegmentCustomerList**](RmLegacySegmentCustomerList.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_preview/docs/RmLegacyAudienceUserBehaviorDetailsV2.md b/sdks/retailmedia_preview/docs/RmLegacyAudienceUserBehaviorDetailsV2.md deleted file mode 100644 index 10073850..00000000 --- a/sdks/retailmedia_preview/docs/RmLegacyAudienceUserBehaviorDetailsV2.md +++ /dev/null @@ -1,14 +0,0 @@ -# RmLegacyAudienceUserBehaviorDetailsV2 - -User Behavior Details. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**inclusive_segment** | [**RmLegacySegmentUserBehaviorV2**](RmLegacySegmentUserBehaviorV2.md) | | -**exclusive_segment** | [**RmLegacySegmentUserBehaviorV2**](RmLegacySegmentUserBehaviorV2.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_preview/docs/RmLegacySegmentCustomerList.md b/sdks/retailmedia_preview/docs/RmLegacySegmentCustomerList.md deleted file mode 100644 index 79662c14..00000000 --- a/sdks/retailmedia_preview/docs/RmLegacySegmentCustomerList.md +++ /dev/null @@ -1,14 +0,0 @@ -# RmLegacySegmentCustomerList - -Audience definition of people based on a customer list - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**size** | **str** | Number of users in the customer list audience. | -**is_shared** | **bool** | Indicate if the audience is shared. | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_preview/docs/RmLegacySegmentUserBehaviorV1.md b/sdks/retailmedia_preview/docs/RmLegacySegmentUserBehaviorV1.md deleted file mode 100644 index d3563b9b..00000000 --- a/sdks/retailmedia_preview/docs/RmLegacySegmentUserBehaviorV1.md +++ /dev/null @@ -1,16 +0,0 @@ -# RmLegacySegmentUserBehaviorV1 - -Audience definition of people based on what they visited - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_type** | **str** | Type of shopper activity used to generate the audience. | -**lookback_window** | **str** | Length of lookback window | -**target_type** | **str, none_type** | Type of target | [optional] -**target_ids** | **[str], none_type** | The categories to target | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/retailmedia_preview/docs/RmLegacySegmentUserBehaviorV2.md b/sdks/retailmedia_preview/docs/RmLegacySegmentUserBehaviorV2.md deleted file mode 100644 index 83ee2026..00000000 --- a/sdks/retailmedia_preview/docs/RmLegacySegmentUserBehaviorV2.md +++ /dev/null @@ -1,18 +0,0 @@ -# RmLegacySegmentUserBehaviorV2 - -Audience definition of people based on what they visited - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user_action** | **str** | Type of shopper activity used to generate the audience. | -**lookback_window** | **str** | Length of lookback window | -**category_ids** | **[int], none_type** | The categories to target | [optional] -**brand_ids** | **[int], none_type** | The brands to target | [optional] -**min_price** | **float, none_type** | The min price of targeted skus. | [optional] -**max_price** | **float, none_type** | The max price of targeted skus. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/marketingsolutions_preview/docs/UserProfileIdentifierModel.md b/sdks/retailmedia_preview/docs/ValidationError.md similarity index 80% rename from sdks/marketingsolutions_preview/docs/UserProfileIdentifierModel.md rename to sdks/retailmedia_preview/docs/ValidationError.md index 75d89278..5ec5b831 100644 --- a/sdks/marketingsolutions_preview/docs/UserProfileIdentifierModel.md +++ b/sdks/retailmedia_preview/docs/ValidationError.md @@ -1,12 +1,13 @@ -# UserProfileIdentifierModel +# ValidationError -Identifier of a user profile +validation error ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**loc** | [**[LocationInner]**](LocationInner.md) | | +**msg** | **str** | | **type** | **str** | | -**value** | **str** | | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/sdks/retailmedia_preview/setup.py b/sdks/retailmedia_preview/setup.py index 6ed32b5b..4c3a4cf3 100644 --- a/sdks/retailmedia_preview/setup.py +++ b/sdks/retailmedia_preview/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "criteo-api-retailmedia-sdk" -VERSION = "0.0.240808" +VERSION = "0.0.241029" # To install the library, run the following # # python setup.py install @@ -24,9 +24,9 @@ ```sh -pip install criteo-api-retailmedia-sdk==0.0.240808 +pip install criteo-api-retailmedia-sdk==0.0.241029 ``` -(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.240808`) +(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.241029`) Then import the package: ```python