Troubleshooting Facebook Ads Integration

Having issues with your Facebook Ads integration? This comprehensive troubleshooting guide covers common problems and their solutions. All information has been verified against the actual Alpha Insights codebase.

Connection Issues

"Connection Failed" Error

Symptoms: Can't complete initial connection, error message appears

Common causes & solutions:

1. Browser Popup Blocked

Solution:

  1. Look for popup blocker icon in browser address bar
  2. Click it and select "Always allow popups from this site"
  3. Try connecting again

2. Incorrect Facebook Login

Solution:

  1. Make sure you're logging in with the Facebook account that manages your ads
  2. Verify you have admin access to the ad account
  3. If unsure, check Facebook Business Manager to confirm access

3. Outdated Browser

Solution:

4. Third-Party Cookie Blocking

Solution:

  1. Temporarily disable browser privacy extensions (uBlock, Privacy Badger, etc.)
  2. Try in private/incognito mode
  3. Whitelist both your WordPress site and facebook.com

"Token Expired" or "Reconnect Required"

Cause: Facebook API tokens expire after 60-90 days for security

Solution:

  1. Go to Settings → Facebook Integration
  2. Click Reconnect
  3. Log in to Facebook again
  4. Grant permissions
  5. Connection restored

Prevention: This is normal and happens to everyone. Just reconnect when prompted.

"Permission Denied"

Cause: Your Facebook account doesn't have sufficient access to the ad account

Solution:

  1. Go to Facebook Business Manager
  2. Check your role for the ad account
  3. You need "Admin" or "Advertiser" role at minimum
  4. If you don't have access, ask the account owner to grant it
  5. Wait 5 minutes after being granted access, then try connecting again

"No Ad Accounts Found"

Cause: The Facebook account you're logged in with has no associated ad accounts

Solution:

Sync Issues

Data Not Syncing

Symptoms: Last sync time is hours/days ago, no new data appearing

Diagnostic steps:

  1. Go to Settings → Facebook Integration
  2. Check connection status - should be "Connected" (green)
  3. Check last sync time
  4. Click View Sync Logs to see error messages

If Status Shows "Error"

Solution:

  1. Click Reconnect
  2. Complete authentication again

If Status Shows "Connected" But Not Syncing

Solution:

  1. Click Sync Now to force immediate sync
  2. If that fails, check sync logs for specific error messages
  3. Verify your WordPress site can make outbound HTTPS connections (ask your host)

If Sync Logs Show "Rate Limit Exceeded"

Cause: Hit Facebook API rate limits

Facebook's Limits: The Marketing API has rate limits to prevent abuse. If you're syncing very frequently or have many campaigns, you may hit these limits.

Solution:

Partial Data Syncing

Symptoms: Some campaigns sync but others don't

Causes & solutions:

1. Campaign Status Filtering

Check: Settings → Facebook Integration → Campaign Filters

By default, only active and paused campaigns sync. If you want ended campaigns too:

  1. Enable "Include ended campaigns"
  2. Save settings
  3. Sync Now

2. Campaign Date Range

Check: Campaign start dates

If you set historical import to "Last 30 days" but campaign ran 60 days ago, it won't be imported.

Solution:

  1. Increase historical import range
  2. Re-sync

Slow Syncing

Symptoms: Syncs take 10+ minutes, timeout errors

Causes & solutions:

1. Too Many Campaigns

If you have 100+ campaigns:

2. Large Date Range

Importing "All time" for account with years of data:

3. Slow Server

Shared hosting with limited resources:

Data Accuracy Issues

Ad Spend Doesn't Match Facebook

Common reasons and solutions:

1. Currency Mismatch

Check:

  1. Settings → Facebook Integration → Currency
  2. Verify it matches your Facebook ad account currency
  3. If you changed it, re-sync to recalculate

2. Time Zone Difference

Issue: Alpha Insights uses your WordPress timezone, Facebook might use different one

Solution:

3. Sync Delay

Issue: Facebook data not fully available yet (they process in batches)

Solution:

4. Different Date Ranges

Check: You're comparing same dates in both Alpha Insights and Facebook

ROAS Doesn't Match Facebook

This is expected! Here's why:

Facebook ROAS includes:

Alpha Insights ROAS includes:

