> ## 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.

# Edit Audience Members

> Adds and/or removes members in a DV360 Customer Match audience using emails, phone numbers (hashed automatically), or mobile device IDs; one identifier kind per call

Adds and/or removes members in a DV360 Customer Match audience using emails, phone numbers (hashed automatically), or mobile device IDs; one identifier kind per call. Find audience IDs with dv360\_list\_audiences.

|                       |                               |
| --------------------- | ----------------------------- |
| **App**               | DV360                         |
| **Operation ID**      | `dv360_edit_audience_members` |
| **Type**              | Action                        |
| **Connection**        | `dv360` (required)            |
| **Credits per run**   | 1                             |
| **Agent / MCP tool**  | Yes                           |
| **Requires approval** | Yes (write operation)         |

## Inputs

| Field                        | Type                       | Required | Default | Description                                                                                                                                                                                                                      |
| ---------------------------- | -------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`                    | DynamicAccount             | Yes      | -       | Select the DV360 advertiser that owns the audience.                                                                                                                                                                              |
| `audience_id`                | string or SelectItem       | Yes      | -       | ID of the Customer Match audience to edit (from dv360\_list\_audiences FIRST\_PARTY\_AND\_PARTNER kind or dv360\_create\_audience). Only CUSTOMER\_MATCH\_CONTACT\_INFO and CUSTOMER\_MATCH\_DEVICE\_ID audiences can be edited. |
| `add_emails`                 | string or array of string  | No       | -       | Email addresses to add (contact-info audiences only). Plain emails are normalized and SHA-256 hashed automatically.                                                                                                              |
| `add_phone_numbers`          | string or array of string  | No       | -       | Phone numbers to add in E.164 format with country code (contact-info audiences only). Hashed automatically.                                                                                                                      |
| `remove_emails`              | string or array of string  | No       | -       | Email addresses to remove (contact-info audiences only).                                                                                                                                                                         |
| `remove_phone_numbers`       | string or array of string  | No       | -       | Phone numbers to remove in E.164 format (contact-info audiences only).                                                                                                                                                           |
| `add_mobile_device_ids`      | string or array of string  | No       | -       | Mobile advertising IDs to add (device-ID audiences only).                                                                                                                                                                        |
| `remove_mobile_device_ids`   | string or array of string  | No       | -       | Mobile advertising IDs to remove (device-ID audiences only).                                                                                                                                                                     |
| `consent_ad_user_data`       | string or SelectableOption | No       | -       | Optional consent for ad user data applied to added members. Options: 'CONSENT\_STATUS\_GRANTED'.                                                                                                                                 |
| `consent_ad_personalization` | string or SelectableOption | No       | -       | Optional consent for ad personalization applied to added members. Options: 'CONSENT\_STATUS\_GRANTED'.                                                                                                                           |

### 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**: `Dict`

Returns the audience ID and member counts.

**Fields**: `audience_id`, `added_count`, `removed_count`
