PATCH /v1/projects/:projectId/ads/:platform/adsets/:adsetId/targeting
Update an adset's targeting (geo, age, custom audiences, placements).
PATCH
/v1/projects/:projectId/ads/{platform}/adsets/:adsetId/targetingPhase 1stable
- Auth
- Bearer
- Scope
- ads:write:creative
Updates targeting on an adset. Targeting shapes vary materially per platform — Layers exposes a normalized partial-update view. For platform-native edge cases, use the granular per-platform fields.
Body
Body (all optional — partial update)
geostring[]optionalISO-3166-1 alpha-2 country codes. Example: `["US", "CA"]`.ageobjectoptional`{ min, max }` integer ages. Platform clamping applies (Meta min 18, etc.).gendersstring[]optional`male | female | all`.customAudiencesstring[]optionalPlatform-specific custom-audience ids. Layers does not validate against the platform; passes through.placementsstring[]optionalPlatform-specific placement strings.
Authority: gated by the creative axis (adset targeting is treated as creative-axis on the bucket-mode model — it's a "what does the customer see" change, not a budget/structural one).