Facebook Marketing Integration
Setup guide and reference information for connecting Facebook Marketing to AccessFuel
Facebook Marketing Integration
Connect your Facebook Ads account to AccessFuel to unlock powerful advertising analytics including campaign performance, ad set optimization, conversion tracking, and ROAS analysis.
Prerequisites
Before you begin, you'll need:
- A Facebook Ad Account with at least Analyst access
- Admin access to the Facebook Business Manager (for OAuth)
Note: AccessFuel supports both personal Ad Accounts and Business Manager Ad Accounts. For business accounts, ensure you have proper permissions in Business Manager.
Connection Methods
AccessFuel supports two ways to connect Facebook Marketing:
- OAuth Connection (Recommended) - Quick and secure, no technical setup required
- Manual Token Setup - For advanced users who need custom app configurations
Setup Guide: OAuth Connection (Recommended)
The OAuth method is the fastest and most secure way to connect Facebook Marketing to AccessFuel. It takes less than 2 minutes and requires no technical configuration.
Step 1: Navigate to Integrations
- Log in to AccessFuel Console
- Go to Settings → Integrations → Facebook Marketing
- Click the Connect with Facebook button
Step 2: Authenticate with Facebook
- A popup window will open showing Facebook's login page
- Log in with your Facebook account that has access to Ad Manager
- Review the permissions requested (read-only access to Ads data)
- Click Continue to grant AccessFuel access
AccessFuel only requests read-only access to your Ads data. We cannot create, modify, or delete your ads or campaigns.
Step 3: Select Your Ad Account
- After authentication, you'll see a list of your Ad Accounts
- Select the Ad Account you want to connect
- Click Connect to complete the setup
Step 4: Verify Connection
- You should see a green "Connected" status
- Data sync will begin automatically
- Initial data may take a few hours to appear in your dashboard
Reconnecting: Facebook tokens expire after approximately 60 days. If your connection shows as expired, simply click the Reconnect button and re-authenticate. Your data will continue syncing seamlessly.
Setup Guide: Manual Token Setup (Alternative)
The manual setup method is useful when you need advanced app configurations, custom permissions, or when OAuth authentication isn't suitable for your organization.
When to use Manual Setup: Choose this method if you need to manage credentials at the organization level, require custom API permissions, or if your IT policy requires direct app management.
Follow these steps to connect using manual token generation:
Manual Step 1: Get Your Account ID
- Go to Meta Ads Manager
- Find the number in your browser's address bar
- Look for
act=in the URL - the number following it is your Account ID
If you have trouble locating your ad account ID, refer to Facebook's help guide.
Manual Step 2: Register as a Meta Developer
A Meta Developer account is your gateway to the App Dashboard, SDKs, APIs, development tools, and documentation.
To register, follow the official instructions: Register as a Meta Developer
Manual Step 3: Create a New App
Your Meta app serves as a container for your API credentials and permissions. Meta uses it to monitor API usage, enforce rate limits, and ensure application security.
- Go to the Meta for Developers App Dashboard
- Click Create App
- Name your app "AccessFuel"
Important: During the setup process, at the "Use case" step, select:
Create an app without a use case
Choose this option if you'd like to get an app ID without automatically adding any permissions, features, or products.
- App Type: Choose Business as the app type when prompted
- Select your business account
Manual Step 4: Add the Marketing API Product
After creating your app, you'll need to enable the Marketing API to begin making requests.
- In your app's dashboard, open the sidebar menu
- Click Add Product
- Find and select Marketing API from the list of available products
For an overview of the Marketing API, see Facebook's Marketing API Documentation.
Manual Step 5: Generate an Access Token
To authorize your application to interact with the Facebook Marketing API, you'll need to generate an access token with the appropriate permissions.
- From your app's dashboard, go to Marketing API → Tools
- In the Token Permissions section, select the following permissions:
ads_management- Manage ads and campaignsads_read- Read ad and campaign dataread_insights- Access insights data for ads, ad sets, and campaignsbusiness_management- Manage business assets (required to access ad accounts connected to a Meta Business Manager)
- Click Get Token to generate the access token
- Copy the generated token securely
You can always view your existing access tokens, their permissions, and lifecycles using the Access Token Tool.
Manual Step 6: Request Increased Rate Limits
By default, API tokens generated from apps with "Standard Access" are heavily throttled by Facebook. This can make them unsuitable for applications requiring frequent or large data syncs.
To ensure reliable performance, you'll need to request "Advanced Access."
Access App Review
- From your app's dashboard, go to App Review → Permissions and Features
- For each of the following permissions marked as "Standard Access", click the Request advanced access button:
ads_readads_management
- Facebook may prompt you to fill out a form detailing how the permission is used
Complete Business Verification
Make sure your app is associated with a verified Business Manager account. This is a prerequisite for obtaining Advanced Access.
Submit the App Review Request
Once all information is provided, submit the request through the App Review interface. Monitor the status in the dashboard as Facebook reviews your application.
Meet Rate Limit Requirements
Once you've been granted advanced access, you must consistently make at least 1,500 Marketing API calls within any rolling 15-day window to maintain your status.
Facebook continuously evaluates your API activity based on the past 15 days, not just immediately after approval. Falling below the 1,500 call threshold during any 15-day period may result in your advanced access being revoked.
Refer to Facebook's official documentation on Access Levels and Authorization for detailed instructions on requesting Advanced Access.
Manual Step 7: Send Us the Credentials
Enter the following in Settings > Integrations:
- Account ID(s): Your Facebook Ad Account ID Number(s) to use when pulling data from the Facebook Marketing API
- Access Token: The token you generated in Step 5
- Start Date: The date from which you want to sync data (format:
YYYY-MM-DDTHH:mm:ssZ)
Example start date: 2024-01-01T00:00:00Z
What Data Gets Synced?
Once connected, AccessFuel will sync the following data from your Facebook Marketing account:
- Campaigns: Campaign details, status, and performance
- Ad Sets: Ad set configuration and metrics
- Ads: Individual ad performance and creative data
- Insights: Daily, weekly, and monthly performance metrics
- Conversions: Conversion tracking and attribution data
Data Refresh Schedule
- Frequency: Data syncs every 24 hours
- Historical Data: All data from your specified start date
- Real-time Updates: Not available; data reflects the previous day's activity
Troubleshooting
OAuth Connection Issues
Popup Blocked
If the authentication popup is blocked:
- Check your browser's popup blocker settings
- Allow popups from
app.accessfuel.com - Try clicking the Connect button again
- If using Safari, enable popups in Safari Preferences → Websites → Pop-up Windows
Authorization Failed
If you see an authorization error:
- Ensure you're selecting a Facebook account with access to Ad Manager
- Verify you have at least Analyst role on the Ad Account
- Try using a different browser or clearing cookies
- If using a corporate account, contact your IT admin
Connection Expired
OAuth tokens expire approximately every 60 days for security. If your connection shows as expired:
- Navigate to Settings → Integrations → Facebook Marketing
- Click the Reconnect button
- Re-authenticate with Facebook
- Your data will continue syncing automatically
No Ad Accounts Found
If no Ad Accounts appear after authentication:
- Verify you selected the correct Facebook account
- Ensure you have access to at least one Ad Account in Ads Manager
- Check that your Ad Accounts haven't been disabled
- For Business Manager accounts, verify your user has proper permissions
Manual Setup Issues
Token Expired
If your access token expires, generate a new one and update it in Settings > Integrations.
Missing Permissions
Ensure all required permissions are granted:
ads_managementads_readbusiness_managementread_insights
Rate Limit Errors
If you're experiencing rate limit errors, verify that your app has Advanced Access approved and you're meeting the minimum 1,500 API calls per 15-day period.
Data Not Syncing
Check the following:
- Verify your Account ID is correct
- Ensure your access token is valid
- Confirm Advanced Access is granted
- Check that your app has the Marketing API product enabled
Security & Privacy
- Token Storage: Access tokens are encrypted and stored securely
- Data Transmission: All data is transmitted over HTTPS
- Access Control: Only authorized AccessFuel team members can access your credentials
- Compliance: We comply with Facebook's Platform Terms and Policies