Creative audience pairing
Updated: Sep 4, 2026
Copy for LLM
Ads in WhatsApp Status are available via the Marketing API. Learn more about ads in WhatsApp Status.
Creative audience pairing lets you set age and gender on the ad creative instead of the ad set.
- To opt in, set the
creative_audience_pairingparameter withintargeting_automationto1. - To opt out, set the
creative_audience_pairingparameter withintargeting_automationto0. - If you omit the
creative_audience_pairingparameter, creative audience pairing remains off.
The
creative_audience_pairing parameter accepts only 0 or 1. The API returns 0 or 1 for this parameter when you retrieve the ad set.How it works
Creative audience pairing takes two steps. Enable it on the ad set, then set a persona. Enabling it on its own has no effect, because without a persona there is nothing to pair.
Where the persona goes depends on your creative. A single-media ad carries one persona on the ad. A multi-media ad carries one persona per media asset.
Request syntax
Use the Ad Set API to enable creative audience pairing on an ad set.
curl -X POST \
-F 'name="<AD_SET_NAME>"' \
-F 'campaign_id="<CAMPAIGN_ID>"' \
-F 'daily_budget="<DAILY_BUDGET>"' \
-F 'billing_event="IMPRESSIONS"' \
-F 'is_autobid="true"' \
-F 'targeting={"geo_locations": {"countries": ["US"]}, "targeting_automation": {"creative_audience_pairing": <CREATIVE_AUDIENCE_PAIRING>}}' \
-F 'access_token="<ACCESS_TOKEN>"' \
https://graph.facebook.com/v27.0/act_<AD_ACCOUNT_ID>/adsets
Request parameters
| Placeholder | Description | Example Value |
|---|---|---|
<ACCESS_TOKEN>string | Required. Your access token. | EAAJB... |
<AD_ACCOUNT_ID>numeric string | Required. The ID of the ad account that owns the ad set. | 102938475601234 |
<AD_SET_NAME>string | Required. The name of the ad set. | Spring campaign ad set |
<CAMPAIGN_ID>numeric string | Required. The ID of the campaign that contains the ad set. | 120210000000012345 |
<CREATIVE_AUDIENCE_PAIRING>int | Optional. Set to 1 to opt in to creative audience pairing, or 0 to opt out. Accepts only 0 or 1. If you omit this parameter, creative audience pairing remains off. | 1 |
<DAILY_BUDGET>int | Required. The daily budget for the ad set, in the minor unit of your ad account currency. | 100 |
Response syntax
{ "id": "<AD_SET_ID>" }
Response parameters
| Field | Description | Example Value |
|---|---|---|
<AD_SET_ID>numeric string | The ID of the ad set you created. | 120210000000067890 |
Enable creative audience pairing
Set
creative_audience_pairing to 1 within targeting_automation in the ad set targeting spec."targeting": { "geo_locations": { "countries": ["US"] }, "targeting_automation": { "creative_audience_pairing": 1 } }
Example request
The following request enables creative audience pairing on a new ad set by setting
creative_audience_pairing to 1 within targeting_automation.curl -X POST \
-F 'name="creative audience pairing test"' \
-F 'is_autobid="true"' \
-F 'daily_budget="100"' \
-F 'billing_event="IMPRESSIONS"' \
-F 'campaign_id="<CAMPAIGN_ID>"' \
-F 'targeting={"geo_locations": {"countries": ["US"]}, "targeting_automation": {"creative_audience_pairing": 1}}' \
-F 'access_token="<ACCESS_TOKEN>"' \
https://graph.facebook.com/v27.0/act_<AD_ACCOUNT_ID>/adsets
Example response
{ "id": "<AD_SET_ID>" }
Set a persona
Set a persona for every ad under an ad set that uses creative audience pairing.
A persona accepts the following optional fields:
| Placeholder | Description | Example Value |
|---|---|---|
age_maxint | Optional. The maximum age for this persona, up to 65. When you create a persona without this field, it is set to 65. When you update an existing persona, omitting this field leaves the current value unchanged. | 65 |
age_minint | Optional. The minimum age for this persona. It must be 18 or older and cannot be lower than the ad set’s age_min. When you create a persona without this field, it is set from the ad set’s effective age_min. When you update an existing persona, omitting this field leaves the current value unchanged. | 20 |
gendersarray of ints | Optional. The genders this persona targets: 1 for male and 2 for female. Pass at most two values. When you create a persona without this field, it targets all genders. When you update an existing persona, omitting this field leaves the current value unchanged. | [1] |
Single-media ads
For a single-media ad, set
creative_audience_pairing_persona as a top-level ad field alongside creative.The persona’s
age_min cannot be lower than the ad set’s age_min. The Graph API returns error code 100 when it is lower.Example request
The following request creates an ad with an ad-level persona.
<CREATIVE_ID> is the ID of the ad creative to associate with the ad.curl -X POST \
-F 'name="creative audience pairing persona test"' \
-F 'adset_id="<AD_SET_ID>"' \
-F 'status="PAUSED"' \
-F 'creative={"creative_id": "<CREATIVE_ID>"}' \
-F 'creative_audience_pairing_persona={"age_min": 20, "age_max": 65}' \
-F 'access_token="<ACCESS_TOKEN>"' \
https://graph.facebook.com/v27.0/act_<AD_ACCOUNT_ID>/ads
Example response
{ "id": "<AD_ID>" }
Multi-media ads
For a multi-media ad, set
creative_audience_pairing_persona on each image or video in media_sourcing_spec. Each per-asset persona uses the same age_min, age_max, and genders fields described above.When an ad sets personas per media asset in
media_sourcing_spec, only those per-asset personas apply; any ad-level persona on the same ad is not used. See Multi-media ads for a full example.Example request
{ "creative": { "media_sourcing_spec": { "images": [ { "hash": "<IMAGE_HASH>", "creative_audience_pairing_persona": { "age_min": 18, "age_max": 34, "genders": [1] } } ] } } }
Update a persona
The following request updates the persona on an existing ad.
Example request
curl -X POST \
-F 'creative_audience_pairing_persona={"age_min": 25, "age_max": 65, "genders": [1]}' \
-F 'access_token="<ACCESS_TOKEN>"' \
https://graph.facebook.com/v27.0/<AD_ID>
Example response
{ "success": true }
Read a persona
The following request reads the persona on an existing ad.
Example request
curl -X GET \
-d 'fields="creative_audience_pairing_persona"' \
-d 'access_token="<ACCESS_TOKEN>"' \
https://graph.facebook.com/v27.0/<AD_ID>
Example response
{ "creative_audience_pairing_persona": { "age_min": 25, "age_max": 65, "genders": [1] }, "id": "<AD_ID>" }
Limitations
You cannot combine creative audience pairing with Advantage+ audience. You also cannot combine it with age and gender suggestions, which set
age or gender to 1 within individual_setting. The Graph API returns error code 100 when either conflict occurs.When creative audience pairing is enabled, the ad set’s age and gender targeting must meet the following requirements:
- You can pass
age_minvalues ranging between 18 and 25 only. age_maxmust be65.- Leave
gendersout, or target all genders. Targeting a single gender —[1]or[2]— is not allowed while creative audience pairing is enabled. Passing both ([1,2]) counts as all genders and is allowed.
The Graph API returns error code
100 when the ad set does not meet these requirements.