criteo-api-marketingsolutions-sdk 0.0.250320__py3-none-any.whl → 0.0.250409__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of criteo-api-marketingsolutions-sdk might be problematic. Click here for more details.

Files changed (212) hide show
  1. criteo_api_marketingsolutions_preview/__init__.py +1 -1
  2. criteo_api_marketingsolutions_preview/api/creative_api.py +12 -12
  3. criteo_api_marketingsolutions_preview/api_client.py +1 -1
  4. criteo_api_marketingsolutions_preview/configuration.py +1 -1
  5. criteo_api_marketingsolutions_preview/model/ad.py +20 -20
  6. criteo_api_marketingsolutions_preview/model/ad_set_audience_link_entity_v1_response.py +5 -5
  7. criteo_api_marketingsolutions_preview/model/ad_set_category_bid.py +4 -4
  8. criteo_api_marketingsolutions_preview/model/ad_set_category_bid_list_response.py +5 -5
  9. criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q3.py +9 -9
  10. criteo_api_marketingsolutions_preview/model/ad_set_display_multiplier_list_response.py +5 -5
  11. criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_disable_result_resource.py +4 -4
  12. criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_disable_result_response.py +7 -7
  13. criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_resource.py +4 -4
  14. criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_response.py +7 -7
  15. criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_set_result_resource.py +4 -4
  16. criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_set_result_response.py +7 -7
  17. criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q3.py +4 -4
  18. criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py +36 -36
  19. criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_disable_result_resource.py +4 -4
  20. criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_disable_result_response.py +7 -7
  21. criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_resource.py +4 -4
  22. criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_response.py +7 -7
  23. criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_set_result_resource.py +4 -4
  24. criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_set_result_response.py +7 -7
  25. criteo_api_marketingsolutions_preview/model/ad_write.py +18 -18
  26. criteo_api_marketingsolutions_preview/model/adaptive_attributes.py +42 -42
  27. criteo_api_marketingsolutions_preview/model/adaptive_colors.py +20 -20
  28. criteo_api_marketingsolutions_preview/model/adaptive_write_attributes.py +44 -44
  29. criteo_api_marketingsolutions_preview/model/advertiser_creation_input.py +14 -14
  30. criteo_api_marketingsolutions_preview/model/algebra_node_v1.py +8 -8
  31. criteo_api_marketingsolutions_preview/model/application_summary_model.py +8 -8
  32. criteo_api_marketingsolutions_preview/model/application_summary_model_resource.py +4 -4
  33. criteo_api_marketingsolutions_preview/model/application_summary_model_response.py +5 -5
  34. criteo_api_marketingsolutions_preview/model/audience_create_entity_v1.py +8 -8
  35. criteo_api_marketingsolutions_preview/model/audience_create_entity_v1_resource.py +4 -4
  36. criteo_api_marketingsolutions_preview/model/audience_entity_v1.py +20 -20
  37. criteo_api_marketingsolutions_preview/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +9 -9
  38. criteo_api_marketingsolutions_preview/model/audience_entity_v1_list_response.py +5 -5
  39. criteo_api_marketingsolutions_preview/model/audience_error.py +16 -16
  40. criteo_api_marketingsolutions_preview/model/audience_estimate_size_entity_v1_resource.py +4 -4
  41. criteo_api_marketingsolutions_preview/model/audience_id_entity_v1_list_response.py +5 -5
  42. criteo_api_marketingsolutions_preview/model/audience_name_description.py +4 -4
  43. criteo_api_marketingsolutions_preview/model/audience_search_entity_v1.py +8 -8
  44. criteo_api_marketingsolutions_preview/model/audience_search_entity_v1_resource.py +4 -4
  45. criteo_api_marketingsolutions_preview/model/audience_search_metadata_v1.py +4 -4
  46. criteo_api_marketingsolutions_preview/model/audience_segment_create_entity_v1.py +20 -20
  47. criteo_api_marketingsolutions_preview/model/audience_segment_create_entity_v1_resource.py +4 -4
  48. criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1.py +36 -36
  49. criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +9 -9
  50. criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1_list_response.py +5 -5
  51. criteo_api_marketingsolutions_preview/model/audience_segment_id_entity_v1_list_response.py +5 -5
  52. criteo_api_marketingsolutions_preview/model/audience_segment_search_entity_v1.py +4 -4
  53. criteo_api_marketingsolutions_preview/model/audience_segment_search_entity_v1_resource.py +4 -4
  54. criteo_api_marketingsolutions_preview/model/audience_segment_search_metadata_v1.py +4 -4
  55. criteo_api_marketingsolutions_preview/model/audience_segment_size_entity_v1_list_response.py +5 -5
  56. criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_entity_v1_resource.py +4 -4
  57. criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_v1_resource.py +4 -4
  58. criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_v1_response.py +5 -5
  59. criteo_api_marketingsolutions_preview/model/audience_segment_update_entity_v1.py +8 -8
  60. criteo_api_marketingsolutions_preview/model/audience_size_entity_v1_list_response.py +5 -5
  61. criteo_api_marketingsolutions_preview/model/audience_size_estimation_v1_resource.py +4 -4
  62. criteo_api_marketingsolutions_preview/model/audience_size_estimation_v1_response.py +5 -5
  63. criteo_api_marketingsolutions_preview/model/audience_update_entity_v1.py +8 -8
  64. criteo_api_marketingsolutions_preview/model/audience_warning.py +22 -22
  65. criteo_api_marketingsolutions_preview/model/behavioral_v1.py +4 -4
  66. criteo_api_marketingsolutions_preview/model/budget_automation.py +4 -4
  67. criteo_api_marketingsolutions_preview/model/campaign_budget_automation_v23_q1.py +4 -4
  68. criteo_api_marketingsolutions_preview/model/campaign_search_filters_v23_q1.py +4 -4
  69. criteo_api_marketingsolutions_preview/model/campaign_spend_limit_v23_q1.py +13 -13
  70. criteo_api_marketingsolutions_preview/model/campaign_v23_q1.py +12 -12
  71. criteo_api_marketingsolutions_preview/model/campaign_v23_q1_list_response.py +5 -5
  72. criteo_api_marketingsolutions_preview/model/campaign_v23_q1_response.py +5 -5
  73. criteo_api_marketingsolutions_preview/model/common_problem.py +20 -20
  74. criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1.py +4 -4
  75. criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1_response.py +5 -5
  76. criteo_api_marketingsolutions_preview/model/contactlist_amendment.py +8 -8
  77. criteo_api_marketingsolutions_preview/model/contactlist_amendment_attributes.py +12 -12
  78. criteo_api_marketingsolutions_preview/model/contactlist_operation.py +8 -8
  79. criteo_api_marketingsolutions_preview/model/contactlist_operation_attributes.py +8 -8
  80. criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment.py +8 -8
  81. criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_attributes.py +18 -18
  82. criteo_api_marketingsolutions_preview/model/coupon.py +40 -40
  83. criteo_api_marketingsolutions_preview/model/coupon_supported_sizes.py +4 -4
  84. criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q3.py +15 -15
  85. criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3.py +34 -34
  86. criteo_api_marketingsolutions_preview/model/create_campaign.py +8 -8
  87. criteo_api_marketingsolutions_preview/model/create_campaign_spend_limit.py +4 -4
  88. criteo_api_marketingsolutions_preview/model/create_coupon.py +34 -34
  89. criteo_api_marketingsolutions_preview/model/create_image_slide.py +4 -4
  90. criteo_api_marketingsolutions_preview/model/create_product_set_request.py +4 -4
  91. criteo_api_marketingsolutions_preview/model/creative.py +30 -30
  92. criteo_api_marketingsolutions_preview/model/creative_write.py +26 -26
  93. criteo_api_marketingsolutions_preview/model/criteo_api_error.py +26 -26
  94. criteo_api_marketingsolutions_preview/model/criteo_api_warning.py +22 -22
  95. criteo_api_marketingsolutions_preview/model/criteo_api_warning_v2.py +22 -22
  96. criteo_api_marketingsolutions_preview/model/dynamic_attributes.py +12 -12
  97. criteo_api_marketingsolutions_preview/model/dynamic_write_attributes.py +14 -14
  98. criteo_api_marketingsolutions_preview/model/entity_filter.py +8 -8
  99. criteo_api_marketingsolutions_preview/model/entity_of_portfolio_message.py +8 -8
  100. criteo_api_marketingsolutions_preview/model/entity_v2_of_dataset.py +8 -8
  101. criteo_api_marketingsolutions_preview/model/entity_v2_of_object.py +8 -8
  102. criteo_api_marketingsolutions_preview/model/entity_wrapper_of_targeting_entity.py +4 -4
  103. criteo_api_marketingsolutions_preview/model/error_description.py +8 -8
  104. criteo_api_marketingsolutions_preview/model/export_column.py +46 -46
  105. criteo_api_marketingsolutions_preview/model/export_result_data.py +4 -4
  106. criteo_api_marketingsolutions_preview/model/generate_audience_performance_report.py +22 -22
  107. criteo_api_marketingsolutions_preview/model/generate_audience_performance_report_resource.py +4 -4
  108. criteo_api_marketingsolutions_preview/model/generate_categories_report_request_attributes.py +16 -16
  109. criteo_api_marketingsolutions_preview/model/generate_categories_report_request_attributes_resource.py +4 -4
  110. criteo_api_marketingsolutions_preview/model/generate_creatives_report_request_attributes.py +49 -49
  111. criteo_api_marketingsolutions_preview/model/generate_creatives_report_request_attributes_resource.py +4 -4
  112. criteo_api_marketingsolutions_preview/model/generate_statistics_report.py +26 -26
  113. criteo_api_marketingsolutions_preview/model/generate_statistics_report_resource.py +4 -4
  114. criteo_api_marketingsolutions_preview/model/generate_top_products_report_request_attributes.py +46 -46
  115. criteo_api_marketingsolutions_preview/model/generate_top_products_report_request_attributes_resource.py +4 -4
  116. criteo_api_marketingsolutions_preview/model/image_attributes.py +4 -4
  117. criteo_api_marketingsolutions_preview/model/image_slide.py +4 -4
  118. criteo_api_marketingsolutions_preview/model/in_market_audience_segment_brand_entity_v1_list_response.py +5 -5
  119. criteo_api_marketingsolutions_preview/model/in_market_audience_segment_interest_entity_v1_list_response.py +5 -5
  120. criteo_api_marketingsolutions_preview/model/in_market_create_v1.py +6 -6
  121. criteo_api_marketingsolutions_preview/model/in_market_size_estimation_v1.py +6 -6
  122. criteo_api_marketingsolutions_preview/model/in_market_update_v1.py +10 -10
  123. criteo_api_marketingsolutions_preview/model/in_market_v1.py +10 -10
  124. criteo_api_marketingsolutions_preview/model/installment.py +4 -4
  125. criteo_api_marketingsolutions_preview/model/json_report_rows_list_response.py +5 -5
  126. criteo_api_marketingsolutions_preview/model/json_report_rows_resource.py +4 -4
  127. criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status.py +4 -4
  128. criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status_resource.py +4 -4
  129. criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status_response.py +5 -5
  130. criteo_api_marketingsolutions_preview/model/on_site_reco_request.py +12 -12
  131. criteo_api_marketingsolutions_preview/model/on_site_reco_response.py +4 -4
  132. criteo_api_marketingsolutions_preview/model/outcome.py +5 -5
  133. criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q3.py +25 -25
  134. criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid_result_list_response.py +5 -5
  135. criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_result_list_response.py +5 -5
  136. criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q3.py +4 -4
  137. criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q3.py +12 -12
  138. criteo_api_marketingsolutions_preview/model/patch_campaign.py +4 -4
  139. criteo_api_marketingsolutions_preview/model/patch_campaign_spend_limit.py +13 -13
  140. criteo_api_marketingsolutions_preview/model/patch_campaign_write_resource.py +4 -4
  141. criteo_api_marketingsolutions_preview/model/patch_marketing_campaign_budget_automation.py +4 -4
  142. criteo_api_marketingsolutions_preview/model/patch_result_campaign_list_response.py +5 -5
  143. criteo_api_marketingsolutions_preview/model/placements_report_query_message.py +28 -28
  144. criteo_api_marketingsolutions_preview/model/placements_report_query_message_resource.py +4 -4
  145. criteo_api_marketingsolutions_preview/model/point_of_interest_v1.py +4 -4
  146. criteo_api_marketingsolutions_preview/model/product.py +242 -242
  147. criteo_api_marketingsolutions_preview/model/product_importer_error.py +20 -20
  148. criteo_api_marketingsolutions_preview/model/product_importer_warning.py +20 -20
  149. criteo_api_marketingsolutions_preview/model/product_set.py +37 -37
  150. criteo_api_marketingsolutions_preview/model/product_set_rule.py +13 -13
  151. criteo_api_marketingsolutions_preview/model/product_shipping.py +16 -16
  152. criteo_api_marketingsolutions_preview/model/product_shipping_dimension.py +4 -4
  153. criteo_api_marketingsolutions_preview/model/product_shipping_weight.py +4 -4
  154. criteo_api_marketingsolutions_preview/model/product_tax.py +12 -12
  155. criteo_api_marketingsolutions_preview/model/product_unit_pricing_base_measure.py +4 -4
  156. criteo_api_marketingsolutions_preview/model/product_unit_pricing_measure.py +4 -4
  157. criteo_api_marketingsolutions_preview/model/products_custom_batch_request_entry.py +8 -8
  158. criteo_api_marketingsolutions_preview/model/prospecting_create_v1.py +4 -4
  159. criteo_api_marketingsolutions_preview/model/prospecting_update_v1.py +4 -4
  160. criteo_api_marketingsolutions_preview/model/prospecting_v1.py +4 -4
  161. criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q3.py +25 -25
  162. criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q3.py +8 -8
  163. criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q3.py +29 -29
  164. criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q3.py +4 -4
  165. criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q3.py +4 -4
  166. criteo_api_marketingsolutions_preview/model/recommended_product.py +16 -16
  167. criteo_api_marketingsolutions_preview/model/report_detail_error.py +14 -14
  168. criteo_api_marketingsolutions_preview/model/report_detail_errors.py +8 -8
  169. criteo_api_marketingsolutions_preview/model/report_detail_warning.py +14 -14
  170. criteo_api_marketingsolutions_preview/model/report_ok_response.py +20 -20
  171. criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_ad.py +5 -5
  172. criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_coupon.py +5 -5
  173. criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_creative.py +5 -5
  174. criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_product_set.py +7 -7
  175. criteo_api_marketingsolutions_preview/model/resource_outcome_of_ad.py +5 -5
  176. criteo_api_marketingsolutions_preview/model/resource_outcome_of_coupon.py +5 -5
  177. criteo_api_marketingsolutions_preview/model/resource_outcome_of_coupon_supported_sizes.py +5 -5
  178. criteo_api_marketingsolutions_preview/model/resource_outcome_of_creative.py +5 -5
  179. criteo_api_marketingsolutions_preview/model/resource_outcome_of_product_set.py +7 -7
  180. criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q3.py +5 -5
  181. criteo_api_marketingsolutions_preview/model/responses_ad_set_id.py +5 -5
  182. criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q3.py +5 -5
  183. criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q3.py +5 -5
  184. criteo_api_marketingsolutions_preview/model/retargeting_create_v1.py +14 -14
  185. criteo_api_marketingsolutions_preview/model/retargeting_update_v1.py +8 -8
  186. criteo_api_marketingsolutions_preview/model/retargeting_v1.py +8 -8
  187. criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_deal_ids_resource.py +4 -4
  188. criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py +34 -34
  189. criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning_resource.py +4 -4
  190. criteo_api_marketingsolutions_preview/model/size.py +4 -4
  191. criteo_api_marketingsolutions_preview/model/statistics_record.py +74 -74
  192. criteo_api_marketingsolutions_preview/model/statistics_report_query_message.py +24 -24
  193. criteo_api_marketingsolutions_preview/model/supply_vendor_list_response.py +7 -7
  194. criteo_api_marketingsolutions_preview/model/targeting_entity.py +13 -13
  195. criteo_api_marketingsolutions_preview/model/transactions_report_query_message.py +8 -8
  196. criteo_api_marketingsolutions_preview/model/transactions_report_query_message_resource.py +4 -4
  197. criteo_api_marketingsolutions_preview/model/transparency_query_message.py +8 -8
  198. criteo_api_marketingsolutions_preview/model/transparency_report.py +8 -8
  199. criteo_api_marketingsolutions_preview/model/transparency_report_list_response.py +5 -5
  200. criteo_api_marketingsolutions_preview/model/transparency_report_resource.py +4 -4
  201. criteo_api_marketingsolutions_preview/model/user_def.py +8 -8
  202. criteo_api_marketingsolutions_preview/model/value_resource_collection_outcome_of_product_filter_config.py +5 -5
  203. criteo_api_marketingsolutions_preview/model/value_resource_of_advertiser_creation_input.py +4 -4
  204. criteo_api_marketingsolutions_preview/model/value_resource_of_create_product_filter_request.py +4 -4
  205. criteo_api_marketingsolutions_preview/model/value_resource_of_create_product_set_request.py +4 -4
  206. criteo_api_marketingsolutions_preview/model/value_resource_of_product_filter_config.py +4 -4
  207. criteo_api_marketingsolutions_preview/model/value_resource_outcome_of_product_filter_config.py +5 -5
  208. criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py +4 -4
  209. {criteo_api_marketingsolutions_sdk-0.0.250320.dist-info → criteo_api_marketingsolutions_sdk-0.0.250409.dist-info}/METADATA +3 -3
  210. {criteo_api_marketingsolutions_sdk-0.0.250320.dist-info → criteo_api_marketingsolutions_sdk-0.0.250409.dist-info}/RECORD +212 -212
  211. {criteo_api_marketingsolutions_sdk-0.0.250320.dist-info → criteo_api_marketingsolutions_sdk-0.0.250409.dist-info}/WHEEL +1 -1
  212. {criteo_api_marketingsolutions_sdk-0.0.250320.dist-info → criteo_api_marketingsolutions_sdk-0.0.250409.dist-info}/top_level.txt +0 -0
