> ## Documentation Index
> Fetch the complete documentation index at: https://docs.theoptimizer.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Facebook (Meta) on TheOptimizer

> Everything you need to run Facebook and Instagram ads in TheOptimizer — connect your accounts, automate optimization, and launch campaigns at scale from one place.

export const ArcadePopoutModal = ({id, title = "Interactive demo"}) => {
  const [isPopout, setIsPopout] = useState(false);
  const iframeRef = useRef(null);
  useEffect(() => {
    function onArcadeIframeMessage(e) {
      if (e.origin !== 'https://demo.arcade.software' || !e.isTrusted) return;
      if (!iframeRef.current || !iframeRef.current.contentWindow) return;
      if (e.data.event === 'arcade-init') {
        iframeRef.current.contentWindow.postMessage({
          event: 'register-popout-handler'
        }, '*');
      }
      if (e.data.event === 'arcade-popout-open') {
        setIsPopout(true);
      }
      if (e.data.event === 'arcade-popout-close') {
        setIsPopout(false);
      }
    }
    window.addEventListener('message', onArcadeIframeMessage);
    return () => window.removeEventListener('message', onArcadeIframeMessage);
  }, []);
  return <div style={{
    position: 'relative',
    paddingBottom: 'calc(54.4737% + 41px)',
    height: 0,
    width: '100%'
  }}>
      <iframe ref={iframeRef} src={`https://demo.arcade.software/${id}?embed&embed_mobile=tab&embed_desktop=modal&show_copy_link=true`} title={title} frameBorder="0" loading="lazy" allowFullScreen allow="clipboard-write" style={{
    position: isPopout ? 'fixed' : 'absolute',
    top: 0,
    left: 0,
    width: '100%',
    height: '100%',
    zIndex: isPopout ? 9999999 : 'auto',
    colorScheme: 'light'
  }} />
    </div>;
};

If you use TheOptimizer for Facebook (Meta), this is your home base. Everything Facebook-specific — connecting accounts, automation rules, and the Mass Campaign Launcher — lives in this section. Connect once with a single OAuth login and TheOptimizer pulls in your campaigns, ad sets, and ads automatically.

## Step 1 — Connect your accounts

<CardGroup cols={2}>
  <Card title="Connect Facebook" icon="link" href="/ad-networks/facebook/integration/connect">
    Authorize TheOptimizer with a Business profile, Personal profile, or Access Token.
  </Card>

  <Card title="Manage ad accounts & profiles" icon="sliders" href="/ad-networks/facebook/integration/manage-accounts">
    Enable, disable, tag, and assign profiles to the accounts you sync.
  </Card>

  <Card title="Troubleshoot the connection" icon="wrench" href="/ad-networks/facebook/integration/troubleshoot">
    Fix sync gaps, permission errors, and disconnected accounts.
  </Card>
</CardGroup>

## Step 2 — Automate your optimization

<CardGroup cols={2}>
  <Card title="How Facebook automation works" icon="robot" href="/ad-networks/facebook/automation/overview">
    What you can automate on Facebook and how rules run around the clock.
  </Card>

  <Card title="Popular Facebook rules" icon="wand-magic-sparkles" href="/ad-networks/facebook/automation/popular-rules">
    Ready-to-copy rules from thousands of real Facebook campaigns.
  </Card>
</CardGroup>

## Step 3 — Launch campaigns at scale

<CardGroup cols={2}>
  <Card title="Mass Campaign Launcher" icon="rocket" href="/ad-networks/facebook/campaign-uploader/getting-started">
    Build and publish Facebook campaigns in bulk — variations, multi-account, and more.
  </Card>

  <Card title="Clone campaigns, ad sets & ads" icon="clone" href="/ad-networks/facebook/cloning/overview">
    Duplicate existing structures with new budgets, audiences, or creatives.
  </Card>
</CardGroup>

## Shared tools you'll use

These work the same for Facebook as for every other network:

<CardGroup cols={2}>
  <Card title="Campaign Manager" icon="gauge" href="/campaign-manager/overview">
    Monitor and act on all your Facebook campaigns, ad sets, and ads from one table.
  </Card>

  <Card title="Automation engine" icon="zap" href="/automation/rules-guide">
    The rules engine, rule chains, templates, and Smart Lists in depth.
  </Card>

  <Card title="Creative Library" icon="image" href="/creative-library/guide">
    Track creative performance and reuse winning assets in the launcher.
  </Card>

  <Card title="Logs" icon="scroll" href="/logs/overview">
    See every automated action TheOptimizer takes on your account.
  </Card>
</CardGroup>
