NAV
  • Automation API Reference
  • Automation API Reference

    Introduction

    The Automation API is a REST API that allows almost every action that is possible via our standard (web-based) user interfaces to be also triggered and performed programmatically. This means that you can write your own software / code interacting with our platform, harnessing all of its features and capabilities. As an example, some of our customers took advantage of this API to implement bridges between Kameleoon and their own Git repositories, so that Kameleoon variations code can be managed directly on their usual version control system. You could also design your own dashboard and fill it with experiment results directly obtained from Kameleoon. Building custom systems operating or interfacing with Kameleoon is easy thanks to this API.

    This is the reference documentation for version 0.9-beta of the Automation API. Code samples are on the right section. This API is a REST compliant API, so you can call it with any REST capable framework in any language (Java, C#, NodeJS, Python, etc). We conform to REST conventions and any developer familiar with those should feel at ease here.

    Authentication

    The Automation API uses the OAuth 2.0 framework to manage authorization. It's an industry-standard protocol nowadays for web applications, so a lot of developers should already be familiar with it. The most important thing to understand with OAuth 2.0 is that this framework supports several flows (or use cases).

    With respect to Kameleoon, there are two flows that are relevant for the Automation API:

    Client Credentials Flow

    The Client Credentials Flow is the simplest flow. For this flow, you only need to obtain an access token by providing a client_id and a client_secret to an authorization end-point. You will then be able to access the Automation API by using this token as a Bearer Token present in a Authorization HTTP request header.

    Obtaining an access_token

    Authorization request

    
    curl \
    -H "Content-Type: application/x-www-form-urlencoded" \
    -d 'grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET' \
    "https://api.kameleoon.com/oauth/token"
    
    

    You send a POST request to the https://api.kameleoon.com/oauth/token endpoint. Your client_id and client_secret should be sent as parameters in the body.

    Authorization response

    {
        "access_token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJLQU1FTEVPT05fQkFDS19PRkZJQ0UiLCJzdWIiOiJtaWNrYWVsLmdAYWxsb3BuZXVzLmNvbSIsImF1ZCI6IkJBQ0tfT0ZGSUNFIiwidHlwIjoiQUNDRVNTX1RPS0VOIiwiZXhwIjoxNTc3MzY1Nzc3fQ.Ulfz_dw1zGbyRJZMZwpn5STzWCVnrbXbL2UYQ6VhFb1sN81cVHJuljl3RsIMbTLz8NwyCUfMTQLZkLBz2ChnDA"
    }
    

    The authorization server then replies with a JSON object, containing an access_token.

    Using the access_token to access the API

    REST API example request

    
    curl \
    -H "Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJLQU1FTEVPT05fQkFDS19PRkZJQ0UiLCJzdWIiOiJtaWNrYWVsLmdAYWxsb3BuZXVzLmNvbSIsImF1ZCI6IkJBQ0tfT0ZGSUNFIiwidHlwIjoiQUNDRVNTX1RPS0VOIiwiZXhwIjoxNTc3MzY1Nzc3fQ.Ulfz_dw1zGbyRJZMZwpn5STzWCVnrbXbL2UYQ6VhFb1sN81cVHJuljl3RsIMbTLz8NwyCUfMTQLZkLBz2ChnDA" \
    -H "Content-Type: application/json" \
    "https://api.kameleoon.com/experiments"
    

    Using the access_token, you can make standard REST web API calls. It should be supplied in the Authorization request header to prove your identity.

    The general Automation API endpoint is https://api.kameleoon.com.

    Authorization Code Flow

    The Authorization Code Flow is a flow adapted to partners or third party developers that need to integrate their applications with data from the Kameleoon platform. For this flow, you need to obtain permission from one of your users to access its Kameleoon account. The process will provide you with an authorization code that you need to exchange for an access token. You will then be able to access the Automation API by using this token as a Bearer Token present in a Authorization HTTP request header.

    Obtaining authorization from the user

    Initial request URL

    https://api.kameleoon.com/oauth/authorize?client_id=my-application-name&response_type=code&redirect_uri=https://application.company.com/ HTTP/1.1
    

    In your web application, you need to redirect your user to the following URL. He will be asked to login to the Kameleoon platform (if he's not already logged), and will be presented with an interface asking him to grant access to his Kameleoon data / resources.

    Redirect URL

    https://application.company.com/?code=AUTHORIZATION_CODE 
    

    Once your user has been authenticated and has granted permission to access their Kameleoon account, they will be redirected to your application URL with an authorization code as a query parameter.

    Obtaining an access_token

    Authorization request

    
    curl --location --request POST 'https://api.kameleoon.com/oauth/token' \
    --header 'Content-Type: application/x-www-form-urlencoded' \
    --header 'Authorization: Basic dGVzdC1iby1hdXRob3JpemF0aW9uLWNvZGU6VzlSU3VVRmh0U01pSVNKb2VMNl9SOFhneFVKcWNWZFVuNENmdG44a0Z5WQ==' \
    --data-urlencode 'grant_type=authorization_code' \
    --data-urlencode 'code=MagXU69dAxOb8Ry7UgXVTUdHSfdICaqXB-Ts86ay1L0' \
    --data-urlencode 'redirect_uri=https://application.company.com/'
    

    You can then exchange the authorization code for an access token and a refresh token. On the POST request, the value in the Authorization: Basic corresponds to the Base64 encoded value of the string client_id:client_secret (for instance my-application-name:x8er46f2gtZ). The code parameter contains the authorization code obtained in the previous step. Finally you need to provide your redirect_uri as well.

    Authorization response

    {
        "access_token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJLQU1FTEVPT05fQkFDS19PRkZJQ0UiLCJzdWIiOiJtaWNrYWVsLmdAYWxsb3BuZXVzLmNvbSIsImF1ZCI6IkJBQ0tfT0ZGSUNFIiwidHlwIjoiQUNDRVNTX1RPS0VOIiwiZXhwIjoxNTc3MzY1Nzc3fQ.Ulfz_dw1zGbyRJZMZwpn5STzWCVnrbXbL2UYQ6VhFb1sN81cVHJuljl3RsIMbTLz8NwyCUfMTQLZkLBz2ChnDA",
        "refresh_token": "eyJraWQiOiJrYW1lbGVvb24tZ3Jhdml0ZWUtQU0ta2V5IiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiIzMzA2MTM2MC1mMjZiLTQ2MTctODYxMy02MGYyNmIxNjE3M2QiLCJhdWQiOiJ0ZXN0LWJvLWF1dGhvcml6YXRpb24tY29kZSIsImRvbWFpbiI6ImthbWVsZW9vbiIsImlzcyI6Imh0dHA6XC9cL2FwaS5rYW1lbGVvb24uY29tXC9hbVwva2FtZWxlb29uXC9vaWRjIiwiZXhwIjoxNjIxNTMzNzE5LCJpYXQiOjE2MjE1MTkzMTksImp0aSI6IlFwWERPVmhtNDFHX1RsWDUwVUYySUZkQ1hqaDhZVnBlaW5RcjdyeEdHUUEifQ.81nlwYpaoU_Y0T-WaCcPS9kgh3nTpIVFeydhzGtJfVU"
    }
    

    The authorization server then replies with a JSON object, containing access_token and refresh_token keys.

    Using the access_token to access the API

    REST API example request

    
    curl \
    -H "Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJLQU1FTEVPT05fQkFDS19PRkZJQ0UiLCJzdWIiOiJtaWNrYWVsLmdAYWxsb3BuZXVzLmNvbSIsImF1ZCI6IkJBQ0tfT0ZGSUNFIiwidHlwIjoiQUNDRVNTX1RPS0VOIiwiZXhwIjoxNTc3MzY1Nzc3fQ.Ulfz_dw1zGbyRJZMZwpn5STzWCVnrbXbL2UYQ6VhFb1sN81cVHJuljl3RsIMbTLz8NwyCUfMTQLZkLBz2ChnDA" \
    -H "Content-Type: application/json" \
    "https://api.kameleoon.com/experiments"
    

    Using the access_token, you can make standard REST web API calls. It should be supplied in the Authorization request header to prove your identity.

    The general Automation API endpoint is https://api.kameleoon.com.

    Obtaining a refresh_token

    Authorization request

    
    curl --location --request POST 'https://api.kameleoon.com/oauth/token' \
    --header 'Content-Type: application/x-www-form-urlencoded' \
    --header 'Authorization: Basic dGVzdC1iby1hdXRob3JpemF0aW9uLWNvZGU6VzlSU3VVRmh0U01pSVNKb2VMNl9SOFhneFVKcWNWZFVuNENmdG44a0Z5WQ==' \
    --data-urlencode 'grant_type=refresh_token' \
    --data-urlencode 'refresh_token=eyJraWQiOiJrYW1lbGVvb24tZ3Jhdml0ZWUtQU0ta2V5IiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiIzMzA2MTM2MC1mMjZiLTQ2MTctODYxMy02MGYyNmIxNjE3M2QiLCJhdWQiOiJ0ZXN0LWJvLWF1dGhvcml6YXRpb24tY29kZSIsImRvbWFpbiI6ImthbWVsZW9vbiIsImlzcyI6Imh0dHA6XC9cL2FwaS5rYW1lbGVvb24uY29tXC9hbVwva2FtZWxlb29uXC9vaWRjIiwiZXhwIjoxNjIxNTMzNzE5LCJpYXQiOjE2MjE1MTkzMTksImp0aSI6IlFwWERPVmhtNDFHX1RsWDUwVUYySUZkQ1hqaDhZVnBlaW5RcjdyeEdHUUEifQ.81nlwYpaoU_Y0T-WaCcPS9kgh3nTpIVFeydhzGtJfVU'
    

    Obtaining a refresh_token is done in the same way as obtaining an access_token. Follow the example on the right.

    Rate Limiting

    Rate limiting of the automation API is primarily on a per-user basis - or more accurately described, per user access token.

    5 Minute Windows

    Rate limits are divided into 5 minute intervals. All endpoints require authentication, so there is no concept of unauthenticated calls and rate limits.

    Use the HTTP header in order to understand where the application is at for a given rate limit. Note that the HTTP headers are contextual. When using user-based auth, they indicate the rate limit for that user-application context.

    X-Rate-Limit-Remaining: the rate limit remaining: the number of requests left for the 5 minute window

    When an application exceeds the rate limit for a given standard API endpoint, the API will return a HTTP 429 “Too Many Requests” response code.

    GET and POST Request Limits

    IntervalHTTP MethodNumber of requests
    5 minuteGET1000
    1 dayGET100000
    1 dayPOST100000

    Tips to avoid being Rate Limited

    The tips below are there to help you code defensively and reduce the possibility of being rate limited. Some application features that you may want to provide are simply impossible in light of rate limiting, especially around the freshness of results. If real-time information is an aim of your application, look into the Data API.

    Caching

    Store API responses in your application or on your site if you expect a lot of use. For example, don’t try to call the Automation API on every page load of your website landing page. Instead, call the API infrequently and load the response into a local cache. When users hit your website load the cached version of the results.

    HTTP status codes

    CodeStatusDescription
    200OKYour request was correctly formatted and the resource you requested is returned
    201CreatedReturned when a POST request was successful
    400BadRequestCan happen if your request did not have a valid JSON body. It might help to specify a Content-Type: application/json header in your request. If you sent valid JSON, the error may also reference specific fields that were invalid
    401UnauthorizedYour API token was missing or not in the correct format
    403ForbiddenYou provided an API token but it was invalid or revoked or you don't have read/write access to the entity you're trying to view/edit
    5xxServer ErrorSomething went wrong! Kameleoon engineers have been informed, but please don't hesitate to contact us.

    API usage

    Accounts

    This is an object representing a Kameleoon account. You can retrieve it to see properties on the account like its current e-mail address or locale. With proper authorization your application can read and update an account and profile settings.

    List of accounts

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/accounts"
    

    GET /accounts

    Get list of accounts

    Example response

    [ {
      "id" : "123456789",
      "username" : "string",
      "firstName" : "string",
      "lastName" : "string",
      "email" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "preferredLocale" : "en",
      "imageURL" : "string",
      "isPasswordExpired" : "false",
      "isSuperAdmin" : "false"
    } ]
    
    Response body

    Account
    NameTypeDescription
    idlongThe unique identifier of the given account
    usernamestringThe user name of the given account
    firstNamestringThe first name of the user of the given account
    lastNamestringThe last name of the user of the given account
    emailstringThe email of the given account
    dateCreateddatetimeDate when the account was created
    preferredLocaleenumThe used locale of the given account. Can be [en, fr, de]
    imageURLstringThe image URL of the user
    isPasswordExpiredbooleanPassword regeneration required
    isSuperAdminboolean

    Get one account

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/accounts/{accountId}"
    

    GET /accounts/{accountId}

    Get one account with given id

    Request arguments
    NamePlaceTypeDescription
    accountIdpathlongThe ID of the account object

    Example response

    {
      "id" : "123456789",
      "username" : "string",
      "firstName" : "string",
      "lastName" : "string",
      "email" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "preferredLocale" : "en",
      "imageURL" : "string",
      "isPasswordExpired" : "false",
      "isSuperAdmin" : "false"
    }
    
    Response body

    Account
    NameTypeDescription
    idlongThe unique identifier of the given account
    usernamestringThe user name of the given account
    firstNamestringThe first name of the user of the given account
    lastNamestringThe last name of the user of the given account
    emailstringThe email of the given account
    dateCreateddatetimeDate when the account was created
    preferredLocaleenumThe used locale of the given account. Can be [en, fr, de]
    imageURLstringThe image URL of the user
    isPasswordExpiredbooleanPassword regeneration required
    isSuperAdminboolean

    Get personal account data

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/accounts/me"
    

    GET /accounts/me

    Get personal account data

    Example response

    {
      "id" : "123456789",
      "username" : "string",
      "firstName" : "string",
      "lastName" : "string",
      "email" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "preferredLocale" : "en",
      "imageURL" : "string",
      "isPasswordExpired" : "false",
      "isSuperAdmin" : "false"
    }
    
    Response body

    Account
    NameTypeDescription
    idlongThe unique identifier of the given account
    usernamestringThe user name of the given account
    firstNamestringThe first name of the user of the given account
    lastNamestringThe last name of the user of the given account
    emailstringThe email of the given account
    dateCreateddatetimeDate when the account was created
    preferredLocaleenumThe used locale of the given account. Can be [en, fr, de]
    imageURLstringThe image URL of the user
    isPasswordExpiredbooleanPassword regeneration required
    isSuperAdminboolean

    Audiences

    Audience is statistical info about how many visits, conversions and other statistics a segment has. Getting insight about audience of your site is crucial for adjusting efficient segments

    Get global audience

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/audiences/global"
    

    GET /audiences/global

    Get global statistics for all tracked segments

    Request arguments
    NamePlaceTypeDescription
    siteIdquerylongAudience are calculated for segments configured in audience config for a site
    startDatequerydateAudience will be calculated since the date YYYY-MM-DD
    endDatequerydateAudience will be calculated till the date YYYY-MM-DD
    isFavoritequerybooleanSet true if you wish to get audience only for favorite segments. False by default

    Example response

    {
      "globalStats" : {
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2021-04-07",
        "endDate" : "2021-04-07",
        "visitsGapTotal" : "132.987",
        "revenueGapTotal" : "132.987",
        "averageRevenuePerConversionGapTotal" : "132.987",
        "conversionRateEvolution" : "132.987",
        "visitsEvolution" : "132.987",
        "revenueEvolution" : "132.987",
        "averageRevenuePerVisitEvolution" : "132.987",
        "averageRevenuePerConversionEvolution" : "132.987"
      },
      "segmentStats" : [ {
        "segmentInfo" : {
          "id" : "123456789",
          "name" : "string",
          "isFavorite" : "false",
          "type" : "CREATED_BY_USER",
          "dateCreated" : "2021-04-07T10:13:22.814277",
          "accountUserFirstName" : "string",
          "accountUserLastName" : "string",
          "accountUsername" : "string"
        },
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2021-04-07",
        "endDate" : "2021-04-07",
        "conversionRateEvolution" : "132.987",
        "visitsEvolution" : "132.987",
        "revenueEvolution" : "132.987",
        "averageRevenuePerVisitEvolution" : "132.987",
        "averageRevenuePerConversionEvolution" : "132.987",
        "visitsGapTotal" : "132.987",
        "revenueGapTotal" : "132.987",
        "averageRevenuePerConversionGapTotal" : "132.987"
      } ]
    }
    
    Response body

    GlobalAudience
    NameTypeDescription
    globalStatsGlobalStatsSummed up calculations for all tracked segments
    segmentStatsarray[SegmentStats]Calculations per every segment

    GlobalStats
    NameTypeDescription
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD
    visitsGapTotaldoublePercentage of the current number of visits to the total one
    revenueGapTotaldoublePercentage of the current revenue to the total one
    averageRevenuePerConversionGapTotaldoublePercentage of the current average revenue per conversion to the total one
    conversionRateEvolutiondoubleHow much conversion rate for current period changed according to previous period in percents
    visitsEvolutiondoubleHow much amount of visits for current period changed according to previous period in percents
    revenueEvolutiondoubleHow much amount of revenue for current period changed according to previous period in percents
    averageRevenuePerVisitEvolutiondoubleHow much revenue per visit for current period changed according to previous period in percents
    averageRevenuePerConversionEvolutiondoubleHow much revenue per conversion for current period changed according to previous period in percents

    TargetingSegmentInfo
    NameTypeDescription
    idlongIdentifier of the segment for which the stats was tracked
    namestringName of the segment for which the stats was tracked
    isFavoritebooleanTrue if the segment is marked as favorite
    typeenum. Can be [CREATED_BY_USER, PREDEFINED_SEGMENT]
    dateCreateddatetimeWhen the segment was created
    accountUserFirstNamestringFirst name of the user who created the segment
    accountUserLastNamestringLast name of the user who created the segment
    accountUsernamestringUsername of the user who created the segment

    SegmentStats
    NameTypeDescription
    segmentInfoTargetingSegmentInfoInformation about segment origin
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD
    conversionRateEvolutiondoubleHow much conversion rate for current period changed according to previous period in percents
    visitsEvolutiondoubleHow much amount of visits for current period changed according to previous period in percents
    revenueEvolutiondoubleHow much amount of revenue for current period changed according to previous period in percents
    averageRevenuePerVisitEvolutiondoubleHow much revenue per visit for current period changed according to previous period in percents
    averageRevenuePerConversionEvolutiondoubleHow much revenue per conversion for current period changed according to previous period in percents
    visitsGapTotaldoublePercentage of the current number of visits to the total one
    revenueGapTotaldoublePercentage of the current revenue to the total one
    averageRevenuePerConversionGapTotaldoublePercentage of the current average revenue per conversion to the total one

    Get detailed audience

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/audiences/detailed"
    

    GET /audiences/detailed

    Get detailed statistics for one segment

    Request arguments
    NamePlaceTypeDescription
    siteIdquerylongSite on which audience is configured
    segmentIdquerylongSegment for which you wish to get statistics
    startDatequerydateAudience will be calculated since the date YYYY-MM-DD
    endDatequerydateAudience will be calculated till the date YYYY-MM-DD

    Example response

    {
      "globalStats" : {
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2021-04-07",
        "endDate" : "2021-04-07",
        "visitsGapTotal" : "132.987",
        "revenueGapTotal" : "132.987",
        "averageRevenuePerConversionGapTotal" : "132.987",
        "conversionRateEvolution" : "132.987",
        "visitsEvolution" : "132.987",
        "revenueEvolution" : "132.987",
        "averageRevenuePerVisitEvolution" : "132.987",
        "averageRevenuePerConversionEvolution" : "132.987"
      },
      "segmentStats" : {
        "segmentInfo" : {
          "id" : "123456789",
          "name" : "string",
          "isFavorite" : "false",
          "type" : "CREATED_BY_USER",
          "dateCreated" : "2021-04-07T10:13:22.814277",
          "accountUserFirstName" : "string",
          "accountUserLastName" : "string",
          "accountUsername" : "string"
        },
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2021-04-07",
        "endDate" : "2021-04-07",
        "conversionRateEvolution" : "132.987",
        "visitsEvolution" : "132.987",
        "revenueEvolution" : "132.987",
        "averageRevenuePerVisitEvolution" : "132.987",
        "averageRevenuePerConversionEvolution" : "132.987",
        "visitsGapTotal" : "132.987",
        "revenueGapTotal" : "132.987",
        "averageRevenuePerConversionGapTotal" : "132.987"
      },
      "periodStats" : [ {
        "visits" : "123456789",
        "conversions" : "123456789",
        "convertedVisits" : "123456789",
        "conversionRate" : "132.987",
        "revenue" : "132.987",
        "averageRevenuePerVisit" : "132.987",
        "averageRevenuePerConversion" : "132.987",
        "averageConversionPerVisit" : "132.987",
        "startDate" : "2021-04-07",
        "endDate" : "2021-04-07"
      } ],
      "breakdownStats" : ""
    }
    
    Response body

    DetailedAudience
    NameTypeDescription
    globalStatsGlobalStatsSummed up calculations for all tracked segments
    segmentStatsSegmentStatsCalculations for the requested segment summed up by the whole picked period
    periodStatsarray[PeriodStats]Calculations separated by day interval
    breakdownStatsmapCalculations separated by breakdowns

    GlobalStats
    NameTypeDescription
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD
    visitsGapTotaldoublePercentage of the current number of visits to the total one
    revenueGapTotaldoublePercentage of the current revenue to the total one
    averageRevenuePerConversionGapTotaldoublePercentage of the current average revenue per conversion to the total one
    conversionRateEvolutiondoubleHow much conversion rate for current period changed according to previous period in percents
    visitsEvolutiondoubleHow much amount of visits for current period changed according to previous period in percents
    revenueEvolutiondoubleHow much amount of revenue for current period changed according to previous period in percents
    averageRevenuePerVisitEvolutiondoubleHow much revenue per visit for current period changed according to previous period in percents
    averageRevenuePerConversionEvolutiondoubleHow much revenue per conversion for current period changed according to previous period in percents

    TargetingSegmentInfo
    NameTypeDescription
    idlongIdentifier of the segment for which the stats was tracked
    namestringName of the segment for which the stats was tracked
    isFavoritebooleanTrue if the segment is marked as favorite
    typeenum. Can be [CREATED_BY_USER, PREDEFINED_SEGMENT]
    dateCreateddatetimeWhen the segment was created
    accountUserFirstNamestringFirst name of the user who created the segment
    accountUserLastNamestringLast name of the user who created the segment
    accountUsernamestringUsername of the user who created the segment

    PeriodStats
    NameTypeDescription
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD

    SegmentStats
    NameTypeDescription
    segmentInfoTargetingSegmentInfoInformation about segment origin
    visitslongAmount of tracked visits
    conversionslongAmount of tracked conversions
    convertedVisitslongAmount of tracked converted visits
    conversionRatedoubleHow often visits are being converted. It's being calculated as convertedVisits/visits
    revenuedoubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be = conversions * the default revenue
    averageRevenuePerVisitdoublerevenue/visits
    averageRevenuePerConversiondoublerevenue/conversions
    averageConversionPerVisitdoubleconversions/visits
    startDatedateThe start of the period for which statistics are calculated. YYYY-MM-DD
    endDatedateThe end of the period for which statistics are calculated. YYYY-MM-DD
    conversionRateEvolutiondoubleHow much conversion rate for current period changed according to previous period in percents
    visitsEvolutiondoubleHow much amount of visits for current period changed according to previous period in percents
    revenueEvolutiondoubleHow much amount of revenue for current period changed according to previous period in percents
    averageRevenuePerVisitEvolutiondoubleHow much revenue per visit for current period changed according to previous period in percents
    averageRevenuePerConversionEvolutiondoubleHow much revenue per conversion for current period changed according to previous period in percents
    visitsGapTotaldoublePercentage of the current number of visits to the total one
    revenueGapTotaldoublePercentage of the current revenue to the total one
    averageRevenuePerConversionGapTotaldoublePercentage of the current average revenue per conversion to the total one

    Custom datas

    Custom data is an advanced tool that lets you target your customers in a unique way according to data already available, such as user account information.

    Partial update custom data

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/custom-datas/{customDataId}"
    {
      "name" : "string",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string"
    }
    

    PATCH /custom-datas/{customDataId}

    Update several fields of custom data

    Request arguments
    NamePlaceTypeDescription
    customDataIdpathlongThe ID of the custom data object
    Request body

    CustomDataUpdate
    NameTypeDescription
    namestringThe name for the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record

    Example response

    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified
    siteIdlongUnique site identifier assigned with the record

    Remove custom data

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/custom-datas/{customDataId}"
    

    DELETE /custom-datas/{customDataId}

    Remove custom data with given id

    Request arguments
    NamePlaceTypeDescription
    customDataIdpathlongThe ID of the custom data object

    Get one custom data

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/custom-datas/{customDataId}"
    

    GET /custom-datas/{customDataId}

    Get one custom data with the given id

    Request arguments
    NamePlaceTypeDescription
    customDataIdpathlongThe ID of the custom data object

    Example response

    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified
    siteIdlongUnique site identifier assigned with the record

    Update custom data

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/custom-datas/{customDataId}"
    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    

    PUT /custom-datas/{customDataId}

    Update custom data with given id

    Request arguments
    NamePlaceTypeDescription
    customDataIdpathlongThe ID of the custom data object
    Request body

    CustomData
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDate
    *read only
    datetimeDate and time a record is created
    modificationDate
    *read only
    datetimeDate and time a record is modified
    siteIdlongUnique site identifier assigned with the record

    Example response

    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified
    siteIdlongUnique site identifier assigned with the record

    Create a new custom data

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/custom-datas"
    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    

    POST /custom-datas

    Create new custom data with given parameters

    Request body

    CustomData
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDate
    *read only
    datetimeDate and time a record is created
    modificationDate
    *read only
    datetimeDate and time a record is modified
    siteIdlongUnique site identifier assigned with the record

    Example response

    {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified
    siteIdlongUnique site identifier assigned with the record

    List custom data

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/custom-datas"
    

    GET /custom-datas

    Get the list of all custom data

    Example response

    [ {
      "id" : "123456789",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "name" : "string",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    } ]
    
    Response body

    CustomData
    NameTypeDescription
    idlongThe unique identifier of the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    namestringThe name for the given custom data
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record
    creationDatedatetimeDate and time a record is created
    modificationDatedatetimeDate and time a record is modified
    siteIdlongUnique site identifier assigned with the record

    Customers

    When you first sign up with Kameleoon, you have just one account and customer, your main account. But you can also create more accounts. Customer object represents basic information that were used to set up your customer account.

    Get one customer

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/customers/{customerId}"
    

    GET /customers/{customerId}

    Get one customer with given id

    Request arguments
    NamePlaceTypeDescription
    customerIdpathlongThe unique identifier of the given customer

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "status" : "ACTIVE",
      "level" : "FREE",
      "country" : "FRANCE",
      "timeZone" : "string",
      "products" : [ "ABTESTING" ],
      "passwordExpirationPolicy" : "2021-04-07T10:13:22.814277",
      "dateCreated" : "2021-04-07T10:13:22.814277"
    }
    
    Response body

    Customer
    NameTypeDescription
    idlongThe unique identifier of the given customer
    namestringThe name of the given customer
    statusenumThe current status of the given customer. Can be [ACTIVE, SUBSCRIBED_AUDIENCE_EXCEEDED, QUOTA_RESET, UNSUBSCRIBED_ENTREPRISE_PLAN]
    levelenumThe plan of the given customer. Can be [FREE, PREMIUM, FREEMIUM, BRONZE, SILVER, GOLD, PLATINUM, ENTERPRISE, CUSTOM]
    countryenumThe country of the given customer. Can be [FRANCE, RUSSIA, GERMANY, UNITED_KINGDOM, UNITED_STATES, OTHER]
    timeZonestringThe default time zone of the given customer
    productsarrayThe available modules of the given customer. Can be [ABTESTING, PERSONALIZATION, PREDICTIVE, AUDIENCE_DISCOVERY, INTERESTS, PRODUCT, WIDGET_TEMPLATE]
    passwordExpirationPolicydatetimeThe number of days before password expires
    dateCreateddatetimeDate when the customer was created

    Get personal customer data

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/customers/me"
    

    GET /customers/me

    Get personal customer data

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "status" : "ACTIVE",
      "level" : "FREE",
      "country" : "FRANCE",
      "timeZone" : "string",
      "products" : [ "ABTESTING" ],
      "passwordExpirationPolicy" : "2021-04-07T10:13:22.814277",
      "dateCreated" : "2021-04-07T10:13:22.814277"
    }
    
    Response body

    Customer
    NameTypeDescription
    idlongThe unique identifier of the given customer
    namestringThe name of the given customer
    statusenumThe current status of the given customer. Can be [ACTIVE, SUBSCRIBED_AUDIENCE_EXCEEDED, QUOTA_RESET, UNSUBSCRIBED_ENTREPRISE_PLAN]
    levelenumThe plan of the given customer. Can be [FREE, PREMIUM, FREEMIUM, BRONZE, SILVER, GOLD, PLATINUM, ENTERPRISE, CUSTOM]
    countryenumThe country of the given customer. Can be [FRANCE, RUSSIA, GERMANY, UNITED_KINGDOM, UNITED_STATES, OTHER]
    timeZonestringThe default time zone of the given customer
    productsarrayThe available modules of the given customer. Can be [ABTESTING, PERSONALIZATION, PREDICTIVE, AUDIENCE_DISCOVERY, INTERESTS, PRODUCT, WIDGET_TEMPLATE]
    passwordExpirationPolicydatetimeThe number of days before password expires
    dateCreateddatetimeDate when the customer was created

    Experiments

    Experiment is an A/B test which can be targeted to a specific audience or everyone. Kameleoon has several types of experiments: Classic, Multivariate test (MVT), Server-side and the one that suits the best can be used to achieve the best results.

    Create a new experiment

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/experiments"
    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCssCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    

    POST /experiments

    Create a new experiment with the given parameters

    Request body

    Experiment
    NameTypeDescription
    id
    *read only
    longThis field is generated by the system to uniquely identify an experiment
    siteId
    *required
    longThe website id that an experiment belongs to
    name
    *required
    stringThe name of the experiment
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    status
    *read only
    stringThe status of the given experiment
    dateCreated
    *read only
    datetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModified
    *read only
    datetime
    dateStarted
    *read only
    datetime
    dateStatusModified
    *read only
    datetime
    isArchived
    *read only
    boolean
    createdBy
    *read only
    longAccount id to whom created this experiment
    commonCssCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    Example response

    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCssCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    
    Response body

    Experiment
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify an experiment
    siteIdlongThe website id that an experiment belongs to
    namestringThe name of the experiment
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    statusstringThe status of the given experiment
    dateCreateddatetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModifieddatetime
    dateStarteddatetime
    dateStatusModifieddatetime
    isArchivedboolean
    createdBylongAccount id to whom created this experiment
    commonCssCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    List experiments

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/experiments"
    

    GET /experiments

    Get the list of all experiments

    Request arguments
    NamePlaceTypeDescription
    optionalFieldsqueryarrayoptionalFields

    Example response

    [ {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCssCode" : "string",
      "commonJavaScriptCode" : "string"
    } ]
    
    Response body

    Experiment
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify an experiment
    siteIdlongThe website id that an experiment belongs to
    namestringThe name of the experiment
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    statusstringThe status of the given experiment
    dateCreateddatetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModifieddatetime
    dateStarteddatetime
    dateStatusModifieddatetime
    isArchivedboolean
    createdBylongAccount id to whom created this experiment
    commonCssCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    Request experiment's results

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/experiments/{experimentId}/results"
    {
      "interval" : "HOUR",
      "visitorData" : "false",
      "allVariationsData" : "false",
      "bayesian" : "false",
      "breakdown" : {
        "type" : "BROWSER"
      },
      "goalsIds" : [ "[]" ],
      "filters" : [ {
        "type" : "string"
      } ],
      "dateIntervals" : [ {
        "start" : "2021-04-07T10:13:22.814277",
        "end" : "2021-04-07T10:13:22.814277"
      } ],
      "callbackUrl" : "string",
      "stringForHash" : "string"
    }
    

    POST /experiments/{experimentId}/results

    Send a request to generate the report for the results of the given experiment

    Request arguments
    NamePlaceTypeDescription
    experimentIdpathlongexperimentId
    Request body

    DataRequestParams
    NameTypeDescription
    intervalenum. Can be [HOUR, DAY, WEEK, MONTH, YEAR]
    visitorDataboolean
    allVariationsDataboolean
    bayesianboolean
    breakdownBreakdown
    goalsIdsarray
    filtersarray[Filter]
    dateIntervalsarray[DateInterval]
    callbackUrlstring
    stringForHashstring

    Filter
    NameTypeDescription
    type
    *required
    string

    Breakdown
    NameTypeDescription
    typeenum. Can be [BROWSER, CUSTOM_DATUM, DEVICE_TYPE, NEW_VISITOR, GOAL_REACHED, PAGE_URL, FIRST_REFERRER, ORIGIN_TYPE, OS, PAGE_TITLE, NUMBER_PAGES, LANDING_PAGE_URL, AD_BLOCKER, DAY_OF_WEEK, DAYS_OF_WEEK, VISIT_DURATION, WEATHER_CODE, DAY, TEMPERATURE, NUMBER_VISITS, FIRST_REFERRER_URL, MAX_NUMBER_TABS, KEY_PAGE, INTEREST, TARGETING_SEGMENT, TIME_SINCE_PREVIOUS_VISIT, KEYWORD, YSANCE_SEGMENT, YSANCE_ATTRIBUTE, COUNTRY, REGION, CITY, LANGUAGE, JAVA_ENABLED, LANDING_PAGE, TIME_ZONE_GROUP, SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_RESOLUTION, REFERRER, TIME_ZONE_ID, LOCALE_LANGUAGE_CODE, LOCALE_COUNTRY_CODE, LOCALE_LANGUAGE_TAG, PERSONALIZATION_UNEXPOSITION_CAUSE]

    DateInterval
    NameTypeDescription
    startdatetime
    enddatetime

    DeviceTypeFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [DESKTOP, TABLET, PHONE]
    includeboolean

    TimeSpentFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    PageURLFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    AdBlockerFilter
    NameTypeDescription
    typestring
    includeboolean

    WeatherFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, ATMOSPHERIC_DISTURBANCES]
    includeboolean

    KeyPageFilter
    NameTypeDescription
    typestring
    includeboolean
    valuesarray

    NumberTabsFilter
    NameTypeDescription
    typestring
    includeboolean
    value
    *required
    integer

    CustomDataFilter
    NameTypeDescription
    typestring
    includeboolean
    customDataId
    *required
    long
    valuestring

    TimeSlotFilter
    NameTypeDescription
    typestring
    includeboolean
    visitorCalendarboolean
    valuesarray

    TargetingSegmentFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    NewVisitorFilter
    NameTypeDescription
    typestring
    visitorsTypeenum. Can be [NEW_VISITORS, RETURNING_VISITORS]

    FilterContainer
    NameTypeDescription
    paramenum. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    valueinteger
    unitenum. Can be [SECONDS, MINUTES, HOURS, DAYS, WEEKS]

    PageTitleFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    BrowserFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [CHROME, EXPLORER, FIREFOX, SAFARI, OPERA]
    includeboolean

    FirstReferrerFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    NumberVisitsFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    LandingPageURLFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    NumberPagesFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    TemperatureFilter
    NameTypeDescription
    typestring
    includeboolean
    param
    *required
    enum. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    from
    *required
    integer
    tointeger

    BrowserLanguageFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [AB, AA, AF, AK, SQ, AM, AR, AN, HY, AS, AV, AE, AY, AZ, BM, BA, EU, BE, BN, BH, BI, BS, BR, BG, MY, CA, CH, CE, NY, ZH, CV, KW, CO, CR, HR, CS, DA, DV, NL, DZ, EN, EO, ET, EE, FO, FJ, FI, FR, FF, GL, KA, DE, EL, GN, GU, HT, HA, HE, HZ, HI, HO, HU, IA, ID, IE, GA, IG, IK, IO, IS, IT, IU, JA, JV, KL, KN, KR, KS, KK, KM, KI, RW, KY, KV, KG, KO, KU, KJ, LA, LB, LG, LI, LN, LO, LT, LU, LV, GV, MK, MG, MS, ML, MT, MI, MR, MH, MN, NA, NV, ND, NE, NG, NB, NN, NO, II, NR, OC, OJ, CU, OM, OR, OS, PA, PI, FA, PL, PS, PT, QU, RM, RN, RO, RU, SA, SC, SD, SE, SM, SG, SR, GD, SN, SI, SK, SL, SO, ST, ES, SU, SW, SS, SV, TA, TE, TG, TH, TI, BO, TK, TL, TN, TO, TR, TS, TT, TW, TY, UG, UK, UR, UZ, VE, VI, VO, WA, CY, WO, FY, XH, YI, YO, ZA, ZU]
    includeboolean

    DayFilter
    NameTypeDescription
    typestring
    includeboolean

    OperatingSystemFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [WINDOWS, MAC_OS, I_OS, LINUX, ANDROID, WINDOWS_PHONE]
    includeboolean

    ReferrerURLFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    SinceLastVisitFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    TrafficFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [SEO, DIRECT, SEM, EMAIL, AFFILIATION]
    includeboolean

    ConversionsFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    WeekdayFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    includeboolean
    visitorCalendarboolean

    CustomDatumBreakdown
    NameTypeDescription
    typeenum. Can be [BROWSER, CUSTOM_DATUM, DEVICE_TYPE, NEW_VISITOR, GOAL_REACHED, PAGE_URL, FIRST_REFERRER, ORIGIN_TYPE, OS, PAGE_TITLE, NUMBER_PAGES, LANDING_PAGE_URL, AD_BLOCKER, DAY_OF_WEEK, DAYS_OF_WEEK, VISIT_DURATION, WEATHER_CODE, DAY, TEMPERATURE, NUMBER_VISITS, FIRST_REFERRER_URL, MAX_NUMBER_TABS, KEY_PAGE, INTEREST, TARGETING_SEGMENT, TIME_SINCE_PREVIOUS_VISIT, KEYWORD, YSANCE_SEGMENT, YSANCE_ATTRIBUTE, COUNTRY, REGION, CITY, LANGUAGE, JAVA_ENABLED, LANDING_PAGE, TIME_ZONE_GROUP, SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_RESOLUTION, REFERRER, TIME_ZONE_ID, LOCALE_LANGUAGE_CODE, LOCALE_COUNTRY_CODE, LOCALE_LANGUAGE_TAG, PERSONALIZATION_UNEXPOSITION_CAUSE]
    index
    *required
    integer

    Example response

    {
      "dataCode" : "string"
    }
    
    Response body

    DataCodeResponseIO
    NameTypeDescription
    dataCodestring

    Duplicate an experiment

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/experiments/{experimentId}/clone"
    
    

    POST /experiments/{experimentId}/clone

    Duplicate an experiment

    Request arguments
    NamePlaceTypeDescription
    experimentIdpathlongexperimentId

    Example response

    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCssCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    
    Response body

    Experiment
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify an experiment
    siteIdlongThe website id that an experiment belongs to
    namestringThe name of the experiment
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    statusstringThe status of the given experiment
    dateCreateddatetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModifieddatetime
    dateStarteddatetime
    dateStatusModifieddatetime
    isArchivedboolean
    createdBylongAccount id to whom created this experiment
    commonCssCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    Partial update an experiment

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/experiments/{experimentId}"
    {
      "name" : "string",
      "baseURL" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "featureFlagSdkLanguageType" : "ANDROID",
      "identificationKey" : "string",
      "commonCssCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    

    PATCH /experiments/{experimentId}

    Update several fields of an experiment

    Request arguments
    NamePlaceTypeDescription
    experimentIdpathlongexperimentId
    actionquerystringAction to change the status of experiment
    Request body

    ExperimentUpdate
    NameTypeDescription
    namestringThe name of the experiment
    baseURLstring
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    mainGoalIdlongThe main goal id of the experiment
    goalsarray
    targetingSegmentIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    featureFlagSdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    identificationKeystring
    commonCssCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    Example response

    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCssCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    
    Response body

    Experiment
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify an experiment
    siteIdlongThe website id that an experiment belongs to
    namestringThe name of the experiment
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    statusstringThe status of the given experiment
    dateCreateddatetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModifieddatetime
    dateStarteddatetime
    dateStatusModifieddatetime
    isArchivedboolean
    createdBylongAccount id to whom created this experiment
    commonCssCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    Remove an experiment

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/experiments/{experimentId}"
    

    DELETE /experiments/{experimentId}

    Remove experiment with given id

    Request arguments
    NamePlaceTypeDescription
    experimentIdpathlongexperimentId

    Get one experiment

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/experiments/{experimentId}"
    

    GET /experiments/{experimentId}

    Get one experiment with given id

    Request arguments
    NamePlaceTypeDescription
    experimentIdpathlongexperimentId
    optionalFieldsqueryarrayoptionalFields

    Example response

    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "baseURL" : "string",
      "type" : "CLASSIC",
      "description" : "string",
      "tags" : [ "[]" ],
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "goals" : [ "[]" ],
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "autoOptimized" : "false",
      "deviations" : "",
      "respoolTime" : "",
      "targetingConfiguration" : "SITE",
      "variationsId" : [ "[]" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "isArchived" : "false",
      "createdBy" : "123456789",
      "commonCssCode" : "string",
      "commonJavaScriptCode" : "string"
    }
    
    Response body

    Experiment
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify an experiment
    siteIdlongThe website id that an experiment belongs to
    namestringThe name of the experiment
    baseURLstring
    typeenum. Can be [CLASSIC, SERVER_SIDE, DEVELOPER, MVT, HYBRID]
    descriptionstring
    tagsarray
    trackingToolsarray[TrackingTool]
    statusstringThe status of the given experiment
    dateCreateddatetime
    goalsarray
    targetingSegmentIdlong
    mainGoalIdlong
    autoOptimizedboolean
    deviationsmapTraffic allocation per variation. Key can be 'origin'(for original page) or variation id. Value is percent of traffic which will be routed to the variation. Values has to be double numbers in range from 0(0%) to 1(100%).
    respoolTimemap
    targetingConfigurationenum. Can be [SITE, PAGE, URL, SAVED_TEMPLATE]
    variationsIdarrayList of associated variations id for this experiment
    dateModifieddatetime
    dateStarteddatetime
    dateStatusModifieddatetime
    isArchivedboolean
    createdBylongAccount id to whom created this experiment
    commonCssCodestringCSS code specific to all variations
    commonJavaScriptCodestringJavaScript code specific to all variations

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    Feature flags

    Feature flag is used to help our clients to implement new features, test and deploy them via our SDK. This service allows you to create and configure the feature flag which will be used in the source code of your feature.

    Create new feature flag

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/feature-flags"
    {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277"
    }
    

    POST /feature-flags

    Create new feature flag with given parameters

    Request body

    FeatureFlag
    NameTypeDescription
    id
    *read only
    longThis field is generated by the system to uniquely identify a feature flag
    name
    *required
    stringThe name of the feature flag
    identificationKey
    *required
    string
    descriptionstring
    tagsarray
    siteId
    *required
    longThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    status
    *read only
    stringThe status of the given feature flag
    dateCreated
    *read only
    datetime
    dateModified
    *read only
    datetime

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277"
    }
    
    Response body

    FeatureFlag
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a feature flag
    namestringThe name of the feature flag
    identificationKeystring
    descriptionstring
    tagsarray
    siteIdlongThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    statusstringThe status of the given feature flag
    dateCreateddatetime
    dateModifieddatetime

    List feature flags

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/feature-flags"
    

    GET /feature-flags

    Get the list of all feature flags

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277"
    } ]
    
    Response body

    FeatureFlag
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a feature flag
    namestringThe name of the feature flag
    identificationKeystring
    descriptionstring
    tagsarray
    siteIdlongThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    statusstringThe status of the given feature flag
    dateCreateddatetime
    dateModifieddatetime

    Request feature flag's results

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/feature-flags/{featureFlagId}/results"
    {
      "interval" : "HOUR",
      "visitorData" : "false",
      "allVariationsData" : "false",
      "bayesian" : "false",
      "breakdown" : {
        "type" : "BROWSER"
      },
      "goalsIds" : [ "[]" ],
      "filters" : [ {
        "type" : "string"
      } ],
      "dateIntervals" : [ {
        "start" : "2021-04-07T10:13:22.814277",
        "end" : "2021-04-07T10:13:22.814277"
      } ],
      "callbackUrl" : "string",
      "stringForHash" : "string"
    }
    

    POST /feature-flags/{featureFlagId}/results

    Send a request to generate the report for the results of the given feature flag

    Request arguments
    NamePlaceTypeDescription
    featureFlagIdpathlongfeatureFlagId
    Request body

    DataRequestParams
    NameTypeDescription
    intervalenum. Can be [HOUR, DAY, WEEK, MONTH, YEAR]
    visitorDataboolean
    allVariationsDataboolean
    bayesianboolean
    breakdownBreakdown
    goalsIdsarray
    filtersarray[Filter]
    dateIntervalsarray[DateInterval]
    callbackUrlstring
    stringForHashstring

    Filter
    NameTypeDescription
    type
    *required
    string

    Breakdown
    NameTypeDescription
    typeenum. Can be [BROWSER, CUSTOM_DATUM, DEVICE_TYPE, NEW_VISITOR, GOAL_REACHED, PAGE_URL, FIRST_REFERRER, ORIGIN_TYPE, OS, PAGE_TITLE, NUMBER_PAGES, LANDING_PAGE_URL, AD_BLOCKER, DAY_OF_WEEK, DAYS_OF_WEEK, VISIT_DURATION, WEATHER_CODE, DAY, TEMPERATURE, NUMBER_VISITS, FIRST_REFERRER_URL, MAX_NUMBER_TABS, KEY_PAGE, INTEREST, TARGETING_SEGMENT, TIME_SINCE_PREVIOUS_VISIT, KEYWORD, YSANCE_SEGMENT, YSANCE_ATTRIBUTE, COUNTRY, REGION, CITY, LANGUAGE, JAVA_ENABLED, LANDING_PAGE, TIME_ZONE_GROUP, SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_RESOLUTION, REFERRER, TIME_ZONE_ID, LOCALE_LANGUAGE_CODE, LOCALE_COUNTRY_CODE, LOCALE_LANGUAGE_TAG, PERSONALIZATION_UNEXPOSITION_CAUSE]

    DateInterval
    NameTypeDescription
    startdatetime
    enddatetime

    DeviceTypeFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [DESKTOP, TABLET, PHONE]
    includeboolean

    TimeSpentFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    PageURLFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    AdBlockerFilter
    NameTypeDescription
    typestring
    includeboolean

    WeatherFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, ATMOSPHERIC_DISTURBANCES]
    includeboolean

    KeyPageFilter
    NameTypeDescription
    typestring
    includeboolean
    valuesarray

    NumberTabsFilter
    NameTypeDescription
    typestring
    includeboolean
    value
    *required
    integer

    CustomDataFilter
    NameTypeDescription
    typestring
    includeboolean
    customDataId
    *required
    long
    valuestring

    TimeSlotFilter
    NameTypeDescription
    typestring
    includeboolean
    visitorCalendarboolean
    valuesarray

    TargetingSegmentFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    NewVisitorFilter
    NameTypeDescription
    typestring
    visitorsTypeenum. Can be [NEW_VISITORS, RETURNING_VISITORS]

    FilterContainer
    NameTypeDescription
    paramenum. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    valueinteger
    unitenum. Can be [SECONDS, MINUTES, HOURS, DAYS, WEEKS]

    PageTitleFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    BrowserFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [CHROME, EXPLORER, FIREFOX, SAFARI, OPERA]
    includeboolean

    FirstReferrerFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    NumberVisitsFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    LandingPageURLFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    NumberPagesFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    TemperatureFilter
    NameTypeDescription
    typestring
    includeboolean
    param
    *required
    enum. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    from
    *required
    integer
    tointeger

    BrowserLanguageFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [AB, AA, AF, AK, SQ, AM, AR, AN, HY, AS, AV, AE, AY, AZ, BM, BA, EU, BE, BN, BH, BI, BS, BR, BG, MY, CA, CH, CE, NY, ZH, CV, KW, CO, CR, HR, CS, DA, DV, NL, DZ, EN, EO, ET, EE, FO, FJ, FI, FR, FF, GL, KA, DE, EL, GN, GU, HT, HA, HE, HZ, HI, HO, HU, IA, ID, IE, GA, IG, IK, IO, IS, IT, IU, JA, JV, KL, KN, KR, KS, KK, KM, KI, RW, KY, KV, KG, KO, KU, KJ, LA, LB, LG, LI, LN, LO, LT, LU, LV, GV, MK, MG, MS, ML, MT, MI, MR, MH, MN, NA, NV, ND, NE, NG, NB, NN, NO, II, NR, OC, OJ, CU, OM, OR, OS, PA, PI, FA, PL, PS, PT, QU, RM, RN, RO, RU, SA, SC, SD, SE, SM, SG, SR, GD, SN, SI, SK, SL, SO, ST, ES, SU, SW, SS, SV, TA, TE, TG, TH, TI, BO, TK, TL, TN, TO, TR, TS, TT, TW, TY, UG, UK, UR, UZ, VE, VI, VO, WA, CY, WO, FY, XH, YI, YO, ZA, ZU]
    includeboolean

    DayFilter
    NameTypeDescription
    typestring
    includeboolean

    OperatingSystemFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [WINDOWS, MAC_OS, I_OS, LINUX, ANDROID, WINDOWS_PHONE]
    includeboolean

    ReferrerURLFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    SinceLastVisitFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    TrafficFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [SEO, DIRECT, SEM, EMAIL, AFFILIATION]
    includeboolean

    ConversionsFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    WeekdayFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    includeboolean
    visitorCalendarboolean

    CustomDatumBreakdown
    NameTypeDescription
    typeenum. Can be [BROWSER, CUSTOM_DATUM, DEVICE_TYPE, NEW_VISITOR, GOAL_REACHED, PAGE_URL, FIRST_REFERRER, ORIGIN_TYPE, OS, PAGE_TITLE, NUMBER_PAGES, LANDING_PAGE_URL, AD_BLOCKER, DAY_OF_WEEK, DAYS_OF_WEEK, VISIT_DURATION, WEATHER_CODE, DAY, TEMPERATURE, NUMBER_VISITS, FIRST_REFERRER_URL, MAX_NUMBER_TABS, KEY_PAGE, INTEREST, TARGETING_SEGMENT, TIME_SINCE_PREVIOUS_VISIT, KEYWORD, YSANCE_SEGMENT, YSANCE_ATTRIBUTE, COUNTRY, REGION, CITY, LANGUAGE, JAVA_ENABLED, LANDING_PAGE, TIME_ZONE_GROUP, SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_RESOLUTION, REFERRER, TIME_ZONE_ID, LOCALE_LANGUAGE_CODE, LOCALE_COUNTRY_CODE, LOCALE_LANGUAGE_TAG, PERSONALIZATION_UNEXPOSITION_CAUSE]
    index
    *required
    integer

    Example response

    {
      "dataCode" : "string"
    }
    
    Response body

    DataCodeResponseIO
    NameTypeDescription
    dataCodestring

    Partial update feature flag

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/feature-flags/{featureFlagId}"
    
    

    PATCH /feature-flags/{featureFlagId}

    Update several fields of feature flag

    Request arguments
    NamePlaceTypeDescription
    featureFlagIdpathlongfeatureFlagId
    actionquerystringAction to change the status of feature flag

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277"
    }
    
    Response body

    FeatureFlag
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a feature flag
    namestringThe name of the feature flag
    identificationKeystring
    descriptionstring
    tagsarray
    siteIdlongThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    statusstringThe status of the given feature flag
    dateCreateddatetime
    dateModifieddatetime

    Remove feature flag

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/feature-flags/{featureFlagId}"
    

    DELETE /feature-flags/{featureFlagId}

    Remove feature flag with given id

    Request arguments
    NamePlaceTypeDescription
    featureFlagIdpathlongfeatureFlagId

    Get one feature flag

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/feature-flags/{featureFlagId}"
    

    GET /feature-flags/{featureFlagId}

    Get one feature flag with given id

    Request arguments
    NamePlaceTypeDescription
    featureFlagIdpathlongfeatureFlagId

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "identificationKey" : "string",
      "description" : "string",
      "tags" : [ "[]" ],
      "siteId" : "123456789",
      "expositionRate" : "132.987",
      "targetingSegmentId" : "123456789",
      "goals" : [ "[]" ],
      "sdkLanguageType" : "ANDROID",
      "status" : "string",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277"
    }
    
    Response body

    FeatureFlag
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a feature flag
    namestringThe name of the feature flag
    identificationKeystring
    descriptionstring
    tagsarray
    siteIdlongThe website id that a feature flag belongs to
    expositionRatedoubleRate of the feature flag that will be exposed
    targetingSegmentIdlong
    goalsarray
    sdkLanguageTypeenum. Can be [ANDROID, SWIFT, JAVA, CSHARP, NODEJS, PHP]
    statusstringThe status of the given feature flag
    dateCreateddatetime
    dateModifieddatetime

    Goals

    To measure the efficiency of an experiment or a personalization, it must be linked to one or several goals. All goals can be managed through Kameleoon interface or Automation API. There are variety of different goals you can choose from to better measure the results.

    Partial update goal

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/goals/{goalId}"
    {
      "name" : "string",
      "description" : "string",
      "isMainGoal" : "false",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "trackingTools" : [ "GOOGLE_ANALYTICS" ],
      "tags" : [ "[]" ]
    }
    

    PATCH /goals/{goalId}

    Update several fields of a goal

    Request arguments
    NamePlaceTypeDescription
    goalIdpathlonggoalId
    Request body

    GoalUpdate
    NameTypeDescription
    namestringName of goal
    descriptionstring
    isMainGoalboolean
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    tagsarray

    ClickTrackingGoalParams
    NameTypeDescription
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element

    AccessToPageGoalParams
    NameTypeDescription
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]
    matchStringstring

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "isTargetingSegmentMentalist" : "false",
      "createdBy" : "123456789",
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    dateModifieddatetime
    tagsarray
    isTargetingSegmentMentalistboolean
    createdBylongAccount id to whom created this experiment
    experimentAmountlongNumber of experiments using this goal. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this goal. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this goal. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this goal. This is an optional field needs to specify in request params.

    ClickTrackingGoalParams
    NameTypeDescription
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element

    AccessToPageGoalParams
    NameTypeDescription
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]
    matchStringstring

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Remove goal

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/goals/{goalId}"
    

    DELETE /goals/{goalId}

    Remove goal with given id

    Request arguments
    NamePlaceTypeDescription
    goalIdpathlonggoalId

    Get one goal

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/goals/{goalId}"
    

    GET /goals/{goalId}

    Get one goal with given id

    Request arguments
    NamePlaceTypeDescription
    goalIdpathlonggoalId
    optionalFieldsqueryarrayoptionalFields

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "isTargetingSegmentMentalist" : "false",
      "createdBy" : "123456789",
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    dateModifieddatetime
    tagsarray
    isTargetingSegmentMentalistboolean
    createdBylongAccount id to whom created this experiment
    experimentAmountlongNumber of experiments using this goal. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this goal. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this goal. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this goal. This is an optional field needs to specify in request params.

    ClickTrackingGoalParams
    NameTypeDescription
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element

    AccessToPageGoalParams
    NameTypeDescription
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]
    matchStringstring

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Update goal

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/goals/{goalId}"
    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "isTargetingSegmentMentalist" : "false",
      "createdBy" : "123456789",
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    

    PUT /goals/{goalId}

    Update goal with given id

    Request arguments
    NamePlaceTypeDescription
    goalIdpathlonggoalId
    Request body

    Goal
    NameTypeDescription
    id
    *read only
    longUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreated
    *read only
    datetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    dateModified
    *read only
    datetime
    tagsarray
    isTargetingSegmentMentalist
    *read only
    boolean
    createdBy
    *read only
    longAccount id to whom created this experiment
    experimentAmount
    *read only
    longNumber of experiments using this goal. This is an optional field needs to specify in request params.
    personalizationAmount
    *read only
    longNumber of personalizations using this goal. This is an optional field needs to specify in request params.
    experiments
    *read only
    arrayList of experiment ids using this goal. This is an optional field needs to specify in request params.
    personalizations
    *read only
    arrayList of personalization ids using this goal. This is an optional field needs to specify in request params.

    ClickTrackingGoalParams
    NameTypeDescription
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element

    AccessToPageGoalParams
    NameTypeDescription
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]
    matchStringstring

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "isTargetingSegmentMentalist" : "false",
      "createdBy" : "123456789",
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    dateModifieddatetime
    tagsarray
    isTargetingSegmentMentalistboolean
    createdBylongAccount id to whom created this experiment
    experimentAmountlongNumber of experiments using this goal. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this goal. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this goal. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this goal. This is an optional field needs to specify in request params.

    ClickTrackingGoalParams
    NameTypeDescription
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element

    AccessToPageGoalParams
    NameTypeDescription
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]
    matchStringstring

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Create new goal

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/goals"
    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "isTargetingSegmentMentalist" : "false",
      "createdBy" : "123456789",
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    

    POST /goals

    Create new goal with given parameters

    Request body

    Goal
    NameTypeDescription
    id
    *read only
    longUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreated
    *read only
    datetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    dateModified
    *read only
    datetime
    tagsarray
    isTargetingSegmentMentalist
    *read only
    boolean
    createdBy
    *read only
    longAccount id to whom created this experiment
    experimentAmount
    *read only
    longNumber of experiments using this goal. This is an optional field needs to specify in request params.
    personalizationAmount
    *read only
    longNumber of personalizations using this goal. This is an optional field needs to specify in request params.
    experiments
    *read only
    arrayList of experiment ids using this goal. This is an optional field needs to specify in request params.
    personalizations
    *read only
    arrayList of personalization ids using this goal. This is an optional field needs to specify in request params.

    ClickTrackingGoalParams
    NameTypeDescription
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element

    AccessToPageGoalParams
    NameTypeDescription
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]
    matchStringstring

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "isTargetingSegmentMentalist" : "false",
      "createdBy" : "123456789",
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    dateModifieddatetime
    tagsarray
    isTargetingSegmentMentalistboolean
    createdBylongAccount id to whom created this experiment
    experimentAmountlongNumber of experiments using this goal. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this goal. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this goal. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this goal. This is an optional field needs to specify in request params.

    ClickTrackingGoalParams
    NameTypeDescription
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element

    AccessToPageGoalParams
    NameTypeDescription
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]
    matchStringstring

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    List goals

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/goals"
    

    GET /goals

    Get list of goals

    Request arguments
    NamePlaceTypeDescription
    optionalFieldsqueryarrayoptionalFields

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "mentalistWeight" : "132.987",
      "hasMultipleConversions" : "false",
      "type" : "CLICK",
      "params" : { },
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "trackingTools" : [ "GOOGLE_ANALYTICS" ],
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "isTargetingSegmentMentalist" : "false",
      "createdBy" : "123456789",
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    } ]
    
    Response body

    Goal
    NameTypeDescription
    idlongUnique identifier of goal
    namestringName of goal
    siteIdlong
    descriptionstring
    mentalistWeightdouble
    hasMultipleConversionsboolean
    typeenum. Can be [CLICK, SCROLL, URL, CUSTOM, TIME_SPENT, PAGE_VIEWS, RETENTION_RATE]
    paramsGoalParamsType of params depends on 'type' field. 'CLICK' - ClickTrackingGoalParams. 'SCROLL' - ScrollTrackingGoalParams. 'URL' - AccessToPageGoalParams. 'TIME_SPENT' - TimeSpentGoalParams. 'PAGE_VIEWS' - PageViewsGoalParams. For others types params aren't needed.
    dateCreateddatetime
    trackingToolsarray. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    dateModifieddatetime
    tagsarray
    isTargetingSegmentMentalistboolean
    createdBylongAccount id to whom created this experiment
    experimentAmountlongNumber of experiments using this goal. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this goal. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this goal. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this goal. This is an optional field needs to specify in request params.

    ClickTrackingGoalParams
    NameTypeDescription
    urlstringURL of the page on which you want to create your click tracker. Example: www.mozilla.org
    customCssSelectorsarraySelection with a CSS selector. CSS selector to track the corresponding element

    AccessToPageGoalParams
    NameTypeDescription
    matchTypeenum. Can be [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]
    matchStringstring

    TimeSpentGoalParams
    NameTypeDescription
    matchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    timeSecondsinteger

    ScrollTrackingGoalParams
    NameTypeDescription
    typeenumWhen the user scrolls down to. Can be [ELEMENT, PERCENTAGE, PIXELS_HEIGHT]
    valuedoubleScroll tracking value

    PageViewsGoalParams
    NameTypeDescription
    numberMatchTypeenum. Can be [MORE_THAN, EQUALS, LESS_THAN]
    numberOfVisitedPagesinteger

    Export goals

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/goals/export"
    

    GET /goals/export

    Export goals depending on specified format

    Request arguments
    NamePlaceTypeDescription
    fileNamequerystringfileName
    formatquerystringformat

    Interests

    Interests allow you to target visitors that visited one or several websites in particular before yours. Interests make your targeting more precise. They indicate which websites users visited before arriving on your pages, even if they are visiting your website for the first time.

    Partial update interest

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/interests/{interestId}"
    {
      "name" : "string",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ]
    }
    

    PATCH /interests/{interestId}

    Update several fields of interest

    Request arguments
    NamePlaceTypeDescription
    interestIdpathlonginterestId
    Request body

    InterestUpdate
    NameTypeDescription
    namestringThe name of the interest
    specificationsarray[InterestSpecification]

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Remove an interest

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/interests/{interestId}"
    

    DELETE /interests/{interestId}

    Remove interest with given id

    Request arguments
    NamePlaceTypeDescription
    interestIdpathlonginterestId

    Get one interest

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/interests/{interestId}"
    

    GET /interests/{interestId}

    Get one interest with the given id

    Request arguments
    NamePlaceTypeDescription
    interestIdpathlonginterestId

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Update an interest

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/interests/{interestId}"
    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    

    PUT /interests/{interestId}

    Update interest with given id

    Request arguments
    NamePlaceTypeDescription
    interestIdpathlonginterestId
    Request body

    Interest
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given interest
    index
    *read only
    integerThe index for the given interest
    lastTimeCrawled
    *read only
    longDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDate
    *read only
    datetimeDate and time an interest is created
    modificationDate
    *read only
    datetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Create a new interest

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/interests"
    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    

    POST /interests

    Create new interest with given parameters

    Request body

    Interest
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given interest
    index
    *read only
    integerThe index for the given interest
    lastTimeCrawled
    *read only
    longDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDate
    *read only
    datetimeDate and time an interest is created
    modificationDate
    *read only
    datetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    }
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    List interests

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/interests"
    

    GET /interests

    Get list of all interests

    Example response

    [ {
      "id" : "123456789",
      "index" : "1234",
      "lastTimeCrawled" : "123456789",
      "name" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "specifications" : [ {
        "method" : "string",
        "parameters" : "string"
      } ],
      "siteId" : "123456789"
    } ]
    
    Response body

    Interest
    NameTypeDescription
    idlongThe unique identifier of the given interest
    indexintegerThe index for the given interest
    lastTimeCrawledlongDate and time the interest was crawled by a bot
    namestringThe name of the interest
    creationDatedatetimeDate and time an interest is created
    modificationDatedatetimeDate and time an interest is modified
    specificationsarray[InterestSpecification]
    siteIdlongUnique site identifier assigned with current interest

    InterestSpecification
    NameTypeDescription
    methodstring
    parametersstring

    Key pages

    Key pages allow you to target visitors that visited a particular page or multiple pages on your website.

    Partial update key page

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/key-pages/{keyPageId}"
    {
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string"
    }
    

    PATCH /key-pages/{keyPageId}

    Update several fields of a key page

    Request arguments
    NamePlaceTypeDescription
    keyPageIdpathlongkeyPageId
    Request body

    KeyPageUpdate
    NameTypeDescription
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Remove key page

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/key-pages/{keyPageId}"
    

    DELETE /key-pages/{keyPageId}

    Remove a key page with the provided id

    Request arguments
    NamePlaceTypeDescription
    keyPageIdpathlongkeyPageId

    Get one key page

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/key-pages/{keyPageId}"
    

    GET /key-pages/{keyPageId}

    Get one key page with the given id

    Request arguments
    NamePlaceTypeDescription
    keyPageIdpathlongkeyPageId

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Update key page

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/key-pages/{keyPageId}"
    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    

    PUT /key-pages/{keyPageId}

    Update a key page with the given id

    Request arguments
    NamePlaceTypeDescription
    keyPageIdpathlongkeyPageId
    Request body

    KeyPage
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDate
    *read only
    datetimeDate and time a key page is created
    modificationDate
    *read only
    datetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Create a new key page

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/key-pages"
    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    

    POST /key-pages

    Create a new key page with the given parameters

    Request body

    KeyPage
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDate
    *read only
    datetimeDate and time a key page is created
    modificationDate
    *read only
    datetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    List of key pages

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/key-pages"
    

    GET /key-pages

    Get list of all the key pages

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "relativeUrlRegExp" : "string",
      "matchType" : "string",
      "totalCount" : "1234",
      "secondMatchType" : "string",
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    } ]
    
    Response body

    KeyPage
    NameTypeDescription
    idlongThe unique identifier of the given key page
    namestringThe name of the key page
    relativeUrlRegExpstringRegular expression for the relative URL
    matchTypestringType of matching for the given key page
    totalCountintegerNumber of impressions for the key page
    secondMatchTypestringSecond type of matching for the given key page if needed
    creationDatedatetimeDate and time a key page is created
    modificationDatedatetimeDate and time a key page is modified
    siteIdlongUnique site identifier assigned with the key page

    Personalizations

    Web personalization consists in offering visitors a tailored experience in order to optimize your conversion rate. Personalization object contains all vital information about a personalization as well as segments and variations used in it.

    Create new personalization

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/personalizations"
    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "targetBlank" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "stickyBlock" : {
        "targetBlank" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "imageInPage" : {
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "width" : "string",
        "height" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "redirectURL" : "string",
        "htmlContent" : "string"
      },
      "emailAction" : {
        "emailSolution" : "CUSTOM",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string",
        "customSolutionName" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "customDataIndex" : "1234",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailTemplateId" : "string",
        "htmlContent" : "string",
        "randomTagId" : "string",
        "headerSenderName" : "string",
        "headerSenderEmail" : "string",
        "headerReplyEmail" : "string",
        "headerEmailSubject" : "string",
        "emailTags" : "string",
        "sendAtOnce" : "false",
        "secondsDelayToSend" : "123456789",
        "neverCancelSending" : "false",
        "goalCancellingId" : "123456789"
      },
      "countDownBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "contentType" : "TEXT",
        "year" : "1234",
        "month" : "1234",
        "dayOfMonth" : "1234",
        "hourOfDay" : "1234",
        "minute" : "1234",
        "second" : "1234",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "textColor" : "string",
        "backgroundColor" : "string"
      },
      "googleForm" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "googleFormURL" : "string",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string"
      },
      "cookieInfoBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "redirectText" : "string",
        "message" : "string"
      },
      "iAdvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      },
      "socialBar" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "orientation" : "HORIZONTAL",
        "marginTop" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string"
      },
      "popInVideo" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "url" : "string",
        "addBackground" : "false",
        "closePopin" : "false",
        "autoPlay" : "false",
        "autoSize" : "false"
      },
      "adBlock" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "type" : "POPIN",
        "actionType" : "SHOW_MESSAGE",
        "imageType" : "NONE",
        "blockNavigationType" : "ALL",
        "messageContent" : "string",
        "messageTitle" : "string",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "showMessage" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "trackAction" : "false",
        "goalName" : "string"
      },
      "visitsCounter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "descriptionText" : "string",
        "counterFromType" : "DAY",
        "counterFromDate" : "2021-04-07T10:13:22.814277",
        "counterFormat" : "FRENCH",
        "minimumVisits" : "123456789"
      },
      "newsLetter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "titleEnabled" : "false",
        "legalNoticeUrl" : "string",
        "backgroundColor" : "string",
        "confirmationText" : "string",
        "backgroundImage" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "type" : "FORM",
        "requestType" : "GET",
        "url" : "string",
        "pageUrl" : "string",
        "emailKey" : "string",
        "overlayEnabled" : "false",
        "outsideClose" : "false",
        "timerClose" : "1234"
      },
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "type" : "CLASSIC",
      "createdBy" : "123456789",
      "cssCode" : "string",
      "javaScriptCode" : "string",
      "iadvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      }
    }
    

    POST /personalizations

    Create new personalization with given parameters

    Request body

    Personalization
    NameTypeDescription
    id
    *read only
    longThis field is generated by the system to uniquely identify a personalization
    name
    *required
    stringThe name of the personalization
    siteId
    *required
    longThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    status
    *read only
    stringThe status of the given personalization
    dateStatusModified
    *read only
    datetimeLast moment when status was updated
    targetingSegmentId
    *read only
    longSelected targeting segment
    mainGoalId
    *read only
    longMain goal
    goals
    *read only
    arraySelected goals
    customExpositionRate
    *read only
    doubleThe segment percentage exposed to personalization
    globalCappingNumberVisitors
    *read only
    booleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfig
    *read only
    enumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalId
    *read only
    longThe goal for threshold of total number of exposed visitors
    visitExpositionFrequency
    *read only
    integerExposition frequency during a unique visit
    visitorExpositionFrequency
    *read only
    integerExposition frequency during a unique visitor
    expositionFrequencyDelay
    *read only
    longPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelay
    *read only
    longMinimum delay between each exposition
    cappingPerVisitorExpositions
    *read only
    booleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMax
    *read only
    integerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisits
    *read only
    booleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMax
    *read only
    integerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoal
    *read only
    booleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalId
    *read only
    longStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposed
    *read only
    longThreshold of the total number of exposed visitors
    checkConditionsRule
    *read only
    enumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priority
    *read only
    integerThe priority of the personalization
    popInPopInPop-In settings
    stickyBlockStickyBlockSticky block settings
    imageInPageImageInPageSettings of an image in page
    emailActionEmailActionSettings of an email
    countDownBannerCountDownBannerSettings of a countdown banner widget
    googleFormGoogleFormSettings of a Google form widget
    cookieInfoBannerCookieInfoBannerSettings of a cookie banner widget
    iAdvizeIAdvizeSettings of an iAdvize chat widget
    socialBarSocialBarSettings of a social sharing bar widget
    popInVideoPopInVideoSettings of a video pop-in widget
    adBlockAdBlockSettings of an Adblocker widget
    visitsCounterVisitsCounterSettings of a visits counter widget
    newsLetterNewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreated
    *read only
    datetimeDate and time when personalization was created
    dateStarted
    *read only
    datetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModified
    *read only
    datetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBy
    *read only
    longAccount id to whom created this personalization
    cssCodestringCSS code to add in the page
    javaScriptCodestringJavaScript code to add in the page
    iadvizeIAdvizeSettings of an iAdvize chat widget

    IAdvize
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    iAdvizeIdentifierstring
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    iadvizeIdentifierstring

    VisitsCounter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    descriptionTextstring
    counterFromTypeenum. Can be [DAY, WEEK, DAYS_15, PRECISE_DATE]
    counterFromDatedatetime
    counterFormatenum. Can be [FRENCH, ENGLISH, GERMAN, FRENCH_ABBREVIATED, ENGLISH_ABBREVIATED, GERMAN_ABBREVIATED]
    minimumVisitslong

    AdBlock
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    typeenum. Can be [POPIN, STICKY_BLOCK]
    actionTypeenum. Can be [SHOW_MESSAGE, BLOCK_NAVIGATION, TRACK_ACTION]
    imageTypeenum. Can be [NONE, DEFAULT, CUSTOM]
    blockNavigationTypeenum. Can be [ALL, OPAQUE, REDIRECT]
    messageContentstring
    messageTitlestring
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    fontSizestring
    textColorstring
    backgroundColorstring
    imageImage
    showMessageboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    shouldScrollToboolean
    shiftContentboolean
    trackActionboolean
    goalNamestring

    PopInVideo
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlstring
    addBackgroundboolean
    closePopinboolean
    autoPlayboolean
    autoSizeboolean

    Image
    NameTypeDescription
    siteIdlong
    sourcestring
    fileNamestring
    widthinteger
    heightinteger
    colorDepthinteger
    fileWeightlong
    sharedboolean
    baseColorinteger
    formatenum. Can be [PNG, JPEG, GIF]
    namestring
    datedatetime
    keywordsarray

    PopIn
    NameTypeDescription
    targetBlankboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    ImageInPage
    NameTypeDescription
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    widthstring
    heightstring
    imageImage
    redirectURLstring
    htmlContentstring

    GoogleForm
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    googleFormURLstring
    withOverlayboolean
    closeWithClickOnOverlayboolean
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring

    SocialBar
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlToSharestring
    urlTypeenum. Can be [CURRENT, FIXED]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    orientationenum. Can be [HORIZONTAL, VERTICAL]
    marginTopstring
    marginBottomstring
    marginLeftstring
    marginRightstring

    NewsLetter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    titleEnabledboolean
    legalNoticeUrlstring
    backgroundColorstring
    confirmationTextstring
    backgroundImageImage
    typeenum. Can be [FORM, SERVICE]
    requestTypeenum. Can be [GET, POST]
    urlstring
    pageUrlstring
    emailKeystring
    overlayEnabledboolean
    outsideCloseboolean
    timerCloseinteger

    StickyBlock
    NameTypeDescription
    targetBlankboolean
    shouldScrollToboolean
    shiftContentboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    EmailAction
    NameTypeDescription
    emailSolutionenum. Can be [CUSTOM, MANDRILL, MAILJET, MAILUP, SMARTFOCUS, MAILPERFORMANCE, EMARSYS, EXPERTSENDER, NONE, CUSTOM_INTEGRATIONS]
    solutionKeystring
    solutionSecretstring
    solutionUrlstring
    customSolutionNamestring
    fetchingMethodenum. Can be [CUSTOM_DATA, SCRIPT, NONE]
    fetchingScriptstring
    customDataIndexinteger
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailTemplateIdstring
    htmlContentstring
    randomTagIdstring
    headerSenderNamestring
    headerSenderEmailstring
    headerReplyEmailstring
    headerEmailSubjectstring
    emailTagsstring
    sendAtOnceboolean
    secondsDelayToSendlong
    neverCancelSendingboolean
    goalCancellingIdlong

    CookieInfoBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    redirectTextstring
    messagestring

    CountDownBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    textContentstring
    htmlContentstring
    contentTypeenum. Can be [TEXT, HTML]
    yearinteger
    monthinteger
    dayOfMonthinteger
    hourOfDayinteger
    minuteinteger
    secondinteger
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    textColorstring
    backgroundColorstring

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "targetBlank" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "stickyBlock" : {
        "targetBlank" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "imageInPage" : {
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "width" : "string",
        "height" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "redirectURL" : "string",
        "htmlContent" : "string"
      },
      "emailAction" : {
        "emailSolution" : "CUSTOM",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string",
        "customSolutionName" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "customDataIndex" : "1234",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailTemplateId" : "string",
        "htmlContent" : "string",
        "randomTagId" : "string",
        "headerSenderName" : "string",
        "headerSenderEmail" : "string",
        "headerReplyEmail" : "string",
        "headerEmailSubject" : "string",
        "emailTags" : "string",
        "sendAtOnce" : "false",
        "secondsDelayToSend" : "123456789",
        "neverCancelSending" : "false",
        "goalCancellingId" : "123456789"
      },
      "countDownBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "contentType" : "TEXT",
        "year" : "1234",
        "month" : "1234",
        "dayOfMonth" : "1234",
        "hourOfDay" : "1234",
        "minute" : "1234",
        "second" : "1234",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "textColor" : "string",
        "backgroundColor" : "string"
      },
      "googleForm" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "googleFormURL" : "string",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string"
      },
      "cookieInfoBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "redirectText" : "string",
        "message" : "string"
      },
      "iAdvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      },
      "socialBar" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "orientation" : "HORIZONTAL",
        "marginTop" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string"
      },
      "popInVideo" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "url" : "string",
        "addBackground" : "false",
        "closePopin" : "false",
        "autoPlay" : "false",
        "autoSize" : "false"
      },
      "adBlock" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "type" : "POPIN",
        "actionType" : "SHOW_MESSAGE",
        "imageType" : "NONE",
        "blockNavigationType" : "ALL",
        "messageContent" : "string",
        "messageTitle" : "string",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "showMessage" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "trackAction" : "false",
        "goalName" : "string"
      },
      "visitsCounter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "descriptionText" : "string",
        "counterFromType" : "DAY",
        "counterFromDate" : "2021-04-07T10:13:22.814277",
        "counterFormat" : "FRENCH",
        "minimumVisits" : "123456789"
      },
      "newsLetter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "titleEnabled" : "false",
        "legalNoticeUrl" : "string",
        "backgroundColor" : "string",
        "confirmationText" : "string",
        "backgroundImage" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "type" : "FORM",
        "requestType" : "GET",
        "url" : "string",
        "pageUrl" : "string",
        "emailKey" : "string",
        "overlayEnabled" : "false",
        "outsideClose" : "false",
        "timerClose" : "1234"
      },
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "type" : "CLASSIC",
      "createdBy" : "123456789",
      "cssCode" : "string",
      "javaScriptCode" : "string",
      "iadvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      }
    }
    
    Response body

    Personalization
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a personalization
    namestringThe name of the personalization
    siteIdlongThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    statusstringThe status of the given personalization
    dateStatusModifieddatetimeLast moment when status was updated
    targetingSegmentIdlongSelected targeting segment
    mainGoalIdlongMain goal
    goalsarraySelected goals
    customExpositionRatedoubleThe segment percentage exposed to personalization
    globalCappingNumberVisitorsbooleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfigenumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalIdlongThe goal for threshold of total number of exposed visitors
    visitExpositionFrequencyintegerExposition frequency during a unique visit
    visitorExpositionFrequencyintegerExposition frequency during a unique visitor
    expositionFrequencyDelaylongPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelaylongMinimum delay between each exposition
    cappingPerVisitorExpositionsbooleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMaxintegerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisitsbooleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMaxintegerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoalbooleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalIdlongStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposedlongThreshold of the total number of exposed visitors
    checkConditionsRuleenumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priorityintegerThe priority of the personalization
    popInPopInPop-In settings
    stickyBlockStickyBlockSticky block settings
    imageInPageImageInPageSettings of an image in page
    emailActionEmailActionSettings of an email
    countDownBannerCountDownBannerSettings of a countdown banner widget
    googleFormGoogleFormSettings of a Google form widget
    cookieInfoBannerCookieInfoBannerSettings of a cookie banner widget
    iAdvizeIAdvizeSettings of an iAdvize chat widget
    socialBarSocialBarSettings of a social sharing bar widget
    popInVideoPopInVideoSettings of a video pop-in widget
    adBlockAdBlockSettings of an Adblocker widget
    visitsCounterVisitsCounterSettings of a visits counter widget
    newsLetterNewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreateddatetimeDate and time when personalization was created
    dateStarteddatetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModifieddatetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBylongAccount id to whom created this personalization
    cssCodestringCSS code to add in the page
    javaScriptCodestringJavaScript code to add in the page
    iadvizeIAdvizeSettings of an iAdvize chat widget

    IAdvize
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    iAdvizeIdentifierstring
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    iadvizeIdentifierstring

    VisitsCounter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    descriptionTextstring
    counterFromTypeenum. Can be [DAY, WEEK, DAYS_15, PRECISE_DATE]
    counterFromDatedatetime
    counterFormatenum. Can be [FRENCH, ENGLISH, GERMAN, FRENCH_ABBREVIATED, ENGLISH_ABBREVIATED, GERMAN_ABBREVIATED]
    minimumVisitslong

    AdBlock
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    typeenum. Can be [POPIN, STICKY_BLOCK]
    actionTypeenum. Can be [SHOW_MESSAGE, BLOCK_NAVIGATION, TRACK_ACTION]
    imageTypeenum. Can be [NONE, DEFAULT, CUSTOM]
    blockNavigationTypeenum. Can be [ALL, OPAQUE, REDIRECT]
    messageContentstring
    messageTitlestring
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    fontSizestring
    textColorstring
    backgroundColorstring
    imageImage
    showMessageboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    shouldScrollToboolean
    shiftContentboolean
    trackActionboolean
    goalNamestring

    PopInVideo
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlstring
    addBackgroundboolean
    closePopinboolean
    autoPlayboolean
    autoSizeboolean

    Image
    NameTypeDescription
    siteIdlong
    sourcestring
    fileNamestring
    widthinteger
    heightinteger
    colorDepthinteger
    fileWeightlong
    sharedboolean
    baseColorinteger
    formatenum. Can be [PNG, JPEG, GIF]
    namestring
    datedatetime
    keywordsarray

    PopIn
    NameTypeDescription
    targetBlankboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    ImageInPage
    NameTypeDescription
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    widthstring
    heightstring
    imageImage
    redirectURLstring
    htmlContentstring

    GoogleForm
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    googleFormURLstring
    withOverlayboolean
    closeWithClickOnOverlayboolean
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring

    SocialBar
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlToSharestring
    urlTypeenum. Can be [CURRENT, FIXED]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    orientationenum. Can be [HORIZONTAL, VERTICAL]
    marginTopstring
    marginBottomstring
    marginLeftstring
    marginRightstring

    NewsLetter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    titleEnabledboolean
    legalNoticeUrlstring
    backgroundColorstring
    confirmationTextstring
    backgroundImageImage
    typeenum. Can be [FORM, SERVICE]
    requestTypeenum. Can be [GET, POST]
    urlstring
    pageUrlstring
    emailKeystring
    overlayEnabledboolean
    outsideCloseboolean
    timerCloseinteger

    StickyBlock
    NameTypeDescription
    targetBlankboolean
    shouldScrollToboolean
    shiftContentboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    EmailAction
    NameTypeDescription
    emailSolutionenum. Can be [CUSTOM, MANDRILL, MAILJET, MAILUP, SMARTFOCUS, MAILPERFORMANCE, EMARSYS, EXPERTSENDER, NONE, CUSTOM_INTEGRATIONS]
    solutionKeystring
    solutionSecretstring
    solutionUrlstring
    customSolutionNamestring
    fetchingMethodenum. Can be [CUSTOM_DATA, SCRIPT, NONE]
    fetchingScriptstring
    customDataIndexinteger
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailTemplateIdstring
    htmlContentstring
    randomTagIdstring
    headerSenderNamestring
    headerSenderEmailstring
    headerReplyEmailstring
    headerEmailSubjectstring
    emailTagsstring
    sendAtOnceboolean
    secondsDelayToSendlong
    neverCancelSendingboolean
    goalCancellingIdlong

    CookieInfoBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    redirectTextstring
    messagestring

    CountDownBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    textContentstring
    htmlContentstring
    contentTypeenum. Can be [TEXT, HTML]
    yearinteger
    monthinteger
    dayOfMonthinteger
    hourOfDayinteger
    minuteinteger
    secondinteger
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    textColorstring
    backgroundColorstring

    List personalizations

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/personalizations"
    

    GET /personalizations

    Get list of all personalizations

    Request arguments
    NamePlaceTypeDescription
    optionalFieldsqueryarrayoptionalFields

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "targetBlank" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "stickyBlock" : {
        "targetBlank" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "imageInPage" : {
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "width" : "string",
        "height" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "redirectURL" : "string",
        "htmlContent" : "string"
      },
      "emailAction" : {
        "emailSolution" : "CUSTOM",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string",
        "customSolutionName" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "customDataIndex" : "1234",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailTemplateId" : "string",
        "htmlContent" : "string",
        "randomTagId" : "string",
        "headerSenderName" : "string",
        "headerSenderEmail" : "string",
        "headerReplyEmail" : "string",
        "headerEmailSubject" : "string",
        "emailTags" : "string",
        "sendAtOnce" : "false",
        "secondsDelayToSend" : "123456789",
        "neverCancelSending" : "false",
        "goalCancellingId" : "123456789"
      },
      "countDownBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "contentType" : "TEXT",
        "year" : "1234",
        "month" : "1234",
        "dayOfMonth" : "1234",
        "hourOfDay" : "1234",
        "minute" : "1234",
        "second" : "1234",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "textColor" : "string",
        "backgroundColor" : "string"
      },
      "googleForm" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "googleFormURL" : "string",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string"
      },
      "cookieInfoBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "redirectText" : "string",
        "message" : "string"
      },
      "iAdvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      },
      "socialBar" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "orientation" : "HORIZONTAL",
        "marginTop" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string"
      },
      "popInVideo" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "url" : "string",
        "addBackground" : "false",
        "closePopin" : "false",
        "autoPlay" : "false",
        "autoSize" : "false"
      },
      "adBlock" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "type" : "POPIN",
        "actionType" : "SHOW_MESSAGE",
        "imageType" : "NONE",
        "blockNavigationType" : "ALL",
        "messageContent" : "string",
        "messageTitle" : "string",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "showMessage" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "trackAction" : "false",
        "goalName" : "string"
      },
      "visitsCounter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "descriptionText" : "string",
        "counterFromType" : "DAY",
        "counterFromDate" : "2021-04-07T10:13:22.814277",
        "counterFormat" : "FRENCH",
        "minimumVisits" : "123456789"
      },
      "newsLetter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "titleEnabled" : "false",
        "legalNoticeUrl" : "string",
        "backgroundColor" : "string",
        "confirmationText" : "string",
        "backgroundImage" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "type" : "FORM",
        "requestType" : "GET",
        "url" : "string",
        "pageUrl" : "string",
        "emailKey" : "string",
        "overlayEnabled" : "false",
        "outsideClose" : "false",
        "timerClose" : "1234"
      },
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "type" : "CLASSIC",
      "createdBy" : "123456789",
      "cssCode" : "string",
      "javaScriptCode" : "string",
      "iadvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      }
    } ]
    
    Response body

    Personalization
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a personalization
    namestringThe name of the personalization
    siteIdlongThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    statusstringThe status of the given personalization
    dateStatusModifieddatetimeLast moment when status was updated
    targetingSegmentIdlongSelected targeting segment
    mainGoalIdlongMain goal
    goalsarraySelected goals
    customExpositionRatedoubleThe segment percentage exposed to personalization
    globalCappingNumberVisitorsbooleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfigenumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalIdlongThe goal for threshold of total number of exposed visitors
    visitExpositionFrequencyintegerExposition frequency during a unique visit
    visitorExpositionFrequencyintegerExposition frequency during a unique visitor
    expositionFrequencyDelaylongPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelaylongMinimum delay between each exposition
    cappingPerVisitorExpositionsbooleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMaxintegerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisitsbooleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMaxintegerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoalbooleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalIdlongStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposedlongThreshold of the total number of exposed visitors
    checkConditionsRuleenumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priorityintegerThe priority of the personalization
    popInPopInPop-In settings
    stickyBlockStickyBlockSticky block settings
    imageInPageImageInPageSettings of an image in page
    emailActionEmailActionSettings of an email
    countDownBannerCountDownBannerSettings of a countdown banner widget
    googleFormGoogleFormSettings of a Google form widget
    cookieInfoBannerCookieInfoBannerSettings of a cookie banner widget
    iAdvizeIAdvizeSettings of an iAdvize chat widget
    socialBarSocialBarSettings of a social sharing bar widget
    popInVideoPopInVideoSettings of a video pop-in widget
    adBlockAdBlockSettings of an Adblocker widget
    visitsCounterVisitsCounterSettings of a visits counter widget
    newsLetterNewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreateddatetimeDate and time when personalization was created
    dateStarteddatetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModifieddatetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBylongAccount id to whom created this personalization
    cssCodestringCSS code to add in the page
    javaScriptCodestringJavaScript code to add in the page
    iadvizeIAdvizeSettings of an iAdvize chat widget

    IAdvize
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    iAdvizeIdentifierstring
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    iadvizeIdentifierstring

    VisitsCounter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    descriptionTextstring
    counterFromTypeenum. Can be [DAY, WEEK, DAYS_15, PRECISE_DATE]
    counterFromDatedatetime
    counterFormatenum. Can be [FRENCH, ENGLISH, GERMAN, FRENCH_ABBREVIATED, ENGLISH_ABBREVIATED, GERMAN_ABBREVIATED]
    minimumVisitslong

    AdBlock
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    typeenum. Can be [POPIN, STICKY_BLOCK]
    actionTypeenum. Can be [SHOW_MESSAGE, BLOCK_NAVIGATION, TRACK_ACTION]
    imageTypeenum. Can be [NONE, DEFAULT, CUSTOM]
    blockNavigationTypeenum. Can be [ALL, OPAQUE, REDIRECT]
    messageContentstring
    messageTitlestring
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    fontSizestring
    textColorstring
    backgroundColorstring
    imageImage
    showMessageboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    shouldScrollToboolean
    shiftContentboolean
    trackActionboolean
    goalNamestring

    PopInVideo
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlstring
    addBackgroundboolean
    closePopinboolean
    autoPlayboolean
    autoSizeboolean

    Image
    NameTypeDescription
    siteIdlong
    sourcestring
    fileNamestring
    widthinteger
    heightinteger
    colorDepthinteger
    fileWeightlong
    sharedboolean
    baseColorinteger
    formatenum. Can be [PNG, JPEG, GIF]
    namestring
    datedatetime
    keywordsarray

    PopIn
    NameTypeDescription
    targetBlankboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    ImageInPage
    NameTypeDescription
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    widthstring
    heightstring
    imageImage
    redirectURLstring
    htmlContentstring

    GoogleForm
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    googleFormURLstring
    withOverlayboolean
    closeWithClickOnOverlayboolean
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring

    SocialBar
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlToSharestring
    urlTypeenum. Can be [CURRENT, FIXED]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    orientationenum. Can be [HORIZONTAL, VERTICAL]
    marginTopstring
    marginBottomstring
    marginLeftstring
    marginRightstring

    NewsLetter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    titleEnabledboolean
    legalNoticeUrlstring
    backgroundColorstring
    confirmationTextstring
    backgroundImageImage
    typeenum. Can be [FORM, SERVICE]
    requestTypeenum. Can be [GET, POST]
    urlstring
    pageUrlstring
    emailKeystring
    overlayEnabledboolean
    outsideCloseboolean
    timerCloseinteger

    StickyBlock
    NameTypeDescription
    targetBlankboolean
    shouldScrollToboolean
    shiftContentboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    EmailAction
    NameTypeDescription
    emailSolutionenum. Can be [CUSTOM, MANDRILL, MAILJET, MAILUP, SMARTFOCUS, MAILPERFORMANCE, EMARSYS, EXPERTSENDER, NONE, CUSTOM_INTEGRATIONS]
    solutionKeystring
    solutionSecretstring
    solutionUrlstring
    customSolutionNamestring
    fetchingMethodenum. Can be [CUSTOM_DATA, SCRIPT, NONE]
    fetchingScriptstring
    customDataIndexinteger
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailTemplateIdstring
    htmlContentstring
    randomTagIdstring
    headerSenderNamestring
    headerSenderEmailstring
    headerReplyEmailstring
    headerEmailSubjectstring
    emailTagsstring
    sendAtOnceboolean
    secondsDelayToSendlong
    neverCancelSendingboolean
    goalCancellingIdlong

    CookieInfoBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    redirectTextstring
    messagestring

    CountDownBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    textContentstring
    htmlContentstring
    contentTypeenum. Can be [TEXT, HTML]
    yearinteger
    monthinteger
    dayOfMonthinteger
    hourOfDayinteger
    minuteinteger
    secondinteger
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    textColorstring
    backgroundColorstring

    Request personalization's results

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/personalizations/{personalizationId}/results"
    {
      "interval" : "HOUR",
      "visitorData" : "false",
      "allVariationsData" : "false",
      "bayesian" : "false",
      "breakdown" : {
        "type" : "BROWSER"
      },
      "goalsIds" : [ "[]" ],
      "filters" : [ {
        "type" : "string"
      } ],
      "dateIntervals" : [ {
        "start" : "2021-04-07T10:13:22.814277",
        "end" : "2021-04-07T10:13:22.814277"
      } ],
      "callbackUrl" : "string",
      "stringForHash" : "string"
    }
    

    POST /personalizations/{personalizationId}/results

    Send a request to generate the report for the results of the given personalization

    Request arguments
    NamePlaceTypeDescription
    personalizationIdpathlongpersonalizationId
    Request body

    DataRequestParams
    NameTypeDescription
    intervalenum. Can be [HOUR, DAY, WEEK, MONTH, YEAR]
    visitorDataboolean
    allVariationsDataboolean
    bayesianboolean
    breakdownBreakdown
    goalsIdsarray
    filtersarray[Filter]
    dateIntervalsarray[DateInterval]
    callbackUrlstring
    stringForHashstring

    Filter
    NameTypeDescription
    type
    *required
    string

    Breakdown
    NameTypeDescription
    typeenum. Can be [BROWSER, CUSTOM_DATUM, DEVICE_TYPE, NEW_VISITOR, GOAL_REACHED, PAGE_URL, FIRST_REFERRER, ORIGIN_TYPE, OS, PAGE_TITLE, NUMBER_PAGES, LANDING_PAGE_URL, AD_BLOCKER, DAY_OF_WEEK, DAYS_OF_WEEK, VISIT_DURATION, WEATHER_CODE, DAY, TEMPERATURE, NUMBER_VISITS, FIRST_REFERRER_URL, MAX_NUMBER_TABS, KEY_PAGE, INTEREST, TARGETING_SEGMENT, TIME_SINCE_PREVIOUS_VISIT, KEYWORD, YSANCE_SEGMENT, YSANCE_ATTRIBUTE, COUNTRY, REGION, CITY, LANGUAGE, JAVA_ENABLED, LANDING_PAGE, TIME_ZONE_GROUP, SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_RESOLUTION, REFERRER, TIME_ZONE_ID, LOCALE_LANGUAGE_CODE, LOCALE_COUNTRY_CODE, LOCALE_LANGUAGE_TAG, PERSONALIZATION_UNEXPOSITION_CAUSE]

    DateInterval
    NameTypeDescription
    startdatetime
    enddatetime

    DeviceTypeFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [DESKTOP, TABLET, PHONE]
    includeboolean

    TimeSpentFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    PageURLFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    AdBlockerFilter
    NameTypeDescription
    typestring
    includeboolean

    WeatherFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, ATMOSPHERIC_DISTURBANCES]
    includeboolean

    KeyPageFilter
    NameTypeDescription
    typestring
    includeboolean
    valuesarray

    NumberTabsFilter
    NameTypeDescription
    typestring
    includeboolean
    value
    *required
    integer

    CustomDataFilter
    NameTypeDescription
    typestring
    includeboolean
    customDataId
    *required
    long
    valuestring

    TimeSlotFilter
    NameTypeDescription
    typestring
    includeboolean
    visitorCalendarboolean
    valuesarray

    TargetingSegmentFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    NewVisitorFilter
    NameTypeDescription
    typestring
    visitorsTypeenum. Can be [NEW_VISITORS, RETURNING_VISITORS]

    FilterContainer
    NameTypeDescription
    paramenum. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    valueinteger
    unitenum. Can be [SECONDS, MINUTES, HOURS, DAYS, WEEKS]

    PageTitleFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    BrowserFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [CHROME, EXPLORER, FIREFOX, SAFARI, OPERA]
    includeboolean

    FirstReferrerFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    NumberVisitsFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    LandingPageURLFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    NumberPagesFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    TemperatureFilter
    NameTypeDescription
    typestring
    includeboolean
    param
    *required
    enum. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    from
    *required
    integer
    tointeger

    BrowserLanguageFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [AB, AA, AF, AK, SQ, AM, AR, AN, HY, AS, AV, AE, AY, AZ, BM, BA, EU, BE, BN, BH, BI, BS, BR, BG, MY, CA, CH, CE, NY, ZH, CV, KW, CO, CR, HR, CS, DA, DV, NL, DZ, EN, EO, ET, EE, FO, FJ, FI, FR, FF, GL, KA, DE, EL, GN, GU, HT, HA, HE, HZ, HI, HO, HU, IA, ID, IE, GA, IG, IK, IO, IS, IT, IU, JA, JV, KL, KN, KR, KS, KK, KM, KI, RW, KY, KV, KG, KO, KU, KJ, LA, LB, LG, LI, LN, LO, LT, LU, LV, GV, MK, MG, MS, ML, MT, MI, MR, MH, MN, NA, NV, ND, NE, NG, NB, NN, NO, II, NR, OC, OJ, CU, OM, OR, OS, PA, PI, FA, PL, PS, PT, QU, RM, RN, RO, RU, SA, SC, SD, SE, SM, SG, SR, GD, SN, SI, SK, SL, SO, ST, ES, SU, SW, SS, SV, TA, TE, TG, TH, TI, BO, TK, TL, TN, TO, TR, TS, TT, TW, TY, UG, UK, UR, UZ, VE, VI, VO, WA, CY, WO, FY, XH, YI, YO, ZA, ZU]
    includeboolean

    DayFilter
    NameTypeDescription
    typestring
    includeboolean

    OperatingSystemFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [WINDOWS, MAC_OS, I_OS, LINUX, ANDROID, WINDOWS_PHONE]
    includeboolean

    ReferrerURLFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    SinceLastVisitFilter
    NameTypeDescription
    typestring
    values
    *required
    array[FilterContainer]
    includeboolean

    TrafficFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [SEO, DIRECT, SEM, EMAIL, AFFILIATION]
    includeboolean

    ConversionsFilter
    NameTypeDescription
    typestring
    values
    *required
    array
    includeboolean

    WeekdayFilter
    NameTypeDescription
    typestring
    values
    *required
    array. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    includeboolean
    visitorCalendarboolean

    CustomDatumBreakdown
    NameTypeDescription
    typeenum. Can be [BROWSER, CUSTOM_DATUM, DEVICE_TYPE, NEW_VISITOR, GOAL_REACHED, PAGE_URL, FIRST_REFERRER, ORIGIN_TYPE, OS, PAGE_TITLE, NUMBER_PAGES, LANDING_PAGE_URL, AD_BLOCKER, DAY_OF_WEEK, DAYS_OF_WEEK, VISIT_DURATION, WEATHER_CODE, DAY, TEMPERATURE, NUMBER_VISITS, FIRST_REFERRER_URL, MAX_NUMBER_TABS, KEY_PAGE, INTEREST, TARGETING_SEGMENT, TIME_SINCE_PREVIOUS_VISIT, KEYWORD, YSANCE_SEGMENT, YSANCE_ATTRIBUTE, COUNTRY, REGION, CITY, LANGUAGE, JAVA_ENABLED, LANDING_PAGE, TIME_ZONE_GROUP, SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_RESOLUTION, REFERRER, TIME_ZONE_ID, LOCALE_LANGUAGE_CODE, LOCALE_COUNTRY_CODE, LOCALE_LANGUAGE_TAG, PERSONALIZATION_UNEXPOSITION_CAUSE]
    index
    *required
    integer

    Example response

    {
      "dataCode" : "string"
    }
    
    Response body

    DataCodeResponseIO
    NameTypeDescription
    dataCodestring

    Partial update personalization

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/personalizations/{personalizationId}"
    {
      "name" : "string",
      "mainGoalId" : "string",
      "tags" : [ "[]" ],
      "description" : "string",
      "isArchived" : "false",
      "cssCode" : "string",
      "javaScriptCode" : "string"
    }
    

    PATCH /personalizations/{personalizationId}

    Update several fields of personalization

    Request arguments
    NamePlaceTypeDescription
    personalizationIdpathlongpersonalizationId
    actionquerystringAction to change the status of personalization
    Request body

    PersonalizationUpdate
    NameTypeDescription
    namestringThe name of the personalization
    mainGoalIdstringThe main goal id of the personalization
    tagsarrayList of tags
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    cssCodestringCSS code to add in the page
    javaScriptCodestringJavaScript code to add in the page

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "targetBlank" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "stickyBlock" : {
        "targetBlank" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "imageInPage" : {
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "width" : "string",
        "height" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "redirectURL" : "string",
        "htmlContent" : "string"
      },
      "emailAction" : {
        "emailSolution" : "CUSTOM",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string",
        "customSolutionName" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "customDataIndex" : "1234",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailTemplateId" : "string",
        "htmlContent" : "string",
        "randomTagId" : "string",
        "headerSenderName" : "string",
        "headerSenderEmail" : "string",
        "headerReplyEmail" : "string",
        "headerEmailSubject" : "string",
        "emailTags" : "string",
        "sendAtOnce" : "false",
        "secondsDelayToSend" : "123456789",
        "neverCancelSending" : "false",
        "goalCancellingId" : "123456789"
      },
      "countDownBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "contentType" : "TEXT",
        "year" : "1234",
        "month" : "1234",
        "dayOfMonth" : "1234",
        "hourOfDay" : "1234",
        "minute" : "1234",
        "second" : "1234",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "textColor" : "string",
        "backgroundColor" : "string"
      },
      "googleForm" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "googleFormURL" : "string",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string"
      },
      "cookieInfoBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "redirectText" : "string",
        "message" : "string"
      },
      "iAdvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      },
      "socialBar" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "orientation" : "HORIZONTAL",
        "marginTop" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string"
      },
      "popInVideo" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "url" : "string",
        "addBackground" : "false",
        "closePopin" : "false",
        "autoPlay" : "false",
        "autoSize" : "false"
      },
      "adBlock" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "type" : "POPIN",
        "actionType" : "SHOW_MESSAGE",
        "imageType" : "NONE",
        "blockNavigationType" : "ALL",
        "messageContent" : "string",
        "messageTitle" : "string",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "showMessage" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "trackAction" : "false",
        "goalName" : "string"
      },
      "visitsCounter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "descriptionText" : "string",
        "counterFromType" : "DAY",
        "counterFromDate" : "2021-04-07T10:13:22.814277",
        "counterFormat" : "FRENCH",
        "minimumVisits" : "123456789"
      },
      "newsLetter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "titleEnabled" : "false",
        "legalNoticeUrl" : "string",
        "backgroundColor" : "string",
        "confirmationText" : "string",
        "backgroundImage" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "type" : "FORM",
        "requestType" : "GET",
        "url" : "string",
        "pageUrl" : "string",
        "emailKey" : "string",
        "overlayEnabled" : "false",
        "outsideClose" : "false",
        "timerClose" : "1234"
      },
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "type" : "CLASSIC",
      "createdBy" : "123456789",
      "cssCode" : "string",
      "javaScriptCode" : "string",
      "iadvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      }
    }
    
    Response body

    Personalization
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a personalization
    namestringThe name of the personalization
    siteIdlongThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    statusstringThe status of the given personalization
    dateStatusModifieddatetimeLast moment when status was updated
    targetingSegmentIdlongSelected targeting segment
    mainGoalIdlongMain goal
    goalsarraySelected goals
    customExpositionRatedoubleThe segment percentage exposed to personalization
    globalCappingNumberVisitorsbooleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfigenumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalIdlongThe goal for threshold of total number of exposed visitors
    visitExpositionFrequencyintegerExposition frequency during a unique visit
    visitorExpositionFrequencyintegerExposition frequency during a unique visitor
    expositionFrequencyDelaylongPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelaylongMinimum delay between each exposition
    cappingPerVisitorExpositionsbooleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMaxintegerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisitsbooleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMaxintegerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoalbooleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalIdlongStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposedlongThreshold of the total number of exposed visitors
    checkConditionsRuleenumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priorityintegerThe priority of the personalization
    popInPopInPop-In settings
    stickyBlockStickyBlockSticky block settings
    imageInPageImageInPageSettings of an image in page
    emailActionEmailActionSettings of an email
    countDownBannerCountDownBannerSettings of a countdown banner widget
    googleFormGoogleFormSettings of a Google form widget
    cookieInfoBannerCookieInfoBannerSettings of a cookie banner widget
    iAdvizeIAdvizeSettings of an iAdvize chat widget
    socialBarSocialBarSettings of a social sharing bar widget
    popInVideoPopInVideoSettings of a video pop-in widget
    adBlockAdBlockSettings of an Adblocker widget
    visitsCounterVisitsCounterSettings of a visits counter widget
    newsLetterNewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreateddatetimeDate and time when personalization was created
    dateStarteddatetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModifieddatetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBylongAccount id to whom created this personalization
    cssCodestringCSS code to add in the page
    javaScriptCodestringJavaScript code to add in the page
    iadvizeIAdvizeSettings of an iAdvize chat widget

    IAdvize
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    iAdvizeIdentifierstring
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    iadvizeIdentifierstring

    VisitsCounter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    descriptionTextstring
    counterFromTypeenum. Can be [DAY, WEEK, DAYS_15, PRECISE_DATE]
    counterFromDatedatetime
    counterFormatenum. Can be [FRENCH, ENGLISH, GERMAN, FRENCH_ABBREVIATED, ENGLISH_ABBREVIATED, GERMAN_ABBREVIATED]
    minimumVisitslong

    AdBlock
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    typeenum. Can be [POPIN, STICKY_BLOCK]
    actionTypeenum. Can be [SHOW_MESSAGE, BLOCK_NAVIGATION, TRACK_ACTION]
    imageTypeenum. Can be [NONE, DEFAULT, CUSTOM]
    blockNavigationTypeenum. Can be [ALL, OPAQUE, REDIRECT]
    messageContentstring
    messageTitlestring
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    fontSizestring
    textColorstring
    backgroundColorstring
    imageImage
    showMessageboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    shouldScrollToboolean
    shiftContentboolean
    trackActionboolean
    goalNamestring

    PopInVideo
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlstring
    addBackgroundboolean
    closePopinboolean
    autoPlayboolean
    autoSizeboolean

    Image
    NameTypeDescription
    siteIdlong
    sourcestring
    fileNamestring
    widthinteger
    heightinteger
    colorDepthinteger
    fileWeightlong
    sharedboolean
    baseColorinteger
    formatenum. Can be [PNG, JPEG, GIF]
    namestring
    datedatetime
    keywordsarray

    PopIn
    NameTypeDescription
    targetBlankboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    ImageInPage
    NameTypeDescription
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    widthstring
    heightstring
    imageImage
    redirectURLstring
    htmlContentstring

    GoogleForm
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    googleFormURLstring
    withOverlayboolean
    closeWithClickOnOverlayboolean
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring

    SocialBar
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlToSharestring
    urlTypeenum. Can be [CURRENT, FIXED]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    orientationenum. Can be [HORIZONTAL, VERTICAL]
    marginTopstring
    marginBottomstring
    marginLeftstring
    marginRightstring

    NewsLetter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    titleEnabledboolean
    legalNoticeUrlstring
    backgroundColorstring
    confirmationTextstring
    backgroundImageImage
    typeenum. Can be [FORM, SERVICE]
    requestTypeenum. Can be [GET, POST]
    urlstring
    pageUrlstring
    emailKeystring
    overlayEnabledboolean
    outsideCloseboolean
    timerCloseinteger

    StickyBlock
    NameTypeDescription
    targetBlankboolean
    shouldScrollToboolean
    shiftContentboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    EmailAction
    NameTypeDescription
    emailSolutionenum. Can be [CUSTOM, MANDRILL, MAILJET, MAILUP, SMARTFOCUS, MAILPERFORMANCE, EMARSYS, EXPERTSENDER, NONE, CUSTOM_INTEGRATIONS]
    solutionKeystring
    solutionSecretstring
    solutionUrlstring
    customSolutionNamestring
    fetchingMethodenum. Can be [CUSTOM_DATA, SCRIPT, NONE]
    fetchingScriptstring
    customDataIndexinteger
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailTemplateIdstring
    htmlContentstring
    randomTagIdstring
    headerSenderNamestring
    headerSenderEmailstring
    headerReplyEmailstring
    headerEmailSubjectstring
    emailTagsstring
    sendAtOnceboolean
    secondsDelayToSendlong
    neverCancelSendingboolean
    goalCancellingIdlong

    CookieInfoBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    redirectTextstring
    messagestring

    CountDownBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    textContentstring
    htmlContentstring
    contentTypeenum. Can be [TEXT, HTML]
    yearinteger
    monthinteger
    dayOfMonthinteger
    hourOfDayinteger
    minuteinteger
    secondinteger
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    textColorstring
    backgroundColorstring

    Remove personalization

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/personalizations/{personalizationId}"
    

    DELETE /personalizations/{personalizationId}

    Remove personalization with given id

    Request arguments
    NamePlaceTypeDescription
    personalizationIdpathlongpersonalizationId

    Get one personalization

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/personalizations/{personalizationId}"
    

    GET /personalizations/{personalizationId}

    Get one personalization with given id

    Request arguments
    NamePlaceTypeDescription
    personalizationIdpathlongpersonalizationId
    optionalFieldsqueryarrayoptionalFields

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "variationId" : "123456789",
      "status" : "string",
      "dateStatusModified" : "2021-04-07T10:13:22.814277",
      "targetingSegmentId" : "123456789",
      "mainGoalId" : "123456789",
      "goals" : [ "[]" ],
      "customExpositionRate" : "132.987",
      "globalCappingNumberVisitors" : "false",
      "globalCappingVisitorsConfig" : "NUMBER_VISITORS",
      "globalCappingGoalId" : "123456789",
      "visitExpositionFrequency" : "1234",
      "visitorExpositionFrequency" : "1234",
      "expositionFrequencyDelay" : "123456789",
      "multiExpositionFrequencyDelay" : "123456789",
      "cappingPerVisitorExpositions" : "false",
      "visitorExpositionFrequencyMax" : "1234",
      "cappingPerVisitorExposedVisits" : "false",
      "exposedVisitsSameVisitorMax" : "1234",
      "cappingPerVisitorConvertGoal" : "false",
      "cappingPerVisitorGoalId" : "123456789",
      "maxNumberVisitorsExposed" : "123456789",
      "checkConditionsRule" : "ALL_CONDITIONS",
      "priority" : "1234",
      "popIn" : {
        "targetBlank" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "stickyBlock" : {
        "targetBlank" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "name" : "string",
        "position" : "TOP",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "displayImageConfiguration" : "DISPLAY_ALL_DEVICES",
        "animationType" : "NONE",
        "animationDirection" : "TOP",
        "animationTrigger" : "ON_OPEN",
        "imageDesktop" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageDesktop" : "string",
        "heightImageDesktop" : "string",
        "imageTablet" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageTablet" : "string",
        "heightImageTablet" : "string",
        "imageMobile" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "widthImageMobile" : "string",
        "heightImageMobile" : "string",
        "idTarget2Sell" : "string",
        "redirectURL" : "string",
        "type" : "SINGLE_IMAGE",
        "template" : "false"
      },
      "imageInPage" : {
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "width" : "string",
        "height" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "redirectURL" : "string",
        "htmlContent" : "string"
      },
      "emailAction" : {
        "emailSolution" : "CUSTOM",
        "solutionKey" : "string",
        "solutionSecret" : "string",
        "solutionUrl" : "string",
        "customSolutionName" : "string",
        "fetchingMethod" : "CUSTOM_DATA",
        "fetchingScript" : "string",
        "customDataIndex" : "1234",
        "emailContentSolution" : "CUSTOM_TEMPLATE",
        "emailTemplateId" : "string",
        "htmlContent" : "string",
        "randomTagId" : "string",
        "headerSenderName" : "string",
        "headerSenderEmail" : "string",
        "headerReplyEmail" : "string",
        "headerEmailSubject" : "string",
        "emailTags" : "string",
        "sendAtOnce" : "false",
        "secondsDelayToSend" : "123456789",
        "neverCancelSending" : "false",
        "goalCancellingId" : "123456789"
      },
      "countDownBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "textContent" : "string",
        "htmlContent" : "string",
        "contentType" : "TEXT",
        "year" : "1234",
        "month" : "1234",
        "dayOfMonth" : "1234",
        "hourOfDay" : "1234",
        "minute" : "1234",
        "second" : "1234",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "textColor" : "string",
        "backgroundColor" : "string"
      },
      "googleForm" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "googleFormURL" : "string",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string"
      },
      "cookieInfoBanner" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "redirectText" : "string",
        "message" : "string"
      },
      "iAdvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      },
      "socialBar" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "urlToShare" : "string",
        "urlType" : "CURRENT",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "orientation" : "HORIZONTAL",
        "marginTop" : "string",
        "marginBottom" : "string",
        "marginLeft" : "string",
        "marginRight" : "string"
      },
      "popInVideo" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "url" : "string",
        "addBackground" : "false",
        "closePopin" : "false",
        "autoPlay" : "false",
        "autoSize" : "false"
      },
      "adBlock" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "redirectURL" : "string",
        "positionDefinition" : "EDITOR",
        "domElementSelector" : "string",
        "positionSelectorRelative" : "REPLACE",
        "mainPageUrl" : "string",
        "type" : "POPIN",
        "actionType" : "SHOW_MESSAGE",
        "imageType" : "NONE",
        "blockNavigationType" : "ALL",
        "messageContent" : "string",
        "messageTitle" : "string",
        "verticalAlignmentType" : "TOP",
        "horizontalAlignmentType" : "LEFT",
        "fontSize" : "string",
        "textColor" : "string",
        "backgroundColor" : "string",
        "image" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "showMessage" : "false",
        "withOverlay" : "false",
        "closeWithClickOnOverlay" : "false",
        "shouldScrollTo" : "false",
        "shiftContent" : "false",
        "trackAction" : "false",
        "goalName" : "string"
      },
      "visitsCounter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "descriptionText" : "string",
        "counterFromType" : "DAY",
        "counterFromDate" : "2021-04-07T10:13:22.814277",
        "counterFormat" : "FRENCH",
        "minimumVisits" : "123456789"
      },
      "newsLetter" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "titleEnabled" : "false",
        "legalNoticeUrl" : "string",
        "backgroundColor" : "string",
        "confirmationText" : "string",
        "backgroundImage" : {
          "siteId" : "123456789",
          "source" : "string",
          "fileName" : "string",
          "width" : "1234",
          "height" : "1234",
          "colorDepth" : "1234",
          "fileWeight" : "123456789",
          "shared" : "false",
          "baseColor" : "1234",
          "format" : "PNG",
          "name" : "string",
          "date" : "2021-04-07T10:13:22.814277",
          "keywords" : [ "[]" ]
        },
        "type" : "FORM",
        "requestType" : "GET",
        "url" : "string",
        "pageUrl" : "string",
        "emailKey" : "string",
        "overlayEnabled" : "false",
        "outsideClose" : "false",
        "timerClose" : "1234"
      },
      "trackingTools" : [ {
        "type" : "GOOGLE_ANALYTICS",
        "customVariable" : "1234",
        "googleAnalyticsTracker" : "string",
        "universalAnalyticsDimension" : "1234",
        "adobeOmnitureObject" : "string",
        "eulerianUserCentricParameter" : "string",
        "heatMapPageWidth" : "1234",
        "comScoreCustomerId" : "string",
        "comScoreDomain" : "string",
        "reportingScript" : "string"
      } ],
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateStarted" : "2021-04-07T10:13:22.814277",
      "description" : "string",
      "isArchived" : "false",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "type" : "CLASSIC",
      "createdBy" : "123456789",
      "cssCode" : "string",
      "javaScriptCode" : "string",
      "iadvize" : {
        "position" : "TOP",
        "width" : "string",
        "height" : "string",
        "customPositionAxisX" : "string",
        "customPositionAxisY" : "string",
        "displayPluginConfiguration" : "DISPLAY_ALL_DEVICES",
        "personalizationPluginLocation" : "INSIDE_PAGES",
        "iAdvizeIdentifier" : "string",
        "platformType" : "STANDARD",
        "iadvizeIdentifier" : "string"
      }
    }
    
    Response body

    Personalization
    NameTypeDescription
    idlongThis field is generated by the system to uniquely identify a personalization
    namestringThe name of the personalization
    siteIdlongThe website id that a personalization belongs to
    variationIdlongThe variation id of the given personalization
    statusstringThe status of the given personalization
    dateStatusModifieddatetimeLast moment when status was updated
    targetingSegmentIdlongSelected targeting segment
    mainGoalIdlongMain goal
    goalsarraySelected goals
    customExpositionRatedoubleThe segment percentage exposed to personalization
    globalCappingNumberVisitorsbooleanThis option allows you to set the capping configuration
    globalCappingVisitorsConfigenumThe visitors configuration for threshold of total number of exposed visitors. Can be [NUMBER_VISITORS, NUMBER_VISITORS_CONVERT_GOAL, NUMBER_VISITORS_NOT_CONVERT_GOAL]
    globalCappingGoalIdlongThe goal for threshold of total number of exposed visitors
    visitExpositionFrequencyintegerExposition frequency during a unique visit
    visitorExpositionFrequencyintegerExposition frequency during a unique visitor
    expositionFrequencyDelaylongPeriod of time of exposition frequency during different visitors
    multiExpositionFrequencyDelaylongMinimum delay between each exposition
    cappingPerVisitorExpositionsbooleanIf true stop exposing a same visitor when the total number of expositions exceeds this threshold
    visitorExpositionFrequencyMaxintegerStop exposing a same visitor when the total number of expositions exceeds this threshold
    cappingPerVisitorExposedVisitsbooleanIf true stop exposing a same visitor when the number of visits exceeds this threshold
    exposedVisitsSameVisitorMaxintegerStop exposing a same visitor when the number of visits exceeds this threshold
    cappingPerVisitorConvertGoalbooleanIf true stop exposing a same visitor when the goal is completed
    cappingPerVisitorGoalIdlongStop exposing a same visitor when the goal with given id is completed
    maxNumberVisitorsExposedlongThreshold of the total number of exposed visitors
    checkConditionsRuleenumThe behavior of Kameleoon to determine if a visitor is targeted or not. Can be [ALL_CONDITIONS, CUMULATIVE_WEIGHT]
    priorityintegerThe priority of the personalization
    popInPopInPop-In settings
    stickyBlockStickyBlockSticky block settings
    imageInPageImageInPageSettings of an image in page
    emailActionEmailActionSettings of an email
    countDownBannerCountDownBannerSettings of a countdown banner widget
    googleFormGoogleFormSettings of a Google form widget
    cookieInfoBannerCookieInfoBannerSettings of a cookie banner widget
    iAdvizeIAdvizeSettings of an iAdvize chat widget
    socialBarSocialBarSettings of a social sharing bar widget
    popInVideoPopInVideoSettings of a video pop-in widget
    adBlockAdBlockSettings of an Adblocker widget
    visitsCounterVisitsCounterSettings of a visits counter widget
    newsLetterNewsLetterSettings of a newsletter subscription form widget
    trackingToolsarray[TrackingTool]List of tracking tools
    tagsarrayList of tags
    dateCreateddatetimeDate and time when personalization was created
    dateStarteddatetimeDate and time when personalization was started
    descriptionstringThis is description of personalization
    isArchivedbooleanIf true the personalization is archived
    dateModifieddatetimeDate and time when personalization was updated last time
    typeenumType of personalization. Can be [CLASSIC, AUTOPROMO, IA, MAIL]
    createdBylongAccount id to whom created this personalization
    cssCodestringCSS code to add in the page
    javaScriptCodestringJavaScript code to add in the page
    iadvizeIAdvizeSettings of an iAdvize chat widget

    IAdvize
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    iAdvizeIdentifierstring
    platformTypeenum. Can be [STANDARD, HIGH_AVAILABILITY]
    iadvizeIdentifierstring

    VisitsCounter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    descriptionTextstring
    counterFromTypeenum. Can be [DAY, WEEK, DAYS_15, PRECISE_DATE]
    counterFromDatedatetime
    counterFormatenum. Can be [FRENCH, ENGLISH, GERMAN, FRENCH_ABBREVIATED, ENGLISH_ABBREVIATED, GERMAN_ABBREVIATED]
    minimumVisitslong

    AdBlock
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    typeenum. Can be [POPIN, STICKY_BLOCK]
    actionTypeenum. Can be [SHOW_MESSAGE, BLOCK_NAVIGATION, TRACK_ACTION]
    imageTypeenum. Can be [NONE, DEFAULT, CUSTOM]
    blockNavigationTypeenum. Can be [ALL, OPAQUE, REDIRECT]
    messageContentstring
    messageTitlestring
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    fontSizestring
    textColorstring
    backgroundColorstring
    imageImage
    showMessageboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    shouldScrollToboolean
    shiftContentboolean
    trackActionboolean
    goalNamestring

    PopInVideo
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlstring
    addBackgroundboolean
    closePopinboolean
    autoPlayboolean
    autoSizeboolean

    Image
    NameTypeDescription
    siteIdlong
    sourcestring
    fileNamestring
    widthinteger
    heightinteger
    colorDepthinteger
    fileWeightlong
    sharedboolean
    baseColorinteger
    formatenum. Can be [PNG, JPEG, GIF]
    namestring
    datedatetime
    keywordsarray

    PopIn
    NameTypeDescription
    targetBlankboolean
    withOverlayboolean
    closeWithClickOnOverlayboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    TrackingTool
    NameTypeDescription
    typeenum. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    customVariableinteger
    googleAnalyticsTrackerstring
    universalAnalyticsDimensioninteger
    adobeOmnitureObjectstring
    eulerianUserCentricParameterstring
    heatMapPageWidthinteger
    comScoreCustomerIdstring
    comScoreDomainstring
    reportingScriptstring

    ImageInPage
    NameTypeDescription
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    widthstring
    heightstring
    imageImage
    redirectURLstring
    htmlContentstring

    GoogleForm
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    googleFormURLstring
    withOverlayboolean
    closeWithClickOnOverlayboolean
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring

    SocialBar
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    urlToSharestring
    urlTypeenum. Can be [CURRENT, FIXED]
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    orientationenum. Can be [HORIZONTAL, VERTICAL]
    marginTopstring
    marginBottomstring
    marginLeftstring
    marginRightstring

    NewsLetter
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    titleEnabledboolean
    legalNoticeUrlstring
    backgroundColorstring
    confirmationTextstring
    backgroundImageImage
    typeenum. Can be [FORM, SERVICE]
    requestTypeenum. Can be [GET, POST]
    urlstring
    pageUrlstring
    emailKeystring
    overlayEnabledboolean
    outsideCloseboolean
    timerCloseinteger

    StickyBlock
    NameTypeDescription
    targetBlankboolean
    shouldScrollToboolean
    shiftContentboolean
    namestring
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    fontSizestring
    textColorstring
    backgroundColorstring
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    textContentstring
    htmlContentstring
    imageImage
    displayImageConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    animationTypeenum. Can be [NONE, FADE, SLIDER, ZOOM_IN, ZOOM_OUT, BOUNCE]
    animationDirectionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    animationTriggerenum. Can be [ON_OPEN, ON_CLOSE, ON_OPEN_AND_CLOSE, CONTINUOUSLY]
    imageDesktopImage
    widthImageDesktopstring
    heightImageDesktopstring
    imageTabletImage
    widthImageTabletstring
    heightImageTabletstring
    imageMobileImage
    widthImageMobilestring
    heightImageMobilestring
    idTarget2Sellstring
    redirectURLstring
    typeenum. Can be [SINGLE_IMAGE, FULL_IMAGE_TEXT, FULL_TEXT_IMAGE, HTML, TARGET2SELL]
    templateboolean

    EmailAction
    NameTypeDescription
    emailSolutionenum. Can be [CUSTOM, MANDRILL, MAILJET, MAILUP, SMARTFOCUS, MAILPERFORMANCE, EMARSYS, EXPERTSENDER, NONE, CUSTOM_INTEGRATIONS]
    solutionKeystring
    solutionSecretstring
    solutionUrlstring
    customSolutionNamestring
    fetchingMethodenum. Can be [CUSTOM_DATA, SCRIPT, NONE]
    fetchingScriptstring
    customDataIndexinteger
    emailContentSolutionenum. Can be [CUSTOM_TEMPLATE, HTML_CODE, NONE]
    emailTemplateIdstring
    htmlContentstring
    randomTagIdstring
    headerSenderNamestring
    headerSenderEmailstring
    headerReplyEmailstring
    headerEmailSubjectstring
    emailTagsstring
    sendAtOnceboolean
    secondsDelayToSendlong
    neverCancelSendingboolean
    goalCancellingIdlong

    CookieInfoBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    redirectTextstring
    messagestring

    CountDownBanner
    NameTypeDescription
    positionenum. Can be [TOP, BOTTOM, LEFT, RIGHT, CENTER, TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CUSTOM]
    widthstring
    heightstring
    customPositionAxisXstring
    customPositionAxisYstring
    displayPluginConfigurationenum. Can be [DISPLAY_ALL_DEVICES, DISPLAY_ONLY_DESKTOP, DISPLAY_ONLY_TABLET, DISPLAY_ONLY_MOBILE, DISPLAY_DESKTOP_TABLET, DISPLAY_DESKTOP_MOBILE, DISPLAY_TABLET_MOBILE]
    personalizationPluginLocationenum. Can be [INSIDE_PAGES, ABOVE_PAGES]
    redirectURLstring
    positionDefinitionenum. Can be [EDITOR, SELECTOR]
    domElementSelectorstring
    positionSelectorRelativeenum. Can be [REPLACE, BEFORE, AFTER]
    mainPageUrlstring
    textContentstring
    htmlContentstring
    contentTypeenum. Can be [TEXT, HTML]
    yearinteger
    monthinteger
    dayOfMonthinteger
    hourOfDayinteger
    minuteinteger
    secondinteger
    verticalAlignmentTypeenum. Can be [TOP, CENTER, BOTTOM]
    horizontalAlignmentTypeenum. Can be [LEFT, CENTER, RIGHT]
    textColorstring
    backgroundColorstring

    Referrers

    Referrer is an advanced tool that allows you to target visitors according to acquisition methods that lead them to your website. Kameleoon automatically creates 5 default channels: Bing, Baidu, Google, Yahoo and Google Adwords.

    Partial update referrer

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/referrers/{referrerId}"
    {
      "name" : "string",
      "priority" : "1234",
      "tags" : "string",
      "detections" : [ {
        "method" : "string",
        "parameters" : "string",
        "and" : "false",
        "andMethod" : "string",
        "andParameters" : "string"
      } ]
    }
    

    PATCH /referrers/{referrerId}

    Update several fields of a referrer

    Request arguments
    NamePlaceTypeDescription
    referrerIdpathlongreferrerId
    Request body

    ReferrerUpdate
    NameTypeDescription
    namestringThe name of the referrer
    priorityintegerPriority for the given referrer
    tagsstringTags associated with the given referrer
    detectionsarray[ReferrerDetection]

    ReferrerDetection
    NameTypeDescription
    methodstring
    parametersstring
    andboolean
    andMethodstring
    andParametersstring

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "name" : "string",
      "priority" : "1234",
      "tags" : "string",
      "detections" : [ {
        "method" : "string",
        "parameters" : "string",
        "and" : "false",
        "andMethod" : "string",
        "andParameters" : "string"
      } ],
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    Referrer
    NameTypeDescription
    idlongThe unique identifier of the given referrer
    indexintegerThe index of the referrer
    namestringThe name of the referrer
    priorityintegerPriority for the given referrer
    tagsstringTags associated with the given referrer
    detectionsarray[ReferrerDetection]
    creationDatedatetimeDate and time referred is created
    modificationDatedatetimeDate and time referred is modified
    siteIdlongUnique site identifier assigned with the referrer

    ReferrerDetection
    NameTypeDescription
    methodstring
    parametersstring
    andboolean
    andMethodstring
    andParametersstring

    Remove referrer

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/referrers/{referrerId}"
    

    DELETE /referrers/{referrerId}

    Remove referrer with given id

    Request arguments
    NamePlaceTypeDescription
    referrerIdpathlongreferrerId

    Get one referrer

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/referrers/{referrerId}"
    

    GET /referrers/{referrerId}

    Get one referrer with given id

    Request arguments
    NamePlaceTypeDescription
    referrerIdpathlongreferrerId

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "name" : "string",
      "priority" : "1234",
      "tags" : "string",
      "detections" : [ {
        "method" : "string",
        "parameters" : "string",
        "and" : "false",
        "andMethod" : "string",
        "andParameters" : "string"
      } ],
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    Referrer
    NameTypeDescription
    idlongThe unique identifier of the given referrer
    indexintegerThe index of the referrer
    namestringThe name of the referrer
    priorityintegerPriority for the given referrer
    tagsstringTags associated with the given referrer
    detectionsarray[ReferrerDetection]
    creationDatedatetimeDate and time referred is created
    modificationDatedatetimeDate and time referred is modified
    siteIdlongUnique site identifier assigned with the referrer

    ReferrerDetection
    NameTypeDescription
    methodstring
    parametersstring
    andboolean
    andMethodstring
    andParametersstring

    Update referrer

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/referrers/{referrerId}"
    {
      "id" : "123456789",
      "index" : "1234",
      "name" : "string",
      "priority" : "1234",
      "tags" : "string",
      "detections" : [ {
        "method" : "string",
        "parameters" : "string",
        "and" : "false",
        "andMethod" : "string",
        "andParameters" : "string"
      } ],
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    

    PUT /referrers/{referrerId}

    Update referrer with given id

    Request arguments
    NamePlaceTypeDescription
    referrerIdpathlongreferrerId
    Request body

    Referrer
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given referrer
    index
    *read only
    integerThe index of the referrer
    namestringThe name of the referrer
    priorityintegerPriority for the given referrer
    tagsstringTags associated with the given referrer
    detectionsarray[ReferrerDetection]
    creationDate
    *read only
    datetimeDate and time referred is created
    modificationDate
    *read only
    datetimeDate and time referred is modified
    siteIdlongUnique site identifier assigned with the referrer

    ReferrerDetection
    NameTypeDescription
    methodstring
    parametersstring
    andboolean
    andMethodstring
    andParametersstring

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "name" : "string",
      "priority" : "1234",
      "tags" : "string",
      "detections" : [ {
        "method" : "string",
        "parameters" : "string",
        "and" : "false",
        "andMethod" : "string",
        "andParameters" : "string"
      } ],
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    Referrer
    NameTypeDescription
    idlongThe unique identifier of the given referrer
    indexintegerThe index of the referrer
    namestringThe name of the referrer
    priorityintegerPriority for the given referrer
    tagsstringTags associated with the given referrer
    detectionsarray[ReferrerDetection]
    creationDatedatetimeDate and time referred is created
    modificationDatedatetimeDate and time referred is modified
    siteIdlongUnique site identifier assigned with the referrer

    ReferrerDetection
    NameTypeDescription
    methodstring
    parametersstring
    andboolean
    andMethodstring
    andParametersstring

    Create new referrer

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/referrers"
    {
      "id" : "123456789",
      "index" : "1234",
      "name" : "string",
      "priority" : "1234",
      "tags" : "string",
      "detections" : [ {
        "method" : "string",
        "parameters" : "string",
        "and" : "false",
        "andMethod" : "string",
        "andParameters" : "string"
      } ],
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    

    POST /referrers

    Create new referrer with given parameters

    Request body

    Referrer
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given referrer
    index
    *read only
    integerThe index of the referrer
    namestringThe name of the referrer
    priorityintegerPriority for the given referrer
    tagsstringTags associated with the given referrer
    detectionsarray[ReferrerDetection]
    creationDate
    *read only
    datetimeDate and time referred is created
    modificationDate
    *read only
    datetimeDate and time referred is modified
    siteIdlongUnique site identifier assigned with the referrer

    ReferrerDetection
    NameTypeDescription
    methodstring
    parametersstring
    andboolean
    andMethodstring
    andParametersstring

    Example response

    {
      "id" : "123456789",
      "index" : "1234",
      "name" : "string",
      "priority" : "1234",
      "tags" : "string",
      "detections" : [ {
        "method" : "string",
        "parameters" : "string",
        "and" : "false",
        "andMethod" : "string",
        "andParameters" : "string"
      } ],
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    }
    
    Response body

    Referrer
    NameTypeDescription
    idlongThe unique identifier of the given referrer
    indexintegerThe index of the referrer
    namestringThe name of the referrer
    priorityintegerPriority for the given referrer
    tagsstringTags associated with the given referrer
    detectionsarray[ReferrerDetection]
    creationDatedatetimeDate and time referred is created
    modificationDatedatetimeDate and time referred is modified
    siteIdlongUnique site identifier assigned with the referrer

    ReferrerDetection
    NameTypeDescription
    methodstring
    parametersstring
    andboolean
    andMethodstring
    andParametersstring

    List custom referrers

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/referrers"
    

    GET /referrers

    Get list of all referrers

    Example response

    [ {
      "id" : "123456789",
      "index" : "1234",
      "name" : "string",
      "priority" : "1234",
      "tags" : "string",
      "detections" : [ {
        "method" : "string",
        "parameters" : "string",
        "and" : "false",
        "andMethod" : "string",
        "andParameters" : "string"
      } ],
      "creationDate" : "2021-04-07T10:13:22.814277",
      "modificationDate" : "2021-04-07T10:13:22.814277",
      "siteId" : "123456789"
    } ]
    
    Response body

    Referrer
    NameTypeDescription
    idlongThe unique identifier of the given referrer
    indexintegerThe index of the referrer
    namestringThe name of the referrer
    priorityintegerPriority for the given referrer
    tagsstringTags associated with the given referrer
    detectionsarray[ReferrerDetection]
    creationDatedatetimeDate and time referred is created
    modificationDatedatetimeDate and time referred is modified
    siteIdlongUnique site identifier assigned with the referrer

    ReferrerDetection
    NameTypeDescription
    methodstring
    parametersstring
    andboolean
    andMethodstring
    andParametersstring

    Results

    Web personalization consists in offering visitors a tailored experience in order to optimize your conversion rate. Personalization object contains all vital information about a personalization as well as segments and variations used in it.

    poll

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/results"
    

    GET /results

    Request arguments
    NamePlaceTypeDescription
    dataCodequerystringdataCode

    Example response

    {
      "status" : "ERROR",
      "data" : {
        "dataCode" : "string",
        "variationData" : "",
        "ventilationNames" : ""
      }
    }
    
    Response body

    DataRequestResultIO
    NameTypeDescription
    statusenum. Can be [ERROR, READY, WAITING]
    dataDataResultIO

    DataResultIO
    NameTypeDescription
    dataCodestring
    variationDatamap
    ventilationNamesmap

    Segments

    Segmentation helps you precisely target your visitors. You can create, modify and duplicate segments with Segment Builder, a tool in Kameleoon's back office or through our Automation API.

    Partial update segment

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/segments/{segmentId}"
    {
      "name" : "string",
      "description" : "string",
      "audienceTracking" : "false",
      "isFavorite" : "false",
      "tags" : [ "[]" ]
    }
    

    PATCH /segments/{segmentId}

    Update several fields of a segment besides 'conditionData'. Use PUT method to update many conditions. Or use the separate PATCH method to update a single condition

    Request arguments
    NamePlaceTypeDescription
    segmentIdpathlongsegmentId
    Request body

    SegmentUpdate
    NameTypeDescription
    namestringName of segment
    descriptionstringDescription of segment
    audienceTrackingbooleanSegment is used in audience
    isFavoriteboolean
    tagsarray

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "description" : "string",
      "conditionsData" : {
        "firstLevelOrOperators" : [ "[]" ],
        "firstLevel" : [ {
          "orOperators" : [ "[]" ],
          "conditions" : [ {
            "id" : "123456789",
            "targetingType" : "PAGE_URL",
            "weight" : "1234"
          } ]
        } ]
      },
      "siteId" : "123456789",
      "audienceTracking" : "false",
      "audienceTrackingEditable" : "false",
      "isFavorite" : "false",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    
    Response body

    Segment
    NameTypeDescription
    idlongUnique identifier of segment
    namestringName of segment
    descriptionstringDescription of segment
    conditionsDataConditionsDataConditions by which visitors will be segmented
    siteIdlongUnique identifier of site for which the segment is going to be or was created
    audienceTrackingbooleanSegment is used in audience
    audienceTrackingEditablebooleanThis flag shows if audienceTracking can be enabled/disabled. In some cases, audienceTracking can't be disabled. E.g. a segment has predictive conditions, such segments are tracked by default.
    isFavoritebooleanIndicates whether the segment is considered as favorite.
    dateCreateddatetime
    dateModifieddatetime
    tagsarray
    experimentAmountlongNumber of experiments using this segment. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this segment. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this segment. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this segment. This is an optional field needs to specify in request params.

    ConditionsData
    NameTypeDescription
    firstLevelOrOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding firstLevel outer conditions.
    firstLevelarray[FirstLevel]First level conditions. Every level can have many conditions inside. E.g. we have 'firstLevelOrOperators' = [true], 'firstLevel'=[{OrOperators:[false], conditions: [SKY_STATUS, DAY_NIGHT]}, {OrOperators:[true], conditions: [PAGE_TITLE, NEW_VISITORS]}]. Then the expression will look like (SKY_STATUS AND DAY_NIGHT) OR (PAGE_TITLE OR NEW_VISITORS)

    TargetingCondition
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    FirstLevel
    NameTypeDescription
    orOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding conditions of second level.
    conditionsarray[TargetingCondition]Add conditions (see TargetingConditionIO) to define a segment. The more conditions you add, the more precise your segment will be.

    ORIGIN_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    trafficTypeenumTraffic type. Can be [SEO, SEM, AFFILIATION, EMAIL, DIRECT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DOM_ELEMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    elementTypeenumType of element on the page. If the field is 'SINGLE' the field 'elementValue' should be specified. Can be [SINGLE, ANY_MODIFIED]
    elementValuestringElement on the page (id, class, ...) if 'elementType' is SINGLE.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BelongingPriceParams
    NameTypeDescription
    valueintegerTo which fraction of products the product belongs
    productWayOfCountingenumHow to count 'value'?. Can be [PERCENT, COUNTS]
    priceCategoryenum. Can be [EXPENSIVE, CHEAP]
    areaOfPriceMatchingenum. Can be [ALL_CATALOGUE, SPECIFIC_CATEGORIES, SPECIFIC_PRODUCTS]
    productEanstringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_PRODUCTS'
    categorystringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_CATEGORIES'

    SCREEN_DIMENSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    widthintegerShould be specified if 'widthMatchType' is not 'INCLUDE'
    widthLowerBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthUpperBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthMatchTypeenumHow to match the specified width. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    heightintegerShould be specified if 'heightMatchType' is not 'INCLUDE'
    heightLowerBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightUpperBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightMatchTypeenumHow to match the specified height. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SAME_DAY_VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerNumber of visits for today
    matchTypeenumHow to match the specified amount of time. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincedatetimeSince date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    todatetimeTo date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERNAL_SEARCH_KEYWORDS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyWordIndexstringValue can be the index of a specific key word. Or 'ANY' to segment visitors by presence of any key word
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_SINCE_PAGE_LOAD
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define time since a page load. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    countMatchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EVENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    eventstringCustom event

    NUMBER_OF_VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    categorystringProduct category
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    HOUR_MINUTE_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincestringSince time. Time format: hh:MM
    tostringTo time. Time format: hh:MM
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LANDING_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringLanding URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITOR_IP
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    ipstringExact visitor ip address
    secondIpstringSecond exact visitor ip address
    ipLowerBoundstringLower bound of ip addresses range. If visitor ip match or is more than the bound it will be included in or excluded from the segment.If the field is filled then 'ipUpperBound' has to be filled too
    ipUpperBoundstringUpper bound of ip addresses range. If visitor ip match or is less than the bound it will included in or excluded from the segment.If the field is filled then 'ipLowerBound' has to be filled too
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_NIGHT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayPeriodenum. Can be [DAY, NIGHT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    productEanstringPages of which product should be visited?
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    NEW_VISITORS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitorsTypeenum. Can be [NEW, RETURNING]

    FORECAST_TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is not 'INCLUDE'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    forecastDaysintegerAmount of days which should meet the specified value of temperature. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FORECAST_SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    forecastDaysintegerAmount of days which should meet the specified 'skyStatus' or 'skyStatusGroup'. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DEVICE_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    deviceenum. Can be [DESKTOP, TABLET, PHONE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_AUDIENCE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    audiencesarray[TealiumAudience]List of tealium audiences
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    GEOLOCATION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countrystringVisitor's country
    regionstringVisitor's region
    citystringVisitor's city
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    JS_CODE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    jsCodestringCustom JavaScript condition
    appliedenumRun js code after DOM ready or immediate? Default value: DOM_READY. Can be [DOM_READY, IMMEDIATE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_BADGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    badgesarray[TealiumBadge]List of tealium badges
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_ATTRIBUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    attributestringYsance attribute
    valuestringAttribute value
    valueMatchTypeenumHow to match the specified attribute value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    COOKIE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    namestringCookie name
    valuestringCookie value
    nameMatchTypeenumHow to match the specified cookie name. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    valueMatchTypeenumHow to match the specified cookie value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_SEGMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    segmentsarrayYsance segments
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_OF_WEEK
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayenum. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_TITLE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    titlestringTitle template
    matchTypeenumHow to match the specified title. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PriceChangeParams
    NameTypeDescription
    changeDurationenumTime range when the price of the product changed. Can be [ONE_WEEK, TWO_WEEKS, ONE_MONTH, SINCE_DATE, BETWEEN_TWO_DATES, DATE_RANGE]
    firstDatedatetimeHas to be specified if 'changeDuration' is 'SINCE_DATE', 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondDatedatetimeHas to be specified if 'changeDuration' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    changeMatchTypeenumHow to match price change. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    firstChangeValuedoubleTo this value selected 'changeMatchType' will be applied
    firstChangeCurrencyenum. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]
    secondChangeValuedoubleHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondChangeCurrencyenumHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]

    HEAT_SLICE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    lowerBoundintegerLower bound of the probability in percents. Max value: 100
    upperBoundintegerUpper bound of the probability in percents. Max value: 100
    goalIdlongUnique identifier of a goal
    keyMomentIdlongUnique identifier of a key moment
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    browserenumThe type of browser visitors are using. Can be [CHROME, FIREFOX, SAFARI, IE, OPERA]
    versionstringBrowser version
    versionMatchTypeenumHow to match the specified version of the browser. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PRICE_OF_DISPLAYED_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ExactPriceParams
    NameTypeDescription
    priceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    valuestringDepending on 'priceCalculationType' here has to be exact price value

    TealiumBadge
    NameTypeDescription
    idlongBadge unique identifier
    namestringBadge name

    PREVIOUS_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringPrevious page URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    KEY_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyPageIndexstringValue can be the index of a specific key page. Or 'ANY' to segment visitors by presence of any key page
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CONVERSIONS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal. If the fields is not specified then visits during which an any goal was reached will be included or excluded
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FIRST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the first visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BetweenPriceParams
    NameTypeDescription
    firstPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    firstValuestringDepending on 'priceCalculationType' here has to be exact price value
    secondPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    secondValuestringDepending on 'priceCalculationType' here has to be exact price value

    PAGE_VIEWS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    pageCountintegerNumber of page views
    matchTypeenumHow to match the specified amount of pages. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ORIGIN
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringReferring website URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER_LANGUAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    languagestringBrowser language code in ISO 639-1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EXPERIMENTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is 'EQUAL'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ACTIVE_SESSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define if sessions are active for the required duration. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    AD_BLOCKER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    OPERATING_SYSTEM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    osenum. Can be [WINDOWS, LINUX, MAC, WINDOWS_PHONE, ANDROID, IOS]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS_BY_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    periodenumPer what period of time visits should be considered. Can be [VISIT, VISITOR, HOUR, DAY, MONTH]
    countintegerAmount of visits
    countMatchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERESTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    interestIndexstringValue can be the index of specific interest. Or 'ANY' to segment visitors by presence of any interest
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerTotal amount of visits
    matchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CUSTOM_DATUM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    customDataIndexstringValue can be the index of specific custom data. Or 'ANY' to segment visitors by presence of any custom data
    valuestringValue which was retrieved by specified custom data
    valueMatchTypeenumHow to match the retrieved value? Depends on specified format of data retrieved by the custom data. Can be [TRUE, FALSE, EXACT, CONTAINS, REGULAR_EXPRESSION, EQUAL, LOWER, GREATER, UNDEFINED]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    MOUSE_OUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    CONVERSION_PROBABILITY
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal expected to be converted
    probabilityenumApproximate or exact probability of conversion of the goal. For the values 'BETWEEN', 'GREATER' and 'LOWER', the fields 'percents' or 'percentsLowerBound' and 'percentsUpperBound' should be specified. Can be [HIGH, SOMEWHAT_HIGH, LOW, VERY_LOW, BETWEEN, GREATER, LOWER]
    percentsintegerShould be specified if the value of the field 'probability' is 'GREATER' or 'LOWER'
    percentsLowerBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    percentsUpperBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_URL
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringURL template
    matchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    REFERRERS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    referrerIndexstringValue can be the index of a specific referrer. Or 'ANY' to segment visitors by presence of any referrer
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TealiumAudience
    NameTypeDescription
    idstringAudience unique identifier
    namestringAudience name

    TABS_ON_SITE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    tabCountintegerNumber of tabs opened
    matchTypeenumHow to match the specified amount of tabs. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LAST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the last visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    Remove segment

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/segments/{segmentId}"
    

    DELETE /segments/{segmentId}

    Remove segment with given id

    Request arguments
    NamePlaceTypeDescription
    segmentIdpathlongsegmentId

    Get one segment

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/segments/{segmentId}"
    

    GET /segments/{segmentId}

    Get one segment with given id

    Request arguments
    NamePlaceTypeDescription
    segmentIdpathlongsegmentId
    optionalFieldsqueryarrayoptionalFields

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "description" : "string",
      "conditionsData" : {
        "firstLevelOrOperators" : [ "[]" ],
        "firstLevel" : [ {
          "orOperators" : [ "[]" ],
          "conditions" : [ {
            "id" : "123456789",
            "targetingType" : "PAGE_URL",
            "weight" : "1234"
          } ]
        } ]
      },
      "siteId" : "123456789",
      "audienceTracking" : "false",
      "audienceTrackingEditable" : "false",
      "isFavorite" : "false",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    
    Response body

    Segment
    NameTypeDescription
    idlongUnique identifier of segment
    namestringName of segment
    descriptionstringDescription of segment
    conditionsDataConditionsDataConditions by which visitors will be segmented
    siteIdlongUnique identifier of site for which the segment is going to be or was created
    audienceTrackingbooleanSegment is used in audience
    audienceTrackingEditablebooleanThis flag shows if audienceTracking can be enabled/disabled. In some cases, audienceTracking can't be disabled. E.g. a segment has predictive conditions, such segments are tracked by default.
    isFavoritebooleanIndicates whether the segment is considered as favorite.
    dateCreateddatetime
    dateModifieddatetime
    tagsarray
    experimentAmountlongNumber of experiments using this segment. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this segment. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this segment. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this segment. This is an optional field needs to specify in request params.

    ConditionsData
    NameTypeDescription
    firstLevelOrOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding firstLevel outer conditions.
    firstLevelarray[FirstLevel]First level conditions. Every level can have many conditions inside. E.g. we have 'firstLevelOrOperators' = [true], 'firstLevel'=[{OrOperators:[false], conditions: [SKY_STATUS, DAY_NIGHT]}, {OrOperators:[true], conditions: [PAGE_TITLE, NEW_VISITORS]}]. Then the expression will look like (SKY_STATUS AND DAY_NIGHT) OR (PAGE_TITLE OR NEW_VISITORS)

    TargetingCondition
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    FirstLevel
    NameTypeDescription
    orOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding conditions of second level.
    conditionsarray[TargetingCondition]Add conditions (see TargetingConditionIO) to define a segment. The more conditions you add, the more precise your segment will be.

    ORIGIN_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    trafficTypeenumTraffic type. Can be [SEO, SEM, AFFILIATION, EMAIL, DIRECT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DOM_ELEMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    elementTypeenumType of element on the page. If the field is 'SINGLE' the field 'elementValue' should be specified. Can be [SINGLE, ANY_MODIFIED]
    elementValuestringElement on the page (id, class, ...) if 'elementType' is SINGLE.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BelongingPriceParams
    NameTypeDescription
    valueintegerTo which fraction of products the product belongs
    productWayOfCountingenumHow to count 'value'?. Can be [PERCENT, COUNTS]
    priceCategoryenum. Can be [EXPENSIVE, CHEAP]
    areaOfPriceMatchingenum. Can be [ALL_CATALOGUE, SPECIFIC_CATEGORIES, SPECIFIC_PRODUCTS]
    productEanstringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_PRODUCTS'
    categorystringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_CATEGORIES'

    SCREEN_DIMENSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    widthintegerShould be specified if 'widthMatchType' is not 'INCLUDE'
    widthLowerBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthUpperBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthMatchTypeenumHow to match the specified width. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    heightintegerShould be specified if 'heightMatchType' is not 'INCLUDE'
    heightLowerBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightUpperBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightMatchTypeenumHow to match the specified height. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SAME_DAY_VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerNumber of visits for today
    matchTypeenumHow to match the specified amount of time. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincedatetimeSince date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    todatetimeTo date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERNAL_SEARCH_KEYWORDS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyWordIndexstringValue can be the index of a specific key word. Or 'ANY' to segment visitors by presence of any key word
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_SINCE_PAGE_LOAD
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define time since a page load. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    countMatchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EVENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    eventstringCustom event

    NUMBER_OF_VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    categorystringProduct category
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    HOUR_MINUTE_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincestringSince time. Time format: hh:MM
    tostringTo time. Time format: hh:MM
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LANDING_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringLanding URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITOR_IP
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    ipstringExact visitor ip address
    secondIpstringSecond exact visitor ip address
    ipLowerBoundstringLower bound of ip addresses range. If visitor ip match or is more than the bound it will be included in or excluded from the segment.If the field is filled then 'ipUpperBound' has to be filled too
    ipUpperBoundstringUpper bound of ip addresses range. If visitor ip match or is less than the bound it will included in or excluded from the segment.If the field is filled then 'ipLowerBound' has to be filled too
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_NIGHT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayPeriodenum. Can be [DAY, NIGHT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    productEanstringPages of which product should be visited?
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    NEW_VISITORS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitorsTypeenum. Can be [NEW, RETURNING]

    FORECAST_TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is not 'INCLUDE'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    forecastDaysintegerAmount of days which should meet the specified value of temperature. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FORECAST_SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    forecastDaysintegerAmount of days which should meet the specified 'skyStatus' or 'skyStatusGroup'. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DEVICE_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    deviceenum. Can be [DESKTOP, TABLET, PHONE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_AUDIENCE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    audiencesarray[TealiumAudience]List of tealium audiences
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    GEOLOCATION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countrystringVisitor's country
    regionstringVisitor's region
    citystringVisitor's city
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    JS_CODE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    jsCodestringCustom JavaScript condition
    appliedenumRun js code after DOM ready or immediate? Default value: DOM_READY. Can be [DOM_READY, IMMEDIATE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_BADGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    badgesarray[TealiumBadge]List of tealium badges
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_ATTRIBUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    attributestringYsance attribute
    valuestringAttribute value
    valueMatchTypeenumHow to match the specified attribute value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    COOKIE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    namestringCookie name
    valuestringCookie value
    nameMatchTypeenumHow to match the specified cookie name. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    valueMatchTypeenumHow to match the specified cookie value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_SEGMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    segmentsarrayYsance segments
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_OF_WEEK
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayenum. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_TITLE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    titlestringTitle template
    matchTypeenumHow to match the specified title. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PriceChangeParams
    NameTypeDescription
    changeDurationenumTime range when the price of the product changed. Can be [ONE_WEEK, TWO_WEEKS, ONE_MONTH, SINCE_DATE, BETWEEN_TWO_DATES, DATE_RANGE]
    firstDatedatetimeHas to be specified if 'changeDuration' is 'SINCE_DATE', 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondDatedatetimeHas to be specified if 'changeDuration' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    changeMatchTypeenumHow to match price change. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    firstChangeValuedoubleTo this value selected 'changeMatchType' will be applied
    firstChangeCurrencyenum. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]
    secondChangeValuedoubleHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondChangeCurrencyenumHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]

    HEAT_SLICE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    lowerBoundintegerLower bound of the probability in percents. Max value: 100
    upperBoundintegerUpper bound of the probability in percents. Max value: 100
    goalIdlongUnique identifier of a goal
    keyMomentIdlongUnique identifier of a key moment
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    browserenumThe type of browser visitors are using. Can be [CHROME, FIREFOX, SAFARI, IE, OPERA]
    versionstringBrowser version
    versionMatchTypeenumHow to match the specified version of the browser. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PRICE_OF_DISPLAYED_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ExactPriceParams
    NameTypeDescription
    priceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    valuestringDepending on 'priceCalculationType' here has to be exact price value

    TealiumBadge
    NameTypeDescription
    idlongBadge unique identifier
    namestringBadge name

    PREVIOUS_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringPrevious page URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    KEY_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyPageIndexstringValue can be the index of a specific key page. Or 'ANY' to segment visitors by presence of any key page
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CONVERSIONS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal. If the fields is not specified then visits during which an any goal was reached will be included or excluded
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FIRST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the first visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BetweenPriceParams
    NameTypeDescription
    firstPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    firstValuestringDepending on 'priceCalculationType' here has to be exact price value
    secondPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    secondValuestringDepending on 'priceCalculationType' here has to be exact price value

    PAGE_VIEWS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    pageCountintegerNumber of page views
    matchTypeenumHow to match the specified amount of pages. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ORIGIN
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringReferring website URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER_LANGUAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    languagestringBrowser language code in ISO 639-1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EXPERIMENTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is 'EQUAL'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ACTIVE_SESSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define if sessions are active for the required duration. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    AD_BLOCKER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    OPERATING_SYSTEM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    osenum. Can be [WINDOWS, LINUX, MAC, WINDOWS_PHONE, ANDROID, IOS]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS_BY_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    periodenumPer what period of time visits should be considered. Can be [VISIT, VISITOR, HOUR, DAY, MONTH]
    countintegerAmount of visits
    countMatchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERESTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    interestIndexstringValue can be the index of specific interest. Or 'ANY' to segment visitors by presence of any interest
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerTotal amount of visits
    matchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CUSTOM_DATUM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    customDataIndexstringValue can be the index of specific custom data. Or 'ANY' to segment visitors by presence of any custom data
    valuestringValue which was retrieved by specified custom data
    valueMatchTypeenumHow to match the retrieved value? Depends on specified format of data retrieved by the custom data. Can be [TRUE, FALSE, EXACT, CONTAINS, REGULAR_EXPRESSION, EQUAL, LOWER, GREATER, UNDEFINED]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    MOUSE_OUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    CONVERSION_PROBABILITY
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal expected to be converted
    probabilityenumApproximate or exact probability of conversion of the goal. For the values 'BETWEEN', 'GREATER' and 'LOWER', the fields 'percents' or 'percentsLowerBound' and 'percentsUpperBound' should be specified. Can be [HIGH, SOMEWHAT_HIGH, LOW, VERY_LOW, BETWEEN, GREATER, LOWER]
    percentsintegerShould be specified if the value of the field 'probability' is 'GREATER' or 'LOWER'
    percentsLowerBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    percentsUpperBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_URL
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringURL template
    matchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    REFERRERS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    referrerIndexstringValue can be the index of a specific referrer. Or 'ANY' to segment visitors by presence of any referrer
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TealiumAudience
    NameTypeDescription
    idstringAudience unique identifier
    namestringAudience name

    TABS_ON_SITE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    tabCountintegerNumber of tabs opened
    matchTypeenumHow to match the specified amount of tabs. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LAST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the last visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    Update segment

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/segments/{segmentId}"
    {
      "id" : "123456789",
      "name" : "string",
      "description" : "string",
      "conditionsData" : {
        "firstLevelOrOperators" : [ "[]" ],
        "firstLevel" : [ {
          "orOperators" : [ "[]" ],
          "conditions" : [ {
            "id" : "123456789",
            "targetingType" : "PAGE_URL",
            "weight" : "1234"
          } ]
        } ]
      },
      "siteId" : "123456789",
      "audienceTracking" : "false",
      "audienceTrackingEditable" : "false",
      "isFavorite" : "false",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    

    PUT /segments/{segmentId}

    Update segment with given id

    Request arguments
    NamePlaceTypeDescription
    segmentIdpathlongsegmentId
    Request body

    Segment
    NameTypeDescription
    id
    *read only
    longUnique identifier of segment
    name
    *required
    stringName of segment
    descriptionstringDescription of segment
    conditionsDataConditionsDataConditions by which visitors will be segmented
    siteId
    *required
    longUnique identifier of site for which the segment is going to be or was created
    audienceTrackingbooleanSegment is used in audience
    audienceTrackingEditable
    *read only
    booleanThis flag shows if audienceTracking can be enabled/disabled. In some cases, audienceTracking can't be disabled. E.g. a segment has predictive conditions, such segments are tracked by default.
    isFavoritebooleanIndicates whether the segment is considered as favorite.
    dateCreated
    *read only
    datetime
    dateModified
    *read only
    datetime
    tagsarray
    experimentAmount
    *read only
    longNumber of experiments using this segment. This is an optional field needs to specify in request params.
    personalizationAmount
    *read only
    longNumber of personalizations using this segment. This is an optional field needs to specify in request params.
    experiments
    *read only
    arrayList of experiment ids using this segment. This is an optional field needs to specify in request params.
    personalizations
    *read only
    arrayList of personalization ids using this segment. This is an optional field needs to specify in request params.

    ConditionsData
    NameTypeDescription
    firstLevelOrOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding firstLevel outer conditions.
    firstLevelarray[FirstLevel]First level conditions. Every level can have many conditions inside. E.g. we have 'firstLevelOrOperators' = [true], 'firstLevel'=[{OrOperators:[false], conditions: [SKY_STATUS, DAY_NIGHT]}, {OrOperators:[true], conditions: [PAGE_TITLE, NEW_VISITORS]}]. Then the expression will look like (SKY_STATUS AND DAY_NIGHT) OR (PAGE_TITLE OR NEW_VISITORS)

    TargetingCondition
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1

    FirstLevel
    NameTypeDescription
    orOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding conditions of second level.
    conditionsarray[TargetingCondition]Add conditions (see TargetingConditionIO) to define a segment. The more conditions you add, the more precise your segment will be.

    ORIGIN_TYPE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    trafficType
    *required
    enumTraffic type. Can be [SEO, SEM, AFFILIATION, EMAIL, DIRECT]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DOM_ELEMENT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    elementType
    *required
    enumType of element on the page. If the field is 'SINGLE' the field 'elementValue' should be specified. Can be [SINGLE, ANY_MODIFIED]
    elementValuestringElement on the page (id, class, ...) if 'elementType' is SINGLE.
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BelongingPriceParams
    NameTypeDescription
    value
    *required
    integerTo which fraction of products the product belongs
    productWayOfCounting
    *required
    enumHow to count 'value'?. Can be [PERCENT, COUNTS]
    priceCategory
    *required
    enum. Can be [EXPENSIVE, CHEAP]
    areaOfPriceMatching
    *required
    enum. Can be [ALL_CATALOGUE, SPECIFIC_CATEGORIES, SPECIFIC_PRODUCTS]
    productEanstringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_PRODUCTS'
    categorystringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_CATEGORIES'

    SCREEN_DIMENSION
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    widthintegerShould be specified if 'widthMatchType' is not 'INCLUDE'
    widthLowerBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthUpperBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthMatchType
    *required
    enumHow to match the specified width. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    heightintegerShould be specified if 'heightMatchType' is not 'INCLUDE'
    heightLowerBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightUpperBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightMatchType
    *required
    enumHow to match the specified height. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SKY_STATUS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SAME_DAY_VISITS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    visitCount
    *required
    integerNumber of visits for today
    matchType
    *required
    enumHow to match the specified amount of time. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_RANGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    since
    *required
    datetimeSince date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    to
    *required
    datetimeTo date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERNAL_SEARCH_KEYWORDS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    keyWordIndex
    *required
    stringValue can be the index of a specific key word. Or 'ANY' to segment visitors by presence of any key word
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_SINCE_PAGE_LOAD
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumWhat unit of measurements will be used to define time since a page load. Can be [SECOND, MINUTE, HOUR, DAY]
    count
    *required
    integerCount of time elapsed since session became active according to the 'unitOfTime' field
    countMatchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    url
    *required
    stringURL template
    urlMatchType
    *required
    enumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EVENT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    event
    *required
    stringCustom event

    NUMBER_OF_VISITED_PAGES
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    countOfPages
    *required
    integerAmount of visited pages
    countOfPagesMatchType
    *required
    enumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    categorystringProduct category
    priceMatchType
    *required
    enumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    HOUR_MINUTE_RANGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    since
    *required
    stringSince time. Time format: hh:MM
    to
    *required
    stringTo time. Time format: hh:MM
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LANDING_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringLanding URL template
    matchType
    *required
    enumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITOR_IP
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    ipstringExact visitor ip address
    secondIpstringSecond exact visitor ip address
    ipLowerBoundstringLower bound of ip addresses range. If visitor ip match or is more than the bound it will be included in or excluded from the segment.If the field is filled then 'ipUpperBound' has to be filled too
    ipUpperBoundstringUpper bound of ip addresses range. If visitor ip match or is less than the bound it will included in or excluded from the segment.If the field is filled then 'ipLowerBound' has to be filled too
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_NIGHT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    dayPeriod
    *required
    enum. Can be [DAY, NIGHT]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITED_PAGES
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    countOfPages
    *required
    integerAmount of visited pages
    countOfPagesMatchType
    *required
    enumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    productEanstringPages of which product should be visited?
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    NEW_VISITORS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    visitorsType
    *required
    enum. Can be [NEW, RETURNING]

    FORECAST_TEMPERATURE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is not 'INCLUDE'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    temperatureMatchType
    *required
    enumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    forecastDays
    *required
    integerAmount of days which should meet the specified value of temperature. This value can't be more than 'daysRange'
    daysRange
    *required
    integerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchType
    *required
    enumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FORECAST_SKY_STATUS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    forecastDays
    *required
    integerAmount of days which should meet the specified 'skyStatus' or 'skyStatusGroup'. This value can't be more than 'daysRange'
    daysRange
    *required
    integerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchType
    *required
    enumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DEVICE_TYPE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    device
    *required
    enum. Can be [DESKTOP, TABLET, PHONE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_AUDIENCE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    audiences
    *required
    array[TealiumAudience]List of tealium audiences
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    GEOLOCATION
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    country
    *required
    stringVisitor's country
    regionstringVisitor's region
    citystringVisitor's city
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    JS_CODE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    jsCode
    *required
    stringCustom JavaScript condition
    applied
    *required
    enumRun js code after DOM ready or immediate? Default value: DOM_READY. Can be [DOM_READY, IMMEDIATE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_BADGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    badges
    *required
    array[TealiumBadge]List of tealium badges
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_ATTRIBUT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    attribute
    *required
    stringYsance attribute
    value
    *required
    stringAttribute value
    valueMatchType
    *required
    enumHow to match the specified attribute value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    COOKIE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    name
    *required
    stringCookie name
    value
    *required
    stringCookie value
    nameMatchType
    *required
    enumHow to match the specified cookie name. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    valueMatchType
    *required
    enumHow to match the specified cookie value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_SEGMENT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    segments
    *required
    arrayYsance segments
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_OF_WEEK
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    day
    *required
    enum. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_TITLE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    title
    *required
    stringTitle template
    matchType
    *required
    enumHow to match the specified title. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PriceChangeParams
    NameTypeDescription
    changeDuration
    *required
    enumTime range when the price of the product changed. Can be [ONE_WEEK, TWO_WEEKS, ONE_MONTH, SINCE_DATE, BETWEEN_TWO_DATES, DATE_RANGE]
    firstDatedatetimeHas to be specified if 'changeDuration' is 'SINCE_DATE', 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondDatedatetimeHas to be specified if 'changeDuration' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    changeMatchType
    *required
    enumHow to match price change. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    firstChangeValue
    *required
    doubleTo this value selected 'changeMatchType' will be applied
    firstChangeCurrency
    *required
    enum. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]
    secondChangeValuedoubleHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondChangeCurrencyenumHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]

    HEAT_SLICE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    lowerBound
    *required
    integerLower bound of the probability in percents. Max value: 100
    upperBound
    *required
    integerUpper bound of the probability in percents. Max value: 100
    goalId
    *required
    longUnique identifier of a goal
    keyMomentId
    *required
    longUnique identifier of a key moment
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    browser
    *required
    enumThe type of browser visitors are using. Can be [CHROME, FIREFOX, SAFARI, IE, OPERA]
    versionstringBrowser version
    versionMatchType
    *required
    enumHow to match the specified version of the browser. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PRICE_OF_DISPLAYED_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    priceMatchType
    *required
    enumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ExactPriceParams
    NameTypeDescription
    priceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    valuestringDepending on 'priceCalculationType' here has to be exact price value

    TealiumBadge
    NameTypeDescription
    id
    *required
    longBadge unique identifier
    name
    *required
    stringBadge name

    PREVIOUS_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringPrevious page URL template
    matchType
    *required
    enumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    KEY_PAGES
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    keyPageIndex
    *required
    stringValue can be the index of a specific key page. Or 'ANY' to segment visitors by presence of any key page
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CONVERSIONS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal. If the fields is not specified then visits during which an any goal was reached will be included or excluded
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FIRST_VISIT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    count
    *required
    integerCount of time elapsed since the first visit according to the 'unitOfTime' field
    matchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BetweenPriceParams
    NameTypeDescription
    firstPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    firstValuestringDepending on 'priceCalculationType' here has to be exact price value
    secondPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    secondValuestringDepending on 'priceCalculationType' here has to be exact price value

    PAGE_VIEWS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    pageCount
    *required
    integerNumber of page views
    matchType
    *required
    enumHow to match the specified amount of pages. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ORIGIN
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringReferring website URL template
    matchType
    *required
    enumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER_LANGUAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    language
    *required
    stringBrowser language code in ISO 639-1
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EXPERIMENTS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1

    TEMPERATURE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is 'EQUAL'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    temperatureMatchType
    *required
    enumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ACTIVE_SESSION
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumWhat unit of measurements will be used to define if sessions are active for the required duration. Can be [SECOND, MINUTE, HOUR, DAY]
    count
    *required
    integerCount of time elapsed since session became active according to the 'unitOfTime' field
    matchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    AD_BLOCKER
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    OPERATING_SYSTEM
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    os
    *required
    enum. Can be [WINDOWS, LINUX, MAC, WINDOWS_PHONE, ANDROID, IOS]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS_BY_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    period
    *required
    enumPer what period of time visits should be considered. Can be [VISIT, VISITOR, HOUR, DAY, MONTH]
    count
    *required
    integerAmount of visits
    countMatchType
    *required
    enumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    url
    *required
    stringURL template
    urlMatchType
    *required
    enumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERESTS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    interestIndex
    *required
    stringValue can be the index of specific interest. Or 'ANY' to segment visitors by presence of any interest
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    visitCount
    *required
    integerTotal amount of visits
    matchType
    *required
    enumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CUSTOM_DATUM
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    customDataIndex
    *required
    stringValue can be the index of specific custom data. Or 'ANY' to segment visitors by presence of any custom data
    valuestringValue which was retrieved by specified custom data
    valueMatchType
    *required
    enumHow to match the retrieved value? Depends on specified format of data retrieved by the custom data. Can be [TRUE, FALSE, EXACT, CONTAINS, REGULAR_EXPRESSION, EQUAL, LOWER, GREATER, UNDEFINED]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    MOUSE_OUT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1

    CONVERSION_PROBABILITY
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    goalId
    *required
    longUnique identifier of a goal expected to be converted
    probability
    *required
    enumApproximate or exact probability of conversion of the goal. For the values 'BETWEEN', 'GREATER' and 'LOWER', the fields 'percents' or 'percentsLowerBound' and 'percentsUpperBound' should be specified. Can be [HIGH, SOMEWHAT_HIGH, LOW, VERY_LOW, BETWEEN, GREATER, LOWER]
    percentsintegerShould be specified if the value of the field 'probability' is 'GREATER' or 'LOWER'
    percentsLowerBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    percentsUpperBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_URL
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringURL template
    matchType
    *required
    enumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    REFERRERS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    referrerIndexstringValue can be the index of a specific referrer. Or 'ANY' to segment visitors by presence of any referrer
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TealiumAudience
    NameTypeDescription
    id
    *required
    stringAudience unique identifier
    name
    *required
    stringAudience name

    TABS_ON_SITE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    tabCount
    *required
    integerNumber of tabs opened
    matchType
    *required
    enumHow to match the specified amount of tabs. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LAST_VISIT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    count
    *required
    integerCount of time elapsed since the last visit according to the 'unitOfTime' field
    matchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "description" : "string",
      "conditionsData" : {
        "firstLevelOrOperators" : [ "[]" ],
        "firstLevel" : [ {
          "orOperators" : [ "[]" ],
          "conditions" : [ {
            "id" : "123456789",
            "targetingType" : "PAGE_URL",
            "weight" : "1234"
          } ]
        } ]
      },
      "siteId" : "123456789",
      "audienceTracking" : "false",
      "audienceTrackingEditable" : "false",
      "isFavorite" : "false",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    
    Response body

    Segment
    NameTypeDescription
    idlongUnique identifier of segment
    namestringName of segment
    descriptionstringDescription of segment
    conditionsDataConditionsDataConditions by which visitors will be segmented
    siteIdlongUnique identifier of site for which the segment is going to be or was created
    audienceTrackingbooleanSegment is used in audience
    audienceTrackingEditablebooleanThis flag shows if audienceTracking can be enabled/disabled. In some cases, audienceTracking can't be disabled. E.g. a segment has predictive conditions, such segments are tracked by default.
    isFavoritebooleanIndicates whether the segment is considered as favorite.
    dateCreateddatetime
    dateModifieddatetime
    tagsarray
    experimentAmountlongNumber of experiments using this segment. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this segment. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this segment. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this segment. This is an optional field needs to specify in request params.

    ConditionsData
    NameTypeDescription
    firstLevelOrOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding firstLevel outer conditions.
    firstLevelarray[FirstLevel]First level conditions. Every level can have many conditions inside. E.g. we have 'firstLevelOrOperators' = [true], 'firstLevel'=[{OrOperators:[false], conditions: [SKY_STATUS, DAY_NIGHT]}, {OrOperators:[true], conditions: [PAGE_TITLE, NEW_VISITORS]}]. Then the expression will look like (SKY_STATUS AND DAY_NIGHT) OR (PAGE_TITLE OR NEW_VISITORS)

    TargetingCondition
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    FirstLevel
    NameTypeDescription
    orOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding conditions of second level.
    conditionsarray[TargetingCondition]Add conditions (see TargetingConditionIO) to define a segment. The more conditions you add, the more precise your segment will be.

    ORIGIN_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    trafficTypeenumTraffic type. Can be [SEO, SEM, AFFILIATION, EMAIL, DIRECT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DOM_ELEMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    elementTypeenumType of element on the page. If the field is 'SINGLE' the field 'elementValue' should be specified. Can be [SINGLE, ANY_MODIFIED]
    elementValuestringElement on the page (id, class, ...) if 'elementType' is SINGLE.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BelongingPriceParams
    NameTypeDescription
    valueintegerTo which fraction of products the product belongs
    productWayOfCountingenumHow to count 'value'?. Can be [PERCENT, COUNTS]
    priceCategoryenum. Can be [EXPENSIVE, CHEAP]
    areaOfPriceMatchingenum. Can be [ALL_CATALOGUE, SPECIFIC_CATEGORIES, SPECIFIC_PRODUCTS]
    productEanstringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_PRODUCTS'
    categorystringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_CATEGORIES'

    SCREEN_DIMENSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    widthintegerShould be specified if 'widthMatchType' is not 'INCLUDE'
    widthLowerBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthUpperBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthMatchTypeenumHow to match the specified width. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    heightintegerShould be specified if 'heightMatchType' is not 'INCLUDE'
    heightLowerBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightUpperBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightMatchTypeenumHow to match the specified height. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SAME_DAY_VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerNumber of visits for today
    matchTypeenumHow to match the specified amount of time. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincedatetimeSince date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    todatetimeTo date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERNAL_SEARCH_KEYWORDS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyWordIndexstringValue can be the index of a specific key word. Or 'ANY' to segment visitors by presence of any key word
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_SINCE_PAGE_LOAD
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define time since a page load. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    countMatchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EVENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    eventstringCustom event

    NUMBER_OF_VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    categorystringProduct category
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    HOUR_MINUTE_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincestringSince time. Time format: hh:MM
    tostringTo time. Time format: hh:MM
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LANDING_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringLanding URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITOR_IP
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    ipstringExact visitor ip address
    secondIpstringSecond exact visitor ip address
    ipLowerBoundstringLower bound of ip addresses range. If visitor ip match or is more than the bound it will be included in or excluded from the segment.If the field is filled then 'ipUpperBound' has to be filled too
    ipUpperBoundstringUpper bound of ip addresses range. If visitor ip match or is less than the bound it will included in or excluded from the segment.If the field is filled then 'ipLowerBound' has to be filled too
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_NIGHT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayPeriodenum. Can be [DAY, NIGHT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    productEanstringPages of which product should be visited?
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    NEW_VISITORS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitorsTypeenum. Can be [NEW, RETURNING]

    FORECAST_TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is not 'INCLUDE'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    forecastDaysintegerAmount of days which should meet the specified value of temperature. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FORECAST_SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    forecastDaysintegerAmount of days which should meet the specified 'skyStatus' or 'skyStatusGroup'. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DEVICE_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    deviceenum. Can be [DESKTOP, TABLET, PHONE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_AUDIENCE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    audiencesarray[TealiumAudience]List of tealium audiences
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    GEOLOCATION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countrystringVisitor's country
    regionstringVisitor's region
    citystringVisitor's city
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    JS_CODE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    jsCodestringCustom JavaScript condition
    appliedenumRun js code after DOM ready or immediate? Default value: DOM_READY. Can be [DOM_READY, IMMEDIATE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_BADGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    badgesarray[TealiumBadge]List of tealium badges
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_ATTRIBUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    attributestringYsance attribute
    valuestringAttribute value
    valueMatchTypeenumHow to match the specified attribute value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    COOKIE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    namestringCookie name
    valuestringCookie value
    nameMatchTypeenumHow to match the specified cookie name. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    valueMatchTypeenumHow to match the specified cookie value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_SEGMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    segmentsarrayYsance segments
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_OF_WEEK
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayenum. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_TITLE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    titlestringTitle template
    matchTypeenumHow to match the specified title. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PriceChangeParams
    NameTypeDescription
    changeDurationenumTime range when the price of the product changed. Can be [ONE_WEEK, TWO_WEEKS, ONE_MONTH, SINCE_DATE, BETWEEN_TWO_DATES, DATE_RANGE]
    firstDatedatetimeHas to be specified if 'changeDuration' is 'SINCE_DATE', 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondDatedatetimeHas to be specified if 'changeDuration' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    changeMatchTypeenumHow to match price change. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    firstChangeValuedoubleTo this value selected 'changeMatchType' will be applied
    firstChangeCurrencyenum. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]
    secondChangeValuedoubleHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondChangeCurrencyenumHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]

    HEAT_SLICE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    lowerBoundintegerLower bound of the probability in percents. Max value: 100
    upperBoundintegerUpper bound of the probability in percents. Max value: 100
    goalIdlongUnique identifier of a goal
    keyMomentIdlongUnique identifier of a key moment
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    browserenumThe type of browser visitors are using. Can be [CHROME, FIREFOX, SAFARI, IE, OPERA]
    versionstringBrowser version
    versionMatchTypeenumHow to match the specified version of the browser. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PRICE_OF_DISPLAYED_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ExactPriceParams
    NameTypeDescription
    priceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    valuestringDepending on 'priceCalculationType' here has to be exact price value

    TealiumBadge
    NameTypeDescription
    idlongBadge unique identifier
    namestringBadge name

    PREVIOUS_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringPrevious page URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    KEY_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyPageIndexstringValue can be the index of a specific key page. Or 'ANY' to segment visitors by presence of any key page
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CONVERSIONS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal. If the fields is not specified then visits during which an any goal was reached will be included or excluded
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FIRST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the first visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BetweenPriceParams
    NameTypeDescription
    firstPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    firstValuestringDepending on 'priceCalculationType' here has to be exact price value
    secondPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    secondValuestringDepending on 'priceCalculationType' here has to be exact price value

    PAGE_VIEWS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    pageCountintegerNumber of page views
    matchTypeenumHow to match the specified amount of pages. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ORIGIN
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringReferring website URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER_LANGUAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    languagestringBrowser language code in ISO 639-1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EXPERIMENTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is 'EQUAL'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ACTIVE_SESSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define if sessions are active for the required duration. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    AD_BLOCKER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    OPERATING_SYSTEM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    osenum. Can be [WINDOWS, LINUX, MAC, WINDOWS_PHONE, ANDROID, IOS]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS_BY_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    periodenumPer what period of time visits should be considered. Can be [VISIT, VISITOR, HOUR, DAY, MONTH]
    countintegerAmount of visits
    countMatchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERESTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    interestIndexstringValue can be the index of specific interest. Or 'ANY' to segment visitors by presence of any interest
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerTotal amount of visits
    matchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CUSTOM_DATUM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    customDataIndexstringValue can be the index of specific custom data. Or 'ANY' to segment visitors by presence of any custom data
    valuestringValue which was retrieved by specified custom data
    valueMatchTypeenumHow to match the retrieved value? Depends on specified format of data retrieved by the custom data. Can be [TRUE, FALSE, EXACT, CONTAINS, REGULAR_EXPRESSION, EQUAL, LOWER, GREATER, UNDEFINED]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    MOUSE_OUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    CONVERSION_PROBABILITY
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal expected to be converted
    probabilityenumApproximate or exact probability of conversion of the goal. For the values 'BETWEEN', 'GREATER' and 'LOWER', the fields 'percents' or 'percentsLowerBound' and 'percentsUpperBound' should be specified. Can be [HIGH, SOMEWHAT_HIGH, LOW, VERY_LOW, BETWEEN, GREATER, LOWER]
    percentsintegerShould be specified if the value of the field 'probability' is 'GREATER' or 'LOWER'
    percentsLowerBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    percentsUpperBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_URL
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringURL template
    matchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    REFERRERS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    referrerIndexstringValue can be the index of a specific referrer. Or 'ANY' to segment visitors by presence of any referrer
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TealiumAudience
    NameTypeDescription
    idstringAudience unique identifier
    namestringAudience name

    TABS_ON_SITE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    tabCountintegerNumber of tabs opened
    matchTypeenumHow to match the specified amount of tabs. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LAST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the last visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    Update condition

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/segments/{segmentId}/conditions/{conditionId}"
    {
      "id" : "123456789",
      "targetingType" : "PAGE_URL",
      "weight" : "1234",
      "trafficType" : "SEO",
      "include" : "false"
    }
    

    PUT /segments/{segmentId}/conditions/{conditionId}

    Update one condition in a segment

    Request arguments
    NamePlaceTypeDescription
    segmentIdpathlongsegmentId
    conditionIdpathlongconditionId
    Request body

    ORIGIN_TYPE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    trafficType
    *required
    enumTraffic type. Can be [SEO, SEM, AFFILIATION, EMAIL, DIRECT]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DOM_ELEMENT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    elementType
    *required
    enumType of element on the page. If the field is 'SINGLE' the field 'elementValue' should be specified. Can be [SINGLE, ANY_MODIFIED]
    elementValuestringElement on the page (id, class, ...) if 'elementType' is SINGLE.
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BelongingPriceParams
    NameTypeDescription
    value
    *required
    integerTo which fraction of products the product belongs
    productWayOfCounting
    *required
    enumHow to count 'value'?. Can be [PERCENT, COUNTS]
    priceCategory
    *required
    enum. Can be [EXPENSIVE, CHEAP]
    areaOfPriceMatching
    *required
    enum. Can be [ALL_CATALOGUE, SPECIFIC_CATEGORIES, SPECIFIC_PRODUCTS]
    productEanstringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_PRODUCTS'
    categorystringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_CATEGORIES'

    SCREEN_DIMENSION
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    widthintegerShould be specified if 'widthMatchType' is not 'INCLUDE'
    widthLowerBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthUpperBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthMatchType
    *required
    enumHow to match the specified width. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    heightintegerShould be specified if 'heightMatchType' is not 'INCLUDE'
    heightLowerBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightUpperBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightMatchType
    *required
    enumHow to match the specified height. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SKY_STATUS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SAME_DAY_VISITS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    visitCount
    *required
    integerNumber of visits for today
    matchType
    *required
    enumHow to match the specified amount of time. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_RANGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    since
    *required
    datetimeSince date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    to
    *required
    datetimeTo date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERNAL_SEARCH_KEYWORDS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    keyWordIndex
    *required
    stringValue can be the index of a specific key word. Or 'ANY' to segment visitors by presence of any key word
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_SINCE_PAGE_LOAD
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumWhat unit of measurements will be used to define time since a page load. Can be [SECOND, MINUTE, HOUR, DAY]
    count
    *required
    integerCount of time elapsed since session became active according to the 'unitOfTime' field
    countMatchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    url
    *required
    stringURL template
    urlMatchType
    *required
    enumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EVENT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    event
    *required
    stringCustom event

    NUMBER_OF_VISITED_PAGES
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    countOfPages
    *required
    integerAmount of visited pages
    countOfPagesMatchType
    *required
    enumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    categorystringProduct category
    priceMatchType
    *required
    enumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    HOUR_MINUTE_RANGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    since
    *required
    stringSince time. Time format: hh:MM
    to
    *required
    stringTo time. Time format: hh:MM
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LANDING_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringLanding URL template
    matchType
    *required
    enumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITOR_IP
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    ipstringExact visitor ip address
    secondIpstringSecond exact visitor ip address
    ipLowerBoundstringLower bound of ip addresses range. If visitor ip match or is more than the bound it will be included in or excluded from the segment.If the field is filled then 'ipUpperBound' has to be filled too
    ipUpperBoundstringUpper bound of ip addresses range. If visitor ip match or is less than the bound it will included in or excluded from the segment.If the field is filled then 'ipLowerBound' has to be filled too
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_NIGHT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    dayPeriod
    *required
    enum. Can be [DAY, NIGHT]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITED_PAGES
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    countOfPages
    *required
    integerAmount of visited pages
    countOfPagesMatchType
    *required
    enumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    productEanstringPages of which product should be visited?
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    NEW_VISITORS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    visitorsType
    *required
    enum. Can be [NEW, RETURNING]

    FORECAST_TEMPERATURE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is not 'INCLUDE'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    temperatureMatchType
    *required
    enumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    forecastDays
    *required
    integerAmount of days which should meet the specified value of temperature. This value can't be more than 'daysRange'
    daysRange
    *required
    integerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchType
    *required
    enumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FORECAST_SKY_STATUS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    forecastDays
    *required
    integerAmount of days which should meet the specified 'skyStatus' or 'skyStatusGroup'. This value can't be more than 'daysRange'
    daysRange
    *required
    integerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchType
    *required
    enumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DEVICE_TYPE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    device
    *required
    enum. Can be [DESKTOP, TABLET, PHONE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_AUDIENCE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    audiences
    *required
    array[TealiumAudience]List of tealium audiences
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    GEOLOCATION
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    country
    *required
    stringVisitor's country
    regionstringVisitor's region
    citystringVisitor's city
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    JS_CODE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    jsCode
    *required
    stringCustom JavaScript condition
    applied
    *required
    enumRun js code after DOM ready or immediate? Default value: DOM_READY. Can be [DOM_READY, IMMEDIATE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_BADGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    badges
    *required
    array[TealiumBadge]List of tealium badges
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_ATTRIBUT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    attribute
    *required
    stringYsance attribute
    value
    *required
    stringAttribute value
    valueMatchType
    *required
    enumHow to match the specified attribute value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    COOKIE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    name
    *required
    stringCookie name
    value
    *required
    stringCookie value
    nameMatchType
    *required
    enumHow to match the specified cookie name. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    valueMatchType
    *required
    enumHow to match the specified cookie value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_SEGMENT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    segments
    *required
    arrayYsance segments
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_OF_WEEK
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    day
    *required
    enum. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_TITLE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    title
    *required
    stringTitle template
    matchType
    *required
    enumHow to match the specified title. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PriceChangeParams
    NameTypeDescription
    changeDuration
    *required
    enumTime range when the price of the product changed. Can be [ONE_WEEK, TWO_WEEKS, ONE_MONTH, SINCE_DATE, BETWEEN_TWO_DATES, DATE_RANGE]
    firstDatedatetimeHas to be specified if 'changeDuration' is 'SINCE_DATE', 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondDatedatetimeHas to be specified if 'changeDuration' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    changeMatchType
    *required
    enumHow to match price change. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    firstChangeValue
    *required
    doubleTo this value selected 'changeMatchType' will be applied
    firstChangeCurrency
    *required
    enum. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]
    secondChangeValuedoubleHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondChangeCurrencyenumHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]

    HEAT_SLICE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    lowerBound
    *required
    integerLower bound of the probability in percents. Max value: 100
    upperBound
    *required
    integerUpper bound of the probability in percents. Max value: 100
    goalId
    *required
    longUnique identifier of a goal
    keyMomentId
    *required
    longUnique identifier of a key moment
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    browser
    *required
    enumThe type of browser visitors are using. Can be [CHROME, FIREFOX, SAFARI, IE, OPERA]
    versionstringBrowser version
    versionMatchType
    *required
    enumHow to match the specified version of the browser. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PRICE_OF_DISPLAYED_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    priceMatchType
    *required
    enumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ExactPriceParams
    NameTypeDescription
    priceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    valuestringDepending on 'priceCalculationType' here has to be exact price value

    TealiumBadge
    NameTypeDescription
    id
    *required
    longBadge unique identifier
    name
    *required
    stringBadge name

    PREVIOUS_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringPrevious page URL template
    matchType
    *required
    enumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    KEY_PAGES
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    keyPageIndex
    *required
    stringValue can be the index of a specific key page. Or 'ANY' to segment visitors by presence of any key page
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CONVERSIONS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal. If the fields is not specified then visits during which an any goal was reached will be included or excluded
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FIRST_VISIT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    count
    *required
    integerCount of time elapsed since the first visit according to the 'unitOfTime' field
    matchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BetweenPriceParams
    NameTypeDescription
    firstPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    firstValuestringDepending on 'priceCalculationType' here has to be exact price value
    secondPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    secondValuestringDepending on 'priceCalculationType' here has to be exact price value

    PAGE_VIEWS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    pageCount
    *required
    integerNumber of page views
    matchType
    *required
    enumHow to match the specified amount of pages. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ORIGIN
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringReferring website URL template
    matchType
    *required
    enumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER_LANGUAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    language
    *required
    stringBrowser language code in ISO 639-1
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EXPERIMENTS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1

    TEMPERATURE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is 'EQUAL'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    temperatureMatchType
    *required
    enumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ACTIVE_SESSION
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumWhat unit of measurements will be used to define if sessions are active for the required duration. Can be [SECOND, MINUTE, HOUR, DAY]
    count
    *required
    integerCount of time elapsed since session became active according to the 'unitOfTime' field
    matchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    AD_BLOCKER
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    OPERATING_SYSTEM
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    os
    *required
    enum. Can be [WINDOWS, LINUX, MAC, WINDOWS_PHONE, ANDROID, IOS]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS_BY_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    period
    *required
    enumPer what period of time visits should be considered. Can be [VISIT, VISITOR, HOUR, DAY, MONTH]
    count
    *required
    integerAmount of visits
    countMatchType
    *required
    enumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    url
    *required
    stringURL template
    urlMatchType
    *required
    enumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERESTS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    interestIndex
    *required
    stringValue can be the index of specific interest. Or 'ANY' to segment visitors by presence of any interest
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    visitCount
    *required
    integerTotal amount of visits
    matchType
    *required
    enumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CUSTOM_DATUM
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    customDataIndex
    *required
    stringValue can be the index of specific custom data. Or 'ANY' to segment visitors by presence of any custom data
    valuestringValue which was retrieved by specified custom data
    valueMatchType
    *required
    enumHow to match the retrieved value? Depends on specified format of data retrieved by the custom data. Can be [TRUE, FALSE, EXACT, CONTAINS, REGULAR_EXPRESSION, EQUAL, LOWER, GREATER, UNDEFINED]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    MOUSE_OUT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1

    CONVERSION_PROBABILITY
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    goalId
    *required
    longUnique identifier of a goal expected to be converted
    probability
    *required
    enumApproximate or exact probability of conversion of the goal. For the values 'BETWEEN', 'GREATER' and 'LOWER', the fields 'percents' or 'percentsLowerBound' and 'percentsUpperBound' should be specified. Can be [HIGH, SOMEWHAT_HIGH, LOW, VERY_LOW, BETWEEN, GREATER, LOWER]
    percentsintegerShould be specified if the value of the field 'probability' is 'GREATER' or 'LOWER'
    percentsLowerBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    percentsUpperBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_URL
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringURL template
    matchType
    *required
    enumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    REFERRERS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    referrerIndexstringValue can be the index of a specific referrer. Or 'ANY' to segment visitors by presence of any referrer
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TealiumAudience
    NameTypeDescription
    id
    *required
    stringAudience unique identifier
    name
    *required
    stringAudience name

    TABS_ON_SITE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    tabCount
    *required
    integerNumber of tabs opened
    matchType
    *required
    enumHow to match the specified amount of tabs. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LAST_VISIT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    count
    *required
    integerCount of time elapsed since the last visit according to the 'unitOfTime' field
    matchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    Example response

    {
      "id" : "123456789",
      "targetingType" : "PAGE_URL",
      "weight" : "1234",
      "trafficType" : "SEO",
      "include" : "false"
    }
    
    Response body

    ORIGIN_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    trafficTypeenumTraffic type. Can be [SEO, SEM, AFFILIATION, EMAIL, DIRECT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DOM_ELEMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    elementTypeenumType of element on the page. If the field is 'SINGLE' the field 'elementValue' should be specified. Can be [SINGLE, ANY_MODIFIED]
    elementValuestringElement on the page (id, class, ...) if 'elementType' is SINGLE.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BelongingPriceParams
    NameTypeDescription
    valueintegerTo which fraction of products the product belongs
    productWayOfCountingenumHow to count 'value'?. Can be [PERCENT, COUNTS]
    priceCategoryenum. Can be [EXPENSIVE, CHEAP]
    areaOfPriceMatchingenum. Can be [ALL_CATALOGUE, SPECIFIC_CATEGORIES, SPECIFIC_PRODUCTS]
    productEanstringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_PRODUCTS'
    categorystringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_CATEGORIES'

    SCREEN_DIMENSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    widthintegerShould be specified if 'widthMatchType' is not 'INCLUDE'
    widthLowerBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthUpperBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthMatchTypeenumHow to match the specified width. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    heightintegerShould be specified if 'heightMatchType' is not 'INCLUDE'
    heightLowerBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightUpperBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightMatchTypeenumHow to match the specified height. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SAME_DAY_VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerNumber of visits for today
    matchTypeenumHow to match the specified amount of time. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincedatetimeSince date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    todatetimeTo date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERNAL_SEARCH_KEYWORDS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyWordIndexstringValue can be the index of a specific key word. Or 'ANY' to segment visitors by presence of any key word
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_SINCE_PAGE_LOAD
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define time since a page load. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    countMatchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EVENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    eventstringCustom event

    NUMBER_OF_VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    categorystringProduct category
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    HOUR_MINUTE_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincestringSince time. Time format: hh:MM
    tostringTo time. Time format: hh:MM
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LANDING_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringLanding URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITOR_IP
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    ipstringExact visitor ip address
    secondIpstringSecond exact visitor ip address
    ipLowerBoundstringLower bound of ip addresses range. If visitor ip match or is more than the bound it will be included in or excluded from the segment.If the field is filled then 'ipUpperBound' has to be filled too
    ipUpperBoundstringUpper bound of ip addresses range. If visitor ip match or is less than the bound it will included in or excluded from the segment.If the field is filled then 'ipLowerBound' has to be filled too
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_NIGHT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayPeriodenum. Can be [DAY, NIGHT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    productEanstringPages of which product should be visited?
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    NEW_VISITORS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitorsTypeenum. Can be [NEW, RETURNING]

    FORECAST_TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is not 'INCLUDE'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    forecastDaysintegerAmount of days which should meet the specified value of temperature. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FORECAST_SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    forecastDaysintegerAmount of days which should meet the specified 'skyStatus' or 'skyStatusGroup'. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DEVICE_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    deviceenum. Can be [DESKTOP, TABLET, PHONE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_AUDIENCE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    audiencesarray[TealiumAudience]List of tealium audiences
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    GEOLOCATION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countrystringVisitor's country
    regionstringVisitor's region
    citystringVisitor's city
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    JS_CODE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    jsCodestringCustom JavaScript condition
    appliedenumRun js code after DOM ready or immediate? Default value: DOM_READY. Can be [DOM_READY, IMMEDIATE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_BADGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    badgesarray[TealiumBadge]List of tealium badges
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_ATTRIBUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    attributestringYsance attribute
    valuestringAttribute value
    valueMatchTypeenumHow to match the specified attribute value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    COOKIE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    namestringCookie name
    valuestringCookie value
    nameMatchTypeenumHow to match the specified cookie name. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    valueMatchTypeenumHow to match the specified cookie value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_SEGMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    segmentsarrayYsance segments
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_OF_WEEK
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayenum. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_TITLE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    titlestringTitle template
    matchTypeenumHow to match the specified title. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PriceChangeParams
    NameTypeDescription
    changeDurationenumTime range when the price of the product changed. Can be [ONE_WEEK, TWO_WEEKS, ONE_MONTH, SINCE_DATE, BETWEEN_TWO_DATES, DATE_RANGE]
    firstDatedatetimeHas to be specified if 'changeDuration' is 'SINCE_DATE', 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondDatedatetimeHas to be specified if 'changeDuration' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    changeMatchTypeenumHow to match price change. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    firstChangeValuedoubleTo this value selected 'changeMatchType' will be applied
    firstChangeCurrencyenum. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]
    secondChangeValuedoubleHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondChangeCurrencyenumHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]

    HEAT_SLICE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    lowerBoundintegerLower bound of the probability in percents. Max value: 100
    upperBoundintegerUpper bound of the probability in percents. Max value: 100
    goalIdlongUnique identifier of a goal
    keyMomentIdlongUnique identifier of a key moment
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    browserenumThe type of browser visitors are using. Can be [CHROME, FIREFOX, SAFARI, IE, OPERA]
    versionstringBrowser version
    versionMatchTypeenumHow to match the specified version of the browser. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PRICE_OF_DISPLAYED_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ExactPriceParams
    NameTypeDescription
    priceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    valuestringDepending on 'priceCalculationType' here has to be exact price value

    TealiumBadge
    NameTypeDescription
    idlongBadge unique identifier
    namestringBadge name

    PREVIOUS_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringPrevious page URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    KEY_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyPageIndexstringValue can be the index of a specific key page. Or 'ANY' to segment visitors by presence of any key page
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CONVERSIONS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal. If the fields is not specified then visits during which an any goal was reached will be included or excluded
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FIRST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the first visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BetweenPriceParams
    NameTypeDescription
    firstPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    firstValuestringDepending on 'priceCalculationType' here has to be exact price value
    secondPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    secondValuestringDepending on 'priceCalculationType' here has to be exact price value

    PAGE_VIEWS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    pageCountintegerNumber of page views
    matchTypeenumHow to match the specified amount of pages. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ORIGIN
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringReferring website URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER_LANGUAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    languagestringBrowser language code in ISO 639-1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EXPERIMENTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is 'EQUAL'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ACTIVE_SESSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define if sessions are active for the required duration. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    AD_BLOCKER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    OPERATING_SYSTEM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    osenum. Can be [WINDOWS, LINUX, MAC, WINDOWS_PHONE, ANDROID, IOS]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS_BY_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    periodenumPer what period of time visits should be considered. Can be [VISIT, VISITOR, HOUR, DAY, MONTH]
    countintegerAmount of visits
    countMatchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERESTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    interestIndexstringValue can be the index of specific interest. Or 'ANY' to segment visitors by presence of any interest
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerTotal amount of visits
    matchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CUSTOM_DATUM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    customDataIndexstringValue can be the index of specific custom data. Or 'ANY' to segment visitors by presence of any custom data
    valuestringValue which was retrieved by specified custom data
    valueMatchTypeenumHow to match the retrieved value? Depends on specified format of data retrieved by the custom data. Can be [TRUE, FALSE, EXACT, CONTAINS, REGULAR_EXPRESSION, EQUAL, LOWER, GREATER, UNDEFINED]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    MOUSE_OUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    CONVERSION_PROBABILITY
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal expected to be converted
    probabilityenumApproximate or exact probability of conversion of the goal. For the values 'BETWEEN', 'GREATER' and 'LOWER', the fields 'percents' or 'percentsLowerBound' and 'percentsUpperBound' should be specified. Can be [HIGH, SOMEWHAT_HIGH, LOW, VERY_LOW, BETWEEN, GREATER, LOWER]
    percentsintegerShould be specified if the value of the field 'probability' is 'GREATER' or 'LOWER'
    percentsLowerBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    percentsUpperBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_URL
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringURL template
    matchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    REFERRERS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    referrerIndexstringValue can be the index of a specific referrer. Or 'ANY' to segment visitors by presence of any referrer
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TealiumAudience
    NameTypeDescription
    idstringAudience unique identifier
    namestringAudience name

    TABS_ON_SITE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    tabCountintegerNumber of tabs opened
    matchTypeenumHow to match the specified amount of tabs. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LAST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the last visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    Create a new segment

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/segments"
    {
      "id" : "123456789",
      "name" : "string",
      "description" : "string",
      "conditionsData" : {
        "firstLevelOrOperators" : [ "[]" ],
        "firstLevel" : [ {
          "orOperators" : [ "[]" ],
          "conditions" : [ {
            "id" : "123456789",
            "targetingType" : "PAGE_URL",
            "weight" : "1234"
          } ]
        } ]
      },
      "siteId" : "123456789",
      "audienceTracking" : "false",
      "audienceTrackingEditable" : "false",
      "isFavorite" : "false",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    

    POST /segments

    Create a new segment with given parameters

    Request body

    Segment
    NameTypeDescription
    id
    *read only
    longUnique identifier of segment
    name
    *required
    stringName of segment
    descriptionstringDescription of segment
    conditionsDataConditionsDataConditions by which visitors will be segmented
    siteId
    *required
    longUnique identifier of site for which the segment is going to be or was created
    audienceTrackingbooleanSegment is used in audience
    audienceTrackingEditable
    *read only
    booleanThis flag shows if audienceTracking can be enabled/disabled. In some cases, audienceTracking can't be disabled. E.g. a segment has predictive conditions, such segments are tracked by default.
    isFavoritebooleanIndicates whether the segment is considered as favorite.
    dateCreated
    *read only
    datetime
    dateModified
    *read only
    datetime
    tagsarray
    experimentAmount
    *read only
    longNumber of experiments using this segment. This is an optional field needs to specify in request params.
    personalizationAmount
    *read only
    longNumber of personalizations using this segment. This is an optional field needs to specify in request params.
    experiments
    *read only
    arrayList of experiment ids using this segment. This is an optional field needs to specify in request params.
    personalizations
    *read only
    arrayList of personalization ids using this segment. This is an optional field needs to specify in request params.

    ConditionsData
    NameTypeDescription
    firstLevelOrOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding firstLevel outer conditions.
    firstLevelarray[FirstLevel]First level conditions. Every level can have many conditions inside. E.g. we have 'firstLevelOrOperators' = [true], 'firstLevel'=[{OrOperators:[false], conditions: [SKY_STATUS, DAY_NIGHT]}, {OrOperators:[true], conditions: [PAGE_TITLE, NEW_VISITORS]}]. Then the expression will look like (SKY_STATUS AND DAY_NIGHT) OR (PAGE_TITLE OR NEW_VISITORS)

    TargetingCondition
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1

    FirstLevel
    NameTypeDescription
    orOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding conditions of second level.
    conditionsarray[TargetingCondition]Add conditions (see TargetingConditionIO) to define a segment. The more conditions you add, the more precise your segment will be.

    ORIGIN_TYPE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    trafficType
    *required
    enumTraffic type. Can be [SEO, SEM, AFFILIATION, EMAIL, DIRECT]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DOM_ELEMENT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    elementType
    *required
    enumType of element on the page. If the field is 'SINGLE' the field 'elementValue' should be specified. Can be [SINGLE, ANY_MODIFIED]
    elementValuestringElement on the page (id, class, ...) if 'elementType' is SINGLE.
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BelongingPriceParams
    NameTypeDescription
    value
    *required
    integerTo which fraction of products the product belongs
    productWayOfCounting
    *required
    enumHow to count 'value'?. Can be [PERCENT, COUNTS]
    priceCategory
    *required
    enum. Can be [EXPENSIVE, CHEAP]
    areaOfPriceMatching
    *required
    enum. Can be [ALL_CATALOGUE, SPECIFIC_CATEGORIES, SPECIFIC_PRODUCTS]
    productEanstringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_PRODUCTS'
    categorystringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_CATEGORIES'

    SCREEN_DIMENSION
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    widthintegerShould be specified if 'widthMatchType' is not 'INCLUDE'
    widthLowerBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthUpperBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthMatchType
    *required
    enumHow to match the specified width. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    heightintegerShould be specified if 'heightMatchType' is not 'INCLUDE'
    heightLowerBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightUpperBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightMatchType
    *required
    enumHow to match the specified height. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SKY_STATUS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SAME_DAY_VISITS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    visitCount
    *required
    integerNumber of visits for today
    matchType
    *required
    enumHow to match the specified amount of time. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_RANGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    since
    *required
    datetimeSince date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    to
    *required
    datetimeTo date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERNAL_SEARCH_KEYWORDS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    keyWordIndex
    *required
    stringValue can be the index of a specific key word. Or 'ANY' to segment visitors by presence of any key word
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_SINCE_PAGE_LOAD
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumWhat unit of measurements will be used to define time since a page load. Can be [SECOND, MINUTE, HOUR, DAY]
    count
    *required
    integerCount of time elapsed since session became active according to the 'unitOfTime' field
    countMatchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    url
    *required
    stringURL template
    urlMatchType
    *required
    enumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EVENT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    event
    *required
    stringCustom event

    NUMBER_OF_VISITED_PAGES
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    countOfPages
    *required
    integerAmount of visited pages
    countOfPagesMatchType
    *required
    enumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    categorystringProduct category
    priceMatchType
    *required
    enumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    HOUR_MINUTE_RANGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    since
    *required
    stringSince time. Time format: hh:MM
    to
    *required
    stringTo time. Time format: hh:MM
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LANDING_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringLanding URL template
    matchType
    *required
    enumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITOR_IP
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    ipstringExact visitor ip address
    secondIpstringSecond exact visitor ip address
    ipLowerBoundstringLower bound of ip addresses range. If visitor ip match or is more than the bound it will be included in or excluded from the segment.If the field is filled then 'ipUpperBound' has to be filled too
    ipUpperBoundstringUpper bound of ip addresses range. If visitor ip match or is less than the bound it will included in or excluded from the segment.If the field is filled then 'ipLowerBound' has to be filled too
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_NIGHT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    dayPeriod
    *required
    enum. Can be [DAY, NIGHT]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITED_PAGES
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    countOfPages
    *required
    integerAmount of visited pages
    countOfPagesMatchType
    *required
    enumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    productEanstringPages of which product should be visited?
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    NEW_VISITORS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    visitorsType
    *required
    enum. Can be [NEW, RETURNING]

    FORECAST_TEMPERATURE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is not 'INCLUDE'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    temperatureMatchType
    *required
    enumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    forecastDays
    *required
    integerAmount of days which should meet the specified value of temperature. This value can't be more than 'daysRange'
    daysRange
    *required
    integerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchType
    *required
    enumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FORECAST_SKY_STATUS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    forecastDays
    *required
    integerAmount of days which should meet the specified 'skyStatus' or 'skyStatusGroup'. This value can't be more than 'daysRange'
    daysRange
    *required
    integerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchType
    *required
    enumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DEVICE_TYPE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    device
    *required
    enum. Can be [DESKTOP, TABLET, PHONE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_AUDIENCE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    audiences
    *required
    array[TealiumAudience]List of tealium audiences
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    GEOLOCATION
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    country
    *required
    stringVisitor's country
    regionstringVisitor's region
    citystringVisitor's city
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    JS_CODE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    jsCode
    *required
    stringCustom JavaScript condition
    applied
    *required
    enumRun js code after DOM ready or immediate? Default value: DOM_READY. Can be [DOM_READY, IMMEDIATE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_BADGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    badges
    *required
    array[TealiumBadge]List of tealium badges
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_ATTRIBUT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    attribute
    *required
    stringYsance attribute
    value
    *required
    stringAttribute value
    valueMatchType
    *required
    enumHow to match the specified attribute value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    COOKIE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    name
    *required
    stringCookie name
    value
    *required
    stringCookie value
    nameMatchType
    *required
    enumHow to match the specified cookie name. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    valueMatchType
    *required
    enumHow to match the specified cookie value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_SEGMENT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    segments
    *required
    arrayYsance segments
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_OF_WEEK
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    day
    *required
    enum. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_TITLE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    title
    *required
    stringTitle template
    matchType
    *required
    enumHow to match the specified title. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PriceChangeParams
    NameTypeDescription
    changeDuration
    *required
    enumTime range when the price of the product changed. Can be [ONE_WEEK, TWO_WEEKS, ONE_MONTH, SINCE_DATE, BETWEEN_TWO_DATES, DATE_RANGE]
    firstDatedatetimeHas to be specified if 'changeDuration' is 'SINCE_DATE', 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondDatedatetimeHas to be specified if 'changeDuration' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    changeMatchType
    *required
    enumHow to match price change. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    firstChangeValue
    *required
    doubleTo this value selected 'changeMatchType' will be applied
    firstChangeCurrency
    *required
    enum. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]
    secondChangeValuedoubleHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondChangeCurrencyenumHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]

    HEAT_SLICE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    lowerBound
    *required
    integerLower bound of the probability in percents. Max value: 100
    upperBound
    *required
    integerUpper bound of the probability in percents. Max value: 100
    goalId
    *required
    longUnique identifier of a goal
    keyMomentId
    *required
    longUnique identifier of a key moment
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    browser
    *required
    enumThe type of browser visitors are using. Can be [CHROME, FIREFOX, SAFARI, IE, OPERA]
    versionstringBrowser version
    versionMatchType
    *required
    enumHow to match the specified version of the browser. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PRICE_OF_DISPLAYED_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    priceMatchType
    *required
    enumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ExactPriceParams
    NameTypeDescription
    priceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    valuestringDepending on 'priceCalculationType' here has to be exact price value

    TealiumBadge
    NameTypeDescription
    id
    *required
    longBadge unique identifier
    name
    *required
    stringBadge name

    PREVIOUS_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringPrevious page URL template
    matchType
    *required
    enumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    KEY_PAGES
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    keyPageIndex
    *required
    stringValue can be the index of a specific key page. Or 'ANY' to segment visitors by presence of any key page
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CONVERSIONS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal. If the fields is not specified then visits during which an any goal was reached will be included or excluded
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FIRST_VISIT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    count
    *required
    integerCount of time elapsed since the first visit according to the 'unitOfTime' field
    matchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BetweenPriceParams
    NameTypeDescription
    firstPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    firstValuestringDepending on 'priceCalculationType' here has to be exact price value
    secondPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    secondValuestringDepending on 'priceCalculationType' here has to be exact price value

    PAGE_VIEWS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    pageCount
    *required
    integerNumber of page views
    matchType
    *required
    enumHow to match the specified amount of pages. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ORIGIN
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringReferring website URL template
    matchType
    *required
    enumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER_LANGUAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    language
    *required
    stringBrowser language code in ISO 639-1
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EXPERIMENTS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1

    TEMPERATURE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is 'EQUAL'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    temperatureMatchType
    *required
    enumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ACTIVE_SESSION
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumWhat unit of measurements will be used to define if sessions are active for the required duration. Can be [SECOND, MINUTE, HOUR, DAY]
    count
    *required
    integerCount of time elapsed since session became active according to the 'unitOfTime' field
    matchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    AD_BLOCKER
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    OPERATING_SYSTEM
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    os
    *required
    enum. Can be [WINDOWS, LINUX, MAC, WINDOWS_PHONE, ANDROID, IOS]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS_BY_PAGE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    period
    *required
    enumPer what period of time visits should be considered. Can be [VISIT, VISITOR, HOUR, DAY, MONTH]
    count
    *required
    integerAmount of visits
    countMatchType
    *required
    enumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    url
    *required
    stringURL template
    urlMatchType
    *required
    enumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERESTS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    interestIndex
    *required
    stringValue can be the index of specific interest. Or 'ANY' to segment visitors by presence of any interest
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    visitCount
    *required
    integerTotal amount of visits
    matchType
    *required
    enumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CUSTOM_DATUM
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    customDataIndex
    *required
    stringValue can be the index of specific custom data. Or 'ANY' to segment visitors by presence of any custom data
    valuestringValue which was retrieved by specified custom data
    valueMatchType
    *required
    enumHow to match the retrieved value? Depends on specified format of data retrieved by the custom data. Can be [TRUE, FALSE, EXACT, CONTAINS, REGULAR_EXPRESSION, EQUAL, LOWER, GREATER, UNDEFINED]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    MOUSE_OUT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1

    CONVERSION_PROBABILITY
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    goalId
    *required
    longUnique identifier of a goal expected to be converted
    probability
    *required
    enumApproximate or exact probability of conversion of the goal. For the values 'BETWEEN', 'GREATER' and 'LOWER', the fields 'percents' or 'percentsLowerBound' and 'percentsUpperBound' should be specified. Can be [HIGH, SOMEWHAT_HIGH, LOW, VERY_LOW, BETWEEN, GREATER, LOWER]
    percentsintegerShould be specified if the value of the field 'probability' is 'GREATER' or 'LOWER'
    percentsLowerBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    percentsUpperBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_URL
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    url
    *required
    stringURL template
    matchType
    *required
    enumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    REFERRERS
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    referrerIndexstringValue can be the index of a specific referrer. Or 'ANY' to segment visitors by presence of any referrer
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TealiumAudience
    NameTypeDescription
    id
    *required
    stringAudience unique identifier
    name
    *required
    stringAudience name

    TABS_ON_SITE
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    tabCount
    *required
    integerNumber of tabs opened
    matchType
    *required
    enumHow to match the specified amount of tabs. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LAST_VISIT
    NameTypeDescription
    id
    *read only
    longUnique identifier
    targetingType
    *required
    enumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weight
    *required
    integerMore important conditions have greater values. Default value: 1
    unitOfTime
    *required
    enumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    count
    *required
    integerCount of time elapsed since the last visit according to the 'unitOfTime' field
    matchType
    *required
    enumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    include
    *required
    booleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "description" : "string",
      "conditionsData" : {
        "firstLevelOrOperators" : [ "[]" ],
        "firstLevel" : [ {
          "orOperators" : [ "[]" ],
          "conditions" : [ {
            "id" : "123456789",
            "targetingType" : "PAGE_URL",
            "weight" : "1234"
          } ]
        } ]
      },
      "siteId" : "123456789",
      "audienceTracking" : "false",
      "audienceTrackingEditable" : "false",
      "isFavorite" : "false",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    }
    
    Response body

    Segment
    NameTypeDescription
    idlongUnique identifier of segment
    namestringName of segment
    descriptionstringDescription of segment
    conditionsDataConditionsDataConditions by which visitors will be segmented
    siteIdlongUnique identifier of site for which the segment is going to be or was created
    audienceTrackingbooleanSegment is used in audience
    audienceTrackingEditablebooleanThis flag shows if audienceTracking can be enabled/disabled. In some cases, audienceTracking can't be disabled. E.g. a segment has predictive conditions, such segments are tracked by default.
    isFavoritebooleanIndicates whether the segment is considered as favorite.
    dateCreateddatetime
    dateModifieddatetime
    tagsarray
    experimentAmountlongNumber of experiments using this segment. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this segment. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this segment. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this segment. This is an optional field needs to specify in request params.

    ConditionsData
    NameTypeDescription
    firstLevelOrOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding firstLevel outer conditions.
    firstLevelarray[FirstLevel]First level conditions. Every level can have many conditions inside. E.g. we have 'firstLevelOrOperators' = [true], 'firstLevel'=[{OrOperators:[false], conditions: [SKY_STATUS, DAY_NIGHT]}, {OrOperators:[true], conditions: [PAGE_TITLE, NEW_VISITORS]}]. Then the expression will look like (SKY_STATUS AND DAY_NIGHT) OR (PAGE_TITLE OR NEW_VISITORS)

    TargetingCondition
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    FirstLevel
    NameTypeDescription
    orOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding conditions of second level.
    conditionsarray[TargetingCondition]Add conditions (see TargetingConditionIO) to define a segment. The more conditions you add, the more precise your segment will be.

    ORIGIN_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    trafficTypeenumTraffic type. Can be [SEO, SEM, AFFILIATION, EMAIL, DIRECT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DOM_ELEMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    elementTypeenumType of element on the page. If the field is 'SINGLE' the field 'elementValue' should be specified. Can be [SINGLE, ANY_MODIFIED]
    elementValuestringElement on the page (id, class, ...) if 'elementType' is SINGLE.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BelongingPriceParams
    NameTypeDescription
    valueintegerTo which fraction of products the product belongs
    productWayOfCountingenumHow to count 'value'?. Can be [PERCENT, COUNTS]
    priceCategoryenum. Can be [EXPENSIVE, CHEAP]
    areaOfPriceMatchingenum. Can be [ALL_CATALOGUE, SPECIFIC_CATEGORIES, SPECIFIC_PRODUCTS]
    productEanstringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_PRODUCTS'
    categorystringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_CATEGORIES'

    SCREEN_DIMENSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    widthintegerShould be specified if 'widthMatchType' is not 'INCLUDE'
    widthLowerBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthUpperBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthMatchTypeenumHow to match the specified width. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    heightintegerShould be specified if 'heightMatchType' is not 'INCLUDE'
    heightLowerBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightUpperBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightMatchTypeenumHow to match the specified height. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SAME_DAY_VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerNumber of visits for today
    matchTypeenumHow to match the specified amount of time. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincedatetimeSince date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    todatetimeTo date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERNAL_SEARCH_KEYWORDS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyWordIndexstringValue can be the index of a specific key word. Or 'ANY' to segment visitors by presence of any key word
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_SINCE_PAGE_LOAD
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define time since a page load. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    countMatchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EVENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    eventstringCustom event

    NUMBER_OF_VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    categorystringProduct category
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    HOUR_MINUTE_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincestringSince time. Time format: hh:MM
    tostringTo time. Time format: hh:MM
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LANDING_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringLanding URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITOR_IP
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    ipstringExact visitor ip address
    secondIpstringSecond exact visitor ip address
    ipLowerBoundstringLower bound of ip addresses range. If visitor ip match or is more than the bound it will be included in or excluded from the segment.If the field is filled then 'ipUpperBound' has to be filled too
    ipUpperBoundstringUpper bound of ip addresses range. If visitor ip match or is less than the bound it will included in or excluded from the segment.If the field is filled then 'ipLowerBound' has to be filled too
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_NIGHT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayPeriodenum. Can be [DAY, NIGHT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    productEanstringPages of which product should be visited?
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    NEW_VISITORS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitorsTypeenum. Can be [NEW, RETURNING]

    FORECAST_TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is not 'INCLUDE'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    forecastDaysintegerAmount of days which should meet the specified value of temperature. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FORECAST_SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    forecastDaysintegerAmount of days which should meet the specified 'skyStatus' or 'skyStatusGroup'. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DEVICE_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    deviceenum. Can be [DESKTOP, TABLET, PHONE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_AUDIENCE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    audiencesarray[TealiumAudience]List of tealium audiences
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    GEOLOCATION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countrystringVisitor's country
    regionstringVisitor's region
    citystringVisitor's city
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    JS_CODE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    jsCodestringCustom JavaScript condition
    appliedenumRun js code after DOM ready or immediate? Default value: DOM_READY. Can be [DOM_READY, IMMEDIATE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_BADGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    badgesarray[TealiumBadge]List of tealium badges
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_ATTRIBUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    attributestringYsance attribute
    valuestringAttribute value
    valueMatchTypeenumHow to match the specified attribute value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    COOKIE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    namestringCookie name
    valuestringCookie value
    nameMatchTypeenumHow to match the specified cookie name. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    valueMatchTypeenumHow to match the specified cookie value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_SEGMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    segmentsarrayYsance segments
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_OF_WEEK
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayenum. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_TITLE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    titlestringTitle template
    matchTypeenumHow to match the specified title. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PriceChangeParams
    NameTypeDescription
    changeDurationenumTime range when the price of the product changed. Can be [ONE_WEEK, TWO_WEEKS, ONE_MONTH, SINCE_DATE, BETWEEN_TWO_DATES, DATE_RANGE]
    firstDatedatetimeHas to be specified if 'changeDuration' is 'SINCE_DATE', 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondDatedatetimeHas to be specified if 'changeDuration' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    changeMatchTypeenumHow to match price change. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    firstChangeValuedoubleTo this value selected 'changeMatchType' will be applied
    firstChangeCurrencyenum. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]
    secondChangeValuedoubleHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondChangeCurrencyenumHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]

    HEAT_SLICE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    lowerBoundintegerLower bound of the probability in percents. Max value: 100
    upperBoundintegerUpper bound of the probability in percents. Max value: 100
    goalIdlongUnique identifier of a goal
    keyMomentIdlongUnique identifier of a key moment
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    browserenumThe type of browser visitors are using. Can be [CHROME, FIREFOX, SAFARI, IE, OPERA]
    versionstringBrowser version
    versionMatchTypeenumHow to match the specified version of the browser. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PRICE_OF_DISPLAYED_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ExactPriceParams
    NameTypeDescription
    priceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    valuestringDepending on 'priceCalculationType' here has to be exact price value

    TealiumBadge
    NameTypeDescription
    idlongBadge unique identifier
    namestringBadge name

    PREVIOUS_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringPrevious page URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    KEY_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyPageIndexstringValue can be the index of a specific key page. Or 'ANY' to segment visitors by presence of any key page
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CONVERSIONS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal. If the fields is not specified then visits during which an any goal was reached will be included or excluded
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FIRST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the first visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BetweenPriceParams
    NameTypeDescription
    firstPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    firstValuestringDepending on 'priceCalculationType' here has to be exact price value
    secondPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    secondValuestringDepending on 'priceCalculationType' here has to be exact price value

    PAGE_VIEWS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    pageCountintegerNumber of page views
    matchTypeenumHow to match the specified amount of pages. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ORIGIN
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringReferring website URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER_LANGUAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    languagestringBrowser language code in ISO 639-1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EXPERIMENTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is 'EQUAL'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ACTIVE_SESSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define if sessions are active for the required duration. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    AD_BLOCKER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    OPERATING_SYSTEM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    osenum. Can be [WINDOWS, LINUX, MAC, WINDOWS_PHONE, ANDROID, IOS]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS_BY_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    periodenumPer what period of time visits should be considered. Can be [VISIT, VISITOR, HOUR, DAY, MONTH]
    countintegerAmount of visits
    countMatchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERESTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    interestIndexstringValue can be the index of specific interest. Or 'ANY' to segment visitors by presence of any interest
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerTotal amount of visits
    matchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CUSTOM_DATUM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    customDataIndexstringValue can be the index of specific custom data. Or 'ANY' to segment visitors by presence of any custom data
    valuestringValue which was retrieved by specified custom data
    valueMatchTypeenumHow to match the retrieved value? Depends on specified format of data retrieved by the custom data. Can be [TRUE, FALSE, EXACT, CONTAINS, REGULAR_EXPRESSION, EQUAL, LOWER, GREATER, UNDEFINED]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    MOUSE_OUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    CONVERSION_PROBABILITY
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal expected to be converted
    probabilityenumApproximate or exact probability of conversion of the goal. For the values 'BETWEEN', 'GREATER' and 'LOWER', the fields 'percents' or 'percentsLowerBound' and 'percentsUpperBound' should be specified. Can be [HIGH, SOMEWHAT_HIGH, LOW, VERY_LOW, BETWEEN, GREATER, LOWER]
    percentsintegerShould be specified if the value of the field 'probability' is 'GREATER' or 'LOWER'
    percentsLowerBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    percentsUpperBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_URL
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringURL template
    matchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    REFERRERS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    referrerIndexstringValue can be the index of a specific referrer. Or 'ANY' to segment visitors by presence of any referrer
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TealiumAudience
    NameTypeDescription
    idstringAudience unique identifier
    namestringAudience name

    TABS_ON_SITE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    tabCountintegerNumber of tabs opened
    matchTypeenumHow to match the specified amount of tabs. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LAST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the last visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    List segments

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/segments"
    

    GET /segments

    Get list of segments

    Request arguments
    NamePlaceTypeDescription
    optionalFieldsqueryarrayoptionalFields

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "description" : "string",
      "conditionsData" : {
        "firstLevelOrOperators" : [ "[]" ],
        "firstLevel" : [ {
          "orOperators" : [ "[]" ],
          "conditions" : [ {
            "id" : "123456789",
            "targetingType" : "PAGE_URL",
            "weight" : "1234"
          } ]
        } ]
      },
      "siteId" : "123456789",
      "audienceTracking" : "false",
      "audienceTrackingEditable" : "false",
      "isFavorite" : "false",
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "tags" : [ "[]" ],
      "experimentAmount" : "123456789",
      "personalizationAmount" : "123456789",
      "experiments" : [ "[]" ],
      "personalizations" : [ "[]" ]
    } ]
    
    Response body

    Segment
    NameTypeDescription
    idlongUnique identifier of segment
    namestringName of segment
    descriptionstringDescription of segment
    conditionsDataConditionsDataConditions by which visitors will be segmented
    siteIdlongUnique identifier of site for which the segment is going to be or was created
    audienceTrackingbooleanSegment is used in audience
    audienceTrackingEditablebooleanThis flag shows if audienceTracking can be enabled/disabled. In some cases, audienceTracking can't be disabled. E.g. a segment has predictive conditions, such segments are tracked by default.
    isFavoritebooleanIndicates whether the segment is considered as favorite.
    dateCreateddatetime
    dateModifieddatetime
    tagsarray
    experimentAmountlongNumber of experiments using this segment. This is an optional field needs to specify in request params.
    personalizationAmountlongNumber of personalizations using this segment. This is an optional field needs to specify in request params.
    experimentsarrayList of experiment ids using this segment. This is an optional field needs to specify in request params.
    personalizationsarrayList of personalization ids using this segment. This is an optional field needs to specify in request params.

    ConditionsData
    NameTypeDescription
    firstLevelOrOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding firstLevel outer conditions.
    firstLevelarray[FirstLevel]First level conditions. Every level can have many conditions inside. E.g. we have 'firstLevelOrOperators' = [true], 'firstLevel'=[{OrOperators:[false], conditions: [SKY_STATUS, DAY_NIGHT]}, {OrOperators:[true], conditions: [PAGE_TITLE, NEW_VISITORS]}]. Then the expression will look like (SKY_STATUS AND DAY_NIGHT) OR (PAGE_TITLE OR NEW_VISITORS)

    TargetingCondition
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    FirstLevel
    NameTypeDescription
    orOperatorsarrayArray of booleans ("or"=true, "and"=false) for binding conditions of second level.
    conditionsarray[TargetingCondition]Add conditions (see TargetingConditionIO) to define a segment. The more conditions you add, the more precise your segment will be.

    ORIGIN_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    trafficTypeenumTraffic type. Can be [SEO, SEM, AFFILIATION, EMAIL, DIRECT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DOM_ELEMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    elementTypeenumType of element on the page. If the field is 'SINGLE' the field 'elementValue' should be specified. Can be [SINGLE, ANY_MODIFIED]
    elementValuestringElement on the page (id, class, ...) if 'elementType' is SINGLE.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BelongingPriceParams
    NameTypeDescription
    valueintegerTo which fraction of products the product belongs
    productWayOfCountingenumHow to count 'value'?. Can be [PERCENT, COUNTS]
    priceCategoryenum. Can be [EXPENSIVE, CHEAP]
    areaOfPriceMatchingenum. Can be [ALL_CATALOGUE, SPECIFIC_CATEGORIES, SPECIFIC_PRODUCTS]
    productEanstringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_PRODUCTS'
    categorystringHas to be specified if 'areaOfPriceMatching' is 'SPECIFIC_CATEGORIES'

    SCREEN_DIMENSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    widthintegerShould be specified if 'widthMatchType' is not 'INCLUDE'
    widthLowerBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthUpperBoundintegerShould be specified if 'widthMatchType' is 'INCLUDE'
    widthMatchTypeenumHow to match the specified width. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    heightintegerShould be specified if 'heightMatchType' is not 'INCLUDE'
    heightLowerBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightUpperBoundintegerShould be specified if 'heightMatchType' is 'INCLUDE'
    heightMatchTypeenumHow to match the specified height. Can be [INCLUDE, EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    SAME_DAY_VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerNumber of visits for today
    matchTypeenumHow to match the specified amount of time. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincedatetimeSince date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    todatetimeTo date. Date format in ISO 8601 standard: YYYY-MM-DDThh:mm:ss
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERNAL_SEARCH_KEYWORDS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyWordIndexstringValue can be the index of a specific key word. Or 'ANY' to segment visitors by presence of any key word
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TIME_SINCE_PAGE_LOAD
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define time since a page load. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    countMatchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EVENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    eventstringCustom event

    NUMBER_OF_VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    categorystringProduct category
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    HOUR_MINUTE_RANGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    sincestringSince time. Time format: hh:MM
    tostringTo time. Time format: hh:MM
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LANDING_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringLanding URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITOR_IP
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    ipstringExact visitor ip address
    secondIpstringSecond exact visitor ip address
    ipLowerBoundstringLower bound of ip addresses range. If visitor ip match or is more than the bound it will be included in or excluded from the segment.If the field is filled then 'ipUpperBound' has to be filled too
    ipUpperBoundstringUpper bound of ip addresses range. If visitor ip match or is less than the bound it will included in or excluded from the segment.If the field is filled then 'ipLowerBound' has to be filled too
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_NIGHT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayPeriodenum. Can be [DAY, NIGHT]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITED_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countOfPagesintegerAmount of visited pages
    countOfPagesMatchTypeenumHow to match 'countOfPages'?. Can be [GREATER, EXACT, LOWER]
    productEanstringPages of which product should be visited?
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    NEW_VISITORS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitorsTypeenum. Can be [NEW, RETURNING]

    FORECAST_TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is not 'INCLUDE'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is 'INCLUDE'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    forecastDaysintegerAmount of days which should meet the specified value of temperature. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FORECAST_SKY_STATUS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    skyStatusGroupenumGroup of sky statuses. Each group can include many sky statuses. Can be null if 'skyStatus' is filled. Can be [CLEAR_SKY, CLOUDS, RAIN, THUNDERSTORM, SNOW, HAIL, WIND, DISTURBED_ATMOSPHERE]
    skyStatusenumSpecific status of the sky. Can be null if 'skyStatusGroup' is filled. Can be [CLEAR_SKY, MIST, FEW_CLOUDS, SCATTERED_CLOUDS, OVERCAST_CLOUDS, DRIZZLE, RAIN, EXTREME_RAIN, THUNDERSTORM, VIOLENT_THUNDERSTORM, SNOW, HEAVY_SNOW, HAIL, BREEZE, HIGH_WIND, GALE, SAND_DUST, VOLCANIC, TORNADO, TROPICAL_STORM, HURRICANE]
    forecastDaysintegerAmount of days which should meet the specified 'skyStatus' or 'skyStatusGroup'. This value can't be more than 'daysRange'
    daysRangeintegerRange of days during which the forecast is expected. This value can't be less than 'forecastDays'
    forecastMatchTypeenumHow to match the specified amount of days. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DEVICE_TYPE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    deviceenum. Can be [DESKTOP, TABLET, PHONE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_AUDIENCE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    audiencesarray[TealiumAudience]List of tealium audiences
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    GEOLOCATION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    countrystringVisitor's country
    regionstringVisitor's region
    citystringVisitor's city
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    JS_CODE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    jsCodestringCustom JavaScript condition
    appliedenumRun js code after DOM ready or immediate? Default value: DOM_READY. Can be [DOM_READY, IMMEDIATE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TEALIUM_BADGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    badgesarray[TealiumBadge]List of tealium badges
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_ATTRIBUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    attributestringYsance attribute
    valuestringAttribute value
    valueMatchTypeenumHow to match the specified attribute value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    COOKIE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    namestringCookie name
    valuestringCookie value
    nameMatchTypeenumHow to match the specified cookie name. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    valueMatchTypeenumHow to match the specified cookie value. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, OPTIONAL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    YSANCE_SEGMENT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    segmentsarrayYsance segments
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    DAY_OF_WEEK
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    dayenum. Can be [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_TITLE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    titlestringTitle template
    matchTypeenumHow to match the specified title. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PriceChangeParams
    NameTypeDescription
    changeDurationenumTime range when the price of the product changed. Can be [ONE_WEEK, TWO_WEEKS, ONE_MONTH, SINCE_DATE, BETWEEN_TWO_DATES, DATE_RANGE]
    firstDatedatetimeHas to be specified if 'changeDuration' is 'SINCE_DATE', 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondDatedatetimeHas to be specified if 'changeDuration' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    changeMatchTypeenumHow to match price change. Can be [GREATER, LOWER, EQUAL, BETWEEN]
    firstChangeValuedoubleTo this value selected 'changeMatchType' will be applied
    firstChangeCurrencyenum. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]
    secondChangeValuedoubleHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'
    secondChangeCurrencyenumHas to be specified if 'changeMatchType' is 'BETWEEN_TWO_DATES' or 'DATE_RANGE'. Can be [EURO, INITIAL_PRICE, CURRENT_PRICE]

    HEAT_SLICE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    lowerBoundintegerLower bound of the probability in percents. Max value: 100
    upperBoundintegerUpper bound of the probability in percents. Max value: 100
    goalIdlongUnique identifier of a goal
    keyMomentIdlongUnique identifier of a key moment
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    browserenumThe type of browser visitors are using. Can be [CHROME, FIREFOX, SAFARI, IE, OPERA]
    versionstringBrowser version
    versionMatchTypeenumHow to match the specified version of the browser. Default value: 'EQUAL'. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PRICE_OF_DISPLAYED_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    priceMatchTypeenumHow match by price? According to this field it's necessary to add some additional pricing parameters. Can be [ANY, GREATER, LOWER, EQUAL, BELONG, BETWEEN, INCREASED, DECREASED]
    priceParamsPriceParamsType of params depends on 'priceMatchType' field. 'GREATER', 'LOWER', 'EQUAL' - ExactPriceParams. 'BETWEEN' - BetweenPriceParams. 'BELONG' - BelongingPriceParams. 'INCREASED', 'DECREASED' - PriceChangeParams.
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ExactPriceParams
    NameTypeDescription
    priceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    valuestringDepending on 'priceCalculationType' here has to be exact price value

    TealiumBadge
    NameTypeDescription
    idlongBadge unique identifier
    namestringBadge name

    PREVIOUS_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringPrevious page URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    KEY_PAGES
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    keyPageIndexstringValue can be the index of a specific key page. Or 'ANY' to segment visitors by presence of any key page
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CONVERSIONS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal. If the fields is not specified then visits during which an any goal was reached will be included or excluded
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    FIRST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the first visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BetweenPriceParams
    NameTypeDescription
    firstPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    firstValuestringDepending on 'priceCalculationType' here has to be exact price value
    secondPriceCalculationTypeenum. Can be [FIXED_PRICE, PRICE_OF_SPECIFIC_PRODUCT, AVERAGE_PRICE_SELECTION, MAX_PRICE_SELECTION, MIN_PRICE_SELECTION, AVERAGE_PRICE_CATEGORY, MAX_PRICE_CATEGORY, MIN_PRICE_CATEGORY, CUSTOM_DATA_VALUE]
    secondValuestringDepending on 'priceCalculationType' here has to be exact price value

    PAGE_VIEWS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    pageCountintegerNumber of page views
    matchTypeenumHow to match the specified amount of pages. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ORIGIN
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringReferring website URL template
    matchTypeenumHow to match the specified url. Default value: 'EXACT'. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    BROWSER_LANGUAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    languagestringBrowser language code in ISO 639-1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    EXPERIMENTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    TEMPERATURE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    measurementenumDefault value: 'CELSIUS'. Can be [CELSIUS, FAHRENHEIT]
    valueintegerExact value of temperature. This field must be not null if 'temperatureMatchType' is 'EQUAL'
    lowerBoundValueintegerLower bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    upperBoundValueintegerUpper bound of temperature. This field must be not null if 'temperatureMatchType' is not 'EQUAL'
    temperatureMatchTypeenumHow to match the specified value of temperature. Can be [EQUAL, LOWER, GREATER, LOWER_OR_EQUAL, GREATER_OR_EQUAL, INCLUDE]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    ACTIVE_SESSION
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumWhat unit of measurements will be used to define if sessions are active for the required duration. Can be [SECOND, MINUTE, HOUR, DAY]
    countintegerCount of time elapsed since session became active according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    AD_BLOCKER
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    OPERATING_SYSTEM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    osenum. Can be [WINDOWS, LINUX, MAC, WINDOWS_PHONE, ANDROID, IOS]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS_BY_PAGE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    periodenumPer what period of time visits should be considered. Can be [VISIT, VISITOR, HOUR, DAY, MONTH]
    countintegerAmount of visits
    countMatchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    urlstringURL template
    urlMatchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    INTERESTS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    interestIndexstringValue can be the index of specific interest. Or 'ANY' to segment visitors by presence of any interest
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    VISITS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    visitCountintegerTotal amount of visits
    matchTypeenumHow to match the specified amount of visits. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    CUSTOM_DATUM
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    customDataIndexstringValue can be the index of specific custom data. Or 'ANY' to segment visitors by presence of any custom data
    valuestringValue which was retrieved by specified custom data
    valueMatchTypeenumHow to match the retrieved value? Depends on specified format of data retrieved by the custom data. Can be [TRUE, FALSE, EXACT, CONTAINS, REGULAR_EXPRESSION, EQUAL, LOWER, GREATER, UNDEFINED]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    MOUSE_OUT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1

    CONVERSION_PROBABILITY
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    goalIdlongUnique identifier of a goal expected to be converted
    probabilityenumApproximate or exact probability of conversion of the goal. For the values 'BETWEEN', 'GREATER' and 'LOWER', the fields 'percents' or 'percentsLowerBound' and 'percentsUpperBound' should be specified. Can be [HIGH, SOMEWHAT_HIGH, LOW, VERY_LOW, BETWEEN, GREATER, LOWER]
    percentsintegerShould be specified if the value of the field 'probability' is 'GREATER' or 'LOWER'
    percentsLowerBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    percentsUpperBoundintegerShould be specified if the value of the field 'probability' is 'BETWEEN'
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    PAGE_URL
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    urlstringURL template
    matchTypeenumAccordance between requested URL and URL template. Default value: EXACT. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    REFERRERS
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    referrerIndexstringValue can be the index of a specific referrer. Or 'ANY' to segment visitors by presence of any referrer
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    TealiumAudience
    NameTypeDescription
    idstringAudience unique identifier
    namestringAudience name

    TABS_ON_SITE
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    tabCountintegerNumber of tabs opened
    matchTypeenumHow to match the specified amount of tabs. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    LAST_VISIT
    NameTypeDescription
    idlongUnique identifier
    targetingTypeenumTargeting condition type. According to this field it's necessary to add some additional fields. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    weightintegerMore important conditions have greater values. Default value: 1
    unitOfTimeenumUnit of measurements. Can be [MINUTE, HOUR, DAY, WEEK, MONTH]
    countintegerCount of time elapsed since the last visit according to the 'unitOfTime' field
    matchTypeenumHow to match the specified amount of time. Can be [EQUAL, LOWER, GREATER]
    includebooleanShould visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

    Simulations

    simulate

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/simulations/simulate"
    {
      "containerId" : "123456789",
      "type" : "EXPERIMENT"
    }
    

    POST /simulations/simulate

    Request body

    SimulationInput
    NameTypeDescription
    containerId
    *required
    long
    type
    *required
    enum. Can be [EXPERIMENT, PERSONALIZATION]

    Example response

    {
      "id" : "123456789",
      "siteCode" : "string",
      "simulationData" : "string",
      "simulationCode" : "string",
      "shortURL" : "string",
      "longURL" : "string",
      "targetingSegments" : [ "[]" ],
      "siteId" : "123456789"
    }
    
    Response body

    SimulationOutput
    NameTypeDescription
    idlongUnique identifier of simulation
    siteCodestringSite code
    simulationDatastring
    simulationCodestring
    shortURLstring
    longURLstring
    targetingSegmentsarray
    siteIdlong

    getOne_3

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/simulations/{siteCode}"
    

    GET /simulations/{siteCode}

    Request arguments
    NamePlaceTypeDescription
    siteCodepathstringsiteCode
    simulationCodequerystringsimulationCode

    Example response

    {
      "id" : "123456789",
      "siteCode" : "string",
      "simulationData" : "string",
      "simulationCode" : "string",
      "shortURL" : "string",
      "longURL" : "string",
      "targetingSegments" : [ "[]" ],
      "siteId" : "123456789"
    }
    
    Response body

    SimulationOutput
    NameTypeDescription
    idlongUnique identifier of simulation
    siteCodestringSite code
    simulationDatastring
    simulationCodestring
    shortURLstring
    longURLstring
    targetingSegmentsarray
    siteIdlong

    Sites

    You can set up several websites with your account. It can be very useful if you want to test both your website and its mobile version or if you want to test Kameleoon on your website in pre-production first, so you can set up different environments.

    Partial update site, when only information that is passed is updated

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/sites/{siteId}"
    {
      "url" : "string",
      "description" : "string",
      "behaviorWhenTimeout" : "RUN",
      "dataStorage" : "STANDARD_COOKIE",
      "trackingScript" : "string",
      "domainNames" : [ "[]" ],
      "indicators" : [ "RETENTION_RATE" ],
      "isScriptActive" : "false"
    }
    

    PATCH /sites/{siteId}

    Update several fields of site

    Request arguments
    NamePlaceTypeDescription
    siteIdpathlongsiteId
    Request body

    SiteUpdate
    NameTypeDescription
    urlstringURL of the website
    descriptionstringWebsite description
    behaviorWhenTimeoutenumBehavior if timeout occurs. You can redefine the behavior of Kameleoon Application when the script exceeds the usual loading time. By default, the application will eventually launch with a flicker effect.. Can be [RUN, DISABLE_FOR_PAGE, DISABLE_FOR_VISIT]
    dataStorageenumThis option allows you to choose source where to store the data of your A/B tests on the the visitor's device. Can be [STANDARD_COOKIE, LOCAL_STORAGE, CUSTOM_COOKIE]
    trackingScriptstringGlobal custom script is any JavaScript code that you add which will be executed at each page load. This custom script will be executed right after the loading of Kameleoon application. For instance, you can add complex tracking code or integration to some third party solutions in this section.
    domainNamesarray
    indicatorsarrayList of indicators such as: Retention rate, number of pages seen and dwell time. Can be [RETENTION_RATE, NUMBER_OF_PAGES_SEEN, DWELL_TIME]
    isScriptActivebooleanIdentifies if the script is installed successfully and is active on the website

    Example response

    {
      "id" : "123456789",
      "url" : "string",
      "description" : "string",
      "code" : "string",
      "behaviorWhenTimeout" : "RUN",
      "dataStorage" : "STANDARD_COOKIE",
      "trackingScript" : "string",
      "domainNames" : [ "[]" ],
      "indicators" : [ "RETENTION_RATE" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "isScriptActive" : "false",
      "captureEventMethod" : "CLICK",
      "isAudienceUsed" : "false",
      "isKameleoonEnabled" : "false",
      "experimentConfig" : {
        "isEditorLaunchedByShortcut" : "false",
        "isKameleoonReportingEnabled" : "false",
        "customVariationSelectionScript" : "string",
        "minWiningReliability" : "1234",
        "abtestConsent" : "OFF",
        "abtestConsentOptout" : "RUN",
        "beforeAbtestConsent" : "NONE"
      },
      "personalizationConfig" : {
        "personalizationsDeviation" : "132.987",
        "isSameTypePersonalizationEnabled" : "false",
        "isSameJqueryInjectionAllowed" : "false",
        "personalizationConsent" : "OFF",
        "personalizationConsentOptout" : "RUN",
        "beforePersonalizationConsent" : "NONE"
      },
      "audienceConfig" : {
        "mainGoal" : "123456789",
        "includedTargetingTypeList" : [ "PAGE_URL" ],
        "excludedTargetingTypeList" : [ "PAGE_URL" ],
        "includedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "excludedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "includedCustomData" : [ "[]" ],
        "excludedCustomData" : [ "[]" ],
        "includedTargetingSegmentList" : [ "[]" ],
        "excludedTargetingSegmentList" : [ "[]" ],
        "siteType" : "ECOMMERCE",
        "ignoreURLSettings" : "false",
        "predictiveTargeting" : "false",
        "excludedGoalList" : [ "[]" ],
        "includedExperimentList" : [ "[]" ],
        "excludedExperimentList" : [ "[]" ],
        "includedPersonalizationList" : [ "[]" ],
        "excludedPersonalizationList" : [ "[]" ],
        "cartAmountGoal" : "123456789",
        "cartAmountValue" : "123456789"
      }
    }
    
    Response body

    Site
    NameTypeDescription
    idlongThe unique identifier for the website
    urlstringURL of the website
    descriptionstringWebsite description
    codestringSystem generated code to uniquely identify a website.
    behaviorWhenTimeoutenumBehavior if timeout occurs. You can redefine the behavior of Kameleoon Application when the script exceeds the usual loading time. By default, the application will eventually launch with a flicker effect.. Can be [RUN, DISABLE_FOR_PAGE, DISABLE_FOR_VISIT]
    dataStorageenumThis option allows you to choose source where to store the data of your A/B tests on the the visitor's device. Can be [STANDARD_COOKIE, LOCAL_STORAGE, CUSTOM_COOKIE]
    trackingScriptstringGlobal custom script is any JavaScript code that you add which will be executed at each page load. This custom script will be executed right after the loading of Kameleoon application. For instance, you can add complex tracking code or integration to some third party solutions in this section.
    domainNamesarray
    indicatorsarrayList of indicators such as: Retention rate, number of pages seen and dwell time. Can be [RETENTION_RATE, NUMBER_OF_PAGES_SEEN, DWELL_TIME]
    dateCreateddatetimeDate when the site was created.
    isScriptActivebooleanIdentifies if the script is installed successfully and is active on the website
    captureEventMethodenum. Can be [CLICK, MOUSEDOWN, MOUSEUP]
    isAudienceUsedbooleanIdentifies where audience feature is enabled and used for the website
    isKameleoonEnabledbooleanThis field represents if Kameleoon application is enbabled for the website
    experimentConfigExperimentConfigConfiguration of an experiment
    personalizationConfigPersonalizationConfigConfiguration of a personalization
    audienceConfigAudienceConfigAudience configuration

    AudienceConfigUrl
    NameTypeDescription
    urlstring
    matchTypeenum. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]

    PersonalizationConfig
    NameTypeDescription
    personalizationsDeviationdoubleInclude visitors. Percentage of your visitors included to personalizations. You can define a visitor rate who will never be exposed to your personalizations. We advise youto keep a sample population, not exposed, in order to determine the efficiency of your personalizations.
    isSameTypePersonalizationEnabledbooleanAdvanced options. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    isSameJqueryInjectionAllowedbooleanAllow the injection of jQuery. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    personalizationConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    personalizationConsentOptoutenum. Can be [RUN, BLOCK]
    beforePersonalizationConsentenum. Can be [NONE, PARTIALLY, ALL]

    ExperimentConfig
    NameTypeDescription
    isEditorLaunchedByShortcutbooleanEditor launching. Enable launching the editor via Shift + F2
    isKameleoonReportingEnabledbooleanResult reporting. Activate Kameleoon’s reporting to view test results
    customVariationSelectionScriptstringVariation selection script. By default, the assignation of an experiment's variation to a visitor is done via a random mechanism. You can write a JavaScript code here to customize this behavior. The code must return the id of the assigned variation (consult the documentation for details).
    minWiningReliabilityintegerNecessary reliability for the determination of a winning variation. The reliability of the variations is inferior to the rate determined in set-up. The variations cannot be considered as winning in your test results, whatever the number of conversions of these variations. Please be parcimonious about changing this parameter, as this has an impact on the results Kameleoon delivers.
    abtestConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    abtestConsentOptoutenum. Can be [RUN, BLOCK]
    beforeAbtestConsentenum. Can be [NONE, PARTIALLY, ALL]

    AudienceConfig
    NameTypeDescription
    mainGoallongPrimary goal, it must correspond to the main conversion action of the site
    includedTargetingTypeListarrayThe 3 targeting criteria to be treated primarily in your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    excludedTargetingTypeListarrayTargeting criteria to be excluded from your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    includedConfigurationUrlListarray[AudienceConfigUrl]URLs you want to optimize primarily
    excludedConfigurationUrlListarray[AudienceConfigUrl]URLS to be excluded from your recommendations
    includedCustomDataarrayPersonalized data to be treated primarily in your recommendations
    excludedCustomDataarrayPersonalized data to be excluded from your recommendations
    includedTargetingSegmentListarrayAdditional segments to track. Predictive segments are tracked by default
    excludedTargetingSegmentListarraySegments to be excluded from your recommendations
    siteTypeenumTypology of the website. Can be [ECOMMERCE, MEDIA, OTHER]
    ignoreURLSettingsbooleanIgnore the settings in the URL of your pages
    predictiveTargetingbooleanActivate predictive targeting option
    excludedGoalListarrayGoals to be excluded from your recommendations
    includedExperimentListarrayA/B tests to be privileged in your recommendations
    excludedExperimentListarrayA/B tests to be excluded from your recommendations
    includedPersonalizationListarrayPersonalizations to be privileged in your recommendations
    excludedPersonalizationListarrayPersonalizations to be excluded from your recommendations
    cartAmountGoallongGoal to which the value of customer's basket is linked
    cartAmountValuelongConversion value linked to the primary goal

    Remove site

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/sites/{siteId}"
    

    DELETE /sites/{siteId}

    Remove site with given id

    Request arguments
    NamePlaceTypeDescription
    siteIdpathlongsiteId

    Get one site

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/sites/{siteId}"
    

    GET /sites/{siteId}

    Get one site with given id

    Request arguments
    NamePlaceTypeDescription
    siteIdpathlongsiteId
    optionalFieldsqueryarrayoptionalFields

    Example response

    {
      "id" : "123456789",
      "url" : "string",
      "description" : "string",
      "code" : "string",
      "behaviorWhenTimeout" : "RUN",
      "dataStorage" : "STANDARD_COOKIE",
      "trackingScript" : "string",
      "domainNames" : [ "[]" ],
      "indicators" : [ "RETENTION_RATE" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "isScriptActive" : "false",
      "captureEventMethod" : "CLICK",
      "isAudienceUsed" : "false",
      "isKameleoonEnabled" : "false",
      "experimentConfig" : {
        "isEditorLaunchedByShortcut" : "false",
        "isKameleoonReportingEnabled" : "false",
        "customVariationSelectionScript" : "string",
        "minWiningReliability" : "1234",
        "abtestConsent" : "OFF",
        "abtestConsentOptout" : "RUN",
        "beforeAbtestConsent" : "NONE"
      },
      "personalizationConfig" : {
        "personalizationsDeviation" : "132.987",
        "isSameTypePersonalizationEnabled" : "false",
        "isSameJqueryInjectionAllowed" : "false",
        "personalizationConsent" : "OFF",
        "personalizationConsentOptout" : "RUN",
        "beforePersonalizationConsent" : "NONE"
      },
      "audienceConfig" : {
        "mainGoal" : "123456789",
        "includedTargetingTypeList" : [ "PAGE_URL" ],
        "excludedTargetingTypeList" : [ "PAGE_URL" ],
        "includedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "excludedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "includedCustomData" : [ "[]" ],
        "excludedCustomData" : [ "[]" ],
        "includedTargetingSegmentList" : [ "[]" ],
        "excludedTargetingSegmentList" : [ "[]" ],
        "siteType" : "ECOMMERCE",
        "ignoreURLSettings" : "false",
        "predictiveTargeting" : "false",
        "excludedGoalList" : [ "[]" ],
        "includedExperimentList" : [ "[]" ],
        "excludedExperimentList" : [ "[]" ],
        "includedPersonalizationList" : [ "[]" ],
        "excludedPersonalizationList" : [ "[]" ],
        "cartAmountGoal" : "123456789",
        "cartAmountValue" : "123456789"
      }
    }
    
    Response body

    Site
    NameTypeDescription
    idlongThe unique identifier for the website
    urlstringURL of the website
    descriptionstringWebsite description
    codestringSystem generated code to uniquely identify a website.
    behaviorWhenTimeoutenumBehavior if timeout occurs. You can redefine the behavior of Kameleoon Application when the script exceeds the usual loading time. By default, the application will eventually launch with a flicker effect.. Can be [RUN, DISABLE_FOR_PAGE, DISABLE_FOR_VISIT]
    dataStorageenumThis option allows you to choose source where to store the data of your A/B tests on the the visitor's device. Can be [STANDARD_COOKIE, LOCAL_STORAGE, CUSTOM_COOKIE]
    trackingScriptstringGlobal custom script is any JavaScript code that you add which will be executed at each page load. This custom script will be executed right after the loading of Kameleoon application. For instance, you can add complex tracking code or integration to some third party solutions in this section.
    domainNamesarray
    indicatorsarrayList of indicators such as: Retention rate, number of pages seen and dwell time. Can be [RETENTION_RATE, NUMBER_OF_PAGES_SEEN, DWELL_TIME]
    dateCreateddatetimeDate when the site was created.
    isScriptActivebooleanIdentifies if the script is installed successfully and is active on the website
    captureEventMethodenum. Can be [CLICK, MOUSEDOWN, MOUSEUP]
    isAudienceUsedbooleanIdentifies where audience feature is enabled and used for the website
    isKameleoonEnabledbooleanThis field represents if Kameleoon application is enbabled for the website
    experimentConfigExperimentConfigConfiguration of an experiment
    personalizationConfigPersonalizationConfigConfiguration of a personalization
    audienceConfigAudienceConfigAudience configuration

    AudienceConfigUrl
    NameTypeDescription
    urlstring
    matchTypeenum. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]

    PersonalizationConfig
    NameTypeDescription
    personalizationsDeviationdoubleInclude visitors. Percentage of your visitors included to personalizations. You can define a visitor rate who will never be exposed to your personalizations. We advise youto keep a sample population, not exposed, in order to determine the efficiency of your personalizations.
    isSameTypePersonalizationEnabledbooleanAdvanced options. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    isSameJqueryInjectionAllowedbooleanAllow the injection of jQuery. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    personalizationConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    personalizationConsentOptoutenum. Can be [RUN, BLOCK]
    beforePersonalizationConsentenum. Can be [NONE, PARTIALLY, ALL]

    ExperimentConfig
    NameTypeDescription
    isEditorLaunchedByShortcutbooleanEditor launching. Enable launching the editor via Shift + F2
    isKameleoonReportingEnabledbooleanResult reporting. Activate Kameleoon’s reporting to view test results
    customVariationSelectionScriptstringVariation selection script. By default, the assignation of an experiment's variation to a visitor is done via a random mechanism. You can write a JavaScript code here to customize this behavior. The code must return the id of the assigned variation (consult the documentation for details).
    minWiningReliabilityintegerNecessary reliability for the determination of a winning variation. The reliability of the variations is inferior to the rate determined in set-up. The variations cannot be considered as winning in your test results, whatever the number of conversions of these variations. Please be parcimonious about changing this parameter, as this has an impact on the results Kameleoon delivers.
    abtestConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    abtestConsentOptoutenum. Can be [RUN, BLOCK]
    beforeAbtestConsentenum. Can be [NONE, PARTIALLY, ALL]

    AudienceConfig
    NameTypeDescription
    mainGoallongPrimary goal, it must correspond to the main conversion action of the site
    includedTargetingTypeListarrayThe 3 targeting criteria to be treated primarily in your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    excludedTargetingTypeListarrayTargeting criteria to be excluded from your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    includedConfigurationUrlListarray[AudienceConfigUrl]URLs you want to optimize primarily
    excludedConfigurationUrlListarray[AudienceConfigUrl]URLS to be excluded from your recommendations
    includedCustomDataarrayPersonalized data to be treated primarily in your recommendations
    excludedCustomDataarrayPersonalized data to be excluded from your recommendations
    includedTargetingSegmentListarrayAdditional segments to track. Predictive segments are tracked by default
    excludedTargetingSegmentListarraySegments to be excluded from your recommendations
    siteTypeenumTypology of the website. Can be [ECOMMERCE, MEDIA, OTHER]
    ignoreURLSettingsbooleanIgnore the settings in the URL of your pages
    predictiveTargetingbooleanActivate predictive targeting option
    excludedGoalListarrayGoals to be excluded from your recommendations
    includedExperimentListarrayA/B tests to be privileged in your recommendations
    excludedExperimentListarrayA/B tests to be excluded from your recommendations
    includedPersonalizationListarrayPersonalizations to be privileged in your recommendations
    excludedPersonalizationListarrayPersonalizations to be excluded from your recommendations
    cartAmountGoallongGoal to which the value of customer's basket is linked
    cartAmountValuelongConversion value linked to the primary goal

    Update site

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/sites/{siteId}"
    {
      "id" : "123456789",
      "url" : "string",
      "description" : "string",
      "code" : "string",
      "behaviorWhenTimeout" : "RUN",
      "dataStorage" : "STANDARD_COOKIE",
      "trackingScript" : "string",
      "domainNames" : [ "[]" ],
      "indicators" : [ "RETENTION_RATE" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "isScriptActive" : "false",
      "captureEventMethod" : "CLICK",
      "isAudienceUsed" : "false",
      "isKameleoonEnabled" : "false",
      "experimentConfig" : {
        "isEditorLaunchedByShortcut" : "false",
        "isKameleoonReportingEnabled" : "false",
        "customVariationSelectionScript" : "string",
        "minWiningReliability" : "1234",
        "abtestConsent" : "OFF",
        "abtestConsentOptout" : "RUN",
        "beforeAbtestConsent" : "NONE"
      },
      "personalizationConfig" : {
        "personalizationsDeviation" : "132.987",
        "isSameTypePersonalizationEnabled" : "false",
        "isSameJqueryInjectionAllowed" : "false",
        "personalizationConsent" : "OFF",
        "personalizationConsentOptout" : "RUN",
        "beforePersonalizationConsent" : "NONE"
      },
      "audienceConfig" : {
        "mainGoal" : "123456789",
        "includedTargetingTypeList" : [ "PAGE_URL" ],
        "excludedTargetingTypeList" : [ "PAGE_URL" ],
        "includedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "excludedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "includedCustomData" : [ "[]" ],
        "excludedCustomData" : [ "[]" ],
        "includedTargetingSegmentList" : [ "[]" ],
        "excludedTargetingSegmentList" : [ "[]" ],
        "siteType" : "ECOMMERCE",
        "ignoreURLSettings" : "false",
        "predictiveTargeting" : "false",
        "excludedGoalList" : [ "[]" ],
        "includedExperimentList" : [ "[]" ],
        "excludedExperimentList" : [ "[]" ],
        "includedPersonalizationList" : [ "[]" ],
        "excludedPersonalizationList" : [ "[]" ],
        "cartAmountGoal" : "123456789",
        "cartAmountValue" : "123456789"
      }
    }
    

    PUT /sites/{siteId}

    Update site with given id

    Request arguments
    NamePlaceTypeDescription
    siteIdpathlongsiteId
    Request body

    Site
    NameTypeDescription
    id
    *read only
    longThe unique identifier for the website
    url
    *required
    stringURL of the website
    descriptionstringWebsite description
    code
    *read only
    stringSystem generated code to uniquely identify a website.
    behaviorWhenTimeoutenumBehavior if timeout occurs. You can redefine the behavior of Kameleoon Application when the script exceeds the usual loading time. By default, the application will eventually launch with a flicker effect.. Can be [RUN, DISABLE_FOR_PAGE, DISABLE_FOR_VISIT]
    dataStorageenumThis option allows you to choose source where to store the data of your A/B tests on the the visitor's device. Can be [STANDARD_COOKIE, LOCAL_STORAGE, CUSTOM_COOKIE]
    trackingScriptstringGlobal custom script is any JavaScript code that you add which will be executed at each page load. This custom script will be executed right after the loading of Kameleoon application. For instance, you can add complex tracking code or integration to some third party solutions in this section.
    domainNamesarray
    indicatorsarrayList of indicators such as: Retention rate, number of pages seen and dwell time. Can be [RETENTION_RATE, NUMBER_OF_PAGES_SEEN, DWELL_TIME]
    dateCreated
    *read only
    datetimeDate when the site was created.
    isScriptActivebooleanIdentifies if the script is installed successfully and is active on the website
    captureEventMethodenum. Can be [CLICK, MOUSEDOWN, MOUSEUP]
    isAudienceUsedbooleanIdentifies where audience feature is enabled and used for the website
    isKameleoonEnabledbooleanThis field represents if Kameleoon application is enbabled for the website
    experimentConfigExperimentConfigConfiguration of an experiment
    personalizationConfigPersonalizationConfigConfiguration of a personalization
    audienceConfigAudienceConfigAudience configuration

    AudienceConfigUrl
    NameTypeDescription
    urlstring
    matchTypeenum. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]

    PersonalizationConfig
    NameTypeDescription
    personalizationsDeviationdoubleInclude visitors. Percentage of your visitors included to personalizations. You can define a visitor rate who will never be exposed to your personalizations. We advise youto keep a sample population, not exposed, in order to determine the efficiency of your personalizations.
    isSameTypePersonalizationEnabledbooleanAdvanced options. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    isSameJqueryInjectionAllowedbooleanAllow the injection of jQuery. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    personalizationConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    personalizationConsentOptoutenum. Can be [RUN, BLOCK]
    beforePersonalizationConsentenum. Can be [NONE, PARTIALLY, ALL]

    ExperimentConfig
    NameTypeDescription
    isEditorLaunchedByShortcutbooleanEditor launching. Enable launching the editor via Shift + F2
    isKameleoonReportingEnabledbooleanResult reporting. Activate Kameleoon’s reporting to view test results
    customVariationSelectionScriptstringVariation selection script. By default, the assignation of an experiment's variation to a visitor is done via a random mechanism. You can write a JavaScript code here to customize this behavior. The code must return the id of the assigned variation (consult the documentation for details).
    minWiningReliabilityintegerNecessary reliability for the determination of a winning variation. The reliability of the variations is inferior to the rate determined in set-up. The variations cannot be considered as winning in your test results, whatever the number of conversions of these variations. Please be parcimonious about changing this parameter, as this has an impact on the results Kameleoon delivers.
    abtestConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    abtestConsentOptoutenum. Can be [RUN, BLOCK]
    beforeAbtestConsentenum. Can be [NONE, PARTIALLY, ALL]

    AudienceConfig
    NameTypeDescription
    mainGoal
    *required
    longPrimary goal, it must correspond to the main conversion action of the site
    includedTargetingTypeListarrayThe 3 targeting criteria to be treated primarily in your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    excludedTargetingTypeListarrayTargeting criteria to be excluded from your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    includedConfigurationUrlListarray[AudienceConfigUrl]URLs you want to optimize primarily
    excludedConfigurationUrlListarray[AudienceConfigUrl]URLS to be excluded from your recommendations
    includedCustomDataarrayPersonalized data to be treated primarily in your recommendations
    excludedCustomDataarrayPersonalized data to be excluded from your recommendations
    includedTargetingSegmentListarrayAdditional segments to track. Predictive segments are tracked by default
    excludedTargetingSegmentListarraySegments to be excluded from your recommendations
    siteTypeenumTypology of the website. Can be [ECOMMERCE, MEDIA, OTHER]
    ignoreURLSettingsbooleanIgnore the settings in the URL of your pages
    predictiveTargetingbooleanActivate predictive targeting option
    excludedGoalListarrayGoals to be excluded from your recommendations
    includedExperimentListarrayA/B tests to be privileged in your recommendations
    excludedExperimentListarrayA/B tests to be excluded from your recommendations
    includedPersonalizationListarrayPersonalizations to be privileged in your recommendations
    excludedPersonalizationListarrayPersonalizations to be excluded from your recommendations
    cartAmountGoallongGoal to which the value of customer's basket is linked
    cartAmountValuelongConversion value linked to the primary goal

    Example response

    {
      "id" : "123456789",
      "url" : "string",
      "description" : "string",
      "code" : "string",
      "behaviorWhenTimeout" : "RUN",
      "dataStorage" : "STANDARD_COOKIE",
      "trackingScript" : "string",
      "domainNames" : [ "[]" ],
      "indicators" : [ "RETENTION_RATE" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "isScriptActive" : "false",
      "captureEventMethod" : "CLICK",
      "isAudienceUsed" : "false",
      "isKameleoonEnabled" : "false",
      "experimentConfig" : {
        "isEditorLaunchedByShortcut" : "false",
        "isKameleoonReportingEnabled" : "false",
        "customVariationSelectionScript" : "string",
        "minWiningReliability" : "1234",
        "abtestConsent" : "OFF",
        "abtestConsentOptout" : "RUN",
        "beforeAbtestConsent" : "NONE"
      },
      "personalizationConfig" : {
        "personalizationsDeviation" : "132.987",
        "isSameTypePersonalizationEnabled" : "false",
        "isSameJqueryInjectionAllowed" : "false",
        "personalizationConsent" : "OFF",
        "personalizationConsentOptout" : "RUN",
        "beforePersonalizationConsent" : "NONE"
      },
      "audienceConfig" : {
        "mainGoal" : "123456789",
        "includedTargetingTypeList" : [ "PAGE_URL" ],
        "excludedTargetingTypeList" : [ "PAGE_URL" ],
        "includedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "excludedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "includedCustomData" : [ "[]" ],
        "excludedCustomData" : [ "[]" ],
        "includedTargetingSegmentList" : [ "[]" ],
        "excludedTargetingSegmentList" : [ "[]" ],
        "siteType" : "ECOMMERCE",
        "ignoreURLSettings" : "false",
        "predictiveTargeting" : "false",
        "excludedGoalList" : [ "[]" ],
        "includedExperimentList" : [ "[]" ],
        "excludedExperimentList" : [ "[]" ],
        "includedPersonalizationList" : [ "[]" ],
        "excludedPersonalizationList" : [ "[]" ],
        "cartAmountGoal" : "123456789",
        "cartAmountValue" : "123456789"
      }
    }
    
    Response body

    Site
    NameTypeDescription
    idlongThe unique identifier for the website
    urlstringURL of the website
    descriptionstringWebsite description
    codestringSystem generated code to uniquely identify a website.
    behaviorWhenTimeoutenumBehavior if timeout occurs. You can redefine the behavior of Kameleoon Application when the script exceeds the usual loading time. By default, the application will eventually launch with a flicker effect.. Can be [RUN, DISABLE_FOR_PAGE, DISABLE_FOR_VISIT]
    dataStorageenumThis option allows you to choose source where to store the data of your A/B tests on the the visitor's device. Can be [STANDARD_COOKIE, LOCAL_STORAGE, CUSTOM_COOKIE]
    trackingScriptstringGlobal custom script is any JavaScript code that you add which will be executed at each page load. This custom script will be executed right after the loading of Kameleoon application. For instance, you can add complex tracking code or integration to some third party solutions in this section.
    domainNamesarray
    indicatorsarrayList of indicators such as: Retention rate, number of pages seen and dwell time. Can be [RETENTION_RATE, NUMBER_OF_PAGES_SEEN, DWELL_TIME]
    dateCreateddatetimeDate when the site was created.
    isScriptActivebooleanIdentifies if the script is installed successfully and is active on the website
    captureEventMethodenum. Can be [CLICK, MOUSEDOWN, MOUSEUP]
    isAudienceUsedbooleanIdentifies where audience feature is enabled and used for the website
    isKameleoonEnabledbooleanThis field represents if Kameleoon application is enbabled for the website
    experimentConfigExperimentConfigConfiguration of an experiment
    personalizationConfigPersonalizationConfigConfiguration of a personalization
    audienceConfigAudienceConfigAudience configuration

    AudienceConfigUrl
    NameTypeDescription
    urlstring
    matchTypeenum. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]

    PersonalizationConfig
    NameTypeDescription
    personalizationsDeviationdoubleInclude visitors. Percentage of your visitors included to personalizations. You can define a visitor rate who will never be exposed to your personalizations. We advise youto keep a sample population, not exposed, in order to determine the efficiency of your personalizations.
    isSameTypePersonalizationEnabledbooleanAdvanced options. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    isSameJqueryInjectionAllowedbooleanAllow the injection of jQuery. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    personalizationConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    personalizationConsentOptoutenum. Can be [RUN, BLOCK]
    beforePersonalizationConsentenum. Can be [NONE, PARTIALLY, ALL]

    ExperimentConfig
    NameTypeDescription
    isEditorLaunchedByShortcutbooleanEditor launching. Enable launching the editor via Shift + F2
    isKameleoonReportingEnabledbooleanResult reporting. Activate Kameleoon’s reporting to view test results
    customVariationSelectionScriptstringVariation selection script. By default, the assignation of an experiment's variation to a visitor is done via a random mechanism. You can write a JavaScript code here to customize this behavior. The code must return the id of the assigned variation (consult the documentation for details).
    minWiningReliabilityintegerNecessary reliability for the determination of a winning variation. The reliability of the variations is inferior to the rate determined in set-up. The variations cannot be considered as winning in your test results, whatever the number of conversions of these variations. Please be parcimonious about changing this parameter, as this has an impact on the results Kameleoon delivers.
    abtestConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    abtestConsentOptoutenum. Can be [RUN, BLOCK]
    beforeAbtestConsentenum. Can be [NONE, PARTIALLY, ALL]

    AudienceConfig
    NameTypeDescription
    mainGoallongPrimary goal, it must correspond to the main conversion action of the site
    includedTargetingTypeListarrayThe 3 targeting criteria to be treated primarily in your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    excludedTargetingTypeListarrayTargeting criteria to be excluded from your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    includedConfigurationUrlListarray[AudienceConfigUrl]URLs you want to optimize primarily
    excludedConfigurationUrlListarray[AudienceConfigUrl]URLS to be excluded from your recommendations
    includedCustomDataarrayPersonalized data to be treated primarily in your recommendations
    excludedCustomDataarrayPersonalized data to be excluded from your recommendations
    includedTargetingSegmentListarrayAdditional segments to track. Predictive segments are tracked by default
    excludedTargetingSegmentListarraySegments to be excluded from your recommendations
    siteTypeenumTypology of the website. Can be [ECOMMERCE, MEDIA, OTHER]
    ignoreURLSettingsbooleanIgnore the settings in the URL of your pages
    predictiveTargetingbooleanActivate predictive targeting option
    excludedGoalListarrayGoals to be excluded from your recommendations
    includedExperimentListarrayA/B tests to be privileged in your recommendations
    excludedExperimentListarrayA/B tests to be excluded from your recommendations
    includedPersonalizationListarrayPersonalizations to be privileged in your recommendations
    excludedPersonalizationListarrayPersonalizations to be excluded from your recommendations
    cartAmountGoallongGoal to which the value of customer's basket is linked
    cartAmountValuelongConversion value linked to the primary goal

    Get integration tools

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/sites/{siteId}/integration-tools"
    

    GET /sites/{siteId}/integration-tools

    Get integration tools on site with given id

    Request arguments
    NamePlaceTypeDescription
    siteIdpathlongsiteId

    Example response

    [ {
      "enabled" : "false",
      "type" : "GOOGLE_ANALYTICS",
      "settings" : { }
    } ]
    
    Response body

    IntegrationTool
    NameTypeDescription
    enabledbooleanThis field indicates where integration tool is enabled
    typeenumIntegration type that is selected from a list of available integrations. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    settingsIntegrationSettingsDifferent settings stored for a given integration. Type of settings depends on 'type' field. 'ADOBE_OMNITURE' - AdobeOmnitureSettings. 'GOOGLE_ANALYTICS' - GoogleAnalyticsSettings. 'UNIVERSAL_ANALYTICS' - UniversalAnalyticsSettings. 'AT_INTERNET' - ATInternetSettings. 'SMART_TAG' - SmartTagSettings. 'HEATMAP' - HeatmapSettings. 'COM_SCORE' - ComScoreSettings. 'TEALIUM' - TealiumSettings. 'YSANCE' - YsanceSettings. 'MANDRILL' - MandrillSettings. 'SMARTFOCUS' - SmartFocusSettings. 'MAILJET' - MailjetSettings. 'MAILUP' - MailupSettings. 'EMARSYS' - EmarsysSettings. 'EXPERT_SENDER' - ExpertSenderSettings. 'CONTENT_SQUARE' - ContentSquareSettings. 'CUSTOM_INTEGRATION' - CustomIntegrationSettings. 'HEAP' - HeapSettings. 'SEGMENT' - SegmentSettings. 'MIXPANEL' - MixpanelSettings. 'IABTCF' - IabtcfSettings. For others types params aren't needed.

    SmartFocusSettings
    NameTypeDescription
    keysarray

    YsanceSettings
    NameTypeDescription
    idstring
    trackingboolean
    customVariableinteger

    AdobeOmnitureSettings
    NameTypeDescription
    objectstring
    anchorReferrerboolean
    objectDetectionScriptstring
    forbiddenEVarsarray
    eventCallDelayedboolean
    willIncludeTracksentMarkerboolean

    MailupSettings
    NameTypeDescription
    accountsarray[MailupSettingsAccount]

    ATInternetSettings
    NameTypeDescription
    forceXtCoreMissingboolean
    xtCoreMissingScriptstring
    predefinedTagNamestring

    ToolCustomIntegrationSettings
    NameTypeDescription
    namestring
    connectionIdstring

    MailjetSettingsAccount
    NameTypeDescription
    keystring
    passwordstring

    MailjetSettings
    NameTypeDescription
    accountsarray[MailjetSettingsAccount]

    ExpertSenderSettings
    NameTypeDescription
    keysarray

    SmartTagSettings
    NameTypeDescription
    predefinedTagNamestring

    UniversalAnalyticsSettings
    NameTypeDescription
    trackingIdstring
    dimensionTrackingboolean
    eventTrackingboolean
    pageViewTrackingboolean
    eventCallDelayedboolean
    premiumboolean

    GoogleAnalyticsSettings
    NameTypeDescription
    trackerstring
    forbiddenCustomVariablesarray
    premiumboolean
    allowAnchorboolean
    customVariableTrackingboolean
    eventTrackingboolean
    pageViewTrackingboolean
    eventCallDelayedboolean
    tokenstring
    secretstring

    MailPerformanceSettings
    NameTypeDescription
    keysarray

    ComScoreSettings
    NameTypeDescription
    customerIdstring
    domainstring

    ContentSquareSettings
    NameTypeDescription
    dimensionTrackingboolean

    HeatmapSettings
    NameTypeDescription
    pageWidthinteger

    EmarsysSettings
    NameTypeDescription
    keysarray

    MailupSettingsAccount
    NameTypeDescription
    keystring
    secretstring
    usernamestring
    passwordstring

    MandrillSettings
    NameTypeDescription
    keysarray

    TealiumSettings
    NameTypeDescription
    accountstring
    profilestring

    CustomIntegrationSettings
    NameTypeDescription
    toolsarray[ToolCustomIntegrationSettings]

    Update selected integration tool

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/sites/{siteId}/integration-tools"
    {
      "enabled" : "false",
      "type" : "GOOGLE_ANALYTICS",
      "settings" : { }
    }
    

    PUT /sites/{siteId}/integration-tools

    Update integration tools on site with given id

    Request arguments
    NamePlaceTypeDescription
    siteIdpathlongsiteId
    Request body

    IntegrationTool
    NameTypeDescription
    enabled
    *required
    booleanThis field indicates where integration tool is enabled
    type
    *required
    enumIntegration type that is selected from a list of available integrations. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    settingsIntegrationSettingsDifferent settings stored for a given integration. Type of settings depends on 'type' field. 'ADOBE_OMNITURE' - AdobeOmnitureSettings. 'GOOGLE_ANALYTICS' - GoogleAnalyticsSettings. 'UNIVERSAL_ANALYTICS' - UniversalAnalyticsSettings. 'AT_INTERNET' - ATInternetSettings. 'SMART_TAG' - SmartTagSettings. 'HEATMAP' - HeatmapSettings. 'COM_SCORE' - ComScoreSettings. 'TEALIUM' - TealiumSettings. 'YSANCE' - YsanceSettings. 'MANDRILL' - MandrillSettings. 'SMARTFOCUS' - SmartFocusSettings. 'MAILJET' - MailjetSettings. 'MAILUP' - MailupSettings. 'EMARSYS' - EmarsysSettings. 'EXPERT_SENDER' - ExpertSenderSettings. 'CONTENT_SQUARE' - ContentSquareSettings. 'CUSTOM_INTEGRATION' - CustomIntegrationSettings. 'HEAP' - HeapSettings. 'SEGMENT' - SegmentSettings. 'MIXPANEL' - MixpanelSettings. 'IABTCF' - IabtcfSettings. For others types params aren't needed.

    SmartFocusSettings
    NameTypeDescription
    keysarray

    YsanceSettings
    NameTypeDescription
    idstring
    trackingboolean
    customVariableinteger

    AdobeOmnitureSettings
    NameTypeDescription
    objectstring
    anchorReferrerboolean
    objectDetectionScriptstring
    forbiddenEVarsarray
    eventCallDelayedboolean
    willIncludeTracksentMarkerboolean

    MailupSettings
    NameTypeDescription
    accountsarray[MailupSettingsAccount]

    ATInternetSettings
    NameTypeDescription
    forceXtCoreMissingboolean
    xtCoreMissingScriptstring
    predefinedTagNamestring

    ToolCustomIntegrationSettings
    NameTypeDescription
    namestring
    connectionIdstring

    MailjetSettingsAccount
    NameTypeDescription
    keystring
    passwordstring

    MailjetSettings
    NameTypeDescription
    accountsarray[MailjetSettingsAccount]

    ExpertSenderSettings
    NameTypeDescription
    keysarray

    SmartTagSettings
    NameTypeDescription
    predefinedTagNamestring

    UniversalAnalyticsSettings
    NameTypeDescription
    trackingIdstring
    dimensionTrackingboolean
    eventTrackingboolean
    pageViewTrackingboolean
    eventCallDelayedboolean
    premiumboolean

    GoogleAnalyticsSettings
    NameTypeDescription
    trackerstring
    forbiddenCustomVariablesarray
    premiumboolean
    allowAnchorboolean
    customVariableTrackingboolean
    eventTrackingboolean
    pageViewTrackingboolean
    eventCallDelayedboolean
    tokenstring
    secretstring

    MailPerformanceSettings
    NameTypeDescription
    keysarray

    ComScoreSettings
    NameTypeDescription
    customerIdstring
    domainstring

    ContentSquareSettings
    NameTypeDescription
    dimensionTrackingboolean

    HeatmapSettings
    NameTypeDescription
    pageWidthinteger

    EmarsysSettings
    NameTypeDescription
    keysarray

    MailupSettingsAccount
    NameTypeDescription
    keystring
    secretstring
    usernamestring
    passwordstring

    MandrillSettings
    NameTypeDescription
    keysarray

    TealiumSettings
    NameTypeDescription
    accountstring
    profilestring

    CustomIntegrationSettings
    NameTypeDescription
    toolsarray[ToolCustomIntegrationSettings]

    Example response

    {
      "enabled" : "false",
      "type" : "GOOGLE_ANALYTICS",
      "settings" : { }
    }
    
    Response body

    IntegrationTool
    NameTypeDescription
    enabledbooleanThis field indicates where integration tool is enabled
    typeenumIntegration type that is selected from a list of available integrations. Can be [GOOGLE_ANALYTICS, UNIVERSAL_ANALYTICS, ECONDA, AT_INTERNET, SMART_TAG, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, HEATMAP, KISS_METRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, MANDRILL, MAILPERFORMANCE, SMARTFOCUS, MAILJET, MAILUP, EMARSYS, EXPERT_SENDER, TAG_COMMANDER, GOOGLE_TAG_MANAGER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATION, HEAP, SEGMENT, MIXPANEL, IABTCF, KAMELEOON_TRACKING, CUSTOM_TRACKING]
    settingsIntegrationSettingsDifferent settings stored for a given integration. Type of settings depends on 'type' field. 'ADOBE_OMNITURE' - AdobeOmnitureSettings. 'GOOGLE_ANALYTICS' - GoogleAnalyticsSettings. 'UNIVERSAL_ANALYTICS' - UniversalAnalyticsSettings. 'AT_INTERNET' - ATInternetSettings. 'SMART_TAG' - SmartTagSettings. 'HEATMAP' - HeatmapSettings. 'COM_SCORE' - ComScoreSettings. 'TEALIUM' - TealiumSettings. 'YSANCE' - YsanceSettings. 'MANDRILL' - MandrillSettings. 'SMARTFOCUS' - SmartFocusSettings. 'MAILJET' - MailjetSettings. 'MAILUP' - MailupSettings. 'EMARSYS' - EmarsysSettings. 'EXPERT_SENDER' - ExpertSenderSettings. 'CONTENT_SQUARE' - ContentSquareSettings. 'CUSTOM_INTEGRATION' - CustomIntegrationSettings. 'HEAP' - HeapSettings. 'SEGMENT' - SegmentSettings. 'MIXPANEL' - MixpanelSettings. 'IABTCF' - IabtcfSettings. For others types params aren't needed.

    SmartFocusSettings
    NameTypeDescription
    keysarray

    YsanceSettings
    NameTypeDescription
    idstring
    trackingboolean
    customVariableinteger

    AdobeOmnitureSettings
    NameTypeDescription
    objectstring
    anchorReferrerboolean
    objectDetectionScriptstring
    forbiddenEVarsarray
    eventCallDelayedboolean
    willIncludeTracksentMarkerboolean

    MailupSettings
    NameTypeDescription
    accountsarray[MailupSettingsAccount]

    ATInternetSettings
    NameTypeDescription
    forceXtCoreMissingboolean
    xtCoreMissingScriptstring
    predefinedTagNamestring

    ToolCustomIntegrationSettings
    NameTypeDescription
    namestring
    connectionIdstring

    MailjetSettingsAccount
    NameTypeDescription
    keystring
    passwordstring

    MailjetSettings
    NameTypeDescription
    accountsarray[MailjetSettingsAccount]

    ExpertSenderSettings
    NameTypeDescription
    keysarray

    SmartTagSettings
    NameTypeDescription
    predefinedTagNamestring

    UniversalAnalyticsSettings
    NameTypeDescription
    trackingIdstring
    dimensionTrackingboolean
    eventTrackingboolean
    pageViewTrackingboolean
    eventCallDelayedboolean
    premiumboolean

    GoogleAnalyticsSettings
    NameTypeDescription
    trackerstring
    forbiddenCustomVariablesarray
    premiumboolean
    allowAnchorboolean
    customVariableTrackingboolean
    eventTrackingboolean
    pageViewTrackingboolean
    eventCallDelayedboolean
    tokenstring
    secretstring

    MailPerformanceSettings
    NameTypeDescription
    keysarray

    ComScoreSettings
    NameTypeDescription
    customerIdstring
    domainstring

    ContentSquareSettings
    NameTypeDescription
    dimensionTrackingboolean

    HeatmapSettings
    NameTypeDescription
    pageWidthinteger

    EmarsysSettings
    NameTypeDescription
    keysarray

    MailupSettingsAccount
    NameTypeDescription
    keystring
    secretstring
    usernamestring
    passwordstring

    MandrillSettings
    NameTypeDescription
    keysarray

    TealiumSettings
    NameTypeDescription
    accountstring
    profilestring

    CustomIntegrationSettings
    NameTypeDescription
    toolsarray[ToolCustomIntegrationSettings]

    Create new site

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/sites"
    {
      "id" : "123456789",
      "url" : "string",
      "description" : "string",
      "code" : "string",
      "behaviorWhenTimeout" : "RUN",
      "dataStorage" : "STANDARD_COOKIE",
      "trackingScript" : "string",
      "domainNames" : [ "[]" ],
      "indicators" : [ "RETENTION_RATE" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "isScriptActive" : "false",
      "captureEventMethod" : "CLICK",
      "isAudienceUsed" : "false",
      "isKameleoonEnabled" : "false",
      "experimentConfig" : {
        "isEditorLaunchedByShortcut" : "false",
        "isKameleoonReportingEnabled" : "false",
        "customVariationSelectionScript" : "string",
        "minWiningReliability" : "1234",
        "abtestConsent" : "OFF",
        "abtestConsentOptout" : "RUN",
        "beforeAbtestConsent" : "NONE"
      },
      "personalizationConfig" : {
        "personalizationsDeviation" : "132.987",
        "isSameTypePersonalizationEnabled" : "false",
        "isSameJqueryInjectionAllowed" : "false",
        "personalizationConsent" : "OFF",
        "personalizationConsentOptout" : "RUN",
        "beforePersonalizationConsent" : "NONE"
      },
      "audienceConfig" : {
        "mainGoal" : "123456789",
        "includedTargetingTypeList" : [ "PAGE_URL" ],
        "excludedTargetingTypeList" : [ "PAGE_URL" ],
        "includedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "excludedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "includedCustomData" : [ "[]" ],
        "excludedCustomData" : [ "[]" ],
        "includedTargetingSegmentList" : [ "[]" ],
        "excludedTargetingSegmentList" : [ "[]" ],
        "siteType" : "ECOMMERCE",
        "ignoreURLSettings" : "false",
        "predictiveTargeting" : "false",
        "excludedGoalList" : [ "[]" ],
        "includedExperimentList" : [ "[]" ],
        "excludedExperimentList" : [ "[]" ],
        "includedPersonalizationList" : [ "[]" ],
        "excludedPersonalizationList" : [ "[]" ],
        "cartAmountGoal" : "123456789",
        "cartAmountValue" : "123456789"
      }
    }
    

    POST /sites

    Create new site with given parameters

    Request body

    Site
    NameTypeDescription
    id
    *read only
    longThe unique identifier for the website
    url
    *required
    stringURL of the website
    descriptionstringWebsite description
    code
    *read only
    stringSystem generated code to uniquely identify a website.
    behaviorWhenTimeoutenumBehavior if timeout occurs. You can redefine the behavior of Kameleoon Application when the script exceeds the usual loading time. By default, the application will eventually launch with a flicker effect.. Can be [RUN, DISABLE_FOR_PAGE, DISABLE_FOR_VISIT]
    dataStorageenumThis option allows you to choose source where to store the data of your A/B tests on the the visitor's device. Can be [STANDARD_COOKIE, LOCAL_STORAGE, CUSTOM_COOKIE]
    trackingScriptstringGlobal custom script is any JavaScript code that you add which will be executed at each page load. This custom script will be executed right after the loading of Kameleoon application. For instance, you can add complex tracking code or integration to some third party solutions in this section.
    domainNamesarray
    indicatorsarrayList of indicators such as: Retention rate, number of pages seen and dwell time. Can be [RETENTION_RATE, NUMBER_OF_PAGES_SEEN, DWELL_TIME]
    dateCreated
    *read only
    datetimeDate when the site was created.
    isScriptActivebooleanIdentifies if the script is installed successfully and is active on the website
    captureEventMethodenum. Can be [CLICK, MOUSEDOWN, MOUSEUP]
    isAudienceUsedbooleanIdentifies where audience feature is enabled and used for the website
    isKameleoonEnabledbooleanThis field represents if Kameleoon application is enbabled for the website
    experimentConfigExperimentConfigConfiguration of an experiment
    personalizationConfigPersonalizationConfigConfiguration of a personalization
    audienceConfigAudienceConfigAudience configuration

    AudienceConfigUrl
    NameTypeDescription
    urlstring
    matchTypeenum. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]

    PersonalizationConfig
    NameTypeDescription
    personalizationsDeviationdoubleInclude visitors. Percentage of your visitors included to personalizations. You can define a visitor rate who will never be exposed to your personalizations. We advise youto keep a sample population, not exposed, in order to determine the efficiency of your personalizations.
    isSameTypePersonalizationEnabledbooleanAdvanced options. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    isSameJqueryInjectionAllowedbooleanAllow the injection of jQuery. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    personalizationConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    personalizationConsentOptoutenum. Can be [RUN, BLOCK]
    beforePersonalizationConsentenum. Can be [NONE, PARTIALLY, ALL]

    ExperimentConfig
    NameTypeDescription
    isEditorLaunchedByShortcutbooleanEditor launching. Enable launching the editor via Shift + F2
    isKameleoonReportingEnabledbooleanResult reporting. Activate Kameleoon’s reporting to view test results
    customVariationSelectionScriptstringVariation selection script. By default, the assignation of an experiment's variation to a visitor is done via a random mechanism. You can write a JavaScript code here to customize this behavior. The code must return the id of the assigned variation (consult the documentation for details).
    minWiningReliabilityintegerNecessary reliability for the determination of a winning variation. The reliability of the variations is inferior to the rate determined in set-up. The variations cannot be considered as winning in your test results, whatever the number of conversions of these variations. Please be parcimonious about changing this parameter, as this has an impact on the results Kameleoon delivers.
    abtestConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    abtestConsentOptoutenum. Can be [RUN, BLOCK]
    beforeAbtestConsentenum. Can be [NONE, PARTIALLY, ALL]

    AudienceConfig
    NameTypeDescription
    mainGoal
    *required
    longPrimary goal, it must correspond to the main conversion action of the site
    includedTargetingTypeListarrayThe 3 targeting criteria to be treated primarily in your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    excludedTargetingTypeListarrayTargeting criteria to be excluded from your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    includedConfigurationUrlListarray[AudienceConfigUrl]URLs you want to optimize primarily
    excludedConfigurationUrlListarray[AudienceConfigUrl]URLS to be excluded from your recommendations
    includedCustomDataarrayPersonalized data to be treated primarily in your recommendations
    excludedCustomDataarrayPersonalized data to be excluded from your recommendations
    includedTargetingSegmentListarrayAdditional segments to track. Predictive segments are tracked by default
    excludedTargetingSegmentListarraySegments to be excluded from your recommendations
    siteTypeenumTypology of the website. Can be [ECOMMERCE, MEDIA, OTHER]
    ignoreURLSettingsbooleanIgnore the settings in the URL of your pages
    predictiveTargetingbooleanActivate predictive targeting option
    excludedGoalListarrayGoals to be excluded from your recommendations
    includedExperimentListarrayA/B tests to be privileged in your recommendations
    excludedExperimentListarrayA/B tests to be excluded from your recommendations
    includedPersonalizationListarrayPersonalizations to be privileged in your recommendations
    excludedPersonalizationListarrayPersonalizations to be excluded from your recommendations
    cartAmountGoallongGoal to which the value of customer's basket is linked
    cartAmountValuelongConversion value linked to the primary goal

    Example response

    {
      "id" : "123456789",
      "url" : "string",
      "description" : "string",
      "code" : "string",
      "behaviorWhenTimeout" : "RUN",
      "dataStorage" : "STANDARD_COOKIE",
      "trackingScript" : "string",
      "domainNames" : [ "[]" ],
      "indicators" : [ "RETENTION_RATE" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "isScriptActive" : "false",
      "captureEventMethod" : "CLICK",
      "isAudienceUsed" : "false",
      "isKameleoonEnabled" : "false",
      "experimentConfig" : {
        "isEditorLaunchedByShortcut" : "false",
        "isKameleoonReportingEnabled" : "false",
        "customVariationSelectionScript" : "string",
        "minWiningReliability" : "1234",
        "abtestConsent" : "OFF",
        "abtestConsentOptout" : "RUN",
        "beforeAbtestConsent" : "NONE"
      },
      "personalizationConfig" : {
        "personalizationsDeviation" : "132.987",
        "isSameTypePersonalizationEnabled" : "false",
        "isSameJqueryInjectionAllowed" : "false",
        "personalizationConsent" : "OFF",
        "personalizationConsentOptout" : "RUN",
        "beforePersonalizationConsent" : "NONE"
      },
      "audienceConfig" : {
        "mainGoal" : "123456789",
        "includedTargetingTypeList" : [ "PAGE_URL" ],
        "excludedTargetingTypeList" : [ "PAGE_URL" ],
        "includedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "excludedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "includedCustomData" : [ "[]" ],
        "excludedCustomData" : [ "[]" ],
        "includedTargetingSegmentList" : [ "[]" ],
        "excludedTargetingSegmentList" : [ "[]" ],
        "siteType" : "ECOMMERCE",
        "ignoreURLSettings" : "false",
        "predictiveTargeting" : "false",
        "excludedGoalList" : [ "[]" ],
        "includedExperimentList" : [ "[]" ],
        "excludedExperimentList" : [ "[]" ],
        "includedPersonalizationList" : [ "[]" ],
        "excludedPersonalizationList" : [ "[]" ],
        "cartAmountGoal" : "123456789",
        "cartAmountValue" : "123456789"
      }
    }
    
    Response body

    Site
    NameTypeDescription
    idlongThe unique identifier for the website
    urlstringURL of the website
    descriptionstringWebsite description
    codestringSystem generated code to uniquely identify a website.
    behaviorWhenTimeoutenumBehavior if timeout occurs. You can redefine the behavior of Kameleoon Application when the script exceeds the usual loading time. By default, the application will eventually launch with a flicker effect.. Can be [RUN, DISABLE_FOR_PAGE, DISABLE_FOR_VISIT]
    dataStorageenumThis option allows you to choose source where to store the data of your A/B tests on the the visitor's device. Can be [STANDARD_COOKIE, LOCAL_STORAGE, CUSTOM_COOKIE]
    trackingScriptstringGlobal custom script is any JavaScript code that you add which will be executed at each page load. This custom script will be executed right after the loading of Kameleoon application. For instance, you can add complex tracking code or integration to some third party solutions in this section.
    domainNamesarray
    indicatorsarrayList of indicators such as: Retention rate, number of pages seen and dwell time. Can be [RETENTION_RATE, NUMBER_OF_PAGES_SEEN, DWELL_TIME]
    dateCreateddatetimeDate when the site was created.
    isScriptActivebooleanIdentifies if the script is installed successfully and is active on the website
    captureEventMethodenum. Can be [CLICK, MOUSEDOWN, MOUSEUP]
    isAudienceUsedbooleanIdentifies where audience feature is enabled and used for the website
    isKameleoonEnabledbooleanThis field represents if Kameleoon application is enbabled for the website
    experimentConfigExperimentConfigConfiguration of an experiment
    personalizationConfigPersonalizationConfigConfiguration of a personalization
    audienceConfigAudienceConfigAudience configuration

    AudienceConfigUrl
    NameTypeDescription
    urlstring
    matchTypeenum. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]

    PersonalizationConfig
    NameTypeDescription
    personalizationsDeviationdoubleInclude visitors. Percentage of your visitors included to personalizations. You can define a visitor rate who will never be exposed to your personalizations. We advise youto keep a sample population, not exposed, in order to determine the efficiency of your personalizations.
    isSameTypePersonalizationEnabledbooleanAdvanced options. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    isSameJqueryInjectionAllowedbooleanAllow the injection of jQuery. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    personalizationConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    personalizationConsentOptoutenum. Can be [RUN, BLOCK]
    beforePersonalizationConsentenum. Can be [NONE, PARTIALLY, ALL]

    ExperimentConfig
    NameTypeDescription
    isEditorLaunchedByShortcutbooleanEditor launching. Enable launching the editor via Shift + F2
    isKameleoonReportingEnabledbooleanResult reporting. Activate Kameleoon’s reporting to view test results
    customVariationSelectionScriptstringVariation selection script. By default, the assignation of an experiment's variation to a visitor is done via a random mechanism. You can write a JavaScript code here to customize this behavior. The code must return the id of the assigned variation (consult the documentation for details).
    minWiningReliabilityintegerNecessary reliability for the determination of a winning variation. The reliability of the variations is inferior to the rate determined in set-up. The variations cannot be considered as winning in your test results, whatever the number of conversions of these variations. Please be parcimonious about changing this parameter, as this has an impact on the results Kameleoon delivers.
    abtestConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    abtestConsentOptoutenum. Can be [RUN, BLOCK]
    beforeAbtestConsentenum. Can be [NONE, PARTIALLY, ALL]

    AudienceConfig
    NameTypeDescription
    mainGoallongPrimary goal, it must correspond to the main conversion action of the site
    includedTargetingTypeListarrayThe 3 targeting criteria to be treated primarily in your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    excludedTargetingTypeListarrayTargeting criteria to be excluded from your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    includedConfigurationUrlListarray[AudienceConfigUrl]URLs you want to optimize primarily
    excludedConfigurationUrlListarray[AudienceConfigUrl]URLS to be excluded from your recommendations
    includedCustomDataarrayPersonalized data to be treated primarily in your recommendations
    excludedCustomDataarrayPersonalized data to be excluded from your recommendations
    includedTargetingSegmentListarrayAdditional segments to track. Predictive segments are tracked by default
    excludedTargetingSegmentListarraySegments to be excluded from your recommendations
    siteTypeenumTypology of the website. Can be [ECOMMERCE, MEDIA, OTHER]
    ignoreURLSettingsbooleanIgnore the settings in the URL of your pages
    predictiveTargetingbooleanActivate predictive targeting option
    excludedGoalListarrayGoals to be excluded from your recommendations
    includedExperimentListarrayA/B tests to be privileged in your recommendations
    excludedExperimentListarrayA/B tests to be excluded from your recommendations
    includedPersonalizationListarrayPersonalizations to be privileged in your recommendations
    excludedPersonalizationListarrayPersonalizations to be excluded from your recommendations
    cartAmountGoallongGoal to which the value of customer's basket is linked
    cartAmountValuelongConversion value linked to the primary goal

    Get all sites

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/sites"
    

    GET /sites

    Get list of all sites of the customer

    Request arguments
    NamePlaceTypeDescription
    optionalFieldsqueryarrayoptionalFields

    Example response

    [ {
      "id" : "123456789",
      "url" : "string",
      "description" : "string",
      "code" : "string",
      "behaviorWhenTimeout" : "RUN",
      "dataStorage" : "STANDARD_COOKIE",
      "trackingScript" : "string",
      "domainNames" : [ "[]" ],
      "indicators" : [ "RETENTION_RATE" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "isScriptActive" : "false",
      "captureEventMethod" : "CLICK",
      "isAudienceUsed" : "false",
      "isKameleoonEnabled" : "false",
      "experimentConfig" : {
        "isEditorLaunchedByShortcut" : "false",
        "isKameleoonReportingEnabled" : "false",
        "customVariationSelectionScript" : "string",
        "minWiningReliability" : "1234",
        "abtestConsent" : "OFF",
        "abtestConsentOptout" : "RUN",
        "beforeAbtestConsent" : "NONE"
      },
      "personalizationConfig" : {
        "personalizationsDeviation" : "132.987",
        "isSameTypePersonalizationEnabled" : "false",
        "isSameJqueryInjectionAllowed" : "false",
        "personalizationConsent" : "OFF",
        "personalizationConsentOptout" : "RUN",
        "beforePersonalizationConsent" : "NONE"
      },
      "audienceConfig" : {
        "mainGoal" : "123456789",
        "includedTargetingTypeList" : [ "PAGE_URL" ],
        "excludedTargetingTypeList" : [ "PAGE_URL" ],
        "includedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "excludedConfigurationUrlList" : [ {
          "url" : "string",
          "matchType" : "EXACT"
        } ],
        "includedCustomData" : [ "[]" ],
        "excludedCustomData" : [ "[]" ],
        "includedTargetingSegmentList" : [ "[]" ],
        "excludedTargetingSegmentList" : [ "[]" ],
        "siteType" : "ECOMMERCE",
        "ignoreURLSettings" : "false",
        "predictiveTargeting" : "false",
        "excludedGoalList" : [ "[]" ],
        "includedExperimentList" : [ "[]" ],
        "excludedExperimentList" : [ "[]" ],
        "includedPersonalizationList" : [ "[]" ],
        "excludedPersonalizationList" : [ "[]" ],
        "cartAmountGoal" : "123456789",
        "cartAmountValue" : "123456789"
      }
    } ]
    
    Response body

    Site
    NameTypeDescription
    idlongThe unique identifier for the website
    urlstringURL of the website
    descriptionstringWebsite description
    codestringSystem generated code to uniquely identify a website.
    behaviorWhenTimeoutenumBehavior if timeout occurs. You can redefine the behavior of Kameleoon Application when the script exceeds the usual loading time. By default, the application will eventually launch with a flicker effect.. Can be [RUN, DISABLE_FOR_PAGE, DISABLE_FOR_VISIT]
    dataStorageenumThis option allows you to choose source where to store the data of your A/B tests on the the visitor's device. Can be [STANDARD_COOKIE, LOCAL_STORAGE, CUSTOM_COOKIE]
    trackingScriptstringGlobal custom script is any JavaScript code that you add which will be executed at each page load. This custom script will be executed right after the loading of Kameleoon application. For instance, you can add complex tracking code or integration to some third party solutions in this section.
    domainNamesarray
    indicatorsarrayList of indicators such as: Retention rate, number of pages seen and dwell time. Can be [RETENTION_RATE, NUMBER_OF_PAGES_SEEN, DWELL_TIME]
    dateCreateddatetimeDate when the site was created.
    isScriptActivebooleanIdentifies if the script is installed successfully and is active on the website
    captureEventMethodenum. Can be [CLICK, MOUSEDOWN, MOUSEUP]
    isAudienceUsedbooleanIdentifies where audience feature is enabled and used for the website
    isKameleoonEnabledbooleanThis field represents if Kameleoon application is enbabled for the website
    experimentConfigExperimentConfigConfiguration of an experiment
    personalizationConfigPersonalizationConfigConfiguration of a personalization
    audienceConfigAudienceConfigAudience configuration

    AudienceConfigUrl
    NameTypeDescription
    urlstring
    matchTypeenum. Can be [EXACT, CONTAINS, REGULAR_EXPRESSION, TARGETED_URL]

    PersonalizationConfig
    NameTypeDescription
    personalizationsDeviationdoubleInclude visitors. Percentage of your visitors included to personalizations. You can define a visitor rate who will never be exposed to your personalizations. We advise youto keep a sample population, not exposed, in order to determine the efficiency of your personalizations.
    isSameTypePersonalizationEnabledbooleanAdvanced options. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    isSameJqueryInjectionAllowedbooleanAllow the injection of jQuery. By default, Kameleoon allows you to display several personalization of the same kind on the same page (for example: 2 pop-ins or 2 images at the same place). If you want to disable this behavior, please switch on the following toggle.
    personalizationConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    personalizationConsentOptoutenum. Can be [RUN, BLOCK]
    beforePersonalizationConsentenum. Can be [NONE, PARTIALLY, ALL]

    ExperimentConfig
    NameTypeDescription
    isEditorLaunchedByShortcutbooleanEditor launching. Enable launching the editor via Shift + F2
    isKameleoonReportingEnabledbooleanResult reporting. Activate Kameleoon’s reporting to view test results
    customVariationSelectionScriptstringVariation selection script. By default, the assignation of an experiment's variation to a visitor is done via a random mechanism. You can write a JavaScript code here to customize this behavior. The code must return the id of the assigned variation (consult the documentation for details).
    minWiningReliabilityintegerNecessary reliability for the determination of a winning variation. The reliability of the variations is inferior to the rate determined in set-up. The variations cannot be considered as winning in your test results, whatever the number of conversions of these variations. Please be parcimonious about changing this parameter, as this has an impact on the results Kameleoon delivers.
    abtestConsentenum. Can be [OFF, REQUIRED, INTERACTIVE, IABTCF]
    abtestConsentOptoutenum. Can be [RUN, BLOCK]
    beforeAbtestConsentenum. Can be [NONE, PARTIALLY, ALL]

    AudienceConfig
    NameTypeDescription
    mainGoallongPrimary goal, it must correspond to the main conversion action of the site
    includedTargetingTypeListarrayThe 3 targeting criteria to be treated primarily in your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    excludedTargetingTypeListarrayTargeting criteria to be excluded from your recommendations. Can be [PAGE_URL, PAGE_TITLE, LANDING_PAGE, ORIGIN, ORIGIN_TYPE, REFERRERS, NEW_VISITORS, INTERESTS, BROWSER_LANGUAGE, GEOLOCATION, DEVICE_TYPE, SCREEN_DIMENSION, VISITOR_IP, AD_BLOCKER, PREVIOUS_PAGE, KEY_PAGES, PAGE_VIEWS, FIRST_VISIT, LAST_VISIT, ACTIVE_SESSION, TIME_SINCE_PAGE_LOAD, SAME_DAY_VISITS, VISITS, VISITS_BY_PAGE, INTERNAL_SEARCH_KEYWORDS, TABS_ON_SITE, CONVERSION_PROBABILITY, HEAT_SLICE, SKY_STATUS, TEMPERATURE, DAY_NIGHT, FORECAST_SKY_STATUS, FORECAST_TEMPERATURE, DAY_OF_WEEK, TIME_RANGE, HOUR_MINUTE_RANGE, JS_CODE, COOKIE, EVENT, BROWSER, OPERATING_SYSTEM, DOM_ELEMENT, MOUSE_OUT, EXPERIMENTS, CONVERSIONS, CUSTOM_DATUM, YSANCE_SEGMENT, YSANCE_ATTRIBUT, TEALIUM_BADGE, TEALIUM_AUDIENCE, PRICE_OF_DISPLAYED_PAGE, NUMBER_OF_VISITED_PAGES, VISITED_PAGES, MEAN_PAGE_DURATION, TIME_SINCE_PREVIOUS_VISIT]
    includedConfigurationUrlListarray[AudienceConfigUrl]URLs you want to optimize primarily
    excludedConfigurationUrlListarray[AudienceConfigUrl]URLS to be excluded from your recommendations
    includedCustomDataarrayPersonalized data to be treated primarily in your recommendations
    excludedCustomDataarrayPersonalized data to be excluded from your recommendations
    includedTargetingSegmentListarrayAdditional segments to track. Predictive segments are tracked by default
    excludedTargetingSegmentListarraySegments to be excluded from your recommendations
    siteTypeenumTypology of the website. Can be [ECOMMERCE, MEDIA, OTHER]
    ignoreURLSettingsbooleanIgnore the settings in the URL of your pages
    predictiveTargetingbooleanActivate predictive targeting option
    excludedGoalListarrayGoals to be excluded from your recommendations
    includedExperimentListarrayA/B tests to be privileged in your recommendations
    excludedExperimentListarrayA/B tests to be excluded from your recommendations
    includedPersonalizationListarrayPersonalizations to be privileged in your recommendations
    excludedPersonalizationListarrayPersonalizations to be excluded from your recommendations
    cartAmountGoallongGoal to which the value of customer's basket is linked
    cartAmountValuelongConversion value linked to the primary goal

    Start the export of raw data

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/sites/{siteId}/dataExport"
    {
      "siteId" : "123456789",
      "dateStart" : "2021-04-07",
      "dateEnd" : "2021-04-07",
      "type" : "EXTRACT",
      "fileName" : "string",
      "status" : "FINISHED",
      "comment" : "string"
    }
    

    POST /sites/{siteId}/dataExport

    Start a raw data exportation for given site

    Request arguments
    NamePlaceTypeDescription
    siteIdpathlongsiteId
    Request body

    DataExport
    NameTypeDescription
    siteId
    *read only
    longThe unique identifier for the website.
    dateStart
    *required
    dateThe date when the extraction of data begins.
    dateEnd
    *required
    dateThe date when the extraction of data stops.
    type
    *required
    enumThe type of extraction. Can be [EXTRACT, REPORTING]
    fileName
    *read only
    string
    status
    *read only
    enum. Can be [FINISHED, FAILED, RUNNING, QUEUED]
    comment
    *read only
    string

    Example response

    {
      "siteId" : "123456789",
      "dateStart" : "2021-04-07",
      "dateEnd" : "2021-04-07",
      "type" : "EXTRACT",
      "fileName" : "string",
      "status" : "FINISHED",
      "comment" : "string"
    }
    
    Response body

    DataExport
    NameTypeDescription
    siteIdlongThe unique identifier for the website.
    dateStartdateThe date when the extraction of data begins.
    dateEnddateThe date when the extraction of data stops.
    typeenumThe type of extraction. Can be [EXTRACT, REPORTING]
    fileNamestring
    statusenum. Can be [FINISHED, FAILED, RUNNING, QUEUED]
    commentstring

    Get all raw data exports

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/sites/{siteId}/dataExport"
    

    GET /sites/{siteId}/dataExport

    Get information about all raw data exports triggered

    Request arguments
    NamePlaceTypeDescription
    siteIdpathlongsiteId

    Example response

    [ {
      "siteId" : "123456789",
      "dateStart" : "2021-04-07",
      "dateEnd" : "2021-04-07",
      "type" : "EXTRACT",
      "fileName" : "string",
      "status" : "FINISHED",
      "comment" : "string"
    } ]
    
    Response body

    DataExport
    NameTypeDescription
    siteIdlongThe unique identifier for the website.
    dateStartdateThe date when the extraction of data begins.
    dateEnddateThe date when the extraction of data stops.
    typeenumThe type of extraction. Can be [EXTRACT, REPORTING]
    fileNamestring
    statusenum. Can be [FINISHED, FAILED, RUNNING, QUEUED]
    commentstring

    Get a hash code of the contents of the original application file

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/sites/{siteCode}/hash"
    {
      "hashType" : "SHA256"
    }
    

    PATCH /sites/{siteCode}/hash

    Get the hashCode generated from the content of the original application file

    Request arguments
    NamePlaceTypeDescription
    siteCodepathstringsiteCode
    Request body

    HashTypeInput
    NameTypeDescription
    hashTypeenumThe type of hash function. Default value: 'SHA256'. Can be [SHA256, MD5, SHA1]

    Templates

    Partial update template

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/templates/{templateId}"
    {
      "name" : "string",
      "isConstant" : "false",
      "customEvalCode" : "string",
      "isFiltrableVentilable" : "false",
      "gtmVariableName" : "string",
      "learnable" : "false",
      "isLocalOnly" : "false",
      "method" : "string",
      "tcVariableName" : "string",
      "tealiumVariableName" : "string",
      "type" : "string",
      "tags" : "string"
    }
    

    PATCH /templates/{templateId}

    Update several fields of template

    Request arguments
    NamePlaceTypeDescription
    templateIdpathlongThe ID of the template object
    Request body

    WidgetUpdate
    NameTypeDescription
    namestringThe name for the given custom data
    isConstantbooleanIndicates whether custom data is a constant
    customEvalCodestringCustom code that will be executed
    isFiltrableVentilablebooleanIndicates whether custom data should be filtered and marked available for a breakdown
    gtmVariableNamestringVariable name of the Google Tag Manager
    learnablebooleanIndicates whether this data should be included in Kameleoon machine learning
    isLocalOnlybooleanIndicates whether this data is stored on a user's device only
    methodstringA method through which a custom data will be transmitted
    tcVariableNamestringVariable name for the tag commander data layer, if it is selected as a transmission method
    tealiumVariableNamestringVariable name for the Tealium, if it is selected as a transmission method
    typestringFormat of data to be retrieved
    tagsstringThis fields stores tags that are associated with this record

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "templateJavaScriptCode" : "string",
      "templateCssCode" : "string",
      "templateHtmlCode" : "string",
      "uiHtmlCode" : "string",
      "uiCssCode" : "string",
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateActivated" : "2021-04-07T10:13:22.814277",
      "status" : "DRAFT"
    }
    
    Response body

    Template
    NameTypeDescription
    idlongThe unique identifier of the given template
    namestringThe name for the given template
    siteIdlongThe website id that an template belongs to
    descriptionstringDescription of template
    templateJavaScriptCodestringtemplateJavaScriptCode that is associated with this template
    templateCssCodestringtemplateCssCode that is associated with this template
    templateHtmlCodestringtemplateHtmlCode that is associated with this template
    uiHtmlCodestringUiHtmlCode that is associated with this template
    uiCssCodestringUiCssCode that is associated with this template
    tagsarrayThis fields stores tags that are associated with this template
    dateCreateddatetimeDate and time a record is created
    dateModifieddatetimeDate and time a record is modified
    dateActivateddatetimeDate and time a record is activated
    statusenumTemplate status. Can be [DRAFT, ACTIVE, PAUSED]

    Remove template

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/templates/{templateId}"
    

    DELETE /templates/{templateId}

    Remove template with given id

    Request arguments
    NamePlaceTypeDescription
    templateIdpathlongThe ID of the template object

    Get one template

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/templates/{templateId}"
    

    GET /templates/{templateId}

    Get one template with the given id

    Request arguments
    NamePlaceTypeDescription
    templateIdpathlongThe ID of the template object

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "templateJavaScriptCode" : "string",
      "templateCssCode" : "string",
      "templateHtmlCode" : "string",
      "uiHtmlCode" : "string",
      "uiCssCode" : "string",
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateActivated" : "2021-04-07T10:13:22.814277",
      "status" : "DRAFT"
    }
    
    Response body

    Template
    NameTypeDescription
    idlongThe unique identifier of the given template
    namestringThe name for the given template
    siteIdlongThe website id that an template belongs to
    descriptionstringDescription of template
    templateJavaScriptCodestringtemplateJavaScriptCode that is associated with this template
    templateCssCodestringtemplateCssCode that is associated with this template
    templateHtmlCodestringtemplateHtmlCode that is associated with this template
    uiHtmlCodestringUiHtmlCode that is associated with this template
    uiCssCodestringUiCssCode that is associated with this template
    tagsarrayThis fields stores tags that are associated with this template
    dateCreateddatetimeDate and time a record is created
    dateModifieddatetimeDate and time a record is modified
    dateActivateddatetimeDate and time a record is activated
    statusenumTemplate status. Can be [DRAFT, ACTIVE, PAUSED]

    Update template

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/templates/{templateId}"
    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "templateJavaScriptCode" : "string",
      "templateCssCode" : "string",
      "templateHtmlCode" : "string",
      "uiHtmlCode" : "string",
      "uiCssCode" : "string",
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateActivated" : "2021-04-07T10:13:22.814277",
      "status" : "DRAFT"
    }
    

    PUT /templates/{templateId}

    Update template with given id

    Request arguments
    NamePlaceTypeDescription
    templateIdpathlongThe ID of the template object
    Request body

    Template
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given template
    namestringThe name for the given template
    siteId
    *required
    longThe website id that an template belongs to
    descriptionstringDescription of template
    templateJavaScriptCodestringtemplateJavaScriptCode that is associated with this template
    templateCssCodestringtemplateCssCode that is associated with this template
    templateHtmlCodestringtemplateHtmlCode that is associated with this template
    uiHtmlCodestringUiHtmlCode that is associated with this template
    uiCssCodestringUiCssCode that is associated with this template
    tagsarrayThis fields stores tags that are associated with this template
    dateCreated
    *read only
    datetimeDate and time a record is created
    dateModified
    *read only
    datetimeDate and time a record is modified
    dateActivated
    *read only
    datetimeDate and time a record is activated
    statusenumTemplate status. Can be [DRAFT, ACTIVE, PAUSED]

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "templateJavaScriptCode" : "string",
      "templateCssCode" : "string",
      "templateHtmlCode" : "string",
      "uiHtmlCode" : "string",
      "uiCssCode" : "string",
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateActivated" : "2021-04-07T10:13:22.814277",
      "status" : "DRAFT"
    }
    
    Response body

    Template
    NameTypeDescription
    idlongThe unique identifier of the given template
    namestringThe name for the given template
    siteIdlongThe website id that an template belongs to
    descriptionstringDescription of template
    templateJavaScriptCodestringtemplateJavaScriptCode that is associated with this template
    templateCssCodestringtemplateCssCode that is associated with this template
    templateHtmlCodestringtemplateHtmlCode that is associated with this template
    uiHtmlCodestringUiHtmlCode that is associated with this template
    uiCssCodestringUiCssCode that is associated with this template
    tagsarrayThis fields stores tags that are associated with this template
    dateCreateddatetimeDate and time a record is created
    dateModifieddatetimeDate and time a record is modified
    dateActivateddatetimeDate and time a record is activated
    statusenumTemplate status. Can be [DRAFT, ACTIVE, PAUSED]

    Create a new template

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/templates"
    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "templateJavaScriptCode" : "string",
      "templateCssCode" : "string",
      "templateHtmlCode" : "string",
      "uiHtmlCode" : "string",
      "uiCssCode" : "string",
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateActivated" : "2021-04-07T10:13:22.814277",
      "status" : "DRAFT"
    }
    

    POST /templates

    Create new template with given parameters

    Request body

    Template
    NameTypeDescription
    id
    *read only
    longThe unique identifier of the given template
    namestringThe name for the given template
    siteId
    *required
    longThe website id that an template belongs to
    descriptionstringDescription of template
    templateJavaScriptCodestringtemplateJavaScriptCode that is associated with this template
    templateCssCodestringtemplateCssCode that is associated with this template
    templateHtmlCodestringtemplateHtmlCode that is associated with this template
    uiHtmlCodestringUiHtmlCode that is associated with this template
    uiCssCodestringUiCssCode that is associated with this template
    tagsarrayThis fields stores tags that are associated with this template
    dateCreated
    *read only
    datetimeDate and time a record is created
    dateModified
    *read only
    datetimeDate and time a record is modified
    dateActivated
    *read only
    datetimeDate and time a record is activated
    statusenumTemplate status. Can be [DRAFT, ACTIVE, PAUSED]

    Example response

    {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "templateJavaScriptCode" : "string",
      "templateCssCode" : "string",
      "templateHtmlCode" : "string",
      "uiHtmlCode" : "string",
      "uiCssCode" : "string",
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateActivated" : "2021-04-07T10:13:22.814277",
      "status" : "DRAFT"
    }
    
    Response body

    Template
    NameTypeDescription
    idlongThe unique identifier of the given template
    namestringThe name for the given template
    siteIdlongThe website id that an template belongs to
    descriptionstringDescription of template
    templateJavaScriptCodestringtemplateJavaScriptCode that is associated with this template
    templateCssCodestringtemplateCssCode that is associated with this template
    templateHtmlCodestringtemplateHtmlCode that is associated with this template
    uiHtmlCodestringUiHtmlCode that is associated with this template
    uiCssCodestringUiCssCode that is associated with this template
    tagsarrayThis fields stores tags that are associated with this template
    dateCreateddatetimeDate and time a record is created
    dateModifieddatetimeDate and time a record is modified
    dateActivateddatetimeDate and time a record is activated
    statusenumTemplate status. Can be [DRAFT, ACTIVE, PAUSED]

    List templates

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/templates"
    

    GET /templates

    Get list of all templates

    Example response

    [ {
      "id" : "123456789",
      "name" : "string",
      "siteId" : "123456789",
      "description" : "string",
      "templateJavaScriptCode" : "string",
      "templateCssCode" : "string",
      "templateHtmlCode" : "string",
      "uiHtmlCode" : "string",
      "uiCssCode" : "string",
      "tags" : [ "[]" ],
      "dateCreated" : "2021-04-07T10:13:22.814277",
      "dateModified" : "2021-04-07T10:13:22.814277",
      "dateActivated" : "2021-04-07T10:13:22.814277",
      "status" : "DRAFT"
    } ]
    
    Response body

    Template
    NameTypeDescription
    idlongThe unique identifier of the given template
    namestringThe name for the given template
    siteIdlongThe website id that an template belongs to
    descriptionstringDescription of template
    templateJavaScriptCodestringtemplateJavaScriptCode that is associated with this template
    templateCssCodestringtemplateCssCode that is associated with this template
    templateHtmlCodestringtemplateHtmlCode that is associated with this template
    uiHtmlCodestringUiHtmlCode that is associated with this template
    uiCssCodestringUiCssCode that is associated with this template
    tagsarrayThis fields stores tags that are associated with this template
    dateCreateddatetimeDate and time a record is created
    dateModifieddatetimeDate and time a record is modified
    dateActivateddatetimeDate and time a record is activated
    statusenumTemplate status. Can be [DRAFT, ACTIVE, PAUSED]

    Timeline

    The timeline lists all user actions performed in the back office.

    Export timeline

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/timeline/export"
    

    GET /timeline/export

    Export timeline depending on specified format

    Request arguments
    NamePlaceTypeDescription
    fileNamequerystringfileName
    formatquerystringformat

    Variations

    A variation is a copy of your webpage, which can be edited in order to prepare an experiment or personalization. When you add a new variation, Kameleoon makes a copy of the original page (the one from which you started Kameleoon). Every change will be saved in the variation. When the test is launched, the variation contains all your edits.

    Partial update variation

    Example request

    curl -X PATCH \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/variations/{variationId}"
    {
      "name" : "string",
      "jsCode" : "string",
      "cssCode" : "string",
      "isJsCodeAfterDomReady" : "false",
      "experimentId" : "123456789"
    }
    

    PATCH /variations/{variationId}

    Update several fields of a variation

    Request arguments
    NamePlaceTypeDescription
    variationIdpathlongvariationId
    Request body

    VariationUpdate
    NameTypeDescription
    namestringName of given variation
    jsCodestringNew javascript code for variation
    cssCodestringNew css style for variation
    isJsCodeAfterDomReadybooleanSet true if code applied after DOM ready. Default value: true
    experimentIdlongExperiment id for this variation

    Example response

    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "jsCode" : "string",
      "cssCode" : "string",
      "isJsCodeAfterDomReady" : "false",
      "widgetTemplateInput" : "string",
      "redirectionStrings" : "string",
      "redirection" : {
        "type" : "GLOBAL_REDIRECTION",
        "url" : "string",
        "parameters" : "string",
        "includeQueryParameters" : "false"
      },
      "experimentId" : "123456789",
      "customJson" : "string"
    }
    
    Response body

    Variation
    NameTypeDescription
    idlongThe unique identifier of the given variation
    siteIdlongThe unique identifier of the site linked to given variation
    namestringName of given variation
    jsCodestringNew javascript code for variation
    cssCodestringNew css style for variation
    isJsCodeAfterDomReadybooleanSet true if code applied after DOM ready. Default value: true
    widgetTemplateInputstringWidget template input data in JSON format.
    redirectionStringsstringRedirect URL used for redirecting variation. Deprecated property: use property 'redirection' instead
    redirectionVariationRedirectionRedirection parameters of a variation
    experimentIdlongExperiment id for this variation
    customJsonstringCustom JSON for this variation

    VariationRedirection
    NameTypeDescription
    typeenumType of the redirection. Can be [GLOBAL_REDIRECTION, PARAMETER_REDIRECTION]
    urlstringURL used for the redirection, in case of global redirection
    parametersstringParameters used for the redirection, in case of parameter redirection
    includeQueryParametersbooleanIn case of global redirection, option to include query parameters from the original url

    Remove variation

    Example request

    curl -X DELETE \
      -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/variations/{variationId}"
    

    DELETE /variations/{variationId}

    Remove the variation with given id

    Request arguments
    NamePlaceTypeDescription
    variationIdpathlongvariationId

    Get one variation

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/variations/{variationId}"
    

    GET /variations/{variationId}

    Get one variation with given id

    Request arguments
    NamePlaceTypeDescription
    variationIdpathlongvariationId

    Example response

    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "jsCode" : "string",
      "cssCode" : "string",
      "isJsCodeAfterDomReady" : "false",
      "widgetTemplateInput" : "string",
      "redirectionStrings" : "string",
      "redirection" : {
        "type" : "GLOBAL_REDIRECTION",
        "url" : "string",
        "parameters" : "string",
        "includeQueryParameters" : "false"
      },
      "experimentId" : "123456789",
      "customJson" : "string"
    }
    
    Response body

    Variation
    NameTypeDescription
    idlongThe unique identifier of the given variation
    siteIdlongThe unique identifier of the site linked to given variation
    namestringName of given variation
    jsCodestringNew javascript code for variation
    cssCodestringNew css style for variation
    isJsCodeAfterDomReadybooleanSet true if code applied after DOM ready. Default value: true
    widgetTemplateInputstringWidget template input data in JSON format.
    redirectionStringsstringRedirect URL used for redirecting variation. Deprecated property: use property 'redirection' instead
    redirectionVariationRedirectionRedirection parameters of a variation
    experimentIdlongExperiment id for this variation
    customJsonstringCustom JSON for this variation

    VariationRedirection
    NameTypeDescription
    typeenumType of the redirection. Can be [GLOBAL_REDIRECTION, PARAMETER_REDIRECTION]
    urlstringURL used for the redirection, in case of global redirection
    parametersstringParameters used for the redirection, in case of parameter redirection
    includeQueryParametersbooleanIn case of global redirection, option to include query parameters from the original url

    Update variation

    Example request

    curl -X PUT \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/variations/{variationId}"
    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "jsCode" : "string",
      "cssCode" : "string",
      "isJsCodeAfterDomReady" : "false",
      "widgetTemplateInput" : "string",
      "redirectionStrings" : "string",
      "redirection" : {
        "type" : "GLOBAL_REDIRECTION",
        "url" : "string",
        "parameters" : "string",
        "includeQueryParameters" : "false"
      },
      "experimentId" : "123456789",
      "customJson" : "string"
    }
    

    PUT /variations/{variationId}

    Update the variation with given id

    Request arguments
    NamePlaceTypeDescription
    variationIdpathlongvariationId
    Request body

    Variation
    NameTypeDescription
    idlongThe unique identifier of the given variation
    siteId
    *required
    longThe unique identifier of the site linked to given variation
    namestringName of given variation
    jsCodestringNew javascript code for variation
    cssCodestringNew css style for variation
    isJsCodeAfterDomReadybooleanSet true if code applied after DOM ready. Default value: true
    widgetTemplateInputstringWidget template input data in JSON format.
    redirectionStringsstringRedirect URL used for redirecting variation. Deprecated property: use property 'redirection' instead
    redirectionVariationRedirectionRedirection parameters of a variation
    experimentIdlongExperiment id for this variation
    customJsonstringCustom JSON for this variation

    VariationRedirection
    NameTypeDescription
    typeenumType of the redirection. Can be [GLOBAL_REDIRECTION, PARAMETER_REDIRECTION]
    urlstringURL used for the redirection, in case of global redirection
    parametersstringParameters used for the redirection, in case of parameter redirection
    includeQueryParametersbooleanIn case of global redirection, option to include query parameters from the original url

    Example response

    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "jsCode" : "string",
      "cssCode" : "string",
      "isJsCodeAfterDomReady" : "false",
      "widgetTemplateInput" : "string",
      "redirectionStrings" : "string",
      "redirection" : {
        "type" : "GLOBAL_REDIRECTION",
        "url" : "string",
        "parameters" : "string",
        "includeQueryParameters" : "false"
      },
      "experimentId" : "123456789",
      "customJson" : "string"
    }
    
    Response body

    Variation
    NameTypeDescription
    idlongThe unique identifier of the given variation
    siteIdlongThe unique identifier of the site linked to given variation
    namestringName of given variation
    jsCodestringNew javascript code for variation
    cssCodestringNew css style for variation
    isJsCodeAfterDomReadybooleanSet true if code applied after DOM ready. Default value: true
    widgetTemplateInputstringWidget template input data in JSON format.
    redirectionStringsstringRedirect URL used for redirecting variation. Deprecated property: use property 'redirection' instead
    redirectionVariationRedirectionRedirection parameters of a variation
    experimentIdlongExperiment id for this variation
    customJsonstringCustom JSON for this variation

    VariationRedirection
    NameTypeDescription
    typeenumType of the redirection. Can be [GLOBAL_REDIRECTION, PARAMETER_REDIRECTION]
    urlstringURL used for the redirection, in case of global redirection
    parametersstringParameters used for the redirection, in case of parameter redirection
    includeQueryParametersbooleanIn case of global redirection, option to include query parameters from the original url

    Create new variation

    Example request

    curl -X POST \
      -H "Authorization: Bearer qwerty123456789" \
      -H "Content-Type: application/json" -d @- \
      "https://api.kameleoon.com/variations"
    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "jsCode" : "string",
      "cssCode" : "string",
      "isJsCodeAfterDomReady" : "false",
      "widgetTemplateInput" : "string",
      "redirectionStrings" : "string",
      "redirection" : {
        "type" : "GLOBAL_REDIRECTION",
        "url" : "string",
        "parameters" : "string",
        "includeQueryParameters" : "false"
      },
      "experimentId" : "123456789",
      "customJson" : "string"
    }
    

    POST /variations

    Create new variation with given parameters

    Request body

    Variation
    NameTypeDescription
    idlongThe unique identifier of the given variation
    siteId
    *required
    longThe unique identifier of the site linked to given variation
    namestringName of given variation
    jsCodestringNew javascript code for variation
    cssCodestringNew css style for variation
    isJsCodeAfterDomReadybooleanSet true if code applied after DOM ready. Default value: true
    widgetTemplateInputstringWidget template input data in JSON format.
    redirectionStringsstringRedirect URL used for redirecting variation. Deprecated property: use property 'redirection' instead
    redirectionVariationRedirectionRedirection parameters of a variation
    experimentIdlongExperiment id for this variation
    customJsonstringCustom JSON for this variation

    VariationRedirection
    NameTypeDescription
    typeenumType of the redirection. Can be [GLOBAL_REDIRECTION, PARAMETER_REDIRECTION]
    urlstringURL used for the redirection, in case of global redirection
    parametersstringParameters used for the redirection, in case of parameter redirection
    includeQueryParametersbooleanIn case of global redirection, option to include query parameters from the original url

    Example response

    {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "jsCode" : "string",
      "cssCode" : "string",
      "isJsCodeAfterDomReady" : "false",
      "widgetTemplateInput" : "string",
      "redirectionStrings" : "string",
      "redirection" : {
        "type" : "GLOBAL_REDIRECTION",
        "url" : "string",
        "parameters" : "string",
        "includeQueryParameters" : "false"
      },
      "experimentId" : "123456789",
      "customJson" : "string"
    }
    
    Response body

    Variation
    NameTypeDescription
    idlongThe unique identifier of the given variation
    siteIdlongThe unique identifier of the site linked to given variation
    namestringName of given variation
    jsCodestringNew javascript code for variation
    cssCodestringNew css style for variation
    isJsCodeAfterDomReadybooleanSet true if code applied after DOM ready. Default value: true
    widgetTemplateInputstringWidget template input data in JSON format.
    redirectionStringsstringRedirect URL used for redirecting variation. Deprecated property: use property 'redirection' instead
    redirectionVariationRedirectionRedirection parameters of a variation
    experimentIdlongExperiment id for this variation
    customJsonstringCustom JSON for this variation

    VariationRedirection
    NameTypeDescription
    typeenumType of the redirection. Can be [GLOBAL_REDIRECTION, PARAMETER_REDIRECTION]
    urlstringURL used for the redirection, in case of global redirection
    parametersstringParameters used for the redirection, in case of parameter redirection
    includeQueryParametersbooleanIn case of global redirection, option to include query parameters from the original url

    List variations

    Example request

    curl -H "Authorization: Bearer qwerty123456789" \
      "https://api.kameleoon.com/variations"
    

    GET /variations

    Get list of all variations of the customer

    Example response

    [ {
      "id" : "123456789",
      "siteId" : "123456789",
      "name" : "string",
      "jsCode" : "string",
      "cssCode" : "string",
      "isJsCodeAfterDomReady" : "false",
      "widgetTemplateInput" : "string",
      "redirectionStrings" : "string",
      "redirection" : {
        "type" : "GLOBAL_REDIRECTION",
        "url" : "string",
        "parameters" : "string",
        "includeQueryParameters" : "false"
      },
      "experimentId" : "123456789",
      "customJson" : "string"
    } ]
    
    Response body

    Variation
    NameTypeDescription
    idlongThe unique identifier of the given variation
    siteIdlongThe unique identifier of the site linked to given variation
    namestringName of given variation
    jsCodestringNew javascript code for variation
    cssCodestringNew css style for variation
    isJsCodeAfterDomReadybooleanSet true if code applied after DOM ready. Default value: true
    widgetTemplateInputstringWidget template input data in JSON format.
    redirectionStringsstringRedirect URL used for redirecting variation. Deprecated property: use property 'redirection' instead
    redirectionVariationRedirectionRedirection parameters of a variation
    experimentIdlongExperiment id for this variation
    customJsonstringCustom JSON for this variation

    VariationRedirection
    NameTypeDescription
    typeenumType of the redirection. Can be [GLOBAL_REDIRECTION, PARAMETER_REDIRECTION]
    urlstringURL used for the redirection, in case of global redirection
    parametersstringParameters used for the redirection, in case of parameter redirection
    includeQueryParametersbooleanIn case of global redirection, option to include query parameters from the original url