Skip to main content

Creative API

The Creative API allows you to upload images, videos, audio, or HTML files to the creative library.

You can also get creative details and manage creatives, creative groups and associated conversions. This page covers the common endpoints and methods associated with the Creative API.

info

File requirements for creative file:

  • 2MB for JPG, JPEG, PNG
  • 750KB for GIF
  • 400MB for MOV, MP4
  • 100MB for MP3, WAV, OGG, MPEG

For more information on VAST and DAAST XML format specifications, please see IAB Tech Lab's Documentation.

Sample CSV file: https://app.iqm.com/creatives/example-files/sample_html_creatives.csv

More resources​

Authentication​

Use the following header parameters for all requests:

Headers
Authentication
string required
Authentication bearer token.
See Sign up and authenticate.
X-IAA-OW-ID
integer required
Organization Workspace ID header.

Creative details​

Creative details by ID​

GET

Get creative details by ID.

Path parameters
creativeId
integer
Creative ID.
Response properties
creativeId
integer
Creative ID.
creativeName
string
Creative name.
rtbCreativeTypeId
integer
RTB creative type ID.
platformCreativeTypeId
integer
Platform creative type ID.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativeStatusId
integer
Creative status ID.
Supported values
1Pending
2Running
3Paused
5Rejected
4Deleted
creativeSource
string
Creative source.
creativeCardSource
string
Creative card source.
clickUrl
string
Click URL.
imageDetails
object
Image details.
imageDetails object properties
pixelUrls
array of strings
Pixel URLs, up to five supported per creative.
creativeWidth
integer
Creative width (px).
creativeHeight
integer
Creative height (px).
creativeSourceType
string
Creative source type.
Supported values: file, HTML, vast-xml.
creativePreviewFlag
integer
Indicates if a creative has a thumbnail/preview available for users or systems before finalization: true.
createdAt
integer
Unix epoch timestamp of campaign creation date, in milliseconds.
modifiedAt
string
Last modified date.
userDetails
object
User details.
userDetails object properties
uowId
integer
User Organization Workspace ID.
userName
string
User name.
userEmail
string
User email.
hasApprovalAccess
boolean
Indicates if user has access to approve.
hasEditAccess
boolean
Indicates if user has edit access for the requested resources.
organizationDetails
object
Organization details.
organizationDetails object properties
owId
integer
Organization Workspace ID.
organizationName
string
Organization name.
Response 200
{
"success": true,
"data": {
"creativeId": 686855,
"creativeName": "300x600-w23-01",
"rtbCreativeTypeId": 1,
"platformCreativeTypeId": 11,
"creativeStatusId": 2,
"creativeSource": "https://d3jme5si7t6llb.cloudfront.net/image/202760/efk0sUk_1730201855013.jpg",
"creativeCardSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/202760/278x220/efk0sUk_1730201855013.jpg",
"clickUrl": "http://iqm.com",
"imageDetails": {
"pixelUrls": ["http://pixel.com"],
"creativeWidth": 300,
"creativeHeight": 600
},
"creativeSourceType": "file",
"creativePreviewFlag": 1,
"createdAt": 1730201855165,
"modifiedAt": "2024-10-29T06:10:15.000+00:00",
"userDetails": {
"uowId": 175891,
"userName": "Hardik",
"userEmail": "hardik.v+iqmsuper@iqm.com",
"hasApprovalAccess": true,
"hasEditAccess": true
},
"organizationDetails": {
"owId": 202760,
"organizationName": "AdWing"
}
}
}

Get list of creatives and details​

POST

Get a list of creatives with their details.

A creative id can be used to get creative details by ID and to perform various actions in Creative management endpoints.

