get_demographic_targeting
Retrieve demographic targeting (age, gender, parental status, income) for ad groups or campaigns. See which segments are excluded or narrowed and get removal IDs.
Instructions
List demographic targeting criteria (age, gender, parental status, income).
Provide exactly one of ad_group_id or campaign_id. Returns each
criterion's value, whether it's negative (excluded) or positive
(narrowing), status, and a remove_id (composite resource ID) that
can be passed directly to remove_entity with
entity_type='ad_group_criterion' or 'campaign_criterion'.
By default, Google Ads serves ads to ALL demographic segments — a criterion only appears here once you've actively excluded or narrowed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_group_id | No | ||
| campaign_id | No | ||
| customer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||