Subcode 2490408 comes back when you create an ad set with POST /act_{ad_account_id}/adsets. Nothing is created. The sentence talks about the performance goal, but the field that trips it is usually destination_type or promoted_object, not optimization_goal.
The exact error
Meta answers HTTP 400 with error_subcode 2490408. On a Sales or Leads ad set the sentence opens with "Performance goal isn't available" and ends "with your campaign objective". On an engagement ad set the same subcode carries "You can't use the selected performance goal with your campaign objective".
What it means
An ad set combines four things: the campaign objective, the performance goal (optimization_goal), the destination (destination_type) and, for some goals, a promoted_object. Meta validates them as a set. Error 2490408 says the set is not one Meta allows, even when every value is valid on its own.
Why it happens
We measured the triggers on a live ad account, one ad set per row, everything else identical:
| Objective | Goal | What was sent | Result |
|---|---|---|---|
OUTCOME_SALES | LINK_CLICKS or LANDING_PAGE_VIEWS | destination_type=WEBSITE, no pixel | 400, 2490408 |
OUTCOME_SALES | LINK_CLICKS | no destination_type | 200 |
OUTCOME_ENGAGEMENT | POST_ENGAGEMENT | promoted_object with a page_id | 400, 2490408 |
OUTCOME_ENGAGEMENT | POST_ENGAGEMENT | destination_type=ON_POST | 200 |
OUTCOME_ENGAGEMENT | PAGE_LIKES | promoted_object with a page_id only | 400, 2490408 |
OUTCOME_ENGAGEMENT | PAGE_LIKES | page_id plus destination_type=ON_PAGE | 200 |
OUTCOME_ENGAGEMENT | THRUPLAY | any promoted_object | 400, 2490408 |
The Sales and Leads rule is simple: Meta accepts destination_type=WEBSITE under OUTCOME_SALES or OUTCOME_LEADS only when the ad set optimizes for pixel conversions, which means a promoted_object carrying a pixel_id and a conversion event. Many builders set WEBSITE by default for a Sales campaign, so every advertiser without a pixel hits this on the first ad set.
Engagement runs the other way. Adding a Page as the promoted object breaks most engagement goals, because what the goal needs is a destination type. Sending neither is also wrong: the ad set is accepted, then the ad is refused with "Your campaign must include an ad set with a selected object to promote that is related to your objective (e.g. a Page, URL or event). Please create a new ad set to continue." That message points one step back from where the real problem sits.
How to fix it
- Read the campaign
objectivefirst. The right ad set shape depends on it. - Sales or Leads with a pixel: send
promoted_objectwith yourpixel_idand acustom_event_typesuch asPURCHASEorLEAD, and keepdestination_type=WEBSITE. - Sales or Leads without a pixel: drop
destination_typeand optimize forLINK_CLICKSorLANDING_PAGE_VIEWS. Meta accepts that ad set. Install a pixel later to optimize for conversions (see how to install the Meta pixel). - Engagement: never send a Page promoted object for
POST_ENGAGEMENTorTHRUPLAY. Senddestination_type=ON_POSTfor post engagement. ForPAGE_LIKESsend both thepage_idpromoted object andON_PAGE. Without the promoted objectPAGE_LIKESfails with subcode1815430, "Please select a promoted object for your ad set." - Test the combination with
execution_options=["validate_only"]before the real create. Meta runs the full validation and creates nothing.
How Hermoso handles it
Hermoso builds Meta ad sets on your own ad account from the web app, the Meta Ads MCP server, the CLI and the API. When a Sales or Leads ad set asks for a website destination with a click goal and no pixel, Hermoso does not send WEBSITE. It builds the ad set with no destination type, which Meta accepts, and the reply states which parameter was left out and why. A dropped parameter is always disclosed, never silent. Pass a pixel and the website destination goes back in with a conversion promoted object.
For engagement goals Hermoso sends the destination type each goal needs and never adds a Page promoted object where it breaks the goal. A destination type that is not one of Meta's values is refused by name, with the list of accepted values, before anything reaches Meta. Ads are created paused, so getting the shape right never costs spend, and the summary you get back is read from what Meta actually stored.
For the wider family of Graph error codes, see the Meta Graph API error codes guide.
Related
- Meta Ads error 3858385: "you won't be able to create or modify ads until you authenticate your account"
- Meta error (#10): "Application does not have permission for this action"
- Meta Graph API error codes: what 190, 10, 200, 100 and the rate limits mean
- Meta error 3970: you must be assigned as an admin of this product catalog
- Meta catalog error 804: "Specified object already exists"
- Meta error (#200): "Requires business_management permission to manage the object"
Every platform error we have documented is on the error reference. For app reviews and access levels, see how to get API access.
Sources
- developers.facebook.com/docs/marketing-api/reference/ad-account/adsets/
- developers.facebook.com/docs/marketing-api/reference/ad-campaign/
- developers.facebook.com/docs/graph-api/guides/error-handling/
Frequently asked questions
Does error 2490408 mean my optimization goal is wrong?
Rarely. The goal is usually fine on its own. The combination of goal, destination type and promoted object is what Meta refuses, most often a WEBSITE destination on a Sales or Leads campaign with no pixel.
Can I run a Sales campaign without a Meta pixel?
Yes. Optimize the ad set for link clicks or landing page views and send no destination_type. Meta accepts that combination.
Why does my engagement ad set fail when I add my Page as the promoted object?
Post engagement and ThruPlay goals refuse a Page promoted object with 2490408. They need a destination type instead, such as ON_POST. Page likes is the exception: it needs both the Page and ON_PAGE.
How do I test an ad set without creating it?
Send the create call with execution_options set to validate_only. Meta runs the full validation and returns the same errors without creating anything.


