add_location_targets
Target or exclude specific Microsoft LocationIds on a campaign to refine ad delivery. Optionally set bid adjustments for targeted locations.
Instructions
Target (or exclude) Microsoft LocationIds on a campaign.
Resolve ZIPs to LocationIds first with resolve_postal_codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exclude | No | When true, exclude these locations instead of targeting them. | |
| campaign_id | Yes | The campaign id. | |
| location_ids | Yes | Microsoft LocationIds to target/exclude. | |
| bid_adjustment | No | Percent bid modifier for targeted locations (ignored when exclude). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| ids | No | ||
| message | Yes | ||
| partial_errors | No |