Result: Alpha Insights ROAS is typically 20-40% lower than Facebook's reported ROAS, but it's more accurate for actual profitability.

Recommendation: Use Alpha Insights numbers for business decisions - they reflect true profit, not Facebook's optimistic estimates.

Missing Orders/Revenue

Symptoms: You know orders came from Facebook but they're not showing in campaign revenue

Causes & solutions:

1. Missing UTM Parameters

Issue: Your Facebook ads don't have UTM parameters in the URL

Solution:

  1. In Facebook Ads Manager, edit your ads
  2. 			?utm_source=facebook&utm_medium=cpc&utm_campaign=YOUR_CAMPAIGN_NAME
    		
  3. Future orders will be properly attributed

2. Attribution Window Missed

Issue: Customer clicked ad but ordered outside attribution window

Example:7-day attribution window, but customer clicked ad and ordered 10 days later

Solution:

3. Traffic Source Not Detected

Issue: Customer came from Facebook but referrer was lost

Causes:

Solution:

4. Orders Before Integration

Issue: Historical orders before you connected Facebook Ads

Solution:

Campaign Issues

Campaign Names Don't Match

Issue: Campaign names in Alpha Insights differ from Facebook Ads Manager

Causes:

Solution:

  1. Click Sync Now to refresh campaign names
  2. If still wrong, disconnect and reconnect integration

Deleted Campaign Still Showing

Cause: Alpha Insights keeps historical data even if campaign is deleted in Facebook

This is intentional! You want historical profit data for deleted campaigns.

If you really want to hide it:

  1. Go to Facebook Campaigns list
  2. Filter to show only Active campaigns

Duplicate Campaigns

Cause: Campaign was disconnected and reconnected, or imported twice

Solution:

  1. Go to Facebook Campaigns
  2. Identify duplicate (usually has "(2)" in name)
  3. Click Delete on duplicate
  4. Original campaign data is preserved

API and Technical Issues

"API Rate Limit Exceeded"

Cause: Too many requests to Facebook API in short time

Facebook's Rate Limits: Facebook Marketing API has rate limits that vary by ad account size and usage. Limits are automatically managed by Facebook and reset hourly.

When this happens in Alpha Insights:

Solutions:

  1. Change API Call Schedule to "Every 12 Hours" or "Daily" in Settings → Facebook Integration
  2. Lower the "Number Of Results To Collect Per Call" setting (default 50, try 25)
  3. Increase "Request Timeout" if you're getting timeouts (default 5 seconds, try 10-15)
  4. If you have multiple WordPress sites: stagger their sync schedules so they don't all sync at once
  5. Wait 1 hour for rate limit to reset automatically
  6. Archive old/ended campaigns in Facebook to reduce data volume

"API Error: Unknown Error"

Cause: Temporary Facebook API issue

Solution:

"Invalid Access Token"

Cause: Token expired or was revoked

Solution:

  1. Click Reconnect
  2. Complete authentication again

Data Management and Cleanup Tools

Delete All Facebook Data

If you need to start fresh or remove all Facebook integration data:

Location: Settings → Facebook Integration → API Tools → Facebook Data Deletion

Two deletion tools available:

  1. Delete All Expense Data:
  2. Delete All Campaign Data:

When to use:

After deletion: Click "Refresh All Campaign Data" to re-import everything from Facebook

Note: These deletions only affect your WordPress database. Your actual Facebook ad account and data in Facebook Ads Manager are completely unaffected.

Getting Help

Before Contacting Support

Gather this information:

  1. Screenshot of the error message
  2. Connection status from Settings → Facebook Integration (API Status, Connection Expiry Date, Last API Check)
  3. Recent sync log entries (visible at bottom of Facebook Integration settings page)
  4. Facebook Ad Account ID and name
  5. When the issue started
  6. How many campaigns you have
  7. Your API Call Schedule setting

Check the Facebook API Log

Alpha Insights maintains a detailed log of all Facebook API interactions:

Location: Settings → Facebook Integration → scroll to bottom → Facebook API Log

What you'll see:

Using the log: Look for error messages, failed requests, or patterns that coincide with when your issues occur

Contact Support

Open a support ticket with:

Prevention Tips and Best Practices

Maintain Connection Health

Optimize Sync Settings

Use Tracking Parameters

Keep Software Updated

Manage Permissions Carefully

Regular Monitoring