Duplicate a personalization
Duplicate a personalization
Path Parameters
- personalizationId int64 required
- application/json
Request Body
- object
- 201
- 400
- 403
- 423
- 500
Created
- */*
- Schema
- Example (from schema)
Schema
- cappingPerVisitorConvertGoal boolean
If true, cease exposing the same visitor when the goal is reached
- cappingPerVisitorExposedVisits boolean
If true, cease exposing the same visitor when the number of visits exceeds this limit
- cappingPerVisitorExpositions boolean
If true, cease exposing the same visitor when total exposures exceed this limit.
- cappingPerVisitorGoalId int64
Cease exposing the same visitor when the goal with this id is reached
- category string
- checkConditionsRule string
Possible values: [
ALL_CONDITIONS
,CUMULATIVE_WEIGHT
]Kameleoon’s behavior in determining whether a visitor is targeted or not.
- collectingDataEnabled boolean
- createdBy int64
Account id of the creator of this personalization
- cssCode string
CSS script to be integrated into the source code of the page
- customExpositionRate double
Percentage of the segment exposed to a personalization
- dateCollectingDataStopped date-time
Timestamp of last data collection
- dateCreated date-time
Timestamp of when personalization was created
- dateEnded date-time
Timestamp of when personalization was ceased
- dateModified date-time
Date and time when personalization was updated last time
- dateStarted date-time
Timestamp of when personalization was started
- dateStatusModified date-time
Timestamp of the last update
- description string
Description of the personalization
- exposedVisitsSameVisitorMax int32
Cease exposing the same visitor when the number of visits exceed this limit
- expositionFrequencyDelay int64
Frequency of exposure time for different visitors
- format string
- globalCappingGoalId int64
Threshold goal for the total number of exposed visitors
- globalCappingNumberVisitors boolean
Option to allow capping visitors for a configuration
- globalCappingVisitorsConfig string
Possible values: [
NUMBER_VISITORS
,NUMBER_VISITORS_CONVERT_GOAL
,NUMBER_VISITORS_NOT_CONVERT_GOAL
]Visitors configuration for the capped number of exposed visitors
- goals int64[]
Selected goals
- id int64
System-generated field to uniquely identify a personalization
imageInPage object
Settings of an image in page
domElementSelector stringheight stringhtmlContent stringimage object
baseColor int32colorDepth int32createdById int64Account id to whom created this image
date date-timefileName stringfileWeight int64File size of the image
format stringPossible values: [
PNG
,JPEG
,GIF
,SVG
,MVG
,WEB
]height int32id int64Unique identifier of the given image
keywords string[]name stringpath stringshared booleansiteId int64size int64Size of image
source stringsourceUrl stringwidth int32mainPageUrl stringpositionDefinition stringPossible values: [
EDITOR
,SELECTOR
]positionSelectorRelative stringPossible values: [
REPLACE
,BEFORE
,AFTER
,NULL
]redirectURL stringwidth string- isArchived boolean
If true, the personalization is archived
- javaScriptCode string
JavaScript code to add in the page
- location string
- mainGoalId int64
Main goal
- market string
- maxNumberVisitorsExposed int64
Limit of the total number of exposed visitors
- metaReadOnly string
Personalization in READ_ONLY mode for sub-personalization
- multiExpositionFrequencyDelay int64
Minimum delay between each exposure
- name string required
Name of the personalization
- personalizationConfiguration string
Possible values: [
CUSTOM
,HTML_IN_PAGE
,IMAGE_IN_PAGE
,INFOBULLE_ABOVE
,NEWS_LETTER
,NONE
,POPIN
,STICKY_BLOCK
,TEMPLATE
,VARIATION
]Personalization configuration
popIn object
Pop-In settings
animationDirection stringPossible values: [
TOP
,BOTTOM
,LEFT
,RIGHT
,CENTER
,TOP_LEFT
,TOP_RIGHT
,BOTTOM_LEFT
,BOTTOM_RIGHT
,CUSTOM
]animationTrigger stringPossible values: [
ON_OPEN
,ON_CLOSE
,ON_OPEN_AND_CLOSE
,CONTINUOUSLY
]animationType stringPossible values: [
NONE
,FADE
,SLIDER
,ZOOM_IN
,ZOOM_OUT
,BOUNCE
]backgroundColor stringcloseWithClickOnOverlay booleancustomPositionAxisX stringcustomPositionAxisY stringdisplayImageConfiguration stringPossible values: [
DISPLAY_ALL_DEVICES
,DISPLAY_ONLY_DESKTOP
,DISPLAY_ONLY_TABLET
,DISPLAY_ONLY_MOBILE
,DISPLAY_DESKTOP_TABLET
,DISPLAY_DESKTOP_MOBILE
,DISPLAY_TABLET_MOBILE
]fontSize stringheight stringheightImageDesktop stringheightImageMobile stringheightImageTablet stringhtmlContent stringidTarget2Sell stringimage object
baseColor int32colorDepth int32createdById int64Account id to whom created this image
date date-timefileName stringfileWeight int64File size of the image
format stringPossible values: [
PNG
,JPEG
,GIF
,SVG
,MVG
,WEB
]height int32id int64Unique identifier of the given image
keywords string[]name stringpath stringshared booleansiteId int64size int64Size of image
source stringsourceUrl stringwidth int32imageDesktop object
baseColor int32colorDepth int32createdById int64Account id to whom created this image
date date-timefileName stringfileWeight int64File size of the image
format stringPossible values: [
PNG
,JPEG
,GIF
,SVG
,MVG
,WEB
]height int32id int64Unique identifier of the given image
keywords string[]name stringpath stringshared booleansiteId int64size int64Size of image
source stringsourceUrl stringwidth int32imageMobile object
baseColor int32colorDepth int32createdById int64Account id to whom created this image
date date-timefileName stringfileWeight int64File size of the image
format stringPossible values: [
PNG
,JPEG
,GIF
,SVG
,MVG
,WEB
]height int32id int64Unique identifier of the given image
keywords string[]name stringpath stringshared booleansiteId int64size int64Size of image
source stringsourceUrl stringwidth int32imageTablet object
baseColor int32colorDepth int32createdById int64Account id to whom created this image
date date-timefileName stringfileWeight int64File size of the image
format stringPossible values: [
PNG
,JPEG
,GIF
,SVG
,MVG
,WEB
]height int32id int64Unique identifier of the given image
keywords string[]name stringpath stringshared booleansiteId int64size int64Size of image
source stringsourceUrl stringwidth int32name stringposition stringPossible values: [
TOP
,BOTTOM
,LEFT
,RIGHT
,CENTER
,TOP_LEFT
,TOP_RIGHT
,BOTTOM_LEFT
,BOTTOM_RIGHT
,CUSTOM
]redirectURL stringtargetBlank booleantemplate booleantextColor stringtextContent stringtype stringPossible values: [
SINGLE_IMAGE
,FULL_IMAGE_TEXT
,FULL_TEXT_IMAGE
,HTML
,TARGET2SELL
]width stringwidthImageDesktop stringwidthImageMobile stringwidthImageTablet stringwithOverlay boolean- priority int32
Priority of the personalization
- siteId int64 required
Website id of the given personalization
- status string
Status of the given personalization
stickyBlock object
Sticky block settings
animationDirection stringPossible values: [
TOP
,BOTTOM
,LEFT
,RIGHT
,CENTER
,TOP_LEFT
,TOP_RIGHT
,BOTTOM_LEFT
,BOTTOM_RIGHT
,CUSTOM
]animationTrigger stringPossible values: [
ON_OPEN
,ON_CLOSE
,ON_OPEN_AND_CLOSE
,CONTINUOUSLY
]animationType stringPossible values: [
NONE
,FADE
,SLIDER
,ZOOM_IN
,ZOOM_OUT
,BOUNCE
]backgroundColor stringcustomPositionAxisX stringcustomPositionAxisY stringdisplayImageConfiguration stringPossible values: [
DISPLAY_ALL_DEVICES
,DISPLAY_ONLY_DESKTOP
,DISPLAY_ONLY_TABLET
,DISPLAY_ONLY_MOBILE
,DISPLAY_DESKTOP_TABLET
,DISPLAY_DESKTOP_MOBILE
,DISPLAY_TABLET_MOBILE
]fontSize stringheight stringheightImageDesktop stringheightImageMobile stringheightImageTablet stringhtmlContent stringidTarget2Sell stringimage object
baseColor int32colorDepth int32createdById int64Account id to whom created this image
date date-timefileName stringfileWeight int64File size of the image
format stringPossible values: [
PNG
,JPEG
,GIF
,SVG
,MVG
,WEB
]height int32id int64Unique identifier of the given image
keywords string[]name stringpath stringshared booleansiteId int64size int64Size of image
source stringsourceUrl stringwidth int32imageDesktop object
baseColor int32colorDepth int32createdById int64Account id to whom created this image
date date-timefileName stringfileWeight int64File size of the image
format stringPossible values: [
PNG
,JPEG
,GIF
,SVG
,MVG
,WEB
]height int32id int64Unique identifier of the given image
keywords string[]name stringpath stringshared booleansiteId int64size int64Size of image
source stringsourceUrl stringwidth int32imageMobile object
baseColor int32colorDepth int32createdById int64Account id to whom created this image
date date-timefileName stringfileWeight int64File size of the image
format stringPossible values: [
PNG
,JPEG
,GIF
,SVG
,MVG
,WEB
]height int32id int64Unique identifier of the given image
keywords string[]name stringpath stringshared booleansiteId int64size int64Size of image
source stringsourceUrl stringwidth int32imageTablet object
baseColor int32colorDepth int32createdById int64Account id to whom created this image
date date-timefileName stringfileWeight int64File size of the image
format stringPossible values: [
PNG
,JPEG
,GIF
,SVG
,MVG
,WEB
]height int32id int64Unique identifier of the given image
keywords string[]name stringpath stringshared booleansiteId int64size int64Size of image
source stringsourceUrl stringwidth int32name stringposition stringPossible values: [
TOP
,BOTTOM
,LEFT
,RIGHT
,CENTER
,TOP_LEFT
,TOP_RIGHT
,BOTTOM_LEFT
,BOTTOM_RIGHT
,CUSTOM
]redirectURL stringshiftContent booleanshouldScrollTo booleantargetBlank booleantemplate booleantextColor stringtextContent stringtype stringPossible values: [
SINGLE_IMAGE
,FULL_IMAGE_TEXT
,FULL_TEXT_IMAGE
,HTML
,TARGET2SELL
]width stringwidthImageDesktop stringwidthImageMobile stringwidthImageTablet string- tags string[]
List of tags
- targetingSegmentId int64
Selected targeting segment
trackingTools object[]
List of tracking tools
Array [adobeOmnitureObject stringcomScoreCustomerId stringcomScoreDomain stringcontentSquareUrl stringcustomIntegrations string[]customVariable int32eulerianUserCentricParameter stringname stringPossible values: [
GOOGLE_ANALYTICS4
,GOOGLE_ANALYTICS4_AUDIENCES
,GOOGLE_UNIVERSAL_ANALYTICS
,ECONDA
,SMART_TAG
,PIANO
,ADOBE_OMNITURE
,EULERIAN
,WEBTRENDS
,KISSMETRICS
,PIWIK
,CRAZY_EGG
,COM_SCORE
,TEALIUM
,YSANCE
,M_PATHY
,SMARTFOCUS
,EMARSYS
,EXPERTSENDER
,TAG_COMMANDER
,CONTENT_SQUARE
,WEBTREKK
,CUSTOM_INTEGRATIONS
,HEAP
,SEGMENT
,MIXPANEL
,CLARITY
,IABTCF
,REDSHIFT
,SMARTLOOK
,MOUSEFLOW
,KLAVIYO
,FULLSTORY
,AMPLITUDE
,SNOWPLOW
,JUNE
,MPARTICLE
,BIGQUERY
,RUDDERSTACK
,SNOWFLAKE
,GLASSBOX
,HUBSPOT
,AIR360
,DATADOG
,QUANTUM_METRIC
,KAMELEOON_TRACKING
,CUSTOM_TRACKING
,VERCEL
,AKAMAI
]reportingScript stringuniversalAnalyticsDimension int32]- type string
Possible values: [
AUTOPROMO
,CLASSIC
,IA
]Type of personalization
- variationId int64
Variation id of the given personalization
- visitExpositionFrequency int32
Frequency of exposure during a unique visit
- visitorExpositionFrequency int32
Frequency of exposure for a unique visitor
- visitorExpositionFrequencyMax int32
Cease showing the same visitor once their exposure exceeds this limit.
widget object
config stringWidget editor configuration field linked to the translation locales field in JSON format.
cssCode stringUI CSS script that is associated with this template.
dateActivated date-timeTimestamp of when a record is activated.
dateCreated date-timeTimestamp of when a record is created.
dateModified date-timeTimestamp of when a record is modified.
description stringDescription of template.
htmlCode stringUI Html markup text that is associated with this template.
id int64Unique identifier of the given template.
isCustomTemplate booleanBoolean value of is custom template.
name stringName for the given template.
siteId int64 requiredWebsite id of the studio template.
status stringPossible values: [
DRAFT
,ACTIVE
,PAUSED
]Template status.
tags string[]Field to store tags that are associated with this template.
templateCssCode stringTemplate CSS script that is associated with this template.
templateHtmlCode stringTemplate HTML markup that is associated with this template.
templateJavaScriptCode stringTemplate JavaScript code that is associated with this template.
type stringPossible values: [
TEMPLATE
,EDITOR
]Type of template.
url stringUrl associated with this template.
useCustomData booleanBoolean value to indicate if custom data is being used.
widgetEditorTemplate stringWidget editor code that is associated with this template.
{
"cappingPerVisitorConvertGoal": true,
"cappingPerVisitorExposedVisits": true,
"cappingPerVisitorExpositions": true,
"cappingPerVisitorGoalId": 0,
"category": "string",
"checkConditionsRule": "ALL_CONDITIONS",
"collectingDataEnabled": true,
"createdBy": 0,
"cssCode": "string",
"customExpositionRate": 0,
"dateCollectingDataStopped": "2024-12-20T15:04:33.274Z",
"dateCreated": "2024-12-20T15:04:33.274Z",
"dateEnded": "2024-12-20T15:04:33.274Z",
"dateModified": "2024-12-20T15:04:33.274Z",
"dateStarted": "2024-12-20T15:04:33.274Z",
"dateStatusModified": "2024-12-20T15:04:33.274Z",
"description": "string",
"exposedVisitsSameVisitorMax": 0,
"expositionFrequencyDelay": 0,
"format": "string",
"globalCappingGoalId": 0,
"globalCappingNumberVisitors": true,
"globalCappingVisitorsConfig": "NUMBER_VISITORS",
"goals": [
0
],
"id": 0,
"imageInPage": {
"domElementSelector": "string",
"height": "string",
"htmlContent": "string",
"image": {
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-12-20T15:04:33.274Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
},
"mainPageUrl": "string",
"positionDefinition": "EDITOR",
"positionSelectorRelative": "REPLACE",
"redirectURL": "string",
"width": "string"
},
"isArchived": true,
"javaScriptCode": "string",
"location": "string",
"mainGoalId": 0,
"market": "string",
"maxNumberVisitorsExposed": 0,
"metaReadOnly": "string",
"multiExpositionFrequencyDelay": 0,
"name": "string",
"personalizationConfiguration": "CUSTOM",
"popIn": {
"animationDirection": "TOP",
"animationTrigger": "ON_OPEN",
"animationType": "NONE",
"backgroundColor": "string",
"closeWithClickOnOverlay": true,
"customPositionAxisX": "string",
"customPositionAxisY": "string",
"displayImageConfiguration": "DISPLAY_ALL_DEVICES",
"fontSize": "string",
"height": "string",
"heightImageDesktop": "string",
"heightImageMobile": "string",
"heightImageTablet": "string",
"htmlContent": "string",
"idTarget2Sell": "string",
"image": {
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-12-20T15:04:33.274Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
},
"imageDesktop": {
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-12-20T15:04:33.274Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
},
"imageMobile": {
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-12-20T15:04:33.274Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
},
"imageTablet": {
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-12-20T15:04:33.274Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
},
"name": "string",
"position": "TOP",
"redirectURL": "string",
"targetBlank": true,
"template": true,
"textColor": "string",
"textContent": "string",
"type": "SINGLE_IMAGE",
"width": "string",
"widthImageDesktop": "string",
"widthImageMobile": "string",
"widthImageTablet": "string",
"withOverlay": true
},
"priority": 0,
"siteId": 0,
"status": "string",
"stickyBlock": {
"animationDirection": "TOP",
"animationTrigger": "ON_OPEN",
"animationType": "NONE",
"backgroundColor": "string",
"customPositionAxisX": "string",
"customPositionAxisY": "string",
"displayImageConfiguration": "DISPLAY_ALL_DEVICES",
"fontSize": "string",
"height": "string",
"heightImageDesktop": "string",
"heightImageMobile": "string",
"heightImageTablet": "string",
"htmlContent": "string",
"idTarget2Sell": "string",
"image": {
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-12-20T15:04:33.274Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
},
"imageDesktop": {
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-12-20T15:04:33.274Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
},
"imageMobile": {
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-12-20T15:04:33.274Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
},
"imageTablet": {
"baseColor": 0,
"colorDepth": 0,
"createdById": 0,
"date": "2024-12-20T15:04:33.274Z",
"fileName": "string",
"fileWeight": 0,
"format": "PNG",
"height": 0,
"id": 0,
"keywords": [
"string"
],
"name": "string",
"path": "string",
"shared": true,
"siteId": 0,
"size": 0,
"source": "string",
"sourceUrl": "string",
"width": 0
},
"name": "string",
"position": "TOP",
"redirectURL": "string",
"shiftContent": true,
"shouldScrollTo": true,
"targetBlank": true,
"template": true,
"textColor": "string",
"textContent": "string",
"type": "SINGLE_IMAGE",
"width": "string",
"widthImageDesktop": "string",
"widthImageMobile": "string",
"widthImageTablet": "string"
},
"tags": [
"string"
],
"targetingSegmentId": 0,
"trackingTools": [
{
"adobeOmnitureObject": "string",
"comScoreCustomerId": "string",
"comScoreDomain": "string",
"contentSquareUrl": "string",
"customIntegrations": [
"string"
],
"customVariable": 0,
"eulerianUserCentricParameter": "string",
"name": "GOOGLE_ANALYTICS4",
"reportingScript": "string",
"universalAnalyticsDimension": 0
}
],
"type": "AUTOPROMO",
"variationId": 0,
"visitExpositionFrequency": 0,
"visitorExpositionFrequency": 0,
"visitorExpositionFrequencyMax": 0,
"widget": {
"config": "string",
"cssCode": "string",
"dateActivated": "2024-12-20T15:04:33.274Z",
"dateCreated": "2024-12-20T15:04:33.274Z",
"dateModified": "2024-12-20T15:04:33.274Z",
"description": "string",
"htmlCode": "string",
"id": 0,
"isCustomTemplate": true,
"name": "string",
"siteId": 0,
"status": "DRAFT",
"tags": [
"string"
],
"templateCssCode": "string",
"templateHtmlCode": "string",
"templateJavaScriptCode": "string",
"type": "TEMPLATE",
"url": "string",
"useCustomData": true,
"widgetEditorTemplate": "string"
}
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:33.275Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:33.275Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:33.275Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-12-20T15:04:33.275Z"
}