CdpActivationTarget Class
Get, create, and update Data 360 activation targets.
These methods are for CdpActivationTarget. All methods are static.
-
Create an activation target.
-
getActivationTarget(activationTargetId)
Get an activation target by ID.
-
Get a list of activation targets.
-
getActivationTargetsPaginated(batchSize, offset, orderBy, filters)
Get a paginated list of activation targets.
-
updateActivationTarget(activationTargetId, input)
Update an activation target.
Create an activation target.
60.0
No
public static ConnectApi.ActivationTarget createActivationTarget(ConnectApi.ActivationTargetInput input)
- input
Type:
ConnectApi.ActivationTargetInputInput details for the activation target.
Type: ConnectApi.ActivationTarget
Get an activation target by ID.
60.0
No
public static ConnectApi.ActivationTarget getActivationTarget(String activationTargetId)
- activationTargetId
Type: String
ID of the activation target.
Type: ConnectApi.ActivationTarget
Get a list of activation targets.
60.0
No
public static ConnectApi.ActivationTargetCollection getActivationTargets()
Type: ConnectApi.ActivationTargetCollection
Get a paginated list of activation targets.
60.0
No
public static ConnectApi.ActivationTargetCollection getActivationTargetsPaginated(Integer batchSize, Integer offset, String orderBy, String filters)
- batchSize
Type: Integer
Number of results to return. Values are from
1through200. For example, specify20to return 20 results.- offset
Type: Integer
Number of rows to skip before returning results. Must be greater than or equal to
0. For example, specify0to skip no rows.- orderBy
Type: String
Sort order for the result set. Results are ordered by creation date. Specify
createddateto order results in ascending order. Specifycreateddate descto order results in descending order.- filters
Type: String
Filter the result set to a more narrow scope or specific type. These filters are supported:
masterLabel- Matches the fieldname, which is a string that identifies the name of the activation target.targetStatus- Matches the fieldstatus, which is an enum that indicates the status of the activation target. Values must match those listed in thestatusresponse field.connectionType- Matches the fieldplatformType, which is an enum that indicates the platform type of the activation target. Values must match those listed in theplatformTyperesponse field.platformName- Matches the fieldplatformName, which is a string that indentifies the platform name of the activation target.
These are examples of filter specifications:
masterLabel in Target002targetStatus in activeplatformName in Customer Data PlatformtargetStatus in active AND platformName in Amazon S3
Type: ConnectApi.ActivationTargetCollection
Update an activation target.
60.0
No
public static ConnectApi.ActivationTarget updateActivationTarget(String activationTargetId, ConnectApi.ActivationTargetInput input)
- activationTargetId
Type: String
ID of the activation target.
- input
Type:
ConnectApi.ActivationTargetInputInput details for the activation target.