A business can access multiple assets. Your business owns the assets or your business accesses them as an agency. Use Facebook's Business Management Asset APIs to add, remove, or query the relationship between a business and its assets, to manage business assets and access to the assets.
Agency refers to a type of business entity that can manage or access assets owned by another business. This relationship allows the agency to perform specific tasks or actions on the behalf of the client, such as managing ad accounts, pages, or other digital assets.
Business asset groups help large advertisers or agencies efficiently manage users and assets in their business. You should organize assets and users in a way that maps to real-world operations. For example, a business can structure its assets and users according to brand, region, client, or an organizing principle of their choice.
Business asset groups can contain ad accounts, Pages, Facebook pixels, offline event sets, apps, catalogs, custom conversions and Instagram accounts. The assets can be owned by a business or shared to provide access to an agency.
You can use this API add users to a business asset group. Once added, you can grant people permissions to assets in a business asset group. This helps you grant access to multiple assets all at once, without creating too many admins at the business level.
With this API, you can manage business asset groups that someone already created through Business Manager or you can administer assets within the business asset group. You can:
To use Business Asset Groups API, your app needs the appropriate Marketing API Access Level:
business_management
permission.You need extra permissions for:
Business Asset Group Endpoints | Required permissions |
---|---|
Get list of Ad Accounts |
|
Get list of product catalogs, add product catalog or remove product catalog |
|
Get list of Instagram accounts, add Instagram account or remove Instagram account |
|
Get list of pixels |
|
Get list of offline event sets |
|
Get list of custom conversion |
|
Add custom conversion |
|
You see an error if you try to reduce or remove permissions for an asset contained in a business asset group via the following API calls:
DELETE
request to /{page_id}/assigned_users
POST
request to /{page_id}/assigned_users
DELETE
request to /act_{ad_account_id}/assigned_users
POST
request to /act_{ad_account_id}/assigned_users
. To reduce or remove permissions, follow these steps:
contained_asset_id
is equal to the {page_id}
or {ad_account_id}
. DELETE
or POST
requests to remove the permission for that user on Page or Ad Account.If you provide permissions management features in your app for other businesses, you should use this API to prevent inconsistencies and errors between the API and Business Manager.
You cannot set permissions on apps, catalogs, Instagram accounts and custom conversions through the business asset group. Instead, you should assign permissions at the asset level.
For example, if you add Roger to a business asset group in Jasper’s business manager, he can get permissions to any Pages, ad accounts, pixels and so on, in that business asset group. However to remove or edit Roger’s permissions to any asset in the Jasper’s business asset group, you must perform this action in the business asset group itself.
You can add user permissions at the asset level using asset API, such as change someone from Page moderator to admin. See examples for Page and Ad Account.
Business asset groups replaced Projects API on October 13, 2019. You should migrate all apps on Projects API to business asset groups.
When a user is added to a business, one of the following two roles can be assigned via the Business Users APIs:
API Constant | Name | Description |
---|---|---|
| Business Admin | Can manage all aspects of the business settings, including modifying or deleting the account and adding or removing people. |
| Business Employee | Can see all of the information in the business settings but can't make any changes, except to add Pages or ad accounts which this user is an admin of to the business. |
The following roles can be assigned to any user of the business, Admin or Employee, on catalogs accessible by this business using the Catalog APIs:
API Constant | Name | Description |
---|---|---|
| Catalog Admin | Can manage all aspects of the catalog with full read and write access, including create/update/delete of items, managing feeds, attaching catalog to pixels and apps, creating product sets, running Advantage+ catalog ads with the catalog, changing catalog settings, and so on. |
| Catalog Advertiser | Can create product sets and run Advantage+ catalog ads with the catalog. Cannot edit its products, feeds, or catalog settings. |
The following tasks can be assigned to any user of the business for ad accounts accessible by this business using the Ad Account APIs:
API Constant | Name | Description |
---|---|---|
| Ad Account Admin | Can manage all aspects of campaigns, reporting, billing and account permissions, and can set ad account spending limits. Ad account admins can also associate business payment methods. |
| Advertiser on ad account | Can see and edit ads and set up ads using the payment method associated with the ad account. |
| Ad Account analyst | Can see ad performance. |
You can assign the following tasks to any user of a business on Pages accessible to this business using the Page APIs:
API Constant | Name | Description |
---|---|---|
| Page admin | Can manage Page roles, send messages and post as the Page, create ads, and view insights. |
| Page editor | Can edit the Page, send messages and post as the Page, create ads, and view insights. |
| Page moderator | Can respond to and delete comments on the Page, send messages as the Page, create ads, and view insights. Cannot post as the Page. |
| Page Advertiser | Can create ads for the Page and view insights. Cannot post as the Page. |
| Page analyst | Can view insights. Cannot post as the Page. |
There is no role or task management APIs for apps in Business Manager.
There is no role management for Instagram accounts in Business Manager. Users with access to ad accounts that are linked to Instagram accounts can run ads for those Instagram accounts.