TargetingRule

Get all targeting rules

Get a list of all targeting rules. For more information on paramsIO refer to the Get started article, and see the Using paramsIO tutorial for practical use cases. To use optionalFields check out this guide.

get/targeting-rules

Request

Query parameters

pageinteger

Page number

perPageinteger

Number of items per page

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.