metaads-pro/src/lib
Marcio Bevervanso a88e96adf5 fix: fall back to Facebook-only when ad account can't use the page's Instagram
Meta rejects the whole ad creative with error 200/1815199 when the ad
account isn't authorized (in Business Manager) to use the Instagram
account linked to the chosen page. Picking a different page in the new
selector doesn't help if that page's IG is also unshared. Now, when the
creative fails for that specific reason, we retry without
instagram_actor_id so the ad still publishes on Facebook, and the modal
explains why Instagram was dropped and how to enable it.

createFullCampaign gets the same fallback for free.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 14:21:18 -03:00
..
ai Publish MetaAds Pro: AI-driven Meta Ads campaign management dashboard 2026-06-07 19:30:33 -03:00
auth Publish MetaAds Pro: AI-driven Meta Ads campaign management dashboard 2026-06-07 19:30:33 -03:00
engine Atualizar src/lib/engine/monitor.ts 2026-06-07 23:58:51 +00:00
mcp fix: fall back to Facebook-only when ad account can't use the page's Instagram 2026-06-08 14:21:18 -03:00
meta Publish MetaAds Pro: AI-driven Meta Ads campaign management dashboard 2026-06-07 19:30:33 -03:00
supabase Publish MetaAds Pro: AI-driven Meta Ads campaign management dashboard 2026-06-07 19:30:33 -03:00
errors.ts Publish MetaAds Pro: AI-driven Meta Ads campaign management dashboard 2026-06-07 19:30:33 -03:00
settings.ts Publish MetaAds Pro: AI-driven Meta Ads campaign management dashboard 2026-06-07 19:30:33 -03:00
url.ts fix: resolve OAuth redirects dynamically using client-facing headers 2026-06-07 22:01:52 -03:00