public interface AudienceSegmentServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
FirstPartyAudienceSegment[] |
createAudienceSegments(FirstPartyAudienceSegment[] segments)
Creates new
RuleBasedFirstPartyAudienceSegment objects. |
AudienceSegmentPage |
getAudienceSegmentsByStatement(Statement filterStatement)
|
UpdateResult |
performAudienceSegmentAction(AudienceSegmentAction action,
Statement filterStatement)
Performs the given
AudienceSegmentAction on the set
of segments identified by the given
statement. |
FirstPartyAudienceSegment[] |
updateAudienceSegments(FirstPartyAudienceSegment[] segments)
Updates the given
RuleBasedFirstPartyAudienceSegment
objects. |
FirstPartyAudienceSegment[] createAudienceSegments(FirstPartyAudienceSegment[] segments) throws RemoteException, ApiException
RuleBasedFirstPartyAudienceSegment objects.segments - first-party audience segments to createRemoteExceptionApiExceptionAudienceSegmentPage getAudienceSegmentsByStatement(Statement filterStatement) throws RemoteException, ApiException
AudienceSegmentPage of AudienceSegment
objects that satisfy the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
id |
AudienceSegment.id |
name |
AudienceSegment.name |
status |
AudienceSegment.status |
type |
AudienceSegment.type |
size |
AudienceSegment.size |
dataProviderName |
AudienceSegmentDataProvider.name |
segmentType |
AudienceSegment.type |
approvalStatus |
ThirdPartyAudienceSegment.approvalStatus |
cost |
ThirdPartyAudienceSegment.cost |
startDateTime |
ThirdPartyAudienceSegment.startDateTime |
endDateTime |
ThirdPartyAudienceSegment.endDateTime |
filterStatement - a Publisher Query Language statement used to
filter a set of audience
segments (the only supported operator is AND)RemoteExceptionApiExceptionUpdateResult performAudienceSegmentAction(AudienceSegmentAction action, Statement filterStatement) throws RemoteException, ApiException
AudienceSegmentAction on the set
of segments identified by the given
statement.action - AudienceSegmentAction to performfilterStatement - a Publisher Query Language statement used to
filter a set of audience
segments (the only supported operator is AND)UpdateResult indicating the resultRemoteExceptionApiExceptionFirstPartyAudienceSegment[] updateAudienceSegments(FirstPartyAudienceSegment[] segments) throws RemoteException, ApiException
RuleBasedFirstPartyAudienceSegment
objects.segments - first-party audience segments to updateRemoteExceptionApiExceptionCopyright © 2022. All rights reserved.