Request schema
pageNo
integer
Page number of retrieved data.
noOfEntries
integer
Number of entries returned per page.
sortBy
string
Sorts by ascending (+) or descending (-).
searchField
string
Filter results by search field.
platformCreativeTypeIds
array of integers
Creative type IDs.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativeStatusIds
array of integers
Creative status IDs.
Supported values
1Pending
2Running
3Paused
5Rejected
4Deleted
creativeIds
array of integers
Creative IDs.
creativeGroupId
integer
Filter results by creative group ID.
campaignIds
array of integers
Filter results by campaign IDs.
startTime
integer
Unix epoch timestamp (in milliseconds) of start time.
endTime
integer
Unix epoch timestamp (in milliseconds) of end time.
owIds
integer
(Super/Workspace only) Organization Workspace IDs.
allOwIds
boolean
(Super/Workspace only) Filters records with all allowed OW IDs if true, prioritizes records over owIds.
includeCreativeSourceDetails
boolean
(Advertiser only) Flag indicating whether to include creative source details (true) or not (false).
includeOrgnizationDetails
boolean
Flag indicating whether to include Organization details (true) or not (false).
includeUserDetails
boolean
Flag indicating whether to include user details (true) or not (false).
Response properties
creativeId
integer
Creative ID.
creativeName
string
Creative name.
platformCreativeTypeId
integer
Platform creative type ID.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativeStatusId
integer
Creative status ID.
Supported values
1Pending
2Running
3Paused
5Rejected
4Deleted
creativeSourceType
string
Creative source type.
Supported values: file, HTML, vast-xml.
creativePreviewFlag
integer
Indicates if a creative has a thumbnail/preview available for users or systems before finalization: true.
creativeCardSource
string
Creative card source.
createdAt
integer
Unix epoch timestamp of campaign creation date, in milliseconds.
modifiedAt
string
Last modified date.
clickUrl
string
Click URL.
pixelUrls
array of strings
Pixel URLs, up to five supported per creative.
creativeWidth
integer
Creative width (px).
creativeHeight
integer
Creative height (px).
subMediaType
integer
Subcategory of media type.
approvalRequiredPostUrlUpdate
boolean
Indicates that an update to a creative's port or URL requires approvel: true.
campaignDetails
object
Campaign details.
campaignDetails object properties
campaignIds
array of integer
Campaign IDs.
userDetails
object
User details.
userDetails object properties
uowId
integer
User Organization Workspace ID.
organizationDetails
object
Organization details.
organizationDetails object properties
owId
integer
Organization Workspace ID.
Request sample
{
"pageNo": 1,
"noOfEntries": 2,
"sortBy": "-creativeId",
"searchField": "creative",
"platformCreativeTypeIds": [
11,
13,
14,
15,
17
],
"creativeStatusIds": [
1,
2,
3,
4
],
"creativeIds": [
130141,
130142
],
"creativeGroupId": null,
"campaignIds": [
20141
],
"startTime": 1734998399000,
"endTime": 1735206867000,
"includeCreativeSourceDetails": true,
"includeOrganizationDetails": false,
"includeUserDetails": false
}
Response 200 (Advertiser)
{
"success": true,
"data": {
"totalRecords": 120,
"filteredRecords": 2,
"filteredList": [
{
"creativeId": 130141,
"creativeName": "Creative 1",
"platformCreativeTypeId": 11,
"creativeStatusId": 2,
"creativePreviewFlag": 1,
"creativeSourceType": "file",
"creativeSource": "https://cdn-cfy-p0.iqm.com/image/457/3W8FRdl_1671813949060.gif",
"creativeThumbnailSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/201353/136x82/3W8FRdl_1671813949060.gif",
"creativeCardSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/201353/278x220/3W8FRdl_1671813949060.gif",
"createdAt": 1671813949233,
"modifiedAt": 1671819653000,
"clickUrl": "https://example.com/id=130141",
"creativeHeight": 50,
"creativeWidth": 320,
"campaignDetails": {
"campaignIds": [
20141
]
},
"userDetails": {
"uowId": 981
},
"organizationDetails": {
"owId": 201353
}
},
{
"creativeId": 130142,
"creativeName": "Creative 2",
"platformCreativeTypeId": 14,
"creativeStatusId": 2,
"creativePreviewFlag": 1,
"creativeSourceType": "file",
"creativeSource": "<VAST xmlns="http://www.iab.com/VAST" version="4.0"> <Ad conditionalAd="false" id="{IAA_CREATIVE_ID}" sequence="1"> <InLine> <AdSystem version="4.0">4.0</AdSystem> <Impression id="Impression-ID"> <![CDATA[http://example.com/track/impression]]> </Impression> </InLine> </Ad> </VAST>",
"creativeThumbnailSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/201353/136x82/EQ4SWN1_1671813949262.png",
"creativeCardSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/201353/278x220/EQ4SWN1_1671813949262.png",
"createdAt": 1671813949351,
"modifiedAt": 1671819653000,
"clickUrl": "https://example.com/id=130142",
"duration": 16,
"campaignDetails": {
"campaignIds": [
20141
]
},
"userDetails": {
"uowId": 981
},
"organizationDetails": {
"owId": 201353
}
}
]
}
}
Response 200 (Super/Workspace)
{
"success": true,
"data": {
"totalRecords": 120,
"filteredRecords": 2,
"filteredList": [
{
"creativeId": 130141,
"creativeName": "Creative 1",
"platformCreativeTypeId": 11,
"creativeStatusId": 2,
"creativePreviewFlag": 1,
"creativeSourceType": "file",
"creativeThumbnailSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/201353/136x82/3W8FRdl_1671813949060.gif",
"creativeCardSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/201353/278x220/3W8FRdl_1671813949060.gif",
"createdAt": 1671813949233,
"modifiedAt": 1671819653000,
"clickUrl": "https://example.com/id=130141",
"pixelUrls": ["http://app.iqm.com"],
"creativeHeight": 50,
"creativeWidth": 320,
"subMediaType": "Image",
"approvalRequiredPostUrlUpdate": true,
"campaignDetails": {
"campaignIds": [
20141
]
},
"userDetails": {
"uowId": 981,
"userName": "User Name",
"userEmail": "email@domain.com",
"hasEditAccess": true,
"hasApprovalAccess": true
},
"organizationDetails": {
"owId": 201353,
"organizationName": "Organization Name",
"organizationLogo": "https://iqm-web-assets-c92d6b6cbde1-stage.s3.amazonaws.com/avatar/ON.png"
}
},
{
"creativeId": 130142,
"creativeName": "Creative 2",
"platformCreativeTypeId": 14,
"creativeStatusId": 2,
"creativePreviewFlag": 1,
"creativeSourceType": "file",
"creativeThumbnailSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/201353/136x82/EQ4SWN1_1671813949262.png",
"creativeCardSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/201353/278x220/EQ4SWN1_1671813949262.png",
"createdAt": 1671813949351,
"modifiedAt": 1671819653000,
"clickUrl": "https://example.com/id=130142",
"duration": 16,
"subMediaType": "Video",
"approvalRequiredPostUrlUpdate": false,
"campaignDetails": {
"campaignIds": [
20141
]
},
"userDetails": {
"uowId": 981,
"userName": "User Name",
"userEmail": "email@domain.com",
"hasEditAccess": true,
"hasApprovalAccess": true
},
"organizationDetails": {
"owId": 201353,
"organizationName": "Organization Name",
"organizationLogo": "https://iqm-web-assets-c92d6b6cbde1-stage.s3.amazonaws.com/avatar/ON.png"
}
}
]
}
}

Get associated campaigns​

GET

Get details of a creative by ID along with its associated campaigns. Includes the option of retrieving modeling details.

Path parameters
creativeId
integer
Creative ID.
Query parameters
includeModelingInfo
boolean
Indicates whether modeling details should be included (true) or not, default (false).
Response properties
creativeId
integer
Creative ID.
creativeName
string
Creative name.
rtbCreativeTypeId
integer
RTB creative type ID.
platformCreativeTypeId
integer
Platform creative type ID.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativeStatusId
integer
Creative status ID.
Supported values
1Pending
2Running
3Paused
5Rejected
4Deleted
creativeSource
string
Creative source.
creativeCardSource
string
Creative card source.
clickUrl
string
Click URL.
videoDetails
object
Image details.
videoDetails object properties
duration
integer
Video duration.
xmlType
string
XML type.
Supported values: vastWrapper, vastInline.
creativeSourceUrl
string
Creative source URL.
availableXmlVersions
string
Available XML versions.
Supported values: v1.0, v1.1, v2.0.
transformed
boolean
Indicates that a video or audio creative has been successfully been converted to other formats or compressed.
Default: false, updated to true once post-processing by AWS Lambda is completed.
creativeSourceType
string
Creative source type.
Supported values: file, HTML, vast-xml.
creativePreviewFlag
integer
Indicates if a creative has a thumbnail/preview available for users or systems before finalization: true.
createdAt
integer
Unix epoch timestamp of campaign creation date, in milliseconds.
modifiedAt
string
Last modified date.
userDetails
object
User details.
userDetails object properties
uowId
integer
User Organization Workspace ID.
userName
string
User name.
userEmail
string
User email.
organizationDetails
object
Organization details.
organizationDetails object properties
owId
integer
Organization Workspace ID.
organizationName
string
Organization name.
campaignDetails
array of objects
Campaign details.
campaignDetails object properties
id
integer
Campaign ID.
name
string
Campaign name.
status
string
Campaign status.
totalCreativesCount
integer
Count of creatives associated with campaign.
isModelled
boolean
Indicates that a creative has been assigned Bid Modelling: true.
Response 200
{
"success": true,
"data": {
"creativeId": 604675,
"creativeName": "ad-45s",
"rtbCreativeTypeId": 3,
"platformCreativeTypeId": 14,
"creativeStatusId": 2,
"creativeSource": "VAST...",
"creativeCardSource": "https://d3jme5si7t6llb.cloudfront.net/Screenshots/201427/278x220/fgx01xo_1701846672033.jpg",
"clickUrl": "https://iqm.com/?utm_medium=rtb&utm_campaign=wreckathon-2022-play-4",
"videoDetails": {
"duration": 45,
"xmlType": "inline",
"creativeSourceUrl": "https://cdn-cfy-p0.iqm.com/wreckathon/Videos/iqm-video-202206-45s-720p.mp4",
"availableXmlVersions": "2.0,3.0,4.0,4.1",
"transformed": true
},
"creativeSourceType": "vast-xml",
"creativePreviewFlag": 1,
"createdAt": 1701846671694,
"modifiedAt": "2023-12-13T02:23:26.000+00:00",
"userDetails": {
"uowId": 9483,
"userName": "Hardik Vagadia",
"userEmail": "hardik.v+stageadv@iqm.com"
},
"organizationDetails": {
"owId": 201427,
"organizationName": "Stage Shared Advertiser"
},
"approvalRequiredPostUrlUpdate": true,
"campaignDetails": [
{
"id": 452308,
"name": "Test Campaign - Pre-bid segment not attched",
"status": "pending",
"totalCreativesCount": 3,
"isModelled": false
},
{
"id": 452330,
"name": "checking video campaign",
"status": "expired",
"totalCreativesCount": 7,
"isModelled": true
}
]
}
}

