Get Data Cloud Segments for Targeting (Beta) Action
Retrieve Data Cloud segments for audience targeting in media campaigns.
This action is available in API version 68.0 and later.
To access this action, ensure that you have the Media Cloud Base user permission set enabled.
URI: /services/data/v68.0/actions/standard/GetDataCloudSegmentsForTgt
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
dataSpaceId | string | Optional. The ID of the data space to filter segments by. If blank, the default data space is used. |
segmentStatus | string | Optional. The segment status to filter by. For example, ACTIVE or INACTIVE. Defaults to ACTIVE. |
queryLimit | int | Optional. The maximum number of segments to return. |
queryOffset | int | Optional. The number of segments to skip for pagination. Defaults to 0. |
startDate | date | Optional. The earliest last-modified date to include in results. Use ISO format YYYY-MM-DD. |
endDate | date | Optional. The latest last-modified date to include in results. Use ISO format YYYY-MM-DD. |
| Output | Type | Description |
|---|---|---|
isSuccess | boolean | Indicates whether the query was successful. |
upsertedSegmentList | string array[] | The IDs of the ad target segment value records that were inserted or updated. |
upsertedSegmentCount | int | The number of ad target segment value records that were inserted or updated. |
errorMessage | string | A short summary of the error. For the full error, search server logs by the reference ID. |
- POST
This sample request is for the Get Data Cloud Segments for Targeting (Beta) action.
This sample response is for the Get Data Cloud Segments for Targeting (Beta) action.