Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

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

setDefaultRecipientFilterEnabled

Activates or deactivates the default target group in Optimizely Campaign.

The default target group can be configured for a client and is used for every mailing unless it is disabled.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
enabledboolean
  • true: Activates the default target group
  • false: Deactivates the default target group
  • Return values: -

    Code structure

    void setDefaultRecipientFilterEnabled(String sessionId, long mailingId, boolean enabled)