PRODUCT
Follow

Resource URL

https://adapi.sizmek.com/sas/tagManagers/retargetingDataValue

Objects Used by This Resource

The following objects are used by this endpoint:

HTTP Method and URI List

HTTP METHOD

URI

DESCRIPTION

GET

/rest/tagManagers/retargetingDataValue/{id}

Retrieve retargetingDataValue by ID.

GET

/rest/tagManagers/retargetingDataValue/?q={query}&max=500&from=0

Retrieve multiple retargetingDataValue objects by query parameters.

POST

/rest/tagManagers/retargetingDataValue

Save multiple retargetingDataValues.

Method Examples and Request Parameters

Important

Important:

  • For PUT calls, do the following:

    • For any PUT method that updates an object, make sure that you include the entire "result": object from the GET response in the request body. If there is missing information, even if it is read-only, the request might fail or override the existing fields with the new values.

    • You must also change the "result": to "entities": and make the entities contents into an array. For example, here is the output from the GET request:

       { "result": { "type": "Advertiser", ... } }      

      You should make the following modifications, including your specific modifications, to the json object that you submit for the request.

       { "entities": [{ "type": "Advertiser", ... }] }   
      
  • For POST calls, do the following:

    • Include the fields marked as Required, as indicated in the corresponding Object article.

    • Format the JSON object as follows:

       { "entities": [{ "type": "Advertiser", ... }] }   

GET a retargetingDataValue by ID (GET)

Retrieve retargetingDataValue by ID.

Request Parameters

NAME

DESCRIPTION

TYPE

REQUIRED

id

ID of the entity to be retrieved.

Long

Required

Request Format

GET https://adapi.sizmek.com/sas/tagManagers/retargetingDataValue/{id}

Response Format

GET Multiple retargetingDataValues by Query Parameters (GET)

Retrieves multiple retargetingDataValues. Can be filtered according to query parameters.

Request Query Parameters

Name

Description

Type

Required

Notes

from

Starting index by which to fetch new retargeting activities for paging purposes.

Long

Required

Getting multiple entities requires using from and max query parameters.

max

Maximum number of retargeting activities to fetch for each page.

Long

Required

q

Filtering options for the request (see here).

String

Optional

Example of query string: q={"1":{"CREATEDBYNAME":["MonicaSmith"]},"2":{"ADVERTISERNAME":["autoads"]}}

Note

Note: The date is according to the Unix epoch timestamp.

Request Format

GET https://adapi.sizmek.com/sas/tagManagers/retargetingDataValue/?q={query}&max=500&from=0

Response Format

Create One or More retargetingDataValues (POST)

Create one or more retargetingDataValues.

Request Parameters

NAME

DESCRIPTION

TYPE

REQUIRED

Body

Request containing retargetingDataValue body to create.

JSON

Required

Request Format

POST https://adapi.sizmek.com/sas/tagManagers/retargetingDataValue

Response Format

Status Codes and Errors

The following table lists the possible HTTP status codes in responses.

CODE

DESCRIPTION

66107

RetargetingDataValues list is empty.

66108

Mismatch between retargeting activity and advertiser relation.

66109

RetargetingDataValues entities number size exceeded.

66110

RetargetingData list is not empty and UseRetargetingDataValueObject is ON. Please remove item from the list.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk