v1

latestOpenAPI 3.0.32026-07-22177397578.0 KB
TargetingRule

Partially update the targeting rule

Update several fields of the targeting rule

patch/targeting-rules/{targetingRuleId}

Path parameters

targetingRuleIdinteger required

The ID of the targeting rule object

Query parameters

experimentIdinteger required

Id of the experiment

Request body

segmentConfiguration'ALL_VISITORS' | 'AUTOPROMO_AUTODEFINED' | 'GRAPHICAL_PAGES' | 'HEAT_SLICE' | 'PAGE' | 'SAVED_TEMPLATE' | 'SITE' | 'URL'

Configuration defining how the segment should be applied

segmentIdinteger

Id of the associated segment (user group) for targeting. If segment is deprecated, no trigger will be available for this rule.

targetingConfigurationParamstring

Additional parameters for trigger configuration. For SAVED_TEMPLATE/HEAT_SLICE - contains segment Id. For PAGE - contains full URL. For URL - contains URL fragment.

triggerConfiguration'ALL_VISITORS' | 'AUTOPROMO_AUTODEFINED' | 'GRAPHICAL_PAGES' | 'HEAT_SLICE' | 'PAGE' | 'SAVED_TEMPLATE' | 'SITE' | 'URL'

Configuration defining how the trigger should be applied. ALL_VISITORS configuration is not allowed for this trigger type

triggerIdinteger

Id of the associated trigger (activation condition)

Response

OK