Marketing Automation · Integration
Facebook Custom Audiences
Add Facebook Custom Audiences to your product for your customers, and give your AI agents governed access to it.
A custom audience is a list an advertiser can target or exclude, and this connector covers building and maintaining those lists rather than running the campaigns that use them. The rule that shapes everything is hashing: email addresses, phone numbers and the rest must be normalised and hashed before they leave your product, so what crosses the wire is never the identifier itself, and removing somebody later means sending the same hash again rather than the plain value. Two more facts decide whether the integration feels reliable. An audience is not usable the instant you create it, since it has to populate and reach a minimum size before it can be targeted, so your product should report that state rather than implying the audience is live. And keeping an audience honest means removing people as well as adding them, which is how a suppression list of existing customers actually stays accurate. fastn holds each advertiser's authorisation per tenant and follows the Marketing API versions.
In your product
Embedded for your customers. Per-tenant auth, no per-customer code, maintained by fastn.
Have each advertiser authorise the ad account their campaigns run on, so audiences are built where they can be targeted.
Normalise and hash identifiers inside your product, so raw email addresses and phone numbers never leave it.
Prune an audience as well as growing it, since a suppression list that never drops anybody stops being true.
Report an audience's populating state so nobody schedules a campaign against a list that cannot be targeted yet.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
An agent reports which audiences an ad account holds, how large each is and when it was last updated.
An agent proposes a segment from your product's own data and leaves the upload for a person to approve.
An agent checks that customers who have churned were removed from the audiences they should have left.
Example prompt
Which custom audiences on this ad account have not been refreshed in a month, and how many people are in each?
Set up Facebook Custom Audiences in 4 steps
- 01Enable the Facebook Custom Audiences connector in your fastn dashboard.
- 02Have each advertiser authorise their own ad account with the permissions audience management requires.
- 03Decide which segments your product maintains, and confirm identifiers are normalised and hashed before they are sent.
- 04Call it from your product and expose the same governed connection to your agents.
Why teams use the Facebook Custom Audiences integration
What you get by embedding it with fastn instead of building it yourself.
- Ship a Facebook Custom Audiences integration without building it. Your customers connect their own Facebook Custom Audiences account inside your product and work their campaigns, segments and subscribers there, with no per-customer code on your side.
- Handle the part that actually costs time: engagement data arrives as a high-volume event stream, so ordering and deduplication matter. fastn owns the auth, token refresh, rate limits, pagination and breaking-change fixes, so a Facebook Custom Audiences update is not your on-call problem.
- One integration serves your product and your agents. The same governed Facebook Custom Audiences connection powers in-product features and gives AI agents scoped, audited access, so you trigger and measure campaigns from inside your product without wiring it twice.
Used by these teams
Compare with
Often used alongside
Tools the same teams tend to run next to Facebook Custom Audiences, across other categories.
Facebook Custom Audiences integration FAQ
How do I add a Facebook Custom Audiences integration to my product?
Enable the Facebook Custom Audiences connector in your fastn dashboard, then let each customer authenticate their own Facebook Custom Audiences account. fastn handles the OAuth flow, token storage and refresh per tenant, so there is no Facebook Custom Audiences client code in your app and no per-customer branch in your codebase. Setup is 4 steps.
Do my customers each connect their own Facebook Custom Audiences account?
Yes. Every connection is scoped to the individual customer, so each authorises their own Facebook Custom Audiences account and only ever sees their own campaigns, segments and subscribers. That per-tenant isolation is the point of an embedded integration: you support the long tail of customer setups without maintaining an integration per customer.
Can AI agents use this Facebook Custom Audiences integration?
Yes. The same connection is exposed to your agents through the fastn MCP gateway, with permissions scoped per tenant and every call audited. An agent reports which audiences an ad account holds, how large each is and when it was last updated.
Who maintains the Facebook Custom Audiences integration?
fastn does. When Facebook Custom Audiences changes an endpoint, deprecates a field or alters its auth, the fix lands in the connector rather than in your backlog, and your customers' connections keep working.
Can I trigger a Facebook Custom Audiences campaign from an event in my product?
Yes. Product events can start a campaign, add a contact to a segment, or enrol someone in a journey, so lifecycle messaging follows what a user actually did rather than a nightly export.
Can I read engagement results back from Facebook Custom Audiences?
Yes. Results come back scoped per tenant, so your product can act on them without one customer's data mixing with another's. What you get depends on the channel: opens, clicks, bounces and unsubscribes where there are sends, and impressions, spend and conversions where there are campaigns.
What can I build with the Facebook Custom Audiences integration?
A common starting point: have each advertiser authorise the ad account their campaigns run on, so audiences are built where they can be targeted. Teams also use it for the other use cases listed above, and expose it to agents for governed reads and writes.
How much does the Facebook Custom Audiences integration cost?
It is included. Pricing is based on connected accounts, not on how many connectors you enable, so adding Facebook Custom Audiences does not change your per-connector cost. You can start free with 3 connected accounts.
Add Facebook Custom Audiences to your product
Start free with 3 connected accounts. No sales call required, and no per-customer integration code.