Skip to main content

Search goals

POST 

/goals/search

Search for goals

Request​

Query Parameters

    optionalFields string[]

Body

required

    filter

    object

    oneOf

    field string
    operator string

    Possible values: [EQUAL, NOT_EQUAL, LESS, GREATER, LESS_OR_EQUAL, GREATER_OR_EQUAL, LIKE, NOT_LIKE, BETWEEN, IN, NOT_IN, NOT, IS_NULL, IS_NOT_NULL, IS_TRUE, IS_FALSE, IS_EMPTY, IS_NOT_EMPTY, CONTAINS]

    parameters object[]
    page int32

    Page number

    perPage int32

    Number of items per page

    sort

    object[]

    Sorting parameters

  • Array [

  • direction string

    Sorting direction

    Possible values: [ASC, DESC]

    field string

    Sorting field name

  • ]

Responses​

OK

Schema

  • Array [

  • accessLimiters

    object[]

  • Array [

  • accessHolder string

    Possible values: [PERSONALIZATION, AB_TEST, TAG]

    accessHolderId int64
    id int64
  • ]

  • createdBy int64

    Account Id of the creator of the experiment

    customDatas

    object[]

    List of custom data using this goal

  • Array [

  • adobeAnalyticsVariableName string

    Variable name of the Adobe Analytics

    advancedProposedValues string

    Enables the selection of custom data values for targeting conditions by displaying them in a select box rather than a simple text field.

    createdById int64

    Account Id of the creator of the custom data

    customEvalCode string

    Custom code that will be executed

    dateCreated date-time

    Date and time a record is created

    description string

    Description of the custom data

    format string

    Custom data value format

    Possible values: [BOOLEAN, NUMBER, STRING]

    gtmVariableName string

    Variable name of the Google Tag Manager

    id int64

    Unique Id of the custom data.

    index int32
    isConstant boolean

    Indicates whether the custom data is a constant

    isFiltrableVentilable boolean

    Indicates whether custom data should be filtered and marked as available for breakdown

    isLearnable boolean

    Indicates whether this data should be included in Kameleoon machine learning

    isLocalOnly boolean

    Indicates whether the data is only stored on the user's device.

    method stringrequired

    Method through which a custom data will be transmitted

    Possible values: [ADOBE_ANALYTICS, CLIENT, CUSTOM_CODE, GTM, SDK, TC, TEALIUM]

    modificationDate date-time

    Date and time a record is modified

    name stringrequired

    Name of the given custom data

    siteCode string

    System generated code to uniquely identify a website.
    This is an optional field needs to specify in request params.

    siteId int64required

    Unique project identifier assigned to the record

    tags string

    Field to store tags that are associated with this record

    tcVariableName string

    Name for the tag commander data layer, if it is selected as a transmission method

    tealiumVariableName string

    Name for the Tealium, if it is selected as a transmission method

    type string

    Custom data type. Custom data can be presented as a single value (UNIQUE), or a list of values (LIST), ​​or a countable list of values (COUNT_LIST)

    Possible values: [COUNT_LIST, LIST, UNIQUE]

  • ]

  • dateCreated date-time
    dateModified date-time
    description string
    experimentAmount int64

    Number of experiments using this goal. This is an optional field that has to be specified in request params.

    experiments int64[]

    List of experiment ids using this goal. This is an optional field that has to be specified in request params.

    featureFlagAmount int64

    Number of feature flags using this goal. This is an optional field that has to be specified in request params.

    hasMultipleConversions booleanrequired

    Indicates if this goal has multiple conversions

    holdoutAmount int64

    Number of holdouts using this goal. This is an optional field needs to specify in request params.

    holdouts int64[]

    List of holdout ids using this goal. This is an optional field needs to specify in request params.

    id int64

    Unique Id of the goal

    isActive booleandeprecated

    Deprecated. Use status instead. Indicates the status of the goal: active or not

    isTargetingSegmentMentalist boolean

    Indicates that the goal related to a mentalist segment. This is an optional field that has to be specified in request params.

    mentalistWeight double
    name stringrequired

    Name of the goal

    params

    object

    oneOf

    matchString string
    matchType string

    Possible values: [CONTAINS, CORRESPONDS_EXACTLY, REGULAR_EXPRESSION]

    personalizationAmount int64

    Number of personalizations using this goal. This is an optional field that has to be specified in request params.

    personalizations int64[]

    List of personalization ids using this goal. This is an optional field that has to be specified in request params.

    siteId int64required

    Site Id of the project that the goal belongs to

    status string

    Indicates the status of the goal: active or inactive

    Possible values: [ACTIVE, INACTIVE]

    tags string[]

    List of tags using by this goal. For GET requests: this is an optional field that has to be specified in request params.

    trackingTools string[]

    Possible values: [GOOGLE_ANALYTICS4, GOOGLE_ANALYTICS4_AUDIENCES, GOOGLE_UNIVERSAL_ANALYTICS, ECONDA, SMART_TAG, PIANO, ADOBE_OMNITURE, EULERIAN, WEBTRENDS, KISSMETRICS, PIWIK, CRAZY_EGG, COM_SCORE, TEALIUM, YSANCE, M_PATHY, SMARTFOCUS, EMARSYS, EXPERTSENDER, TAG_COMMANDER, CONTENT_SQUARE, WEBTREKK, CUSTOM_INTEGRATIONS, HEAP, SEGMENT, MIXPANEL, CLARITY, IABTCF, DATABRICKS, REDSHIFT, SMARTLOOK, MOUSEFLOW, KLAVIYO, FULLSTORY, AMPLITUDE, SNOWPLOW, JUNE, MPARTICLE, BIGQUERY, RUDDERSTACK, SNOWFLAKE, GLASSBOX, HUBSPOT, AIR360, DATADOG, QUANTUM_METRIC, KAMELEOON_TRACKING, CUSTOM_TRACKING, VERCEL, AKAMAI]

    type stringrequired

    Type of the goal

    Possible values: [CLICK, CUSTOM, SCROLL, PAGE_VIEWS, URL, TIME_SPENT, RETENTION_RATE, WAREHOUSE, RATIO_METRICS]

  • ]

Loading...