Creative
Creatives are the visual elements of your campaign. You can have several creative associated to one campaign.
Properties description
id
Integer
Creative unique identification.
name
String
Creative name defined par user during creation
created_at
Datetime
Creation date of the creative, GMT timezone
updated_at
Datetime
Last update of the creative, GMT timezone
deleted_at
Datetime
Field used for softdeleting the campaign. This property is null for active creative.
Get creative
Get campaign details
GET
https://api.smartxsp.io/creatives/{creative_id}
Retrieves campaign details.
Path Parameters
creative_id*
String
The numeric id of the creative
Headers
Authorization*
String
The Bearer token you get during login process.
Create creative
Create a new creative
POST
https://api.smartxsp.io/creatives/
Create a new creative associated to a campaign with template initializationCreate a new creative associated to a campaign based on JSON string
Query Parameters
campaign_id*
Integer
The campaign associated to the creative.
name*
String
The campaign name
json_template
String
sub_product_id*
Integer
Headers
Authorization*
String
The Bearer token you get during login process.
Update creative
Update an existing creative
PATCH
https://api.smartxsp.io/creatives/{creative_id}
Generaly used to regenerate the visual part of the creative based on the JSON string.
Path Parameters
creative_id
Integer
The ID of the creative to update
Query Parameters
name
String
The new name of the creative, no modification if null or empty
json_template
String
The new version of the JSON stream used to create the visual part of the creative.
JSON Templates samples
Halfpage Vertical Products
Last updated