Enable Advantage+ audience on your campaigns to create the broadest possible audience to search within. Non-negotiable business constraints are NOT expanded, these include location constraints, minimum age, language and custom audience exclusions.
For more information about Advantage+ audience, see Help Center: About Advantage+ audience.
advantage_audience
parameter within targeting_automation
to 1
.advantage_audience
parameter within targeting_automation
to 0
.When Advantage+ audience is enabled you can set the age_range
parameter within targeting_spec
.
"targeting": { "age_range": [25, 35], "geo_locations": { "countries": ["GB"] }, "targeting_automation": { "advantage_audience": 1 } }
age_range
is not passed, the age range will be created from age min/max.age_min
values ranging between 18 - 25 only.age_max
values. It is set to 65 only.
curl -X POST \
-F 'name="advantage audience test"' \
-F 'is_autobid="true"' \
-F 'daily_budget="100"' \
-F 'billing_event="IMPRESSIONS"' \
-F 'campaign_id="<CAMPAIGN ID>"' \
-F 'targeting={"age_max": 65, "age_min": 18, "age_range": [25,35], "geo_locations": {"countries": ["US", "GB"]},"targeting_automation": {"advantage_audience": 1 }}' \
-F 'access_token="<ACCESS_TOKEN>"' \
https://facebook.com/v21.0
/act_<AD_ACCOUNT_ID>/adsets