@@ -108,88 +108,88 @@ class Product(ModelNormal):
108
108
  """
109
109
  lazy_import()
110
110
  return {
111
+ 'channel': (str,), # noqa: E501
111
112
  'id': (str,), # noqa: E501
112
- 'title': (str,), # noqa: E501
113
- 'link': (str,), # noqa: E501
114
113
  'image_link': (str,), # noqa: E501
115
- 'channel': (str,), # noqa: E501
116
- 'offer_id': (str,), # noqa: E501
117
- 'description': (str,), # noqa: E501
114
+ 'link': (str,), # noqa: E501
115
+ 'title': (str,), # noqa: E501
118
116
  'additional_image_links': ([str],), # noqa: E501
119
- 'content_language': (str,), # noqa: E501
120
- 'target_country': (str,), # noqa: E501
121
- 'expiration_date': (str,), # noqa: E501
117
+ 'ads_grouping': (str,), # noqa: E501
118
+ 'ads_labels': ([str],), # noqa: E501
119
+ 'ads_redirect': (str,), # noqa: E501
122
120
  'adult': (bool,), # noqa: E501
123
- 'kind': (str,), # noqa: E501
121
+ 'age_group': (str,), # noqa: E501
122
+ 'availability': (str,), # noqa: E501
123
+ 'availability_date': (str,), # noqa: E501
124
+ 'badge': (str,), # noqa: E501
124
125
  'brand': (str,), # noqa: E501
125
126
  'color': (str,), # noqa: E501
126
- 'google_product_category': (str,), # noqa: E501
127
- 'gtin': (str,), # noqa: E501
128
- 'item_group_id': (str,), # noqa: E501
129
- 'material': (str,), # noqa: E501
130
- 'mpn': (str,), # noqa: E501
131
- 'pattern': (str,), # noqa: E501
132
- 'price': (Price,), # noqa: E501
133
- 'sale_price': (Price,), # noqa: E501
134
- 'sale_price_effective_date': (str,), # noqa: E501
135
- 'shipping': ([ProductShipping],), # noqa: E501
136
- 'shipping_weight': (ProductShippingWeight,), # noqa: E501
137
- 'sizes': ([str],), # noqa: E501
138
- 'taxes': ([ProductTax],), # noqa: E501
127
+ 'condition': (str,), # noqa: E501
128
+ 'content_language': (str,), # noqa: E501
129
+ 'cost_of_goods_sold': (Price,), # noqa: E501
139
130
  'custom_attributes': ([CustomAttribute],), # noqa: E501
140
- 'identifier_exists': (bool,), # noqa: E501
141
- 'installment': (Installment,), # noqa: E501
142
- 'loyalty_points': (LoyaltyPoints,), # noqa: E501
143
- 'multipack': (int,), # noqa: E501
144
131
  'custom_label0': (str,), # noqa: E501
145
132
  'custom_label1': (str,), # noqa: E501
146
133
  'custom_label2': (str,), # noqa: E501
147
134
  'custom_label3': (str,), # noqa: E501
148
135
  'custom_label4': (str,), # noqa: E501
149
- 'is_bundle': (bool,), # noqa: E501
150
- 'mobile_link': (str,), # noqa: E501
151
- 'availability_date': (str,), # noqa: E501
152
- 'shipping_label': (str,), # noqa: E501
153
- 'unit_pricing_measure': (ProductUnitPricingMeasure,), # noqa: E501
154
- 'unit_pricing_base_measure': (ProductUnitPricingBaseMeasure,), # noqa: E501
155
- 'shipping_length': (ProductShippingDimension,), # noqa: E501
156
- 'shipping_width': (ProductShippingDimension,), # noqa: E501
157
- 'shipping_height': (ProductShippingDimension,), # noqa: E501
136
+ 'description': (str,), # noqa: E501
158
137
  'display_ads_id': (str,), # noqa: E501
138
+ 'display_ads_link': (str,), # noqa: E501
159
139
  'display_ads_similar_ids': ([str],), # noqa: E501
160
140
  'display_ads_title': (str,), # noqa: E501
161
- 'display_ads_link': (str,), # noqa: E501
162
141
  'display_ads_value': (float,), # noqa: E501
163
- 'sell_on_google_quantity': (int,), # noqa: E501
164
- 'promotion_ids': ([str],), # noqa: E501
142
+ 'energy_efficiency_class': (str,), # noqa: E501
143
+ 'excluded_destinations': ([str],), # noqa: E501
144
+ 'expiration_date': (str,), # noqa: E501
145
+ 'external_seller_id': (str,), # noqa: E501
146
+ 'external_seller_name': (str,), # noqa: E501
147
+ 'gender': (str,), # noqa: E501
148
+ 'google_product_category': (str,), # noqa: E501
149
+ 'gtin': (str,), # noqa: E501
150
+ 'identifier_exists': (bool,), # noqa: E501
151
+ 'included_destinations': ([str],), # noqa: E501
152
+ 'installment': (Installment,), # noqa: E501
153
+ 'is_bundle': (bool,), # noqa: E501
154
+ 'item_group_id': (str,), # noqa: E501
155
+ 'kind': (str,), # noqa: E501
156
+ 'loyalty_points': (LoyaltyPoints,), # noqa: E501
157
+ 'material': (str,), # noqa: E501
158
+ 'max_energy_efficiency_class': (str,), # noqa: E501
165
159
  'max_handling_time': (int,), # noqa: E501
160
+ 'min_energy_efficiency_class': (str,), # noqa: E501
166
161
  'min_handling_time': (int,), # noqa: E501
167
- 'cost_of_goods_sold': (Price,), # noqa: E501
168
- 'source': (str,), # noqa: E501
169
- 'included_destinations': ([str],), # noqa: E501
170
- 'excluded_destinations': ([str],), # noqa: E501
171
- 'ads_grouping': (str,), # noqa: E501
172
- 'ads_labels': ([str],), # noqa: E501
173
- 'ads_redirect': (str,), # noqa: E501
174
- 'product_types': ([str],), # noqa: E501
162
+ 'mobile_link': (str,), # noqa: E501
163
+ 'mpn': (str,), # noqa: E501
164
+ 'multipack': (int,), # noqa: E501
165
+ 'number_of_reviews': (int,), # noqa: E501
166
+ 'offer_id': (str,), # noqa: E501
167
+ 'pattern': (str,), # noqa: E501
168
+ 'price': (Price,), # noqa: E501
169
+ 'product_rating': (str,), # noqa: E501
175
170
  'product_type_keys': ([str],), # noqa: E501
176
- 'age_group': (str,), # noqa: E501
177
- 'availability': (str,), # noqa: E501
178
- 'condition': (str,), # noqa: E501
179
- 'gender': (str,), # noqa: E501
171
+ 'product_types': ([str],), # noqa: E501
172
+ 'promotion_ids': ([str],), # noqa: E501
173
+ 'sale_price': (Price,), # noqa: E501
174
+ 'sale_price_effective_date': (str,), # noqa: E501
175
+ 'seller_id': (str,), # noqa: E501
176
+ 'sell_on_google_quantity': (int,), # noqa: E501
177
+ 'shipping': ([ProductShipping],), # noqa: E501
178
+ 'shipping_height': (ProductShippingDimension,), # noqa: E501
179
+ 'shipping_label': (str,), # noqa: E501
180
+ 'shipping_length': (ProductShippingDimension,), # noqa: E501
181
+ 'shipping_weight': (ProductShippingWeight,), # noqa: E501
182
+ 'shipping_width': (ProductShippingDimension,), # noqa: E501
183
+ 'sizes': ([str],), # noqa: E501
180
184
  'size_system': (str,), # noqa: E501
181
185
  'size_type': (str,), # noqa: E501
182
- 'energy_efficiency_class': (str,), # noqa: E501
183
- 'min_energy_efficiency_class': (str,), # noqa: E501
184
- 'max_energy_efficiency_class': (str,), # noqa: E501
186
+ 'source': (str,), # noqa: E501
187
+ 'target_country': (str,), # noqa: E501
185
188
  'tax_category': (str,), # noqa: E501
189
+ 'taxes': ([ProductTax],), # noqa: E501
186
190
  'transit_time_label': (str,), # noqa: E501
187
- 'seller_id': (str,), # noqa: E501
188
- 'external_seller_id': (str,), # noqa: E501
189
- 'external_seller_name': (str,), # noqa: E501
190
- 'number_of_reviews': (int,), # noqa: E501
191
- 'product_rating': (str,), # noqa: E501
192
- 'badge': (str,), # noqa: E501
191
+ 'unit_pricing_base_measure': (ProductUnitPricingBaseMeasure,), # noqa: E501
192
+ 'unit_pricing_measure': (ProductUnitPricingMeasure,), # noqa: E501
193
193
  }
194
194
 
195
195
  @cached_property
@@ -198,88 +198,88 @@ class Product(ModelNormal):
198
198
 
199
199
 
200
200
  attribute_map = {
201
+ 'channel': 'channel', # noqa: E501
201
202
  'id': 'id', # noqa: E501
202
- 'title': 'title', # noqa: E501
203
- 'link': 'link', # noqa: E501
204
203
  'image_link': 'imageLink', # noqa: E501
205
- 'channel': 'channel', # noqa: E501
206
- 'offer_id': 'offerId', # noqa: E501
207
- 'description': 'description', # noqa: E501
204
+ 'link': 'link', # noqa: E501
205
+ 'title': 'title', # noqa: E501
208
206
  'additional_image_links': 'additionalImageLinks', # noqa: E501
209
- 'content_language': 'contentLanguage', # noqa: E501
210
- 'target_country': 'targetCountry', # noqa: E501
211
- 'expiration_date': 'expirationDate', # noqa: E501
207
+ 'ads_grouping': 'adsGrouping', # noqa: E501
208
+ 'ads_labels': 'adsLabels', # noqa: E501
209
+ 'ads_redirect': 'adsRedirect', # noqa: E501
212
210
  'adult': 'adult', # noqa: E501
213
- 'kind': 'kind', # noqa: E501
211
+ 'age_group': 'ageGroup', # noqa: E501
212
+ 'availability': 'availability', # noqa: E501
213
+ 'availability_date': 'availabilityDate', # noqa: E501
214
+ 'badge': 'badge', # noqa: E501
214
215
  'brand': 'brand', # noqa: E501
215
216
  'color': 'color', # noqa: E501
216
- 'google_product_category': 'googleProductCategory', # noqa: E501
217
- 'gtin': 'gtin', # noqa: E501
218
- 'item_group_id': 'itemGroupId', # noqa: E501
219
- 'material': 'material', # noqa: E501
220
- 'mpn': 'mpn', # noqa: E501
221
- 'pattern': 'pattern', # noqa: E501
222
- 'price': 'price', # noqa: E501
223
- 'sale_price': 'salePrice', # noqa: E501
224
- 'sale_price_effective_date': 'salePriceEffectiveDate', # noqa: E501
225
- 'shipping': 'shipping', # noqa: E501
226
- 'shipping_weight': 'shippingWeight', # noqa: E501
227
- 'sizes': 'sizes', # noqa: E501
228
- 'taxes': 'taxes', # noqa: E501
217
+ 'condition': 'condition', # noqa: E501
218
+ 'content_language': 'contentLanguage', # noqa: E501
219
+ 'cost_of_goods_sold': 'costOfGoodsSold', # noqa: E501
229
220
  'custom_attributes': 'customAttributes', # noqa: E501
230
- 'identifier_exists': 'identifierExists', # noqa: E501
231
- 'installment': 'installment', # noqa: E501
232
- 'loyalty_points': 'loyaltyPoints', # noqa: E501
233
- 'multipack': 'multipack', # noqa: E501
234
221
  'custom_label0': 'customLabel0', # noqa: E501
235
222
  'custom_label1': 'customLabel1', # noqa: E501
236
223
  'custom_label2': 'customLabel2', # noqa: E501
237
224
  'custom_label3': 'customLabel3', # noqa: E501
238
225
  'custom_label4': 'customLabel4', # noqa: E501
239
- 'is_bundle': 'isBundle', # noqa: E501
240
- 'mobile_link': 'mobileLink', # noqa: E501
241
- 'availability_date': 'availabilityDate', # noqa: E501
242
- 'shipping_label': 'shippingLabel', # noqa: E501
243
- 'unit_pricing_measure': 'unitPricingMeasure', # noqa: E501
244
- 'unit_pricing_base_measure': 'unitPricingBaseMeasure', # noqa: E501
245
- 'shipping_length': 'shippingLength', # noqa: E501
246
- 'shipping_width': 'shippingWidth', # noqa: E501
247
- 'shipping_height': 'shippingHeight', # noqa: E501
226
+ 'description': 'description', # noqa: E501
248
227
  'display_ads_id': 'displayAdsId', # noqa: E501
228
+ 'display_ads_link': 'displayAdsLink', # noqa: E501
249
229
  'display_ads_similar_ids': 'displayAdsSimilarIds', # noqa: E501
250
230
  'display_ads_title': 'displayAdsTitle', # noqa: E501
251
- 'display_ads_link': 'displayAdsLink', # noqa: E501
252
231
  'display_ads_value': 'displayAdsValue', # noqa: E501
253
- 'sell_on_google_quantity': 'sellOnGoogleQuantity', # noqa: E501
254
- 'promotion_ids': 'promotionIds', # noqa: E501
232
+ 'energy_efficiency_class': 'energyEfficiencyClass', # noqa: E501
233
+ 'excluded_destinations': 'excludedDestinations', # noqa: E501
234
+ 'expiration_date': 'expirationDate', # noqa: E501
235
+ 'external_seller_id': 'externalSellerId', # noqa: E501
236
+ 'external_seller_name': 'externalSellerName', # noqa: E501
237
+ 'gender': 'gender', # noqa: E501
238
+ 'google_product_category': 'googleProductCategory', # noqa: E501
239
+ 'gtin': 'gtin', # noqa: E501
240
+ 'identifier_exists': 'identifierExists', # noqa: E501
241
+ 'included_destinations': 'includedDestinations', # noqa: E501
242
+ 'installment': 'installment', # noqa: E501
243
+ 'is_bundle': 'isBundle', # noqa: E501
244
+ 'item_group_id': 'itemGroupId', # noqa: E501
245
+ 'kind': 'kind', # noqa: E501
246
+ 'loyalty_points': 'loyaltyPoints', # noqa: E501
247
+ 'material': 'material', # noqa: E501
248
+ 'max_energy_efficiency_class': 'maxEnergyEfficiencyClass', # noqa: E501
255
249
  'max_handling_time': 'maxHandlingTime', # noqa: E501
250
+ 'min_energy_efficiency_class': 'minEnergyEfficiencyClass', # noqa: E501
256
251
  'min_handling_time': 'minHandlingTime', # noqa: E501
257
- 'cost_of_goods_sold': 'costOfGoodsSold', # noqa: E501
258
- 'source': 'source', # noqa: E501
259
- 'included_destinations': 'includedDestinations', # noqa: E501
260
- 'excluded_destinations': 'excludedDestinations', # noqa: E501
261
- 'ads_grouping': 'adsGrouping', # noqa: E501
262
- 'ads_labels': 'adsLabels', # noqa: E501
263
- 'ads_redirect': 'adsRedirect', # noqa: E501
264
- 'product_types': 'productTypes', # noqa: E501
252
+ 'mobile_link': 'mobileLink', # noqa: E501
253
+ 'mpn': 'mpn', # noqa: E501
254
+ 'multipack': 'multipack', # noqa: E501
255
+ 'number_of_reviews': 'numberOfReviews', # noqa: E501
256
+ 'offer_id': 'offerId', # noqa: E501
257
+ 'pattern': 'pattern', # noqa: E501
258
+ 'price': 'price', # noqa: E501
259
+ 'product_rating': 'productRating', # noqa: E501
265
260
  'product_type_keys': 'productTypeKeys', # noqa: E501
266
- 'age_group': 'ageGroup', # noqa: E501
267
- 'availability': 'availability', # noqa: E501
268
- 'condition': 'condition', # noqa: E501
269
- 'gender': 'gender', # noqa: E501
261
+ 'product_types': 'productTypes', # noqa: E501
262
+ 'promotion_ids': 'promotionIds', # noqa: E501
263
+ 'sale_price': 'salePrice', # noqa: E501
264
+ 'sale_price_effective_date': 'salePriceEffectiveDate', # noqa: E501
265
+ 'seller_id': 'sellerId', # noqa: E501
266
+ 'sell_on_google_quantity': 'sellOnGoogleQuantity', # noqa: E501
267
+ 'shipping': 'shipping', # noqa: E501
268
+ 'shipping_height': 'shippingHeight', # noqa: E501
269
+ 'shipping_label': 'shippingLabel', # noqa: E501
270
+ 'shipping_length': 'shippingLength', # noqa: E501
271
+ 'shipping_weight': 'shippingWeight', # noqa: E501
272
+ 'shipping_width': 'shippingWidth', # noqa: E501
273
+ 'sizes': 'sizes', # noqa: E501
270
274
  'size_system': 'sizeSystem', # noqa: E501
271
275
  'size_type': 'sizeType', # noqa: E501
272
- 'energy_efficiency_class': 'energyEfficiencyClass', # noqa: E501
273
- 'min_energy_efficiency_class': 'minEnergyEfficiencyClass', # noqa: E501
274
- 'max_energy_efficiency_class': 'maxEnergyEfficiencyClass', # noqa: E501
276
+ 'source': 'source', # noqa: E501
277
+ 'target_country': 'targetCountry', # noqa: E501
275
278
  'tax_category': 'taxCategory', # noqa: E501
279
+ 'taxes': 'taxes', # noqa: E501
276
280
  'transit_time_label': 'transitTimeLabel', # noqa: E501
277
- 'seller_id': 'sellerId', # noqa: E501
278
- 'external_seller_id': 'externalSellerId', # noqa: E501
279
- 'external_seller_name': 'externalSellerName', # noqa: E501
280
- 'number_of_reviews': 'numberOfReviews', # noqa: E501
281
- 'product_rating': 'productRating', # noqa: E501
282
- 'badge': 'badge', # noqa: E501
281
+ 'unit_pricing_base_measure': 'unitPricingBaseMeasure', # noqa: E501
282
+ 'unit_pricing_measure': 'unitPricingMeasure', # noqa: E501
283
283
  }
284
284
 
285
285
  read_only_vars = {
@@ -289,14 +289,14 @@ class Product(ModelNormal):
289
289
 
290
290
  @classmethod
291
291
  @convert_js_args_to_python_args
292
- def _from_openapi_data(cls, id, title, link, image_link, *args, **kwargs): # noqa: E501
292
+ def _from_openapi_data(cls, id, image_link, link, title, *args, **kwargs): # noqa: E501
293
293
  """Product - a model defined in OpenAPI