Get list of creative groups​

POST

Get a list of creative groups by desired filters.

A creative group id can be used to filter the results of get creative details by ID and to perform various actions in Creative management endpoints.

Request schema
pageNo
integer
Page number of retrieved data, default value: 1.
noOfEntries
integer
Number of entries returned per page, default value: 20.
sortBy
string
Sorts by ascending (+) or descending (-), default value: -creativeGroupId.
searchField
string
Filter results by search field: groupId, groupName, creativeId, name, or 3rd party ID.
platformCreativeTypeIds
array of integers
Creative type IDs.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativeStatusIds
array of integers
Creative status IDs.
Supported values
1Pending
2Running
3Paused
5Rejected
4Deleted
creativeGroupIds
array of integers
Creative group IDs.
startTime
integer
Unix epoch timestamp (in milliseconds) of start time.
endTime
integer
Unix epoch timestamp (in milliseconds) of end time.
allOwIds
boolean
(Super/Workspace only) Filters records with all allowed OW IDs if true, prioritizes records over owIds.
Response properties
creativeGroupList
array of objects
Creative group details.
creativeGroupList object properties
creativeGroupId
integer
Creative group ID.
creativeGroupName
string
Creative group name.
creativeTypeId
integer
Creative type ID.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativesCount
integer
Count of creatives in group.
Request sample
{
"pageNo": 1,
"noOfEntries": 2,
"searchField": "test",
"creativeGroupIds": [
46652,
46639
],
"startTime": 1737023769000,
"endTime": 1737369441000,
"sortBy": "-creativeGroupId",
"platformCreativeTypeIds": [
11,
13,
14,
15,
17
],
"creativeStatusIds": [
1,
2,
3,
4
]
}
Response 200
{
"success": true,
"data": {
"totalRecords": 203,
"filteredRecords": 12,
"creativeGroupList": [
{
"creativeGroupId": 17524,
"creativeGroupName": "Group_08",
"creativeTypeId": 11,
"createdAt": 1651570373395,
"creativesCount": 6
},
{
"creativeGroupId": 17522,
"creativeGroupName": "Group_06",
"creativeTypeId": 13,
"createdAt": 1651570273015,
"creativesCount": 5
}
]
}
}

Get creative count by type​

POST

Get a count of creatives by creative type.

Request schema
searchField
string
Filter results by search field.
Response properties
creativeTypeList
array of objects
Creative type list and counts.
creativeTypeList object properties
id
integer
Creative type ID.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativeCount
integer
Count of creatives by type.
Request sample
{
"searchField": "creative"
}
Response 200
{
"success": true,
"data": {
"totalRecords": 6,
"creativeTypeList": [
{
"id": 0,
"creativeCount": 88829
},
{
"id": 11,
"creativeCount": 52951
},
{
"id": 13,
"creativeCount": 7520
},
{
"id": 14,
"creativeCount": 15004
},
{
"id": 17,
"creativeCount": 1732
},
{
"id": 15,
"creativeCount": 11622
}
],
"filteredRecords": 6
}
}

Get creative count by status​

POST

Get count of creatives by creative status.

Request schema
searchField
string
Filter results by search field: groupId, groupName, creativeId, name, or 3rd party ID.
platformCreativeTypeIds
array of integers
Creative type IDs.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativeStatusIds
array of integers
Creative status IDs.
Supported values
1Pending
2Running
3Paused
5Rejected
4Deleted
creativeIds
array of integers
Creative IDs.
allCreatives
boolean
Flag indicating whether to include all creatives in results (true).
groupedCreatives
boolean
Flag indicating whether to include grouped Creaties (true).
startTime
integer
Unix epoch timestamp (in milliseconds) of start time.
endTime
integer
Unix epoch timestamp (in milliseconds) of end time.
campaignIds
array of integers
Filter results by campaign IDs.
owIds
array of integers
(Super/Workspace only) Organization Workspace IDs.
allOwIds
boolean
(Super/Workspace only) Filters records with all allowed OW IDs if true, prioritizes records over owIds.
Response properties
creativeStatusList
array of objects
Creative type list and counts.
creativeStatusList object properties
id
integer
Creative status ID.
Supported values
1Pending
2Running
3Paused
5Rejected
4Deleted
creativeCount
integer
Count of creatives by status.
Request sample
{
"searchField": "creative",
"creativeStatusIds": [
1,
2,
3,
4
],
"platformCreativeTypeIds": [
11,
13,
14,
15,
17
],
"creativeIds": [
123,
456
],
"allCreatives": true,
"groupedCreatives": false,
"startTime": 1734998399000,
"endTime": 1735206867000,
"owIds": [],
"allOwIds": true,
"campaignIds": [
123456
]
}
Response 200
{
"success": true,
"data": {
"creativeStatusList": [
{
"id": 0,
"creativeCount": 587
},
{
"id": 1,
"creativeCount": 212
},
{
"id": 2,
"creativeCount": 281
},
{
"id": 3,
"creativeCount": 6
},
{
"id": 5,
"creativeCount": 13
},
{
"id": 4,
"creativeCount": 75
}
],
"totalRecords": 6,
"filteredRecords": 6
}
}

