# Targeting Segments

Targeting Segments

## List Targeting Segments

 - [GET /targeting_segments](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-segments/list-targeting-segments.md): Get a list of targeting segments

## Dry-run Taxonomy Upload

 - [POST /targeting_segments/taxonomy_upload](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-segments/targeting-segments-taxonomy-upload.md): Validates a CSV taxonomy file for the given targeting vendor and returns
an impact report (segment counts before/after, diff, affected strategies).
Nothing is written to the database — this is a dry-run only.

## Apply Taxonomy Upload

 - [POST /targeting_segments/taxonomy_upload/apply](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-segments/targeting-segments-taxonomy-upload-apply.md): Validates a CSV taxonomy file for the given targeting vendor and, if valid,
commits all changes to the database (inserts, updates, retirements).
Returns the same impact report as the dry-run endpoint, with the header
message THE FOLLOWING CHANGES HAVE BEEN APPLIED!.

