Getting the account ID
Open Facebook Ads Manager and copy the ID:
Getting an API token
Log in to Facebook account.
Open the app page and click Create app
On the next window click Next
Select "Other" and click Next
Choose "Business" and click Next
Add the app name, enter the contact email and click Create app
Open the app settings. Choose Marketing API
Choose "Tools" from Marketing API
Select all checkboxes and press the button to purchase a marker
Copy the API token of the app
Getting Conversions Token
Get parameters for filling out the Facebook integration fields, according to the instructions
Conversions Token - is taken from the setting up the direct integration of the Personal Account. Click Generate Access Token. See instructions for obtaining a token
WARNING
Copy and save the marker in a safe place. The marker is issued once and cannot be viewed again. Otherwise, reissue the marker.