Creative management​

Add new creative​

POST

This API allows you to add creatives of various types by providing the creative metadata and creative files using multipart/form-data. The metadata is sent as a JSON string in the creativeRequest form field, and files (when creativeSourceType is FILE) are uploaded in the creativeFiles form field. The API supports batch creation of multiple creatives in a single request, with partial success/failure handling.

Refer to MDN Documentation on form data format for more information.

Request schema
creativeRequest
form data required
This parameter accepts a Map of IDs to creative metadata. Each ID corresponds to a single creative.
creativeFiles
multipart/form-data
Array of creative files to upload. Required only when creative source type is FILE in the creative metadata. Each uploaded file's name must exactly match the creativeSource value specified in the corresponding creative object. Supports multiple file uploads for batch creative creation. Accepted file types include images (JPEG, PNG, GIF), videos (MP4, WebM), and audio (MP3, WAV, OGG).
Creative metadata
creativeName
string
Creative name.
externalCreativeId
string
External creative ID.
platformCreativeTypeId
integer
Creative type ID.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativeSourceType
string
Creative source type.
Supported values: HTML, FILE, URL, VAST_URL, VAST_XML, DAAST_URL, DAAST_XML.
creativeSource
string
Creative source.
clickUrl
string
Click URL.
subMediaType
integer
Subcategory of media type (for native video creatives).
htmlDetails
object
HTML creative details.
htmlDetails object properties
pixelUrls
array of strings
Pixel URLs, up to five supported per creative.
creativeWidth
integer
Creative width (px).
creativeHeight
integer
Creative height (px).
imageDetails
object
Image creative details.
imageDetails object properties
pixelUrls
array of strings
Pixel URLs, up to five supported per creative.
creativeWidth
integer
Creative width (px).
creativeHeight
integer
Creative height (px).
audioDetails
object
Audio creative details.
audioDetails object properties
pixelUrls
array of strings
Pixel URLs, up to five supported per creative.
duration
integer
Audio duration (s).
customTracking
object
Custom tracking details.
customTracking object properties
startUrl
string
Start URL.
firstQuartileUrl
string
First quartile URL.
midPointUrl
string
Midpoint URL.
thirdQuartileUrl
string
Third quartile URL.
completeUrl
string
Complete URL.
impressionUrl
string
Impression URL.
logoSource
string
Logo source.
videoDetails
object
Video creative details.
videoDetails object properties
pixelUrls
array of strings
Pixel URLs, up to five supported per creative.
creativeWidth
integer
Creative width (px).
creativeHeight
integer
Creative height (px).
duration
integer
Video duration (s).
customTracking
object
Custom tracking details.
customTracking object properties
startUrl
string
Start URL.
firstQuartileUrl
string
First quartile URL.
midPointUrl
string
Midpoint URL.
thirdQuartileUrl
string
Third quartile URL.
completeUrl
string
Complete URL.
impressionUrl
string
Impression URL.
nativeDetails
object
Native creative details.
nativeDetails object properties
title
string
Title.
description
string
Description.
cta
object
Call-to-Action object details (for native video).
cta object properties
id
integer
CTA ID.
ctaText
string
CTA display text.
defaultCta
boolean
Default CTA for associated creative.
brandName
string
Brand name.
brandIconSourceUrl
string
Brand icon source URL.
brandIconHeight
integer
Brand icon height (px).
brandIconWidth
integer
Brand icon width (px).
thumbnailSourceUrl
string
Thumbnail source URL (for native video).
thumbnailHeight
integer
Thumbnail height (px, for native video).
thumbnailWidth
integer
Thumbnail width (px, for native video).

Response properties
successData
object
Success data.
successData object properties
PS
string
Partial success.
failedData
object
Success data.
failedData object properties
PF
string
Partial failure.
POST /api/v3/crt/creatives HTTP/1.1
Host: https://api.iqm.com
Authorization: Bearer YOUR_TOKEN_HERE
X-IAA-OW-ID: 12345
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="creativeRequest"

{"I001":{"creativeName":"Summer Sale Banner","externalCreativeId":"campaign-2024-001","platformCreativeTypeId":11,"creativeSourceType":"FILE","creativeSource":"summer-banner.jpg","clickUrl":"https://www.example.com/summer-sale","imageDetails":{"pixelUrls":["https://tracker.example.com/pixel"],"creativeWidth":728,"creativeHeight":90}},"V001":{"creativeName":"Product Demo Video","externalCreativeId":"campaign-2024-002","platformCreativeTypeId":14,"creativeSourceType":"FILE","creativeSource":"product-demo.mp4","clickUrl":"https://www.example.com/products","videoDetails":{"creativeWidth":1920,"creativeHeight":1080,"duration":30,"pixelUrls":["https://tracker.example.com/pixel"],"customTracking":{"startUrl":"https://tracker.example.com/start","firstQuartileURL":"https://tracker.example.com/25","midPointURL":"https://tracker.example.com/50","thirdQuartileURL":"https://tracker.example.com/75","completeURL":"https://tracker.example.com/complete","impressionURL":"https://tracker.example.com/impression"}}},"H001":{"creativeName":"Interactive HTML Ad","platformCreativeTypeId":13,"creativeSourceType":"HTML","creativeSource":"<a href='https://example.com'><img src='https://cdn.example.com/ad.jpg'></a>","clickUrl":"https://www.example.com","htmlDetails":{"pixelUrls":["https://tracker.example.com/pixel"],"creativeWidth":300,"creativeHeight":250}}}
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="creativeFiles"; filename="summer-banner.jpg"
Content-Type: image/jpeg

[Binary image data]
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="creativeFiles"; filename="product-demo.mp4"
Content-Type: video/mp4

