HTTP METHOD |
URI |
DESCRIPTION |
---|---|---|
/tagManagers |
Retrieves all tag managers by advertiser ID. |
|
/tagManagers/{id} |
Retrieves a tag manager by ID. |
|
/tagManagers |
Creates a new tag manager. |
|
/tagManagers/{id} |
Updates an existing tag manager. |
|
/tagManagers/{id} |
Deletes one tag manager. |
|
/tagManagers/delete |
Deletes one or more tag managers. |
|
/tagmanagers/generateTag/{id} |
Generates JavaScript code for a tag manager. |
|
/tagManagers/generateNoScriptTag/{id} |
Generates NoScript code for a tag manager. |
|
/tagManagers/publishConfigFile/{id} |
Publishes the tag manager config file. |
|
/tagManagers/getTagManagersByEntity |
Finds tag managers by entity ID. |
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", ... }] }
-
Retrieves multiple Tag Managers. Can be filtered according to query parameters.
Name |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
from |
Starting index by which to fetch new tag managers for paging purposes. |
Long |
Required |
Getting multiple entities requires using from and max query parameters. |
max |
Maximum number of tag managers 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"]}} NoteNote: The date is according to the Unix epoch timestamp. |
order |
Sort order ASC or DESC, required if sort field name is specified (see here). |
String |
Optional NoteNote: Required if a sort field name is specified. |
By default, the API response is ascending. |
sort |
Sort by field name (see here). |
String |
Optional |
|
advertiserID |
Advertiser ID from which to retrieve tag manager. |
Long |
Optional |
|
enrichWithEntitiesCounts |
Determines whether to enrich tag manager with related entities' counts. |
Boolean |
Optional |
Specify true if counts are required; otherwise, counts will be zero and performance is improved. |
Retrieves a tag manager by ID.
Create a Tag Manager.
Updates an existing tag manager.
Deletes a single tag manager.
NAME |
DESCRIPTION |
TYPE |
REQUIRED |
NOTES |
---|---|---|---|---|
id |
ID of tag manager to delete. |
Long |
Required |
Deletes multiple tag managers.
NAME |
DESCRIPTION |
TYPE |
REQUIRED |
NOTES |
---|---|---|---|---|
id |
IDs of tag managers to delete. |
Array of long |
Required |
Generates JavaScript code for a tag manager.
NAME |
DESCRIPTION |
TYPE |
REQUIRED |
NOTES |
---|---|---|---|---|
id |
ID of the tag manager. |
Long |
Required |
|
protocol |
Protocol of the tag. HTTPS is the default value. |
String |
Required |
|
dataLayer |
Name of the data layer used to pass parameters. |
String |
Required |
|
thirdPartyRunsOn |
Response type that the Amazon Ad Server (AAS) server returns to the page. This response includes both 3rd party tags and other proprietary AAS scripts. JavaScript is the default value. |
String |
Required |
Generates NoScript code for a tag manager.
Publishes the tag manager config file.
NAME |
DESCRIPTION |
TYPE |
REQUIRED |
NOTES |
---|---|---|---|---|
id |
IDs of tag managers to publish. |
Array of long |
Required |
Request URL: PUT https://adapi.sizmek.com/sas/tagManagers/publishConfigFile?tagmanagerId={id}
Body URL: PUT https://adapi.sizmek.com/sas/tagManagers/publishConfigFile
Retrieves tag managers by ID of an entity.
GET https://adapi.sizmek.com/sas/tagManagers/getTagManagersByEntity?entityId=1083753345&entityType=TagManagerVariable&from=0&max=250&order=asc&sort=name
Comments