Retrieve Audit Snapshots
Note:
- The output is generated in a “zip/gzip” file depending upon format chosen
- The file type in zip file will be JSON
- You will receive null value for all the entity types except the one whose audit snapshot is being retrieved
auditVersionsis history of different audit events on this entity whose audit snapshot is being retrievedauditDatais the data that you receive in response when you perform GET operation on entity in question
Sample Request
curl -X GET\
'https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v1/snapshot?advertiserId=600001&snapshotId=1' \
--header 'Authorization: Bearer <auth_token>' \ --header 'accept: application/json' \
--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' \
Response
| Element | Description | Type |
|---|---|---|
| snapshotId | Id of the snapshot to be retrieved | string |
| jobStatus | It is an indicator to confirm status of snapshot generation. The possible values of jobStatus are: pending, processing, done, failed, expired | string |
| details | URL of the snapshot file once jobStatus reaches to state “done” | string |
| code | The response code can have following values: success, failure | string |
Sample Response 1
[ { "code" : "success", "snapshotId": "12", "details" : "https://advertising.walmart.com/file/30", " jobStatus ": "done" }
]
Example of the content of audit snapshot with snapshot id “12”. The file format is “json”.
{ "campaigns": null, "adGroups": null, "adItems": null, "bidMultipliers": null, "placements": null, "sbaProfiles": null, "adGroupMedia": null, "categories": null, "keywords": [ { "entityId": 600001, "auditVersions": [ { "updatedAt": "2020-07-03T10:29:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600001, "state": "enabled", "keywordText": "keyword 1 normalized", "status": "rejected", "matchType": "exact", "bid": 5.9 } }, { "updatedAt": "2020-07-03T10:30:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600001, "state": "enabled", "keywordText": "keyword 1 normalized", "status": "rejected", "matchType": "exact", "bid": 5.82 } }, { "updatedAt": "2020-07-03T10:35:57", "modifier": "AdOps User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600001, "state": "enabled", "keywordText": "keyword 1 normalized", "status": "rejected", "matchType": "exact", "bid": 5.81 } }, { "updatedAt": "2020-07-03T10:29:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600001, "state": "enabled", "keywordText": "keyword 1 normalized", "status": "pending", "matchType": "broad", "bid": 5.85 } }, { "updatedAt": "2020-07-03T11:29:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600001, "state": "enabled", "keywordText": "keyword 1 normalized", "status": "pending", "matchType": "exact", "bid": 6.66 } }, { "updatedAt": "2020-07-03T11:35:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600001, "state": "enabled", "keywordText": "keyword 1 normalized", "status": "pending", "matchType": "phrase", "bid": 5.85 } }, { "updatedAt": "2020-07-03T11:40:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600001, "state": "enabled", "keywordText": "keyword 1 normalized", "status": "pending", "matchType": "exact", "bid": 5.85 } } ] }, { "entityId": 600003, "auditVersions": [ { "updatedAt": "2020-07-04T01:29:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600003, "state": "enabled", "keywordText": "keyword 3 normalized", "status": "pending", "matchType": "broad", "bid": 2.5 } }, { "updatedAt": "2020-07-04T02:29:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600003, "state": "archived", "keywordText": "keyword 3 normalized", "status": "approved", "matchType": "broad", "bid": 2.5 } }, { "updatedAt": "2020-07-04T03:29:57", "modifier": "AdOps User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600003, "state": "enabled", "keywordText": "keyword 3 normalized", "status": "approved", "matchType": "broad", "bid": 2.5 } }, { "updatedAt": "2020-07-04T04:29:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600003, "state": "enabled", "keywordText": "keyword 3 normalized", "status": "pending", "matchType": "broad", "bid": 2.5 } }, { "updatedAt": "2020-07-04T05:29:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600003, "state": "archived", "keywordText": "keyword 3 normalized", "status": "pending", "matchType": "broad", "bid": 2.5 } }, { "updatedAt": "2020-07-04T06:29:57", "modifier": "API User", "auditData": { "campaignId": 600001, "adGroupId": 600001, "keywordId": 600003, "state": "enabled", "keywordText": "keyword 3 normalized", "status": "pending", "matchType": "broad", "bid": 2.5 } } ] } ]
}
Sample Response 2
[ { "code": "success", "snapshotId": "13", "details": "https://advertising.walmart.com/file/30", "jobStatus": "done" }
]
Example of the content of audit snapshot with snapshot id “13”. The file format is “json”.
"{ "campaigns" : null, "adGroups" : null, "adItems" : null, "keywords" : null, "placementBidMultipliers" : null, "platformBidMultipliers" : null, "placements" : null, "categories" : null, "sbaProfiles" : null, "negativeKeyword" : [ { "entityId" : 356121, "auditVersions" : [ { "updatedAt" : "2025-06-18T12:37:54", "modifier" : "abc123", "auditData" : { "campaignId" : 400000, "adGroupId" : 7000000000, "keywordId" : 300000, "state"" : "enabled", "keywordText" : "examplekeyword", "keywordCategory" : null, "status"" : "approved", "negativeMatchType" : "negativeExact" } } ] } ], "adGroupMedias" : null
}"
Sample Response 3
[ { "code": "success", "snapshotId": "14", "details": "https://advertising.walmart.com/file/31", "jobStatus": "done" }
]
Example of the content of audit snapshot with snapshot id “14”. The file format is “json”.
"{ "campaigns" : null, "adGroups" : null, "adItems" : null, "keywords" : null, "placementBidMultipliers" : null, "platformBidMultipliers" : null, "placements" : null, "categories" : null, "sbaProfiles" : null, "negativeKeyword" : [ { "entityId" : 356121, "auditVersions" : [ { "updatedAt" : "2025-06-19T12:37:54", "modifier" : "abc12356", "auditData" : { "campaignId" : 400001, "adGroupId" : 7000000001, "keywordId" : 300001, "state"" : "enabled", "keywordText" : "example keyword", "keywordCategory" : null, "status"" : "approved", "negativeMatchType" : "negativePhrase" } } ] } ], "adGroupMedias" : null
}"
Updated 19 days ago
Did this page help you?
