As of November 2026.
What's the difference between the three IDs?
They name three different things. The ad account is where your campaigns run; Meta says it lets you "track your advertising expenses, monitor performance, and optimize your campaigns." The business portfolio holds your business assets, such as ad accounts and datasets, and controls who can use them. The pixel, which Events Manager may show as a dataset, is where your website's events go. Meta's API writes the ad account ID with "act_" in front, so a tool may show it either as the bare number or as act_ followed by the number.
How do I find the ad account ID in Ads Manager?
Open Meta Ads Manager, click Settings in the menu at the bottom left, and look in the Account overview section. Meta's Marketing API guide gives this path and says the number appears there "along with other details such as your billing information and spending limits." Meta's help center has its own article, "Find your Facebook ad account ID number in Meta Ads Manager," but only its title loaded when we checked, so we couldn't compare its steps. AdManage's November 2025 guide adds a shortcut: in Ads Manager, the number after "act=" in your browser's address bar is the ad account ID.
Where is our business portfolio ID?
In Meta Business Suite, go to Settings, select Business portfolio info in the left menu, and the ID is below your portfolio name. Meta's docs don't agree on the menu names. Its help center uses the steps above, while its Marketing API reference says Business Manager > Business Settings > Business Info. The help article calls the number both your "business portfolio ID" and your "business ID," so a tool asking for a business ID wants this number.
Where is the pixel ID?
In Events Manager, click Data sources, select your pixel or dataset, and open the Settings tab. Meta's Events Manager guide says that tab is where you "View the ID and owner of your data." The ID is also in your website's code: Meta says its pixel base code "contains your Pixel's ID in two places," in fbq('init', '…') and in the <noscript> image link after id=. That helps when you need to know which pixel your site really loads. Meta Ads Data Advisor also shows the pixels it finds on a page.
Is the Meta dataset ID the same as the pixel ID?
For your website, usually yes. Meta says "Your dataset ID will be the same as your existing pixel ID if an existing pixel is linked to your dataset," as when Meta converted a pixel to a dataset automatically. A dataset that isn't linked to an existing pixel, such as one you create to connect offline events, gets a new ID. Either way, Meta says "You can use your dataset ID like you would use your pixel ID, such as to set up the Meta Pixel or Conversions API." Meta is "gradually introducing changes" to how event data shows in Events Manager, so you may see either word. If you're weighing one dataset or several, see one Meta pixel or separate datasets.
Which IDs does our agency need?
Usually just its own business portfolio ID, which it gives to you. Someone with full control of your portfolio goes to Settings > Partners > Add > Give a partner access to your assets, enters "your partner's business portfolio ID," and picks the assets and access to share. A dataset can also be shared from Settings > Data sources > Datasets > Assign partners, again with the partner's portfolio ID. If the agency asks from its side with Ask a partner to assign you their assets, it enters your email address and your portfolio ID. Through Meta's API, an agency can also request one ad account by its act_ ID, which sends a notification to that account's admins. For access levels, see how to give your agency access without handing over ownership.
Which IDs does an ad tool need?
It depends on how the tool connects. A tool that sends website events through the Conversions API needs your pixel ID and an access token. Meta's guide says to use "the same Pixel ID for your browser and server events" and to generate the token in Events Manager, on the pixel's Settings tab under Conversions API; only people with developer privileges for the business see that link. Tools built on Meta's Marketing API address an ad account as act_ followed by its ID. If a tool has you log in with Facebook and pick your accounts, you may not need to type any ID. If server events stop after a while, see why Meta Conversions API access tokens expire.
Is it safe to share these IDs?
Mostly, but check what you approve. A portfolio or ad account ID doesn't give access by itself: Meta's sharing steps need someone with full control of your portfolio, and an agency's API request for an ad account goes to that account's admins. Your pixel ID is already public, because it sits in your site's code. Events Manager's traffic permissions let you "control if domains are allowed to send events through your Meta Pixel," with an allow list or a block list. Security firm Huntress reported in July 2026 that attackers had abused Meta's business partner requests to send phishing; it says the attacks subsided after Meta acted. Still, check each request before you accept it, as our agency access guide explains.
Sources (18)
- Get started with the Marketing API (Meta for Developers), checked November 7, 2026
- Find your Facebook ad account ID number in Meta Ads Manager (Meta Business Help Center; only the title loaded), checked November 7, 2026
- Ad Account, Marketing API reference (Meta for Developers), checked November 7, 2026
- Find your business portfolio ID (Meta Help Center), checked November 7, 2026
- Business, Marketing API reference (Meta for Developers), checked November 7, 2026
- Add an ad account to your business portfolio in Meta Business Suite (Meta Help Center), checked November 7, 2026
- About Meta Events Manager (Meta Help Center), checked November 7, 2026
- Get started with the Meta Pixel (Meta for Developers), checked November 7, 2026
- Meta Ads Data Advisor (Meta for Developers), checked November 7, 2026
- About datasets in Meta Events Manager (Meta Help Center), checked November 7, 2026
- Give a partner access to business assets in your business portfolio (Meta Help Center), checked November 7, 2026
- How to add a partner to a dataset in your business portfolio (Meta Help Center), checked November 7, 2026
- Ask a partner to share assets with your business (Meta Help Center), checked November 7, 2026
- Business-to-Business Functions, Business Management APIs (Meta for Developers), checked November 7, 2026
- Get started, Conversions API (Meta for Developers), checked November 7, 2026
- Manage Meta Pixel traffic permissions in Events Manager (Meta Help Center), checked November 7, 2026
- How to Find Your Facebook Ad Account ID (AdManage, November 28, 2025), checked November 7, 2026
- Meta Phishers Abuse Business Account Manager Service (Huntress, July 7, 2026), checked November 7, 2026