[Binary video data]
------WebKitFormBoundary7MA4YWxkTrZu0gW--
curl -X POST https://api.iqm.com/api/v3/crt/creatives \
-H "Authorization: Bearer YOUR_TOKEN_HERE" \
-H "X-IAA-OW-ID: 12345" \
-F 'creativeRequest={"I001":{"creativeName":"Summer Sale Banner","externalCreativeId":"campaign-2024-001","platformCreativeTypeId":11,"creativeSourceType":"FILE","creativeSource":"summer-banner.jpg","clickUrl":"https://www.example.com/summer-sale","imageDetails":{"pixelUrls":["https://tracker.example.com/pixel"],"creativeWidth":728,"creativeHeight":90}},"V001":{"creativeName":"Product Demo Video","externalCreativeId":"campaign-2024-002","platformCreativeTypeId":14,"creativeSourceType":"FILE","creativeSource":"product-demo.mp4","clickUrl":"https://www.example.com/products","videoDetails":{"creativeWidth":1920,"creativeHeight":1080,"duration":30,"pixelUrls":["https://tracker.example.com/pixel"],"customTracking":{"startUrl":"https://tracker.example.com/start","firstQuartileURL":"https://tracker.example.com/25","midPointURL":"https://tracker.example.com/50","thirdQuartileURL":"https://tracker.example.com/75","completeURL":"https://tracker.example.com/complete","impressionURL":"https://tracker.example.com/impression"}}},"H001":{"creativeName":"Interactive HTML Ad","platformCreativeTypeId":13,"creativeSourceType":"HTML","creativeSource":"<a href=\"https://example.com\"><img src=\"https://cdn.example.com/ad.jpg\"></a>","clickUrl":"https://www.example.com","htmlDetails":{"pixelUrls":["https://tracker.example.com/pixel"],"creativeWidth":300,"creativeHeight":250}}}' \
-F 'creativeFiles=@summer-banner.jpg' \
-F 'creativeFiles=@product-demo.mp4'
{
"H001": {
"creativeName": "html",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 13,
"creativeSourceType": "HTML",
"creativeSource": "<a href=https://iqm.com/political?utm_medium=rtb&utm_campaign=wreckathon-2024-play-1><img src=https://cdn-cfy-p0.iqm.com/wreckathon/2024/Images/w24-728x90-P.jpg></a>",
"clickUrl": "www.example.com",
"htmlDetails": {
"pixelUrls": ["https://iqm.pixel.com"],
"creativeWidth": 500,
"creativeHeight": 1200
}
}
}
{
"I001": {
"creativeName": "image-file",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 11,
"creativeSourceType": "FILE",
"creativeSource": "green.jpeg",
"clickUrl": "www.example.com",
"imageDetails": {
"pixelUrls": ["www.example.com"],
"creativeWidth": 750,
"creativeHeight": 750
}
}
}
{
"I002": {
"creativeName": "image-url",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 11,
"creativeSourceType": "URL",
"creativeSource": "https://tmpd3vsekqsh1zre3k8n-stage.s3.amazonaws.com/Image/200001/Mcn7L08_1731899937158.png",
"clickUrl": "www.example.com",
"imageDetails": {
"pixelUrls": ["www.example.com"],
"creativeWidth": 3800,
"creativeHeight": 2534
}
}
}
{
"A001": {
"creativeName": "audio-file",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 17,
"clickUrl": "www.example.com",
"creativeSourceType": "FILE",
"creativeSource": "38823f5d-8dea-40ed-8a53-78ff9910befa-wl.mp3",
"audioDetails": {
"duration": 15,
"pixelUrls": ["https://pixel1.iqm.com", "https://pixel2.iqm.com"],
"customTracking": {
"startUrl": "www.example.com",
"firstQuartileURL": "www.example.com",
"midPointURL": "www.example.com",
"thirdQuartileURL": "www.example.com",
"completeURL": "www.example.com",
"impressionURL": "www.example.com"
},
"logoSource": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg"
}
}
}
{
"A002": {
"creativeName": "audio-url",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 17,
"clickUrl": "www.example.com",
"creativeSourceType": "URL",
"creativeSource": "https://d15mohg007lzeb.cloudfront.net/mu/20250116/163554.948946-38823f5d-8dea-40ed-8a53-78ff9910befa.mp3",
"audioDetails": {
"duration": 19,
"pixelUrls": ["https://pixel1.iqm.com", "https://pixel2.iqm.com"],
"customTracking": {
"startUrl": "www.example.com",
"firstQuartileURL": "www.example.com",
"midPointURL": "www.example.com",
"thirdQuartileURL": "www.example.com",
"completeURL": "www.example.com",
"impressionURL": "www.example.com"
}
}
}
}
{
"A003": {
"creativeName": "audio-vast-url",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 17,
"creativeSourceType": "VAST_URL",
"creativeSource": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/180837.894423-nisha-dev-audio-vast.xml"
}
}
{
"A004": {
"creativeName": "audio-vast",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 17,
"creativeSourceType": "VAST_XML",
"creativeSource": "<VAST ... >...</VAST>"
}
}
{
"A005": {
"creativeName": "audio-daast-url",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 17,
"creativeSourceType": "DAAST_URL",
"creativeSource": "https://d15mohg007lzeb.cloudfront.net/mu/20241014/112237.434288-DAAST1_(1).xml"
}
}
{
"A006": {
"creativeName": "audio-daast",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 17,
"creativeSourceType": "DAAST_XML",
"creativeSource": "<DAAST ... >...</DAAST>"
}
}
{
"V001": {
"creativeName": "video-file",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 14,
"clickUrl": "www.example.com",
"creativeSourceType": "FILE",
"creativeSource": "4b2c2dca-6919-432a-9ac6-91405b8c4489.mp4",
"videoDetails": {
"creativeHeight": 2160,
"creativeWidth": 4096,
"duration": 22,
"pixelUrls": ["https://pixel1.iqm.com", "https://pixel2.iqm.com"],
"customTracking": {
"startUrl": "www.example.com",
"firstQuartileURL": "www.example.com",
"midPointURL": "www.example.com",
"thirdQuartileURL": "www.example.com",
"completeURL": "www.example.com",
"impressionURL": "www.example.com"
}
}
}
}
{
"V002": {
"creativeName": " video-url",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 14,
"clickUrl": "www.example.com",
"creativeSourceType": "URL",
"creativeSource": "https://d15mohg007lzeb.cloudfront.net/mu/20241204/094645.459858-4b2c2dca-6919-432a-9ac6-91405b8c4489.mp4",
"videoDetails": {
"creativeHeight": 2160,
"creativeWidth": 4096,
"duration": 22,
"pixelUrls": ["https://pixel1.iqm.com", "https://pixel2.iqm.com"],
"customTracking": {
"startUrl": "www.example.com",
"firstQuartileURL": "www.example.com",
"midPointURL": "www.example.com",
"thirdQuartileURL": "www.example.com",
"completeURL": "www.example.com",
"impressionURL": "www.example.com"
}
}
}
}
{
"V003": {
"creativeName": " vast-url",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 14,
"creativeSourceType": "VAST_URL",
"creativeSource": "https://cdn-cfy-p0.iqm.com/wreckathon/2024/Videos/vast-static-DVP-15s-playbook.xml"
}
}
{
"V004": {
"creativeName": "video-vast",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 14,
"creativeSourceType": "VAST_XML",
"creativeSource": "<VAST ... >...</VAST>"
}
}
{
"NI001": {
"creativeName": "native-image-file",
"externalCreativeId": "google_421_dcm_435",
"subMediaType": "image",
"platformCreativeTypeId": 15,
"creativeSourceType": "FILE",
"creativeSource": "image_creative.jpeg",
"clickUrl": "www.example.com",
"imageDetails": {
"pixelUrls": ["www.example.com"]
},
"nativeDetails": {
"title": "Native image file upload",
"description": "Native image file upload, with pixel url, no CTA",
"brandName": "iqm",
"brandIconSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"brandIconHeight": 750,
"brandIconWidth": 750
}
}
}
{
"NI002": {
"creativeName": "native-image-url",
"externalCreativeId": "google_421_dcm_435",
"subMediaType": "image",
"platformCreativeTypeId": 15,
"creativeSourceType": "URL",
"creativeSource": "https://d3jme5si7t6llb.cloudfront.net/assets/201427/y4SLpav_1734345286762.jpeg",
"clickUrl": "www.example.com",
"imageDetails": {
"pixelUrls": ["www.example.com"]
},
"nativeDetails": {
"title": "Native image url upload",
"description": "Native image with pixel url and existing CTA",
"brandName": "green",
"brandIconSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"brandIconHeight": 750,
"brandIconWidth": 750
}
}
}
{
"NV001": {
"creativeName": "native-video-file",
"externalCreativeId": "google_421_dcm_435",
"subMediaType": "video",
"platformCreativeTypeId": 15,
"clickUrl": "www.example.com",
"creativeSourceType": "FILE",
"creativeSource": "4b2c2dca-6919-432a-9ac6-91405b8c4489.mp4",
"videoDetails": {
"creativeHeight": 2160,
"creativeWidth": 4096,
"duration": 22,
"customTracking": {
"startUrl": "www.example.com",
"firstQuartileURL": "www.example.com",
"midPointURL": "www.example.com",
"thirdQuartileURL": "www.example.com",
"completeURL": "www.example.com",
"impressionURL": "www.example.com"
}
},
"nativeDetails": {
"title": "native-video-file-title",
"description": "native-video-file-description",
"cta": {
"id": 1,
"ctaText": "Sign Up",
"defaultCta": true
},
"brandName": "green",
"brandIconSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"brandIconHeight": 750,
"brandIconWidth": 750,
"thumbnailSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"thumbnailHeight": 750,
"thumbnailWidth": 750
}
}
}
{
"NV002": {
"creativeName": "native-video-url",
"externalCreativeId": "google_421_dcm_435",
"subMediaType": "video",
"platformCreativeTypeId": 15,
"clickUrl": "www.example.com",
"creativeSourceType": "URL",
"creativeSource": "https://d15mohg007lzeb.cloudfront.net/mu/20241204/094645.459858-4b2c2dca-6919-432a-9ac6-91405b8c4489.mp4",
"videoDetails": {
"creativeHeight": 2160,
"creativeWidth": 4096,
"duration": 22,
"customTracking": {
"startUrl": "www.example.com",
"firstQuartileURL": "www.example.com",
"midPointURL": "www.example.com",
"thirdQuartileURL": "www.example.com",
"completeURL": "www.example.com",
"impressionURL": "www.example.com"
}
},
"nativeDetails": {
"title": "native-video-url-title",
"description": "native-video-url-description",
"cta": {
"id": 1,
"ctaText": "Sign Up",
"defaultCta": true
},
"brandName": "green",
"brandIconSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"brandIconHeight": 750,
"brandIconWidth": 750,
"thumbnailSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"thumbnailHeight": 750,
"thumbnailWidth": 750
}
}
}
{
"NV003": {
"creativeName": " native-video-vast-url",
"externalCreativeId": "google_421_dcm_435",
"platformCreativeTypeId": 15,
"subMediaType": "video",
"creativeSourceType": "VAST_URL",
"creativeSource": "https://cdn-cfy-p0.iqm.com/wreckathon/2024/Videos/vast-static-DVP-15s-playbook.xml",
"nativeDetails": {
"title": "native-video-url-title",
"description": "native-video-url-description",
"cta": {
"id": 1,
"ctaText": "Sign Up",
"defaultCta": true
},
"brandName": "green",
"brandIconSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"brandIconHeight": 750,
"brandIconWidth": 750,
"thumbnailSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"thumbnailHeight": 750,
"thumbnailWidth": 750
}
}
}
{
"NV004": {
"creativeName": "native-video-vast-xml",
"externalCreativeId": "google_421_dcm_435",
"subMediaType": "video",
"platformCreativeTypeId": 15,
"creativeSourceType": "VAST_XML",
"creativeSource": "<VAST ... >...</VAST>",
"nativeDetails": {
"title": "native-video-url-title",
"description": "native-video-url-description",
"cta": {
"id": 1,
"ctaText": "Sign Up",
"defaultCta": true
},
"brandName": "green",
"brandIconSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"brandIconHeight": 750,
"brandIconWidth": 750,
"thumbnailSourceUrl": "https://d15mohg007lzeb.cloudfront.net/mu/20241210/182931.406010-green.jpeg",
"thumbnailHeight": 750,
"thumbnailWidth": 750
}
}
}
Response 200
{
"success": true,
"data": {
"successData": {
"PS": "701388"
},
"failedData": {
"PF": "Creative file missing. Please attach the required file. : null"
}
}
}

