List All the Creatives

Retrieve list of creatives associated with a specific advertiser to determine the creatives that are approved for use

📘

URL: POST/api/v1/creatives/list

ParameterDescriptionTypeRequiredPossible Values
advertiserIdThe ID of the specific advertiser. All creatives for this advertiser account will be returned in responseintegerYA valid advertiser ID
Filter[creativeId]returns response for specific creative IDs listed. If not specified, returns list of all creatives in the advertiser account
Note: This will accept only a single value in the list, as multiple creative IDs are not supported
arrayNValid creative ID
Filter[folderId]Folder ID to search for creatives within a folder
Note: This will accept only one folder ID, as multiple folder IDs are not supported
arrayNValid folder ID
Filter[name]returns response for specific creative names listed. If not specified, returns list of all creatives in the advertiser accountstringNValid creative name
Filter[lastModifiedDate]Provide a date to fetch the details of only those creatives which were created/modified on or after the date specifieddateNDate should be in format: yyyy-MM-dd'T'HH:mm:ss.SSSXXX
startIndexYou can use this parameter to fetch specific number of creatives from a list. This indicates the starting position of the list
Note: To return the first ten creatives, set startIndex=0 and count=10
integerNValid integer value
countYou can use this parameter in combination with startIndex to fetch specific number of creatives from a list.
Note: To return the first ten creatives, set startIndex=0 and count=10
integerNValid integer value

Headers

Header NameDescriptionRequiredValues
AuthorizationThe token will provide you the access to the API. It is same for all advertisers you access through the API.YPlease utilize the generated auth_token shared with you at the time of partner onboarding from the Getting Started Guide
WM_CONSUMER.IDWe will provide you the consumer ID to access the API. It is same for all advertisers you access through the API.   YPlease use the generated ConsumerId shared with you at the time of partner onboarding. Refer to the Getting Started Guide for more information
WM_SEC.AUTH_SIGNATUREAuth signature as an API key.YUse the signature generator code from Getting Started Guide to generate this value
WM_SEC.KEY_VERSIONWe will provide you with the KEY VERSION to access the API. It is same for all advertisers you access through the API.Y1
WM_CONSUMER.intimestampTimestamp for which the auth signature is generated. Use Unix epoch format for the timestamp.YUse the signature generator code from Getting Started Guide to generate this value

Sample Request

curl -X POST \'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/creatives/list'\ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <auth_token>'
--header 'WM_SEC.AUTH_SIGNATURE: **************' \ --header 'WM_SEC.KEY_VERSION: 1' \ --header 'WM_CONSUMER.ID: adfwe-v23-faasd2r-afs-asdfqeff' \ --header 'WM_CONSUMER.intimestamp: 1565309779'
--data ' { "advertiserId": 123, "Filter[creativeId]": ["abcd-1234"], "Filter[folderId]": ["abcd-1234"], "Filter[name]": "Test", "Filter[lastModifiedDate]": "2023-12-01T12:00:00Z", "startIndex": 0, "count": 10
} '

Response


ElementDescriptionType
totalResultsTotal number of creatives returned for specific campaign
response
  • advertiserId: ID of the advertiser, data type integer
  • type: Type of creative, data type string. Value of type is CREATIVE
  • name: Name of creative, data type string
  • link: Link to creative, data type string
  • creationDate: Date when the creative was built. data type date
  • lastUpdatedDate: Date when creative was subjected to update last. data type date
  • folderId: data type string
  • reviewComments: This field pulls all unresolved comments related to the creative. This is an array element with following parameters:
    • id: ID of the comment. String data type
    • asset: the asset for which the comment is intended. integer data type
    • adUnit: the ad unit for which the comment is intended
    • message: details of the comment

Sample Response

{ "totalResults": 1, "response": [ { "creativeId": "abcd-1234", "name": "Test Creative 1", "type": "string", "status": "DRAFT", "link": "string", "advertiserId": 1, "creationDate": "string", "lastUpdatedDate": "string", "folderId": "string", "reviewComments": [ { "id": "string", "asset": "cta", "adUnit": "1232x178_MarqueeDesktopGlass", "message": "test reject" }, { "id": "string", "asset": "cta", "adUnit": "all", "message": "test reject1" } ] } ]
}