294
294
 
295
295
  Args:
296
296
  id (str): A unique identifier for the item. Aka Product ID. Don’t use casing to make IDs unique.
297
- title (str): Title of the item. (500 UTF8 characters max).
298
- link (str): URL directly linking to your item's page on your website. (1000 UTF8 characters max).
299
297
  image_link (str): URL of an image of the item. Supported formats: PNG, JPEG, GIF. (2000 UTF8 characters max).
298
+ link (str): URL directly linking to your item's page on your website. (1000 UTF8 characters max).
299
+ title (str): Title of the item. (500 UTF8 characters max).
300
300
 
301
301
  Keyword Args:
302
302
  channel (str): The item's channel (online only).. defaults to "online", must be one of ["online", ] # noqa: E501
@@ -330,83 +330,83 @@ class Product(ModelNormal):
330
330
  Animal class but this time we won't travel
331
331
  through its discriminator because we passed in
332
332
  _visited_composed_classes = (Animal,)
333
- offer_id (str): Not used by Criteo.. [optional] # noqa: E501
334
- description (str): Description of the item. RECOMMENDED. (5000 UTF8 characters max).. [optional] # noqa: E501
335
333
  additional_image_links ([str]): Additional URLs of images of the item.. [optional] # noqa: E501
336
- content_language (str): The two-letter ISO 639-1 language code for the item.. [optional] # noqa: E501
337
- target_country (str): The CLDR territory code for the item.. [optional] # noqa: E501
338
- expiration_date (str): Date on which the item should expire, as specified upon insertion, in ISO 8601 format.. [optional] # noqa: E501
334
+ ads_grouping (str): Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.. [optional] # noqa: E501
335
+ ads_labels ([str]): Similar to adsGrouping, but only works on CPC.. [optional] # noqa: E501
336
+ ads_redirect (str): Allows advertisers to override the item URL when the product is shown within the context of Product Ads.. [optional] # noqa: E501
339
337
  adult (bool): Set to true if the item is targeted towards adults. RECOMMENDED.. [optional] # noqa: E501
