TargetingRule

Get a targeting rule

Get a targeting rule with the given id

get/targeting-rules/{targetingRuleId}

Request

Path parameters

targetingRuleIdinteger required

Id of the targeting rule object

Response

OK

idinteger

Unique Id of the targeting rule

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.

siteIdinteger required

Id of the project this targeting rule belongs to

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)

Changes

No recorded changes to this operation across all 1 revision of this API.