---
updatedAt: 2026-10-08T20:11:35.000Z
---

# Create Audit Snapshot

You can create audit snapshots for selected entities for an advertiser using this method. You can retrieve audit snapshots for a window of last thirty days.

<Callout icon="📘" theme="info">
  ### URL: POST /api/v1/snapshot/audit
</Callout>

# Query Parameters

<Table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Description
      </th>

      <th>
        Type
      </th>

      <th>
        Required
      </th>

      <th>
        Possible Values
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        advertiserId
      </td>

      <td>
        The ID of the advertiser
      </td>

      <td>
        integer
      </td>

      <td>
        Y
      </td>

      <td>
        A valid advertiser ID
      </td>
    </tr>

    <tr>
      <td>
        auditRequests
      </td>

      <td>
        Request for audit information. Only one audit request is allowed per entity type per audit snapshot.    This is an array holding following elements:    `entityType`: Type of the entity for which you want to generate audit snapshot.    `entityIds`: list of Ids of the entity type for which you want to generate audit snapshot.    **_Note:_** 1) Max size of entityId list is 10.  2) Entity Ids should not be duplicate.  3) This field is required and must not be left empty    `fromDate`: The starting date of the time frame for which you want snapshot of selected entities.    `toDate`: The end date of the time frame for which you want snapshot of selected entities
      </td>

      <td>
        `auditRequests`:string  `entityType`: string  `entityIds`: numeric  `fromDate`: date  `toDate`: date
      </td>

      <td>
        Y
      </td>

      <td>
        `entityType` possible values:<br />`campaign`<br />`adGroup`<br />`keyword`<br />`adItem`<br />`bidMultiplier`<br />`placement`<br />`sbaProfile`<br />`adGroupMedia`<br />`category`<br />`negativeKeyword`

        `entityIds`: A valid entity id.<br />The entityIds are:<br />`campaign`: `campaignId`<br />`adGroup`: `adGroupId`<br />`keyword`: `keywordId`<br />`adItem`: `adItemId`<br />`bidMultiplier`: `campaignId`<br />`placement`: `campaignId`<br />`sbaProfile`: `sbaProfileId`<br />`adGroupMedia`: `adGroupMediaId`<br />`category`: `categoryBidId`<br />`negativeKeyword`: `keywordId`

        `fromDate`: Format is `yyyy-MM-dd`<br />`toDate`: Format is `yyyy-MM-dd`
      </td>
    </tr>

    <tr>
      <td>
        format
      </td>

      <td>
        Choose the format type for your snapshot
      </td>

      <td>
        string
      </td>

      <td>
        N
      </td>

      <td>
        Types of Format: gzip, zip    **_Note:_** gzip allows decompression while file is being transferred over the network, hence it is a faster and simpler way to download the reports. You will receive snapshot in zip format if no specific format is selected.
      </td>
    </tr>
  </tbody>
</Table>

**Sample Request 2**

```
https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v1/snapshot/audit" \
--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" \
--header "Content-Type: application/json"\
--data '{
         "advertiserId": "600000",
         "auditRequests":
          [
           {
             "entityType": "keyword",
             "entityIds": [600001, 600003],
             "fromDate": "2020-07-03",
             "toDate": "2020-07-04"
           }
          ],
         "format": "gzip"
        }'
```

**Sample Request 3**

```
https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v1/snapshot/audit" \
--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" \
--header "Content-Type: application/json"\
--data '{
         "advertiserId": "600000",
         "auditRequests":
          [
           {
             "entityType": "keyword",
             "entityIds": [600005, 600006],
             "fromDate": "2020-07-03",
             "toDate": "2020-07-04"
           }
          ],
         "format": "gzip"
        }'
```