u
Facebook Marketing icon

Facebook Marketing

Facebook Marketing API provides comprehensive advertising capabilities across Facebook and Instagram platforms. Create, manage, and optimize ad campaigns, track performance metrics, and automate audience targeting for effective social media advertising.

Example Use Cases

Automated Campaign Management

Create and launch Facebook ad campaigns programmatically based on product launches, seasonal events, or inventory levels, automatically adjusting budgets and targeting parameters.

Performance Optimization

Monitor ad performance metrics in real-time, automatically pause underperforming ads, increase budgets for high-performing campaigns, and adjust bidding strategies based on ROI.

Audience Targeting

Build custom audiences from customer lists, website visitors, or app users, create lookalike audiences for expansion, and dynamically update targeting based on campaign performance.

Creative Testing

Automatically deploy A/B tests with different ad creatives, copy variations, and audience segments to identify winning combinations and optimize advertising spend.

Supported Actions

Campaign Management

  • Create ad campaigns with objectives
  • Update campaign budgets and schedules
  • Pause or resume campaigns
  • Retrieve campaign details and status
  • List campaigns by account
  • Delete campaigns

Ad Set Operations

  • Create ad sets with targeting criteria
  • Update ad set budgets and bids
  • Configure audience targeting and placement
  • Set optimization goals and bidding strategy
  • Retrieve ad set performance metrics
  • Pause or activate ad sets

Ad Creation & Management

  • Create ads with creative assets
  • Update ad copy and media
  • Retrieve ad performance data
  • Pause or resume individual ads
  • List ads by campaign or ad set
  • Delete ads

Insights & Analytics

  • Retrieve campaign performance insights
  • Get ad-level metrics (impressions, clicks, conversions)
  • Access audience demographics
  • Retrieve cost and ROI data
  • Export reports by date range
  • Compare performance across campaigns

Frequently Asked Questions

How does Durable handle Facebook API rate limits?

Facebook enforces rate limits based on ad account tier and API usage. Durable implements intelligent request batching, monitors rate limit headers, and uses exponential backoff to stay within limits while maximizing throughput.

Can I manage ads across multiple Facebook ad accounts?

Yes. You can authenticate with Facebook Business Manager and access multiple ad accounts, enabling cross-account campaign management, consolidated reporting, and centralized advertising operations.

What ad objectives and placements are supported?

Durable supports all Facebook ad objectives (awareness, consideration, conversion) and placements (Facebook Feed, Stories, Instagram, Audience Network, Messenger). You can configure specific placements or let Facebook optimize automatically.

How are creative assets uploaded?

You can upload images and videos directly through the API or reference existing assets in your Facebook ad account library. Durable handles asset validation, format conversion, and provides upload progress tracking for large files.

What happens if my ad is rejected?

Facebook reviews ads against advertising policies. If rejected, Durable can retrieve rejection reasons and feedback. You'll need to modify the ad creative or targeting to comply with policies and resubmit for review.

Can I access real-time performance data?

Facebook provides insights with slight delay (typically 24-48 hours for complete data). Durable can retrieve preliminary metrics for recent campaigns, but final performance data may take time to reflect all conversions and attribution.

Ready to integrate Facebook Marketing?

Get started with Durable's autonomous integration platform and connect Facebook Marketing to your workflows.

Book a Demo