> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Account History

> Retrieves the change history (audit log) of a Snapchat campaign, ad squad, ad, or creative: who changed what and when, with before/after values

Retrieves the change history (audit log) of a Snapchat campaign, ad squad, ad, or creative: who changed what and when, with before/after values.

|                      |                                    |
| -------------------- | ---------------------------------- |
| **App**              | Snapchat Ads                       |
| **Operation ID**     | `snapchat_ads_get_account_history` |
| **Type**             | Action                             |
| **Connection**       | `snapchat_ads` (required)          |
| **Credits per run**  | 1                                  |
| **Agent / MCP tool** | Yes                                |

## Inputs

| Field         | Type                       | Required | Default | Description                                                                                                                                                                                |
| ------------- | -------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `account`     | DynamicAccount             | Yes      | -       | Select the Snapchat Ads account the entity belongs to.                                                                                                                                     |
| `entity_type` | string or SelectableOption | Yes      | -       | Snapchat tracks change logs per entity: CAMPAIGN, AD\_SQUAD, AD, CREATIVE, or DYNAMIC\_TEMPLATE. Pick the entity type the ID belongs to.                                                   |
| `entity_id`   | string or SelectItem       | Yes      | -       | ID of the entity to get the change history for. Get IDs from snapchat\_ads\_list\_campaigns, snapchat\_ads\_list\_ad\_squads, snapchat\_ads\_list\_ads, or snapchat\_ads\_list\_creatives. |
| `limit`       | integer                    | No       | `50`    | Maximum number of change log entries to return. Default: 50.                                                                                                                               |

### SelectItem

| Field   | Type   | Required | Default | Description                                                                                          |
| ------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------- |
| `value` | string | Yes      | -       | The value of the selectable item.                                                                    |
| `label` | string | Yes      | -       | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `List[Dict]`

Returns change log entries with actor, action, and before/after values.

**Fields**: dynamic (depend on the inputs)