Update creative details​

PATCH

Update the details of an existing creative. Users authorized to modify a creative's properties are: Advertisers, workspaces, or super users. Ownership and edit permissions are validated to ensure request is authorized.

Path parameters
creativeId
integer
Creative ID.
Request schema
creativeName
string
Creative name.
externalCreativeId
string
3rd party ID for creative.
creativeRejectionReason
string
Reason for rejecting creative if applicable.
creativeRemarks
string
Adds remarks to creative.
trackingData
object
Tracking URLs for video, audio, and native video creatives. Can only be updated for video, audio, and native video creative types. Pass a URL key with an empty string to remove the value of that URL.
trackingData object properties
startUrl
string
Start URL for the video.
firstQuartileURL
string
Tracking URL for first quartile.
midPointURL
string
Tracking URL for mid point.
thirdQuartileURL
string
Tracking URL for third quartile.
completeURL
string
Tracking URL for complete.
impressionURL
string
Tracking URL for impression.
Response properties
id
integer
Creative ID.
message
string
Success message.
Request sample
{
"creativeName": "New creative name",
"externalCreativeId": "3rd party id"
}
Response 200
{
"success": true,
"data": {
"id": 68798,
"message": "New creative name updated successfully"
}
}

Update creative status​

PATCH

Update the status of an existing creative. Users authorized to modify a creative's properties are: Advertisers, workspaces, or super users. Ownership and edit permissions are validated to ensure request is authorized.

