Facebook Ad API
Last updated
Last updated
Facebook (a.k.a. Meta) allows businesses to run ad campaigns on their platforms. The following instructions show how to start an ad campaign using the Facebook Business platform.
To begin, you will need:
A Facebook Business account with the ability to run ad campaigns.
You may need to verify yourself using your account password and/or two-factor authentication while following these steps, if you have not already done so.
STEP 1: Log in to the Meta Business Manager.
STEP 2: In the left side-bar, click on the hamburger menu icon, then go to [Ads Manager].
STEP 3: Under the Ads tab, select the desired ad from the list and click the [Edit] button.
STEP 4: In the left side-bar, click on the three dots next to the ad to open a context menu. The relevant ID is located at the bottom of the menu. You can copy the ad ID by clicking on it.
STEP 1: Log in to the Meta Business Manager.
STEP 2: In the left side-bar, click on the hamburger menu icon, then go to [Business settings].
STEP 3: In the left side-bar, go to [Users] > [System users].
STEP 4: Select the relevant system user, then go to [Generate New Token].
STEP 5: Select the app to generate the access token for, then set the Token expiration to Permanent.
STEP 6: Select the permissions you would like to assign to the access token from the given list, then click [Generate Token]. You can then copy the access token.