Skip to main content
Thrad campaigns are targeted by country. You set targeting on the campaign at create time (or update it later) through targeting.locations.include, an array of country objects. There is no separate targeting resource — targeting lives on the campaign body.
Targeting is country-level only. Region, state, and DMA (metro) targeting are not supported — locations are resolved to a country and any sub-country detail is ignored.

Authentication

All requests use your organization’s API key.
string
required
Bearer token: Authorization: Bearer ak_.... One active key per organization — create it in the Thrad Platform dashboard under Settings → API keys. Examples below read it from the THRAD_ADS_API_KEY environment variable.

The targeting object

object
Geographic targeting for the campaign.
Every location in include must resolve to a country code. An entry with neither country_code nor id is rejected with 400 invalid_value and param: "targeting.locations.include".

Setting targeting on create

Pass targeting inside the campaign create body. Country codes are uppercased and normalized before the campaign is stored.
budget.amount_micros is in integer micros ($1 = 1,000,000); 50000000 is $50.00. max_bid_micros is likewise micros (2000000 = $2.00).

Read-back shape

On read, each targeted country is expanded to an object with id, type, and country_code — type is always "country", and id mirrors the uppercased country code. The campaign you created above reads back like this:
The lowercase "de" you sent reads back as "DE". Timestamps (start_time, end_time, created_at, updated_at) are ISO 8601 strings in UTC. A freshly created campaign submits to review, so it reads back as status: "paused" with review_status: "in_review".You omitted start_time on create, so it defaulted to roughly two days out (the earliest allowed launch window) — that is why start_time reads back as a timestamp rather than null. end_time was also omitted and stays null, so the lifetime budget runs until it is exhausted.

Updating targeting

Send a new targeting object to POST /v1/campaigns/{id} to replace the campaign’s countries. The same normalization and validation apply on update as on create.
cURL
Never send status in an update body — on campaigns, ad groups, or ads. Status changes go only through /activate, /pause, and /archive; sending status returns 400 use_status_action.

Errors

Errors use the bare error shape:

Tips

Create the campaign, then open it in the Thrad Platform dashboard and confirm the targeted countries before it goes live. The campaign starts in review (review_status: "in_review") and will not deliver until it is approved, so this is the right moment to catch a wrong or missing country.
If you need finer-grained delivery than country level, that is not available through targeting. Region, state, and DMA targeting are intentionally unsupported — design your campaigns around country-level reach.