Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


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


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

    Code structure

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