Skip to main content
Add Exact/Phrase negative keywords to Microsoft Ads campaigns or remove selected negative keyword IDs. To change a negative, explicitly remove then add. Returns per-row outcomes; do not retry successful rows.

Inputs

MicrosoftAdsAccountItem

SelectItem

SelectableOption

Output

Type: Dict Returns created_count, failed_count and per-keyword results with campaign_id, negative_keyword_id, keyword, match_type and action (added, failed or unknown). Bulk results include the original 1-based row_number. Rejected rows include Microsoft’s error; interrupted runs preserve completed results and include an error explaining the remaining rows. Remove returns removed_count, failed_count and per-ID results (removed or failed); interrupted batches include error and preserve confirmed results. Fields: removed_count, message, created_count, failed_count, results, error