|
749 | 749 | ], |
750 | 750 | "responses": { |
751 | 751 | "200": { |
752 | | - "description": "The list of self-services Creatives is returned.", |
| 752 | + "description": "The list of self-services Creatives is returned.This list will contain creatives in draft status as well which will have some properties as null", |
753 | 753 | "content": { |
754 | 754 | "application/json": { |
755 | 755 | "schema": { |
756 | | - "$ref": "#/components/schemas/ResourceCollectionOutcomeOfCreative" |
| 756 | + "$ref": "#/components/schemas/ResourceCollectionOutcomeOfCreativeRead" |
757 | 757 | } |
758 | 758 | } |
759 | 759 | } |
|
4951 | 4951 | }, |
4952 | 4952 | "descriptionFont": { |
4953 | 4953 | "type": "string", |
4954 | | - "description": "Font of the description\r\nValid supported font like \"Arial\"", |
4955 | | - "nullable": true |
| 4954 | + "description": "Font of the description\r\nValid supported font like \"Arial\"" |
4956 | 4955 | }, |
4957 | 4956 | "descriptionText": { |
4958 | 4957 | "type": "string", |
4959 | | - "description": "The description text of the banner", |
4960 | | - "nullable": true |
| 4958 | + "description": "The description text of the banner" |
4961 | 4959 | }, |
4962 | 4960 | "headlineFont": { |
4963 | 4961 | "type": "string", |
4964 | | - "description": "Font of the headline\r\nValid supported font like \"Arial\"", |
4965 | | - "nullable": true |
| 4962 | + "description": "Font of the headline\r\nValid supported font like \"Arial\"" |
4966 | 4963 | }, |
4967 | 4964 | "headlineText": { |
4968 | 4965 | "type": "string", |
4969 | | - "description": "The headline text of the banner", |
4970 | | - "nullable": true |
| 4966 | + "description": "The headline text of the banner" |
4971 | 4967 | }, |
4972 | 4968 | "imageDisplay": { |
4973 | 4969 | "enum": [ |
|
5058 | 5054 | "description": "Color of the image set's headline text.\r\nA valid RGB24 color in hexadecimal (e.g. \"AB00FF\")" |
5059 | 5055 | } |
5060 | 5056 | }, |
5061 | | - "description": "Entity consists of the color aliases of the creative's elements" |
| 5057 | + "description": "Entity consists of the color aliases of the creative's elements", |
| 5058 | + "nullable": true |
| 5059 | + }, |
| 5060 | + "AdaptiveReadAttributes": { |
| 5061 | + "type": "object", |
| 5062 | + "properties": { |
| 5063 | + "callsToAction": { |
| 5064 | + "type": "array", |
| 5065 | + "items": { |
| 5066 | + "type": "string" |
| 5067 | + }, |
| 5068 | + "description": "A Call-to-Action (CTA) is an action-driven instruction to your audience intended to provoke an immediate\r\nresponse, such as “Buy now” or “Go!”.", |
| 5069 | + "nullable": true |
| 5070 | + }, |
| 5071 | + "colors": { |
| 5072 | + "$ref": "#/components/schemas/AdaptiveColors" |
| 5073 | + }, |
| 5074 | + "descriptionFont": { |
| 5075 | + "type": "string", |
| 5076 | + "description": "Font of the description\r\nValid supported font like \"Arial\"", |
| 5077 | + "nullable": true |
| 5078 | + }, |
| 5079 | + "descriptionText": { |
| 5080 | + "type": "string", |
| 5081 | + "description": "The description text of the banner", |
| 5082 | + "nullable": true |
| 5083 | + }, |
| 5084 | + "headlineFont": { |
| 5085 | + "type": "string", |
| 5086 | + "description": "Font of the headline\r\nValid supported font like \"Arial\"", |
| 5087 | + "nullable": true |
| 5088 | + }, |
| 5089 | + "headlineText": { |
| 5090 | + "type": "string", |
| 5091 | + "description": "The headline text of the banner", |
| 5092 | + "nullable": true |
| 5093 | + }, |
| 5094 | + "imageDisplay": { |
| 5095 | + "enum": [ |
| 5096 | + "ShowFullImage", |
| 5097 | + "ZoomOnImage" |
| 5098 | + ], |
| 5099 | + "type": "string", |
| 5100 | + "description": "Value can be \"ShowFullImage\" or \"ZoomOnImage\". Choose whether your image set should fit inside the allocated\r\nspace (\"ShowFullImage\") or whether it should fill that space (\"ZoomOnImage\"). If you choose ZoomOnImage, there may be some\r\nimage cropping.", |
| 5101 | + "nullable": true |
| 5102 | + }, |
| 5103 | + "imageSets": { |
| 5104 | + "type": "array", |
| 5105 | + "items": { |
| 5106 | + "$ref": "#/components/schemas/ImageSet" |
| 5107 | + }, |
| 5108 | + "description": "Multiple image sets, each image set consists of multiple images and a headline text.", |
| 5109 | + "nullable": true |
| 5110 | + }, |
| 5111 | + "landingPageUrl": { |
| 5112 | + "type": "string", |
| 5113 | + "description": "Web redirection of the landing page url", |
| 5114 | + "format": "uri", |
| 5115 | + "nullable": true |
| 5116 | + }, |
| 5117 | + "layouts": { |
| 5118 | + "type": "array", |
| 5119 | + "items": { |
| 5120 | + "enum": [ |
| 5121 | + "Editorial", |
| 5122 | + "Montage", |
| 5123 | + "InBannerVideo" |
| 5124 | + ], |
| 5125 | + "type": "string" |
| 5126 | + }, |
| 5127 | + "description": "The Adaptive layouts that are enabled.\r\nIt can contain any of the following values: \"Editorial\", “Montage“, \"InBannerVideo\".", |
| 5128 | + "nullable": true |
| 5129 | + }, |
| 5130 | + "logos": { |
| 5131 | + "type": "array", |
| 5132 | + "items": { |
| 5133 | + "$ref": "#/components/schemas/ImageShape" |
| 5134 | + }, |
| 5135 | + "description": "Logo images uploaded on demostatic.criteo.com when deploying and then static.criteo.net", |
| 5136 | + "nullable": true |
| 5137 | + }, |
| 5138 | + "videos": { |
| 5139 | + "type": "array", |
| 5140 | + "items": { |
| 5141 | + "$ref": "#/components/schemas/VideoDetail" |
| 5142 | + }, |
| 5143 | + "description": "Multiple videos potentially in different shapes.", |
| 5144 | + "nullable": true |
| 5145 | + } |
| 5146 | + }, |
| 5147 | + "description": "The attributes specific to Adaptive creatives read", |
| 5148 | + "nullable": true |
5062 | 5149 | }, |
5063 | 5150 | "AdaptiveWriteAttributes": { |
5064 | 5151 | "required": [ |
|
8833 | 8920 | "description": "A creative is a project with the necessary information to display a creative", |
8834 | 8921 | "nullable": true |
8835 | 8922 | }, |
| 8923 | + "CreativeRead": { |
| 8924 | + "required": [ |
| 8925 | + "advertiserId", |
| 8926 | + "author", |
| 8927 | + "name", |
| 8928 | + "status" |
| 8929 | + ], |
| 8930 | + "type": "object", |
| 8931 | + "properties": { |
| 8932 | + "adaptiveAttributes": { |
| 8933 | + "$ref": "#/components/schemas/AdaptiveReadAttributes" |
| 8934 | + }, |
| 8935 | + "advertiserId": { |
| 8936 | + "type": "string", |
| 8937 | + "description": "Advertiser linked to the Creative" |
| 8938 | + }, |
| 8939 | + "author": { |
| 8940 | + "type": "string", |
| 8941 | + "description": "The login of the person who created this creative (" |
| 8942 | + }, |
| 8943 | + "datasetId": { |
| 8944 | + "type": "string", |
| 8945 | + "description": "Data set id linked to the Creative", |
| 8946 | + "nullable": true |
| 8947 | + }, |
| 8948 | + "description": { |
| 8949 | + "type": "string", |
| 8950 | + "description": "The description of the creative", |
| 8951 | + "nullable": true |
| 8952 | + }, |
| 8953 | + "dynamicAttributes": { |
| 8954 | + "$ref": "#/components/schemas/DynamicAttributes" |
| 8955 | + }, |
| 8956 | + "format": { |
| 8957 | + "type": "string", |
| 8958 | + "description": "The format of the creative", |
| 8959 | + "nullable": true |
| 8960 | + }, |
| 8961 | + "htmlTagAttributes": { |
| 8962 | + "$ref": "#/components/schemas/HtmlTagAttributes" |
| 8963 | + }, |
| 8964 | + "imageAttributes": { |
| 8965 | + "$ref": "#/components/schemas/ImageAttributes" |
| 8966 | + }, |
| 8967 | + "name": { |
| 8968 | + "type": "string", |
| 8969 | + "description": "The name of the creative" |
| 8970 | + }, |
| 8971 | + "status": { |
| 8972 | + "type": "string", |
| 8973 | + "description": "The status of the creative" |
| 8974 | + } |
| 8975 | + }, |
| 8976 | + "description": "A CreativeRead is a project with the necessary information to display a creative", |
| 8977 | + "nullable": true |
| 8978 | + }, |
8836 | 8979 | "CreativeWrite": { |
8837 | 8980 | "required": [ |
8838 | 8981 | "datasetId", |
@@ -13826,13 +13969,13 @@ |
13826 | 13969 | }, |
13827 | 13970 | "description": "A top-level object that encapsulates a Criteo API response for several entities." |
13828 | 13971 | }, |
13829 | | - "ResourceCollectionOutcomeOfCreative": { |
| 13972 | + "ResourceCollectionOutcomeOfCreativeRead": { |
13830 | 13973 | "type": "object", |
13831 | 13974 | "properties": { |
13832 | 13975 | "data": { |
13833 | 13976 | "type": "array", |
13834 | 13977 | "items": { |
13835 | | - "$ref": "#/components/schemas/ResourceOfCreative" |
| 13978 | + "$ref": "#/components/schemas/ResourceOfCreativeRead" |
13836 | 13979 | }, |
13837 | 13980 | "nullable": true |
13838 | 13981 | }, |
|
14035 | 14178 | "description": "A class that represents a domain entity exposed by an API.", |
14036 | 14179 | "nullable": true |
14037 | 14180 | }, |
| 14181 | + "ResourceOfCreativeRead": { |
| 14182 | + "type": "object", |
| 14183 | + "properties": { |
| 14184 | + "attributes": { |
| 14185 | + "$ref": "#/components/schemas/CreativeRead" |
| 14186 | + }, |
| 14187 | + "id": { |
| 14188 | + "type": "string", |
| 14189 | + "description": "Unique identifier of this resource.", |
| 14190 | + "nullable": true |
| 14191 | + }, |
| 14192 | + "type": { |
| 14193 | + "type": "string", |
| 14194 | + "nullable": true |
| 14195 | + } |
| 14196 | + }, |
| 14197 | + "description": "A class that represents a domain entity exposed by an API." |
| 14198 | + }, |
14038 | 14199 | "ResourceOfCreativeWrite": { |
14039 | 14200 | "type": "object", |
14040 | 14201 | "properties": { |
|
0 commit comments