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

setName

Defines the internal name of a target group.

📘

Note

You cannot set the name of a temporary target group. To check whether the target group is temporary, use the isTemporary operation.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
filterIdlongID of the target group
NameStringInternal name of the target group

Return values

  • Code structure

    void setName(String sessionId, long filterId, String name)