Agentic Service Discovery

Resources

F

Facebook Ads

by Meta

Create, manage, and optimize Facebook and Instagram advertising campaigns

MarketingFreeOAuth 2.0advertisingmarketingfacebookinstagramcampaignssocial-mediaanalytics

How agents use Facebook Ads

  • Agent retrieves campaign performance metrics to generate a paid social report or flag underperformers
  • Agent pauses or activates ad sets based on ROAS thresholds or budget rules detected in the workflow
  • Agent creates a new ad set when a product launch or promotional event is triggered in another system
  • Agent updates audience targeting based on fresh customer data or behavioral segments from a CRM
  • Agent adjusts daily budgets across campaigns in response to performance data analyzed earlier

Agent actions

Get CampaignsRetrieve list of advertising campaigns

Inputs: status, limit

Returns: campaigns, count

Create CampaignCreate a new advertising campaign

Inputs: name, objective, status, specialAdCategories

Returns: campaignId, success

Update CampaignUpdate an existing campaign

Inputs: campaignId, name, status

Returns: success, campaignId

Create Ad SetCreate a new ad set within a campaign

Inputs: campaignId, name, dailyBudget, lifetimeBudget, bidStrategy, targeting, optimization_goal, startTime, endTime

Returns: adSetId, success

Get Ad SetsRetrieve ad sets for a campaign

Inputs: campaignId, status

Returns: adSets, count

Create AdCreate a new ad with creative

Inputs: adSetId, name, creativeType, title, body, imageUrl, videoId, linkUrl, callToAction, status

Returns: adId, creativeId, success

Get AdsRetrieve ads from an ad set

Inputs: adSetId

Returns: ads, count

Get Performance InsightsGet performance metrics for campaigns, ad sets, or ads

Inputs: level, objectIds, datePreset, fields

Returns: insights, totalImpressions, totalClicks, totalSpend, averageCtr, averageCpc

Create Custom AudienceCreate a custom audience for targeting

Inputs: name, subtype, pixelId, retentionDays

Returns: audienceId, success

Update BudgetUpdate budget for campaign or ad set

Inputs: objectType, objectId, dailyBudget, lifetimeBudget

Returns: success

Pause/Resume AdsPause or resume campaigns, ad sets, or ads

Inputs: objectType, objectId, action

Returns: success, newStatus

Example workflows

1

Automated campaign management

Create and manage Facebook ad campaigns automatically

2

Performance monitoring

Track campaign metrics and optimize ad spend based on performance

3

Dynamic audience targeting

Create custom audiences and adjust targeting based on user behavior

About Facebook Ads

Vendor
Meta
Pricing Always review details with the vendor
FreeFree API access, but you pay for ad spend. Some advanced features require Business Manager or specific permissions.
Authentication
OAuth 2.0
Rate limit Always review details with the vendor
200 requests / minute
Compatible nodes
AgentResourceOutput

Build an AI workflow with Facebook Ads

Use the Agentic Planner to design, visualize, and connect Facebook Ads with your other tools.

Open Agentic Planner

Related Marketing tools

Facebook Ads AI Agent Integration | Fugentic