340
- kind (str): Identifies what kind of resource this is.. [optional] # noqa: E501
338
+ age_group (str): Target age group of the item.. [optional] # noqa: E501
339
+ availability (str): Availability status of the item. RECOMMENDED.. [optional] # noqa: E501
340
+ availability_date (str): The day a pre-ordered product becomes available for delivery, in ISO 8601 format.. [optional] # noqa: E501
341
+ badge (str): URL of a badge image to display on the product.. [optional] # noqa: E501
341
342
  brand (str): Brand of the item. RECOMMENDED.. [optional] # noqa: E501
342
343
  color (str): Color of the item.. [optional] # noqa: E501
343
- google_product_category (str): Google's category of the item (see Google product taxonomy). RECOMMENDED.. [optional] # noqa: E501
344
- gtin (str): Global Trade Item Number (GTIN) of the item. RECOMMENDED.. [optional] # noqa: E501
345
- item_group_id (str): Shared identifier for all variants of the same product. RECOMMENDED. Don’t use casing to make IDs unique. (50 characters max). [optional] # noqa: E501
346
- material (str): The material of which the item is made.. [optional] # noqa: E501
347
- mpn (str): Manufacturer Part Number (MPN) of the item. RECOMMENDED.. [optional] # noqa: E501
348
- pattern (str): The item's pattern (e.g. polka dots).. [optional] # noqa: E501
349
- price (Price): [optional] # noqa: E501
350
- sale_price (Price): [optional] # noqa: E501
351
- sale_price_effective_date (str): Date range during which the item is on sale.. [optional] # noqa: E501
352
- shipping ([ProductShipping]): Shipping rules.. [optional] # noqa: E501
353
- shipping_weight (ProductShippingWeight): [optional] # noqa: E501
354
- sizes ([str]): Size of the item. RECOMMENDED. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value.. [optional] # noqa: E501
355
- taxes ([ProductTax]): Tax information.. [optional] # noqa: E501
344
+ condition (str): Condition or state of the item.. [optional] # noqa: E501
345
+ content_language (str): The two-letter ISO 639-1 language code for the item.. [optional] # noqa: E501
346
+ cost_of_goods_sold (Price): [optional] # noqa: E501
356
347
  custom_attributes ([CustomAttribute]): A list of custom (merchant-provided) attributes. This is useful for submitting attributes not explicitly exposed by the API. Declaring attributes explicitly exposed by the API using is forbidden. [optional] # noqa: E501
