Meta Ads API (Marketing API): campaigns and reports with AI
The Marketing API is Meta's official advertising API for Facebook and Instagram. Advertisers and agencies use it to create campaigns, read metrics and send server-side conversions through the Conversions API. Access is through an app on Meta for Developers, with ads permissions and, at some levels, review by Meta.
What the Meta Ads API offers
Campaigns, ad sets and ads
Create, pause and edit the structure of campaigns and budgets.
Creatives
Manage the images, videos and copy of the ads.
Audiences
Create custom and lookalike audiences.
Insights
Query spend, reach, clicks and results by level and period.
Conversions API
Send conversion events from the server to improve attribution.
Leads
Read leads from instant forms.
How to access the Meta Ads API
- With your company’s credentialsOAuth with a Meta app and a Business Manager system user token with ads permission on the account. The access level sets the limits.
- Call limits vary with the app's access level.
- Budget changes and campaign creation need approval.
- In the Conversions API, personal data is sent hashed, following Meta's policy.
Official documentation: developers.facebook.com/docs/marketing-apis
What an iTeam agent does with the Meta Ads API
Media status with comparison
The agent sends spend, CPC and cost per lead for each campaign, comparing today, yesterday and the week.
Form lead answered right away
The instant form lead goes to the agent, which contacts the person on WhatsApp and logs it in the CRM.
Tired ad
The agent flags creatives with high frequency and falling CTR and suggests a replacement.
Real sales sent back to Meta
Sales confirmed in the CRM go through the Conversions API, with hashed data.
From the credential to the agent at work, with approval
Create the app and the system user
Create the app on Meta for Developers, add the Marketing API product and generate a system user token with access to the ad account.
Set permissions per agent
In iTeam, the Meta Ads credential goes into the vault and each agent gets a closed list of actions (read insights, read leads, pause an ad). Actions that change data require approval from a person.
Validate small, then scale
Start with one case: ask for yesterday's spend and compare it with Ads Manager. Once the result is checked, the process takes on more volume, always with an audit trail and approval wherever there is risk.
Ready-made AI teams that use Meta Ads
Questions about the Meta Ads API
Is the Meta Ads API free?
The Marketing API is not charged; you pay for the media. Advanced access may require Meta to review the app.
Do I need to write code to use the Meta Ads API with iTeam?
No. iTeam reads the Meta Ads API documentation and builds the calls, and the deployment team adjusts the flow with you. Your company approves and follows up.
Does the API return the same numbers as Ads Manager?
Yes, the insights come from the same data, but attribution windows and processing delays apply; the agent states the window it used.