<!--
{
  "availability" : [
    "Apple Ads Platform API: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Apple-Ads-Platform-API",
  "identifier" : "/documentation/Apple-Ads-Platform-API/AuditSummary/Metas-data.dictionary",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple Ads Platform API"
    ],
    "preciseIdentifier" : "data:apple-ads-platform-api:AuditSummary.Metas"
  },
  "title" : "AuditSummary.Metas"
}
-->

# AuditSummary.Metas

An array of per-entity metadata entries, populated when the request includes metadata options.

```
object AuditSummary.Metas
```

## Discussion

Each entry in `metas` corresponds to one changed entity within the transaction and entity-type grouping that the parent `AuditSummary` row describes. An entry has the shape:

```json
{
  "<EntityType>": "<entityId>",
  "detailId": "<EntityType.entityId.txnId>",
  "meta": { ...entity fields... }
}
```

- The array is empty by default.
- The request populates it only when you set `options.metadata` to `latest` or `snapshot`, with one entry per changed entity.
- `latest` fills `meta` with the entity’s current state from the live data store.
- `snapshot` fills `meta` with the entity’s state at the time of the event.
- You can use each entry’s `detailId` directly with `GET /v1/change-history/{detailId}` ([`Get Change History Detail`](/documentation/Apple-Ads-Platform-API/Get-change-details-by-detailId)) without constructing it manually.

Populating `metas` matters because an [`AuditSummary`](/documentation/Apple-Ads-Platform-API/AuditSummary) row doesn’t include `entityId` on its own, so you can’t construct a `detailId` from the row alone. Setting `options.metadata` (see [`AuditQuery.Options`](/documentation/Apple-Ads-Platform-API/AuditQuery/Options-data.dictionary)) to `latest` or `snapshot` gives you a ready-to-use `detailId` in each `metas` entry instead, so you don’t need a separate lookup.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)