357
- identifier_exists (bool): False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.. [optional] # noqa: E501
358
- installment (Installment): [optional] # noqa: E501
359
- loyalty_points (LoyaltyPoints): [optional] # noqa: E501
360
- multipack (int): The number of identical products in a merchant-defined multipack. To avoid any overflow issue, pass it as a string.. [optional] # noqa: E501
361
348
  custom_label0 (str): Custom label 0 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
362
349
  custom_label1 (str): Custom label 1 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
363
350
  custom_label2 (str): Custom label 2 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
364
351
  custom_label3 (str): Custom label 3 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
365
352
  custom_label4 (str): Custom label 4 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
366
- is_bundle (bool): Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.. [optional] # noqa: E501
367
- mobile_link (str): accounts.link to a mobile-optimized version of the landing page.. [optional] # noqa: E501
368
- availability_date (str): The day a pre-ordered product becomes available for delivery, in ISO 8601 format.. [optional] # noqa: E501
369
- shipping_label (str): The shipping label of the product, used to group product in account-level shipping rules.. [optional] # noqa: E501
370
- unit_pricing_measure (ProductUnitPricingMeasure): [optional] # noqa: E501
371
- unit_pricing_base_measure (ProductUnitPricingBaseMeasure): [optional] # noqa: E501
372
- shipping_length (ProductShippingDimension): [optional] # noqa: E501
373
- shipping_width (ProductShippingDimension): [optional] # noqa: E501
374
- shipping_height (ProductShippingDimension): [optional] # noqa: E501
353
+ description (str): Description of the item. RECOMMENDED. (5000 UTF8 characters max).. [optional] # noqa: E501
375
354
  display_ads_id (str): An identifier for an item for dynamic remarketing campaigns.. [optional] # noqa: E501
