Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

setRecipientFilterIds

Defines target group IDs for a mailing in Optimizely Campaign.

See also RecipientFilterWebservice.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
recipientFilterIdslong[ ]IDs of the target groups

Set the value to 0 to disable the target groups.

Note: You cannot use temporary target groups for a mailing.

Return values

  • Code structure

    void setRecipientFilterIds(String sessionId, long mailingId, long[] recipientFilterIds)