Request schema
creativeIds
array of integers
Creative IDs.
creativeStatusId
integer
Creative status ID.
Supported values
1Pending
2Running
3Paused
5Rejected
4Deleted
creativeRejectionReason
string
Reason for rejecting creative if applicable.
Response properties
message
string
Success message.
Request sample
{
"creativeIds": [
688549
],
"creativeStatusId": 4
}
Response 200
{
"success": true,
"data": {
"message": "asdf creative updated successfully"
}
}

Create new creative group​

POST

Create a new creative group and add desired creatives to the group.

Request schema
creativeGroupName
string
creative Group Name.
creativeTypeId
integer
Creative type ID.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
creativeIds
array of integers
Creative IDs.
Response properties
creativeGroupId
integer
Creative group ID.
message
string
Success message.
Request sample
{
"creativeGroupName": "Group Name",
"creativeTypeId": 1,
"creativeIds": [
1,
2,
3
]
}
Response 200
{
"success": true,
"data": {
"creativeGroupId": 45089,
"message": "testCreatives group created successfully"
}
}

Delete creative group​

DELETE

Delete creative group(s) by ID. Also removes mapping of creatives from deleted group(s).

Request schema
creativeGroupIds
string
Comma separated creative group IDs to delete.
Response properties
message
string
Success message.
Response 200
{
"success": true,
"data": {
"message": "creativeGroup group deleted successfully"
}
}

Update creative groups​

POST

Add or remove creatives from creative groups.

Request schema
creativeIds
array of integers
Creative IDs to add or remove from group.
creativeGroupIds
array of integers
Creative group ID to add creatives to or remove creatives from.
actionType
string
Supported values: add or remove.
Response properties
message
string
Success message.
Request sample
{
"creativeIds": [
123456,
123457
],
"creativeGroupIds": [
1,
2
],
"actionType": "ADD"
}
Response 200
{
"success": true,
"data": {
"message": "2 creatives added to Group_06 group successfully"
}
}

Update creative group name​

PATCH

Update a creative group name.

Path parameters
creativeGroupId
integer
Creative group ID.
Request schema
creativeGroupName
string
creative group name.
Response properties
message
string
Success message.
Request sample
{
"creativeGroupName": "Group1"
}
Response 200
{
"success": true,
"data": {
"message": "Group1 group renamed successfully"
}
}

Duplicate creatives​

POST

Duplicate one or more creatives. You may also include click URL conversion in the duplication.

Request schema
creativeIds
array of integers
Creative IDs to duplicate.
clickUrl
string
Click URL to include in duplication.
Response properties
message
string
Success message.
Request sample
{
"creativeIds": [
130141,
130142
],
"clickUrl": "www.example.com"
}
Response 200
{
"success": true,
"data": {
"message": "Native image 3 creative duplicated successfully"
}
}

Duplicate creative group​

POST

Duplicate creative group by ID. Also duplicates existing creatives within group.

Path parameters
creativeGroupId
integer
Creative group ID to duplicate.
Response properties
duplicatedCreativeGroupId
integer
Creative group ID.
message
string
Success message.
Request sample
{
"success": true,
"data": {
"duplicatedCreativeGroupId": 45089,
"message": "testCreatives group duplicated successfully"
}
}
Response 200
{
"success": true,
"data": {
"duplicatedCreativeGroupId": 45089,
"message": "testCreatives group duplicated successfully"
}
}

Compress uploaded image creative​

POST

Compress uploaded image creatives. Also validates file types and size, and returns list of compressed image URLs.

Request schema
files
array of strings
Image files to compress.
Response properties
fileName
string
File name.
originalSizeInBytes
integer
Original size in bytes.
compressedSizeInBytes
integer
Compressed size in bytes.
compressedFileUrl
string
Compressed file URL.
Response 200
{
"success": true,
"data": [
{
"fileName": "sample_1MB_img1.jpg",
"originalSizeInBytes": 1042592,
"compressedSizeInBytes": 138572,
"compressedFileUrl": "https://tmpd3vsekqsh1zre3k8n-stage.s3.amazonaws.com/images/1730986298115-1730986300299.jpg"
},
{
"fileName": "Screenshot 2024-08-27 at 6.46.23 PM.png",
"originalSizeInBytes": 916933,
"compressedSizeInBytes": 230436,
"compressedFileUrl": "https://tmpd3vsekqsh1zre3k8n-stage.s3.amazonaws.com/images/1730986298110-1730986302423.png"
}
]
}

Update Pixel URL​

PATCH

Update Pixel URL conversion for creative(s).

For further information see the Conversions API guidelines.

Request schema
creativeIds
array of integers
Creative IDs to update conversion.
pixelUrl
string
Pixel URL.
Response properties
message
string
Success message.
Request sample
{
"creativeIds": [
1,
2
],
"pixelUrl": "http://app.example.com"
}
Response 200
{
"success": true,
"data": {
"message": "Pixel URL updated successfully for 2 creatives"
}
}

Update click URL​

PATCH

Update click URL conversion for creative(s).

For further information see the Conversions API guidelines.

Request schema
creativeIds
array of integers
Creative IDs to update conversion.
clickUrl
string
Pixel URL.
Response properties
message
string
Success message.
Request sample
{
"creativeIds": [
639021
],
"clickUrl": "http://www.iqm.com"
}
Response 200
{
"success": true,
"data": {
"message": "Click URL updated successfully for TEST creative"
}
}

Get HTML5 creative content​

GET

Retrieve HTML5 content (index.html) stored in S3 for a specific HTML5 creative.

Path parameters
creativeId
integer
Creative ID of the HTML5 creative.
Response properties
creativeId
integer
Creative ID.
html5Content
string
HTML5 content string.
s3Path
string
S3 path of the HTML5 file.
Response 200
{
"success": true,
"data": {
"creativeId": 720273,
"html5Content": "<!DOCTYPE html><html><head><title>Creative</title></head><body>...</body></html>",
"s3Path": "assets/204876/eJP1zca_1772170251691/index.html"
}
}

Update HTML5 creative content​

PUT

Update the HTML5 content (index.html) stored in S3 for a specific HTML5 creative. Validates user edit access, uploads the new content to S3, increments the cb version parameter in the iframe src, and updates the creative record with modified timestamps.

