meta_ads_excluded_placements_get
Get an ad set's excluded publisher categories, publisher list IDs, and brand safety content types to audit current placement exclusions before changing them or diagnosing delivery issues.
Instructions
Reads one ad set's delivery-surface exclusions from its targeting spec. Returns ad_set_id plus excluded_publisher_categories, excluded_publisher_list_ids and excluded_brand_safety_content_types — always all three keys, with an unset facet reported as an empty array. Read-only. Use this before meta_ads_excluded_placements_set (which replaces rather than appends), or to check whether an exclusion change explains a delivery drop. For where an ad set actually delivered, use meta_ads_analysis_placements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_set_id | Yes | Ad set ID whose exclusions to read or write (e.g. '23851234567890123'). Exclusions live on the ad set, not on the campaign — set them per ad set. | |
| account_id | No | Ad account ID in 'act_XXXXXXXXXX' form. Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. |