> ## 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 Advertiser Targeting

> Advanced: edits DV360 advertiser-level default targeting (brand safety applied to all line items): digital content label and sensitive category exclusions, negative keywords, channels, and OMID, fr...

Advanced: edits DV360 advertiser-level default targeting (brand safety applied to all line items): digital content label and sensitive category exclusions, negative keywords, channels, and OMID, from raw create/delete requests. For per-line-item placement exclusions prefer dv360\_exclude\_placements.

|                       |                                   |
| --------------------- | --------------------------------- |
| **App**               | DV360                             |
| **Operation ID**      | `dv360_edit_advertiser_targeting` |
| **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 whose default targeting to edit.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `create_requests` | array of object or string | No       | -       | Official DV360 CreateAssignedTargetingOptionsRequest objects as a JSON list, sent as-is. Advertiser-level targeting applies to all line items under the advertiser and only supports these targeting types: TARGETING\_TYPE\_DIGITAL\_CONTENT\_LABEL\_EXCLUSION, TARGETING\_TYPE\_SENSITIVE\_CATEGORY\_EXCLUSION, TARGETING\_TYPE\_CHANNEL, TARGETING\_TYPE\_KEYWORD, TARGETING\_TYPE\_OMID. Examples: \[\{"targetingType": "TARGETING\_TYPE\_DIGITAL\_CONTENT\_LABEL\_EXCLUSION", "assignedTargetingOptions": \[\{"digitalContentLabelExclusionDetails": \{"excludedContentRatingTier": "CONTENT\_RATING\_TIER\_MATURE"}}]}, \{"targetingType": "TARGETING\_TYPE\_SENSITIVE\_CATEGORY\_EXCLUSION", "assignedTargetingOptions": \[\{"sensitiveCategoryExclusionDetails": \{"excludedSensitiveCategory": "SENSITIVE\_CATEGORY\_VIOLENCE"}}]}, \{"targetingType": "TARGETING\_TYPE\_KEYWORD", "assignedTargetingOptions": \[\{"keywordDetails": \{"keyword": "crash", "negative": true}}]}] |
| `delete_requests` | array of object or string | No       | -       | Official DV360 DeleteAssignedTargetingOptionsRequest objects as a JSON list, sent as-is. Each entry has targetingType and assignedTargetingOptionIds; get the IDs from dv360\_list\_advertiser\_targeting. Example: \[\{"targetingType": "TARGETING\_TYPE\_SENSITIVE\_CATEGORY\_EXCLUSION", "assignedTargetingOptionIds": \["1163"]}]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

## Output

**Type**: `Dict`

Returns the created assigned targeting options.

**Fields**: `advertiser_id`, `created_count`, `created_assigned_targeting_options`