Path parameters
creativeId
integer
Creative ID of the HTML5 creative.
Request schema
html5Content
string
Updated HTML5 content string.
Response properties
creativeId
integer
Creative ID.
s3Path
string
Updated S3 path with cache-busting version.
cbVersion
integer
Cache-busting version number.
message
string
Success message.
Request sample
{
"html5Content": "<!DOCTYPE html><html><head><title>Updated Creative</title></head><body><h1>Updated Content</h1></body></html>"
}
Response 200
{
"success": true,
"data": {
"creativeId": 720273,
"s3Path": "assets/204876/eJP1zca_1772170251691/index.html?cb=2",
"cbVersion": 2,
"message": "HTML5 content updated successfully"
}
}

Submit creatives for validation​

GET

Fetches eligible creatives and submits them for validation based on the provided limit.

Query parameters
limit
integer
Maximum number of creatives to submit. Default: -1 (all available).
clientId
string
Client identifier whose creatives will be submitted.
Response properties
creativeId
integer
Creative ID.
creativeName
string
Creative name.
creativeSource
string
Creative source URL.
advertiserDetails
object
Advertiser details.
advertiserDetails object properties
advertiserName
string
Advertiser name.
website
string
Advertiser website.
chiefName
string
Chief/contact name.
contactNumber
string
Contact phone number.
address
string
Advertiser address.
politicalIdentifier
string
Political identifier (e.g., FEC ID).
advertiserId
integer
Advertiser ID.
legalInfo
string
Legal information.
links
array of strings
Associated links.
Response 200
{
"success": true,
"data": [
{
"creativeId": 636912,
"creativeName": "Creative - 1",
"creativeSource": "https://d3jme5si7t6llb.cloudfront.net/image/202318/wqh1afg_1709622657169.png",
"advertiserDetails": {
"advertiserName": "Political Advertiser",
"website": "https://iqm.com",
"chiefName": "IQM",
"contactNumber": "1234567890",
"address": "IQM Corporation",
"politicalIdentifier": "fec_123",
"advertiserId": 3278,
"legalInfo": "Other info added",
"links": [
"www.google.com"
]
}
}
]
}

Approve creative​

POST

Approve or reject pending creatives by updating their status to running or rejected respectively. Ownership and permission checks are applied to ensure the request is authorized.

Request schema
creativeIds
array of integers
List of pending creative IDs to approve or reject.
action
string
Action to perform: approve or reject.
creativeRejectionReason
string
Required when action is reject. Reason for rejecting the creative(s) (max 255 characters).
Response properties
message
string
Success message indicating how many creatives were updated.
Request Sample: Approve creatives
{
"creativeIds": [
688549,
688550
],
"action": "approve"
}
Request Sample: Reject creatives
{
"creativeIds": [
688549,
688550
],
"action": "reject",
"creativeRejectionReason": "Harmful content found!"
}
Response 200
{
"success": true,
"data": {
"message": "2 Creatives updated successfully"
}
}
More responses
Response 400: Invalid action
{
"success": false,
"errorObjects": [
{
"error": "Invalid action. Allowed values are: approve, reject"
}
]
}
Response 400: Rejection reason not provided
{
"success": false,
"errorObjects": [
{
"error": "Rejection reason not provided. Please provide the reason for rejecting the creative/s."
}
]
}
Response 403
{
"success": false,
"errorObjects": [
{
"error": "Logged in user does not have access to reject/approve/pause/delete/restore the creative"
}
]
}
Response 422
{
"success": false,
"errorObjects": [
{
"error": "Invalid creative ids found. Please provide valid creative ids"
}
]
}

More creative details​

Get creative types list​

GET

Get a list of creative types.

Query parameters
displayAllType
boolean
Flag to add all creative type in the results.
searchField
string
Filter results by search field.
creativeTypeIds
array of integers
Filter results by creative type IDs.
Supported values
0All
11Image
13HTML
14Video
15Native
17Audio
Response properties
creativeTypeList
array of objects
Creative type list details.
creativeTypeList object properties
id
integer
Creative type ID.
name
string
Creative type name.
order
integer
Order.
displayName
integer
Creative type name.
rtbCreativeTypeId
integer
RTB creative type ID.
Response 200
{
"success": true,
"data": {
"totalRecords": 6,
"creativeTypeList": [
{
"id": 0,
"name": "all",
"order": 0,
"displayName": "All",
"rtbCreativeTypeId": null
},
{
"id": 11,
"name": "Image",
"order": 100,
"displayName": "Image",
"rtbCreativeTypeId": 1
},
{
"id": 13,
"name": "HTML",
"order": 100,
"displayName": "HTML",
"rtbCreativeTypeId": 1
},
{
"id": 14,
"name": "Video",
"order": 100,
"displayName": "Video",
"rtbCreativeTypeId": 3
},
{
"id": 15,
"name": "Native",
"order": 100,
"displayName": "Native",
"rtbCreativeTypeId": 4
},
{
"id": 17,
"name": "Audio",
"order": 100,
"displayName": "Audio",
"rtbCreativeTypeId": 2
}
],
"filteredRecords": 6
}
}

Get creative status list​

GET

Get a list of creative statuses.

Query parameters
displayAllStatusOption
boolean
Flag to add all creative status in the results.
Response properties
creativeStatusList
array of objects
Creative status list details.
creativeStatusList object properties
id
integer
Creative status ID.
name
string
Creative status name.
order
integer
Order.
displayName
integer
Creative status name.
Response 200
{
"success": true,
"data": {
"creativeStatusList": [
{
"id": 1,
"name": "pending",
"order": 1,
"displayName": "Pending"
},
{
"id": 2,
"name": "running",
"order": 2,
"displayName": "Running"
},
{
"id": 3,
"name": "paused",
"order": 3,
"displayName": "Paused"
},
{
"id": 5,
"name": "rejected",
"order": 4,
"displayName": "Rejected"
},
{
"id": 4,
"name": "deleted",
"order": 5,
"displayName": "Deleted"
}
],
"totalRecords": 7,
"filteredRecords": 7
}
}

Get CTA details​

GET

Get list of CTA details from the database.

Query parameters
showOnlyDefault
boolean required
Shows only default CTA if true, otherwise shows all CTA.
Response properties
ctaDetailsList
array of objects
Call-to-Action details.
ctaDetailsList object properties
id
integer
CTA ID.
ctaText
string
CTA display text.
defaultCta
boolean
Default CTA for associated creative.
Response 200
{
"success": true,
"data": {
"ctaDetailsList": [
{
"id": 1,
"ctaText": "Learn More",
"defaultCta": true
},
{
"id": 2,
"ctaText": "Buy Now",
"defaultCta": false
},
{
"id": 3,
"ctaText": "Sign Up",
"defaultCta": false
}
],
"totalRecords": 3,
"filteredRecords": 3
}
}
Have a question?
Was this page helpful?