List Creatives added to Ad Group(s)

List creative(s) previously added to ad group, by specifying the request parameters

📘

URL: POST/api/v1/adGroupCreativeAssociations/list

Request Parameters


ParameterParameter DescriptionTypeRequiredPossible Values
advertiserIdID of advertiserintegerYUnique numeric identifier
Filter[adGroupId]returns response for specific ad group IDs listed.
Note: Max size is 25
integerAt least one of Filter[adGroupId] or Filter[creativeId] must be included in the requestUnique numeric identifier
Filter[creativeId]returns response for specific creative Ids listed.
Note: Max size is 25
stringAt least one of Filter[adGroupId] or Filter[creativeId] must be included in the requestUnique numeric identifier
Filter[lastModifiedDate]Returns list of creative ad group associations created/modified after the date specifieddateDate should be in format: yyyy-MM-dd'T'HH:mm:ss.SSSXXX
startIndexYou can use this parameter to fetch specific number of creative ad group associations from a list. This indicates the starting position of the list
Note: To return the first ten adGroupCreativeAssociations, set startIndex=0 and count=10
integerNValid integer value.
countYou can use this parameter in combination with startIndex to fetch specific number of creative ad group associations from a list.

Note: To return the first ten adGroupCreativeAssociations, set startIndex=0 & defaultCount=100, maxCount=100, minCount=1
integerNValid integer value

Note:

  • At least one of Filter[adGroupId] or Filter[creativeId] must be included in the request
  • If you pass only Filter[adGroupId] - details of creative ad group association for specified adGroupIds are returned
  • If you pass only Filter[creativeId] - details of creative ad group association for the specified creativeIds are returned
  • If you pass both Filter[adGroupId] and Filter[creativeId]: details of creative ad group associations for the matching combination of adGroupIds and creativeIds from the list specified, are returned

Sample Request

curl -X POST 'https://developer.api.us.walmart.com/api-proxy/service/display/api/v1/api/v1/adGroupCreativeAssociations/list' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <auth_token>' \
--header 'WM_SEC.AUTH_SIGNATURE: ***********' \
--header 'WM_CONSUMER.ID: abcde-v123-fa2r-a1fs-asd45f6qef' \
--header 'WM_SEC.KEY_VERSION: 1' \
--header 'WM_CONSUMER.intimestamp: 1565309779' \
--data '{ "advertiserId": 1, "Filter[adGroupId]": [123,234,345], "Filter[creativeId]": ["creative1","creative2"], "Filter[lastModifiedDate]": "string", "startIndex": 0, "count": 10 }' 

Response


ElementDescriptionType
totalResultsTotal number of rows returned in the responseinteger
response is an array holding following elements:


  • advertiserId:ID of the advertiser
    Data type: integer

  • adGroupId:ID of the ad group
    Data type: integer

  • creativeId: ID of the creative
    Data type: string

  • urlTracker: Provides details of click URLs and 3P trackers for each ad unit. It is an array holding following elements:
    adUnit: Available ad units, Data type string

Sample Response

{ "totalResults": 2, "response": [ { "advertiserId" : 1, "adGroupId" : 1, "creativeId" : "abcd-1234", "urlTracker" : [ { "adUnit" : "MARQUEE", "clickUrlDesktopMWeb" : "https://www.test.com/search?q=test+url+desktop+mweb", "clickUrlApp" : "https://www.test.com/search?q=test+url+desktop+app", "dcmClickUrlDesktopMWeb" : "https://test.net", "dcmClickUrlApp" : "https://test.net", "iasClickUrlDesktopMWeb" : "https://test.com/abd.jpeg", "iasClickUrlApp" : "https://test.com/def.jpeg", "dvClickUrlDesktopMWeb" : "https://test.com/abd.jpeg", "dvClickUrlApp" : "https://test.com/def.jpeg", "desktopMWebTag" : "https://test.com/abc.js" }, { "adUnit" : "GALLERY", "clickUrlDesktopMWeb" : "https://www.test.com/search?q=test+url+desktop+mweb", "clickUrlApp" : "https://www.test.com/search?q=test+url+desktop+app", "dcmClickUrlDesktopMWeb" : "https://test.net", "dcmClickUrlApp" : "https://test.net", "iasClickUrlDesktopMWeb" : "https://test.com/abd.jpeg", "iasClickUrlApp" : "https://test.com/def.jpeg", "dvClickUrlDesktopMWeb" : "https://test.com/abd.jpeg", "dvClickUrlApp" : "https://test.com/def.jpeg", "desktopMWebTag" : "https://test.com/abc.js" } ] } ]
}