355
+ display_ads_link (str): URL directly to your item's landing page for dynamic remarketing campaigns.. [optional] # noqa: E501
376
356
  display_ads_similar_ids ([str]): Advertiser-specified recommendations.. [optional] # noqa: E501
377
357
  display_ads_title (str): Title of an item for dynamic remarketing campaigns.. [optional] # noqa: E501
378
- display_ads_link (str): URL directly to your item's landing page for dynamic remarketing campaigns.. [optional] # noqa: E501
379
358
  display_ads_value (float): Offer margin for dynamic remarketing campaigns.. [optional] # noqa: E501
380
- sell_on_google_quantity (int): The quantity of the product that is available for selling on Google. Supported only for online products.. [optional] # noqa: E501
381
- promotion_ids ([str]): The unique ID of a promotion.. [optional] # noqa: E501
359
+ energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
360
+ excluded_destinations ([str]): The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).. [optional] # noqa: E501
361
+ expiration_date (str): Date on which the item should expire, as specified upon insertion, in ISO 8601 format.. [optional] # noqa: E501
362
+ external_seller_id (str): The external id of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
363
+ external_seller_name (str): 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
364
+ gender (str): Target gender of the item.. [optional] # noqa: E501
365
+ google_product_category (str): Google's category of the item (see Google product taxonomy). RECOMMENDED.. [optional] # noqa: E501
366
+ gtin (str): Global Trade Item Number (GTIN) of the item. RECOMMENDED.. [optional] # noqa: E501
367
+ identifier_exists (bool): False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.. [optional] # noqa: E501
368
+ included_destinations ([str]): The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.. [optional] # noqa: E501
369
+ installment (Installment): [optional] # noqa: E501
370
+ is_bundle (bool): Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.. [optional] # noqa: E501
371
+ item_group_id (str): Shared identifier for all variants of the same product. RECOMMENDED. Don’t use casing to make IDs unique. (50 characters max). [optional] # noqa: E501
372
+ kind (str): Identifies what kind of resource this is.. [optional] # noqa: E501
373
+ loyalty_points (LoyaltyPoints): [optional] # noqa: E501
374
+ material (str): The material of which the item is made.. [optional] # noqa: E501
375
+ max_energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
382
376
  max_handling_time (int): Maximal product handling time (in business days).. [optional] # noqa: E501
377
+ min_energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
383
378
  min_handling_time (int): Minimal product handling time (in business days).. [optional] # noqa: E501
384
- cost_of_goods_sold (Price): [optional] # noqa: E501
385
- source (str): The source of the offer, i.e., how the offer was created.. [optional] # noqa: E501
386
- included_destinations ([str]): The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.. [optional] # noqa: E501
387
- excluded_destinations ([str]): The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).. [optional] # noqa: E501
388
- ads_grouping (str): Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.. [optional] # noqa: E501
389
- ads_labels ([str]): Similar to adsGrouping, but only works on CPC.. [optional] # noqa: E501
390
- ads_redirect (str): Allows advertisers to override the item URL when the product is shown within the context of Product Ads.. [optional] # noqa: E501
391
- product_types ([str]): Categories of the item (formatted as in products data specification).. [optional] # noqa: E501
379
+ mobile_link (str): accounts.link to a mobile-optimized version of the landing page.. [optional] # noqa: E501
380
+ mpn (str): Manufacturer Part Number (MPN) of the item. RECOMMENDED.. [optional] # noqa: E501
381
+ multipack (int): The number of identical products in a merchant-defined multipack. To avoid any overflow issue, pass it as a string.. [optional] # noqa: E501
382
+ number_of_reviews (int): The number of customer reviews for the product. [optional] # noqa: E501
383
+ offer_id (str): Not used by Criteo.. [optional] # noqa: E501
384
+ pattern (str): The item's pattern (e.g. polka dots).. [optional] # noqa: E501
385
+ price (Price): [optional] # noqa: E501
386
+ product_rating (str): The product rating for the product. [optional] # noqa: E501
392
387
  product_type_keys ([str]): Category keys of the item (formatted as in productTypes).. [optional] # noqa: E501
393
- age_group (str): Target age group of the item.. [optional] # noqa: E501
394
- availability (str): Availability status of the item. RECOMMENDED.. [optional] # noqa: E501
395
- condition (str): Condition or state of the item.. [optional] # noqa: E501
396
- gender (str): Target gender of the item.. [optional] # noqa: E501
388
+ product_types ([str]): Categories of the item (formatted as in products data specification).. [optional] # noqa: E501
389
+ promotion_ids ([str]): The unique ID of a promotion.. [optional] # noqa: E501
390
+ sale_price (Price): [optional] # noqa: E501
391
+ sale_price_effective_date (str): Date range during which the item is on sale.. [optional] # noqa: E501
392
+ seller_id (str): (Deprecated Field) The external ID of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
393
+ sell_on_google_quantity (int): The quantity of the product that is available for selling on Google. Supported only for online products.. [optional] # noqa: E501
394
+ shipping ([ProductShipping]): Shipping rules.. [optional] # noqa: E501
395
+ shipping_height (ProductShippingDimension): [optional] # noqa: E501
396
+ shipping_label (str): The shipping label of the product, used to group product in account-level shipping rules.. [optional] # noqa: E501
397
+ shipping_length (ProductShippingDimension): [optional] # noqa: E501
398
+ shipping_weight (ProductShippingWeight): [optional] # noqa: E501
399
+ shipping_width (ProductShippingDimension): [optional] # noqa: E501
400
+ sizes ([str]): Size of the item. RECOMMENDED. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value.. [optional] # noqa: E501
397
401
  size_system (str): System in which the size is specified. Recommended for apparel items.. [optional] # noqa: E501
