r/FacebookAds • • 3d ago

Discussion creating ads via api?

I've started using creating ads via api and omg its saving me so much time and sanity. i've heard agencies also use the apis to publish ads etc.

i've set strict guardrails so my script doesn't hammer meta api or not try again after an error.

will this be safe?

I am worried about getting banned or sth.

in my research online, the responses are also quite mixed

some people say they will ban you some say if you use it properly and the offical api everything will be fine.

what has been your experience ?

3 Upvotes

12 comments sorted by

1

u/kimchiiz787 3d ago

yup thats common now

1

u/jamesbrownisundead 3d ago

You haven't had any problems?

2

u/kimchiiz787 3d ago

nope u less youre using claude chrome

1

u/Opening-Map4965 20h ago

A lot of what I run for clients goes through tools connected to Meta's Marketing API and it's been really good, the official API is what Meta wants you using. I wouldn't lock it down too hard either. I set rules so things keep moving fast, and the only hard limits I put on it are around spend. You'll skin your knees a bit. I launched a campaign with 20 video ads once and the campaign turned on but every single ad was still paused lol. A good morning routine that checks what actually went live catches that stuff before it gets too bad. Curious what you're mostly using it for, launching new creative or editing what's already live.

1

u/jamesbrownisundead 7h ago

Oh damn that's a dream to work with clients work through api! I use it for my own business now. I just wanted to get rid of the hideous ui of meta ads. Is it ok if i dm you about getting clients? I've been thinking about changing careers actually my current business is ok but very energy consuming and physical

2

u/ayrshare 2d ago

Using the official Marketing API is fine. It's how agencies and ad platforms run at scale, and Meta built it for exactly this. Accounts don't get banned for using the API. They get banned for what the account does, and the API just makes it easier to do a lot of it quickly.

What actually gets accounts restricted:

  • Ad content. Policy violations get the same review whether the ad came from the API or Ads Manager, and repeated rejections hurt the account's quality.
  • Sudden changes. A new ad account that jumps from small daily spend to many ads and big budgets in a day looks risky. Ramp up gradually.
  • Payment and account issues. Failed payments, mismatched business details and unverified accounts cause more restrictions than anything technical.

Your guardrails are the right instinct. A few more that help:

  • Watch the rate-limit headers Meta returns, like X-Business-Use-Case-Usage, and slow down before you hit the limit, not after.
  • Make creation safe to retry. If a request times out and your script retries, you can end up with duplicate ads spending money. Check whether the ad exists before creating it again, or create ads paused and turn them on after a check.
  • Handle review results. Listen for ad status changes so a rejected ad gets fixed instead of being resubmitted unchanged.

For context, we're Ayrshare. We run ad boosts for Facebook and Instagram through Meta's API every day, and the accounts that run into trouble almost always have a content or payment problem, not an API one.

1

u/BoysenberryNo5650 2d ago

Some people got banned using claude mcp while launching ads but I dont think you are gonna get banned unless you play without being aware of meta rules

1

u/22radar22 2d ago

They don't ban you for using the official API. When you reach the limit, you will get an appropriate message. You can also monitor it in the app settings on the developer's website. Limits are per user, app, and recently even per individual operation.

1

u/SvetDigital 2d ago

If you set everything from the terminal instead of giving permission to Claude/codex to click on the Manager via the browser, you won't have any issue. In our mastermind group we found this as a trigger for the account blocking.

0

u/ZenaMeTepe 3d ago

You lost me at "guardrails".