setAudienceLevel(audienceLevel)
![]() |
audienceLevel - 包含受众级别的字符串。
|
![]() |
audienceLevel 的名称必须与 Campaign 中定义的受众级别的名称精确匹配。 它是区分大小写的。
|
String audienceLevel="Customer";
. . .
Command startSessionCommand = new CommandImpl();
startSessionCommand.setAudienceID(initialAudienceId);
. . .
Command setAudienceCommand = new CommandImpl();
setAudienceCommand.setAudienceLevel(audienceLevel);
. . .
/** Build command array */
Command[] commands =
{
startSessionCommand,
setAudienceCommand,
};
/** Make the call */
BatchResponse batchResponse = api.executeBatch(sessionId, commands);
/** Process the response appropriately */
processExecuteBatchResponse(batchResponse);
Copyright IBM Corporation 2014. All Rights Reserved.
|