398
402
  size_type (str): The cut of the item. Recommended for apparel items.. [optional] # noqa: E501
399
- energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
400
- min_energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
401
- max_energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
403
+ source (str): The source of the offer, i.e., how the offer was created.. [optional] # noqa: E501
404
+ target_country (str): The CLDR territory code for the item.. [optional] # noqa: E501
402
405
  tax_category (str): The tax category of the product, used to configure detailed tax nexus in account-level tax settings.. [optional] # noqa: E501
406
+ taxes ([ProductTax]): Tax information.. [optional] # noqa: E501
403
407
  transit_time_label (str): The transit time label of the product, used to group product in account-level transit time tables.. [optional] # noqa: E501
404
- seller_id (str): (Deprecated Field) The external ID of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
405
- external_seller_id (str): The external id of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
406
- external_seller_name (str): 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
407
- number_of_reviews (int): The number of customer reviews for the product. [optional] # noqa: E501
408
- product_rating (str): The product rating for the product. [optional] # noqa: E501
409
- badge (str): URL of a badge image to display on the product.. [optional] # noqa: E501
408
+ unit_pricing_base_measure (ProductUnitPricingBaseMeasure): [optional] # noqa: E501
409
+ unit_pricing_measure (ProductUnitPricingMeasure): [optional] # noqa: E501
410
410
  """
411
411
 
412
412
  channel = kwargs.get('channel', "online")
@@ -439,11 +439,11 @@ class Product(ModelNormal):
439
439
  self._configuration = _configuration
440
440
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
441
441
 
442
+ self.channel = channel
442
443
  self.id = id
443
- self.title = title
444
- self.link = link
445
444
  self.image_link = image_link
446
- self.channel = channel
445
+ self.link = link
446
+ self.title = title
447
447
  for var_name, var_value in kwargs.items():
448
448
  if var_name not in self.attribute_map and \
449
449
  self._configuration is not None and \
@@ -464,14 +464,14 @@ class Product(ModelNormal):
464
464
  ])
465
465
 
466
466
  @convert_js_args_to_python_args
467
- def __init__(self, id, title, link, image_link, *args, **kwargs): # noqa: E501
467
+ def __init__(self, id, image_link, link, title, *args, **kwargs): # noqa: E501
468
468
  """Product - a model defined in OpenAPI
469
469
 
470
470
  Args:
471
471
  id (str): A unique identifier for the item. Aka Product ID. Don’t use casing to make IDs unique.
472
- title (str): Title of the item. (500 UTF8 characters max).
473
- link (str): URL directly linking to your item's page on your website. (1000 UTF8 characters max).
474
472
  image_link (str): URL of an image of the item. Supported formats: PNG, JPEG, GIF. (2000 UTF8 characters max).
473
+ link (str): URL directly linking to your item's page on your website. (1000 UTF8 characters max).
474
+ title (str): Title of the item. (500 UTF8 characters max).
475
475
 
476
476
  Keyword Args:
477
477
  channel (str): The item's channel (online only).. defaults to "online", must be one of ["online", ] # noqa: E501
@@ -505,83 +505,83 @@ class Product(ModelNormal):
505
505
  Animal class but this time we won't travel
506
506
  through its discriminator because we passed in
507
507
  _visited_composed_classes = (Animal,)
508
- offer_id (str): Not used by Criteo.. [optional] # noqa: E501
509
- description (str): Description of the item. RECOMMENDED. (5000 UTF8 characters max).. [optional] # noqa: E501
510
508
  additional_image_links ([str]): Additional URLs of images of the item.. [optional] # noqa: E501
511
- content_language (str): The two-letter ISO 639-1 language code for the item.. [optional] # noqa: E501
512
- target_country (str): The CLDR territory code for the item.. [optional] # noqa: E501
513
- expiration_date (str): Date on which the item should expire, as specified upon insertion, in ISO 8601 format.. [optional] # noqa: E501
509
+ ads_grouping (str): Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.. [optional] # noqa: E501
510
+ ads_labels ([str]): Similar to adsGrouping, but only works on CPC.. [optional] # noqa: E501
511
+ ads_redirect (str): Allows advertisers to override the item URL when the product is shown within the context of Product Ads.. [optional] # noqa: E501
514
512
  adult (bool): Set to true if the item is targeted towards adults. RECOMMENDED.. [optional] # noqa: E501
515
- kind (str): Identifies what kind of resource this is.. [optional] # noqa: E501
513
+ age_group (str): Target age group of the item.. [optional] # noqa: E501
514
+ availability (str): Availability status of the item. RECOMMENDED.. [optional] # noqa: E501
515
+ availability_date (str): The day a pre-ordered product becomes available for delivery, in ISO 8601 format.. [optional] # noqa: E501
516
+ badge (str): URL of a badge image to display on the product.. [optional] # noqa: E501
516
517
  brand (str): Brand of the item. RECOMMENDED.. [optional] # noqa: E501
517
518
  color (str): Color of the item.. [optional] # noqa: E501
518
- google_product_category (str): Google's category of the item (see Google product taxonomy). RECOMMENDED.. [optional] # noqa: E501
519
- gtin (str): Global Trade Item Number (GTIN) of the item. RECOMMENDED.. [optional] # noqa: E501
520
- item_group_id (str): Shared identifier for all variants of the same product. RECOMMENDED. Don’t use casing to make IDs unique. (50 characters max). [optional] # noqa: E501
521
- material (str): The material of which the item is made.. [optional] # noqa: E501
522
- mpn (str): Manufacturer Part Number (MPN) of the item. RECOMMENDED.. [optional] # noqa: E501
523
- pattern (str): The item's pattern (e.g. polka dots).. [optional] # noqa: E501
524
- price (Price): [optional] # noqa: E501
525
- sale_price (Price): [optional] # noqa: E501
526
- sale_price_effective_date (str): Date range during which the item is on sale.. [optional] # noqa: E501
527
- shipping ([ProductShipping]): Shipping rules.. [optional] # noqa: E501
528
- shipping_weight (ProductShippingWeight): [optional] # noqa: E501
529
- sizes ([str]): Size of the item. RECOMMENDED. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value.. [optional] # noqa: E501
530
- taxes ([ProductTax]): Tax information.. [optional] # noqa: E501
519
+ condition (str): Condition or state of the item.. [optional] # noqa: E501
520
+ content_language (str): The two-letter ISO 639-1 language code for the item.. [optional] # noqa: E501
521
+ cost_of_goods_sold (Price): [optional] # noqa: E501
531
522
  custom_attributes ([CustomAttribute]): A list of custom (merchant-provided) attributes. This is useful for submitting attributes not explicitly exposed by the API. Declaring attributes explicitly exposed by the API using is forbidden. [optional] # noqa: E501
532
- identifier_exists (bool): False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.. [optional] # noqa: E501
533
- installment (Installment): [optional] # noqa: E501
534
- loyalty_points (LoyaltyPoints): [optional] # noqa: E501
535
- multipack (int): The number of identical products in a merchant-defined multipack. To avoid any overflow issue, pass it as a string.. [optional] # noqa: E501
536
523
  custom_label0 (str): Custom label 0 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
537
524
  custom_label1 (str): Custom label 1 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
538
525
  custom_label2 (str): Custom label 2 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
539
526
  custom_label3 (str): Custom label 3 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
540
527
  custom_label4 (str): Custom label 4 for custom grouping of items in a Shopping campaign.. [optional] # noqa: E501
