HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

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)
    

    What’s Next
    Did this page help you?