541
- is_bundle (bool): Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.. [optional] # noqa: E501
542
- mobile_link (str): accounts.link to a mobile-optimized version of the landing page.. [optional] # noqa: E501
543
- availability_date (str): The day a pre-ordered product becomes available for delivery, in ISO 8601 format.. [optional] # noqa: E501
544
- shipping_label (str): The shipping label of the product, used to group product in account-level shipping rules.. [optional] # noqa: E501
545
- unit_pricing_measure (ProductUnitPricingMeasure): [optional] # noqa: E501
546
- unit_pricing_base_measure (ProductUnitPricingBaseMeasure): [optional] # noqa: E501
547
- shipping_length (ProductShippingDimension): [optional] # noqa: E501
548
- shipping_width (ProductShippingDimension): [optional] # noqa: E501
549
- shipping_height (ProductShippingDimension): [optional] # noqa: E501
528
+ description (str): Description of the item. RECOMMENDED. (5000 UTF8 characters max).. [optional] # noqa: E501
550
529
  display_ads_id (str): An identifier for an item for dynamic remarketing campaigns.. [optional] # noqa: E501
530
+ display_ads_link (str): URL directly to your item's landing page for dynamic remarketing campaigns.. [optional] # noqa: E501
551
531
  display_ads_similar_ids ([str]): Advertiser-specified recommendations.. [optional] # noqa: E501
552
532
  display_ads_title (str): Title of an item for dynamic remarketing campaigns.. [optional] # noqa: E501
553
- display_ads_link (str): URL directly to your item's landing page for dynamic remarketing campaigns.. [optional] # noqa: E501
554
533
  display_ads_value (float): Offer margin for dynamic remarketing campaigns.. [optional] # noqa: E501
555
- sell_on_google_quantity (int): The quantity of the product that is available for selling on Google. Supported only for online products.. [optional] # noqa: E501
556
- promotion_ids ([str]): The unique ID of a promotion.. [optional] # noqa: E501
534
+ energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
535
+ excluded_destinations ([str]): The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).. [optional] # noqa: E501
536
+ expiration_date (str): Date on which the item should expire, as specified upon insertion, in ISO 8601 format.. [optional] # noqa: E501
537
+ external_seller_id (str): The external id of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
538
+ external_seller_name (str): 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
539
+ gender (str): Target gender of the item.. [optional] # noqa: E501
540
+ google_product_category (str): Google's category of the item (see Google product taxonomy). RECOMMENDED.. [optional] # noqa: E501
541
+ gtin (str): Global Trade Item Number (GTIN) of the item. RECOMMENDED.. [optional] # noqa: E501
542
+ identifier_exists (bool): False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.. [optional] # noqa: E501
543
+ included_destinations ([str]): The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.. [optional] # noqa: E501
544
+ installment (Installment): [optional] # noqa: E501
545
+ is_bundle (bool): Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.. [optional] # noqa: E501
546
+ item_group_id (str): Shared identifier for all variants of the same product. RECOMMENDED. Don’t use casing to make IDs unique. (50 characters max). [optional] # noqa: E501
547
+ kind (str): Identifies what kind of resource this is.. [optional] # noqa: E501
548
+ loyalty_points (LoyaltyPoints): [optional] # noqa: E501
549
+ material (str): The material of which the item is made.. [optional] # noqa: E501
550
+ max_energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
557
551
  max_handling_time (int): Maximal product handling time (in business days).. [optional] # noqa: E501
552
+ min_energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
558
553
  min_handling_time (int): Minimal product handling time (in business days).. [optional] # noqa: E501
559
- cost_of_goods_sold (Price): [optional] # noqa: E501
560
- source (str): The source of the offer, i.e., how the offer was created.. [optional] # noqa: E501
561
- included_destinations ([str]): The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.. [optional] # noqa: E501
562
- excluded_destinations ([str]): The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).. [optional] # noqa: E501
563
- ads_grouping (str): Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.. [optional] # noqa: E501
564
- ads_labels ([str]): Similar to adsGrouping, but only works on CPC.. [optional] # noqa: E501
565
- ads_redirect (str): Allows advertisers to override the item URL when the product is shown within the context of Product Ads.. [optional] # noqa: E501
566
- product_types ([str]): Categories of the item (formatted as in products data specification).. [optional] # noqa: E501
554
+ mobile_link (str): accounts.link to a mobile-optimized version of the landing page.. [optional] # noqa: E501
555
+ mpn (str): Manufacturer Part Number (MPN) of the item. RECOMMENDED.. [optional] # noqa: E501
556
+ multipack (int): The number of identical products in a merchant-defined multipack. To avoid any overflow issue, pass it as a string.. [optional] # noqa: E501
557
+ number_of_reviews (int): The number of customer reviews for the product. [optional] # noqa: E501
558
+ offer_id (str): Not used by Criteo.. [optional] # noqa: E501
559
+ pattern (str): The item's pattern (e.g. polka dots).. [optional] # noqa: E501
560
+ price (Price): [optional] # noqa: E501
561
+ product_rating (str): The product rating for the product. [optional] # noqa: E501
567
562
  product_type_keys ([str]): Category keys of the item (formatted as in productTypes).. [optional] # noqa: E501
568
- age_group (str): Target age group of the item.. [optional] # noqa: E501
569
- availability (str): Availability status of the item. RECOMMENDED.. [optional] # noqa: E501
570
- condition (str): Condition or state of the item.. [optional] # noqa: E501
571
- gender (str): Target gender of the item.. [optional] # noqa: E501
563
+ product_types ([str]): Categories of the item (formatted as in products data specification).. [optional] # noqa: E501
564
+ promotion_ids ([str]): The unique ID of a promotion.. [optional] # noqa: E501
565
+ sale_price (Price): [optional] # noqa: E501
566
+ sale_price_effective_date (str): Date range during which the item is on sale.. [optional] # noqa: E501
567
+ seller_id (str): (Deprecated Field) The external ID of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
568
+ sell_on_google_quantity (int): The quantity of the product that is available for selling on Google. Supported only for online products.. [optional] # noqa: E501
569
+ shipping ([ProductShipping]): Shipping rules.. [optional] # noqa: E501
570
+ shipping_height (ProductShippingDimension): [optional] # noqa: E501
571
+ shipping_label (str): The shipping label of the product, used to group product in account-level shipping rules.. [optional] # noqa: E501
572
+ shipping_length (ProductShippingDimension): [optional] # noqa: E501
573
+ shipping_weight (ProductShippingWeight): [optional] # noqa: E501
574
+ shipping_width (ProductShippingDimension): [optional] # noqa: E501
575
+ sizes ([str]): Size of the item. RECOMMENDED. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value.. [optional] # noqa: E501
572
576
  size_system (str): System in which the size is specified. Recommended for apparel items.. [optional] # noqa: E501
573
577
  size_type (str): The cut of the item. Recommended for apparel items.. [optional] # noqa: E501
574
- energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
575
- min_energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
576
- max_energy_efficiency_class (str): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
578
+ source (str): The source of the offer, i.e., how the offer was created.. [optional] # noqa: E501
579
+ target_country (str): The CLDR territory code for the item.. [optional] # noqa: E501
577
580
  tax_category (str): The tax category of the product, used to configure detailed tax nexus in account-level tax settings.. [optional] # noqa: E501
581
+ taxes ([ProductTax]): Tax information.. [optional] # noqa: E501
578
582
  transit_time_label (str): The transit time label of the product, used to group product in account-level transit time tables.. [optional] # noqa: E501
579
- seller_id (str): (Deprecated Field) The external ID of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
580
- external_seller_id (str): The external id of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
581
- external_seller_name (str): 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
582
- number_of_reviews (int): The number of customer reviews for the product. [optional] # noqa: E501
583
- product_rating (str): The product rating for the product. [optional] # noqa: E501
584
- badge (str): URL of a badge image to display on the product.. [optional] # noqa: E501
583
+ unit_pricing_base_measure (ProductUnitPricingBaseMeasure): [optional] # noqa: E501
584
+ unit_pricing_measure (ProductUnitPricingMeasure): [optional] # noqa: E501
585
585
  """
586
586
 
587
587
  channel = kwargs.get('channel', "online")
@@ -612,11 +612,11 @@ class Product(ModelNormal):
612
612
  self._configuration = _configuration
613
613
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
614
614
 
615
+ self.channel = channel
615
616
  self.id = id
616
- self.title = title
617
- self.link = link
618
617
  self.image_link = image_link
619
- self.channel = channel
618
+ self.link = link
619
+ self.title = title
620
620
  for var_name, var_value in kwargs.items():
621
621
  if var_name not in self.attribute_map and \
622
622
  self._configuration is not None and \