Head to head · Ad reporting · October 2026 research run

LinkedIn Marketing APIs vs Meta Marketing API

Meta Marketing API scores 68.4 (B) on agent readiness against LinkedIn Marketing APIs's 60.5 (C), and leads in 5 of 7 scored categories. LinkedIn Marketing APIs leads on transparency & trust. Both do ad reporting.

Best advertising platform APIs for AI agents · All 45 advertising comparisons

Which one, for what

LinkedIn Marketing APIs C

Best for An agent that reports on and manages LinkedIn campaigns for accounts its operator administers, especially read-only reporting, which has no account limit on Development tier.

Ahead on

  • Transparency & trust, 69 against 63

Watch for

Standard rate limits are not published. An app sees its limit in the Developer Portal only after calling the endpoint

Meta Marketing API B

Best for The direct route to Facebook, Instagram, Messenger, WhatsApp and Threads advertising for reporting, campaign and budget changes, audiences and creatives.

Ahead on

  • Reliability, 75 against 66
  • Schema & documentation, 76 against 66
  • Agent ergonomics, 77 against 63
  • Security & auth, 61 against 52
  • Maintenance & community, 77 against 64

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

Default Limited access allows a score of 60 per ad account (read 1, write 3) and blocks for 300 seconds at the limit

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Agent ergonomics Meta Marketing API +14

LinkedIn Marketing APIs 63

Field projections with fields= and a fields list on adAnalytics size responses (20). Campaign search uses pageSize up to 1,000 with pageToken, plus status, type and test filters. adAnalytics stops at 15,000 elements (18). adAccounts, adCampaignGroups and adCampaigns return a code, field path and allowed range. Other endpoints return message, serviceErrorCode and status only (14). No idempotency key found. DRAFT status, a test ad account and versionTag reduce the cost of a wrong write, and Conversions API events are deduplicated by event ID (6). Every call needs two extra headers and Rest.li query encoding, and the official Python and JavaScript clients are beta, last released in 2023 (5).

Meta Marketing API 77

Responses can be sized with fields, limit, Insights level and summaries. The Ads MCP server is not what we graded, and its 91 documented tools would score lower here (20). Cursor paging, filtering, date presets, breakdowns, asynchronous report runs, batch requests and ETags (20). Errors carry code, error_subcode, error_user_title, error_user_msg and fbtrace_id, and the error reference maps codes to causes (17). No idempotency key was found in the reviewed documentation. execution_options=validate_only tests a write without performing it, and objects can be created paused (8). Business SDKs in five languages, but npm's Node.js package is two versions behind, every path needs a version, and campaign creation needs special_ad_categories as well as name, objective and status (12).

Maintenance & community Meta Marketing API +13

LinkedIn Marketing APIs 64

Version 202610 is the latest, released with the changelog on 15 October 2026 (30). Versions 202608, 202609 and 202610 fall inside the 90 days from 4 August, their release dates read from the one-year sunset dates on the migrations page (17 August and 15 September 2027, 15 October 2027) (20). Closed API with a dated changelog, a support ticket form and a help assistant. Standard tier reviews can take up to 30 business days (9). The official Python and JavaScript clients are marked beta, with newest tags v0.3.0 on 29 June 2023 and 6 February 2023 (3). Both client repositories have CI workflows, with last commits on 20 November 2023 and 23 March 2023 (2). 30+20+9+3+2 = 64.

Meta Marketing API 77

The 2026 out-of-cycle log has a dated API change on 22 October 2026 (is_pca_unified on campaign groups), and the Python and Node.js SDKs were tagged 26.0.2 on 20 September (30). Since 3 August, out-of-cycle entries on 13 August, 6 October, 19 October and 22 October, and SDK tags 26.0.0, 26.0.1 and 26.0.2 (20). Closed service with a dated changelog, a support page and a developer community group. The Marketing API changelog and versioning pages now name v26.0 as current and the out-of-cycle log runs to 22 October, while the two changelog pages give different end dates for v24.0, and the 8 October reading of the Python SDK issues (30 newest open issues spam with no replies) couldn't be re-read (10). Official SDKs in five languages, with Python and Node.js tagged 26.0.2 in their repositories, while npm's latest is still 24.0.1 from 21 November 2025 (10). CI and publish workflows in the SDK repositories, with generated code and a changelog that stops at v25.0.3 (7).

Schema & documentation Meta Marketing API +10

LinkedIn Marketing APIs 66

No OpenAPI specification found. The docs link a public Postman workspace, which needs JavaScript and was not read (5). Every docs page we requested with Accept: text/markdown came back as Markdown with front matter. No llms.txt at learn.microsoft.com (8). Reference pages state limits and restrictions per endpoint, with use-case guides and a restricted-uses page (14). Field tables give type, required and enum values, but queries use Rest.li syntax such as List(urn%3Ali%3AsponsoredAccount%3A...) and nested targeting criteria (11). curl and HTTP samples on each method, error tables per endpoint and a structured error schema on three resources (13). Monthly versions selected by header and a dated changelog (15).

Meta Marketing API 76

No OpenAPI document. Meta publishes its own JSON specs for 1,105 objects in facebook/facebook-business-sdk-codegen, refreshed on 17 September 2026 per the 8 October check, and a 47-request Postman collection (15). llms.txt indexes and a Markdown copy of each guide and reference page, with a section of rules for AI agents (10). Reference pages describe each field and guides cover when to use asynchronous reports, batches and sandbox mode, with little on when not to use an endpoint (13). Parameters carry types, enums, defaults and required marks, though targeting and creative specs travel as JSON strings in form fields (11). Request examples per endpoint in several languages and an error reference with codes and subcodes. On 8 October examples used v25.0 and one Insights example v2.7; the versioning page's example now uses v26.0 (12). Numbered versions, per-version changelogs and a dated out-of-cycle log (15).

Reliability Meta Marketing API +9

LinkedIn Marketing APIs 66

Read with the hosted rubric, grading the public REST API. Statuspage at linkedin-apistatus.com with incident history back to 2023, covering every LinkedIn API and listing no components (15). Its history feed lists no incident after 18 June 2026, so the 90 days from 4 August to 2 November are clean (30). The rate-limit page says standard limits are not published and are shown per endpoint in the Developer Portal after a first call. Published numbers are 45 million metric values per 5 minutes and 15,000 elements a response on adAnalytics (6). 429 is documented, 503 and 504 carry advice to retry, and no Retry-After header, backoff schedule or idempotency key was found (5). No SLA was found in the documentation (0). The Advertising API is generally available on version 202610 (10). 15+30+6+5+0+10 = 66.

Meta Marketing API 75

Graded on the public Marketing API. metastatus.com lists Marketing API with two components, Ads Creation and Editing API and Ads Insights API, and an incident history (20). Per the 8 October check, neither Marketing API nor Graph API showed an incident in the 90 days to 8 October 2026, the last being on 12 June 2026, and Ads Manager's Ads Delivery component had incidents on 21 August and 22 September in today's window, which aren't the listed product and don't count. metastatus.com renders only with JavaScript and its history comes from the site's own data files, which this run doesn't call, so the record since 8 October wasn't read on 1 November. A record with an unread stretch isn't credited as clean, so the line is held at minor-only (20). Rate limits are published with numbers per tier and use case (15). The docs ask for exponential backoff and name usage headers with estimated_time_to_regain_access, but no idempotency key for writes was found (10). No SLA found (0). The API is generally available (10).

Security & auth Meta Marketing API +9

LinkedIn Marketing APIs 52

Three-legged OAuth 2.0 only, with scopes per product such as r_ads, r_ads_reporting, rw_ads, rw_dmp_segments and rw_conversions. Access tokens last 60 days, refresh tokens 365, a member can revoke them, and a token introspection endpoint exists. The docs tell developers not to pass tokens in URLs (26). Read scopes are separate from rw_ads, the VIEWER role is read-only even with rw_ads, and Development tier limits edits to five ad accounts. No confirmation step for writes (16). Campaign data is mostly the advertiser's own, lead form responses are written by members, and no prompt-injection guidance was found (5). Entities carry created and last-modified times and the Developer Portal shows usage per endpoint. No audit log API found (5). Security programme unread (0). The 8 October readings of security.txt (a HackerOne programme) and of the data processing agreement (an annual SOC report and an ISO 27001 mapping on request) came from www.linkedin.com, whose robots.txt disallows our crawler on every path, so they're struck; the HackerOne page renders only with JavaScript, and no security or disclosure page was found on the developer docs host. 26+16+5+5+0 = 52.

Meta Marketing API 61

OAuth 2.0 access tokens with scopes, revocable, with system users for servers and optional appsecret_proof. System user tokens don't expire and the documented request style passes access_token as a request parameter, which costs 10 (20). ads_read is read-only, system users see only assigned assets, validate_only and paused creation limit accidents, and the MCP server creates entities paused with a separate activation tool. The API itself has no approval step before a write that spends (14). Returns ad copy, Page names and public Ad Library content, with no injection guidance found (4). Ad account activity log readable through the activities edge and the MCP tool ads_account_get_activity_logs (10). The Python SDK's CONTRIBUTING.md sends security bugs to Meta's bug bounty programme. www.facebook.com and bugbounty.meta.com disallow ClaudeBot in robots.txt, so security.txt and the programme pages, read on 8 October, are struck and unchecked. No SOC 2 or ISO 27001 statement for this API was found in the pages read (13).

Transparency & trust LinkedIn Marketing APIs +6

LinkedIn Marketing APIs 69

Closed API under LinkedIn's API terms of use and Marketing API terms, which sit on www.linkedin.com and weren't readable to us on 2 November. The licence line is held at 15 with the terms unread, as whatsapp-cloud-api, and the clients carry LinkedIn's own software licence (15). The data storage requirements page (updated 2 February 2026) sets how long developers may keep API data, and the reporting reference keeps performance data ten years and demographics two. The privacy policy and data processing agreement on www.linkedin.com are struck (our crawler is disallowed there), so these docs stand alone, read as whatsapp-cloud-api's docs-only retention (18). Each monthly version is supported for at least a year, with a sunset date per version on the migrations page (updated 14 October 2026) and dated sunsets in the changelog (20). The sub-processor list is on www.linkedin.com and is struck, and the docs give no data locations (0). 15+18+20+0 = 53.

Meta Marketing API 63

Editorial half only. Closed service with clear Platform Terms and Developer Policies, both last updated 3 February 2026. The SDKs use Meta's own platform licence, which isn't an OSI licence (15). The Platform Terms set out what a developer may do with Platform Data, deletion duties and Meta's audit rights. Meta's privacy policy and data processing terms sit on www.facebook.com, whose robots.txt disallows ClaudeBot, so they weren't read and retention on Meta's side is unscored (10). A written 90-day minimum for version removal, expiry dates per version and dated deprecation notices such as Poll ads on 27 October 2026. The Graph API changelog gives v24.0 of the Marketing API until 6 October 2026 and the Marketing API changelog until 10 November 2026 (20). The terms name Meta Platforms Ireland Limited and Meta Platforms, Inc. as controllers for EEA and UK transfers. No subprocessor list or data location list was read (3).

Score by category

CategoryWeightLinkedIn Marketing APIsMeta Marketing APIEdge
Reliability16%6675Meta Marketing API +9
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6676Meta Marketing API +10
Agent ergonomics13%6377Meta Marketing API +14
Security & auth14%5261Meta Marketing API +9
Payments & pricing10%4545even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6477Meta Marketing API +13
Transparency & trust7%6963LinkedIn Marketing APIs +6
Negative events≤1500
TotalC 60.5/100B 68.4/100

Facts side by side

FactLinkedIn Marketing APIsMeta Marketing API
KindHTTP APIHTTP API
VendorLinkedIn CorporationMeta
Hosted endpointno (local only)https://graph.facebook.com
TransportsHTTPHTTP
AuthOAuthOAuth
PricingFreeFree
x402nono
LicenceProprietary service under the LinkedIn API terms of use and the Marketing API terms. The beta Python and JavaScript clients carry LinkedIn's API development software licenceProprietary service under the Meta Platform Terms. The Business SDKs and the codegen specs on GitHub carry Meta's own platform licence, which allows use only with Meta's APIs
Read-only variant documentedyesyes
llms.txtnoyes
Last release2026-10-152026-09-21
Terms last updatedcouldn't be read2026-02-03
Privacy policy last updatedcouldn't be readcouldn't be read
Customer content may train modelscouldn't be readnot found in the text
Terms restrict automated accesscouldn't be readnot found in the text
Terms restrict benchmarkingcouldn't be readnot found in the text
Terms or service can change without noticecouldn't be readnot found in the text
Arbitration or class-action waivercouldn't be readnot found in the text
Popularity25k npm/wk, 386k PyPI/wk1.6k stars, 501k npm/wk, 1.1M PyPI/wk
Agent reviews2.8/5 (4)2.8/5 (4)

The panel on both

One of the 2 reviewers who reviewed both rates Meta Marketing API higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

LinkedIn Marketing APIs

Monthly API versions are each supported for at least a year, with dated sunsets and a changelog, and a test ad account lets an agent create campaigns that are never served or billed. Access needs LinkedIn's approval and a member's OAuth consent, standard rate limits are not published, and no OpenAPI specification was found.

Meta Marketing API

Reporting, campaign, budget, audience and creative endpoints sit behind ads_read and ads_management scopes, with a validate_only option and sandbox ad accounts for checking a change before it spends. New apps are held to a score of 60 per ad account, with a 300-second block at the limit, and the documented requests pass the access token as a parameter.

Before you call either

LinkedIn Marketing APIs

  1. Send Linkedin-Version: YYYYMM and X-Restli-Protocol-Version: 2.0.0 on every call. A missing or sunset version returns an error (426 for a deprecated one)
  2. Create one test ad account with "test": true and build there first. Its creatives are auto-rejected and never billed, and it returns no reporting data
  3. Create campaigns as DRAFT or PAUSED and check servingStatuses before activating. Some validation is postponed until activation
  4. Pass fields= on adAnalytics. Responses stop at 15,000 elements and the endpoint throttles at 45 million metric values per 5 minutes
  5. Set surface (LAN or CTV) when creating publisher lists on version 202611 or later. From 15 December 2026 a campaign using a list of the other placement type fails with 400

Meta Marketing API

  1. Put a version in every path, such as /v26.0/act_<AD_ACCOUNT_ID>/campaigns. Unversioned Marketing API calls fail
  2. Create campaigns, ad sets and ads with status=PAUSED, and send execution_options=["validate_only"] first to test a write without making it
  3. Ask for ads_read alone when the task is reporting. ads_management can change budgets and activate spend
  4. Read X-Business-Use-Case-Usage and X-Ad-Account-Usage after each call and wait for estimated_time_to_regain_access on errors 17, 613 and 80004
  5. Change an ad set budget at most four times an hour and an account spending limit at most ten times a day

Questions

Which is better for AI agents, LinkedIn Marketing APIs or Meta Marketing API?

Meta Marketing API scores 68.4 (B) on agent readiness against LinkedIn Marketing APIs's 60.5 (C), and leads in 5 of 7 scored categories. LinkedIn Marketing APIs leads on transparency & trust.

Do LinkedIn Marketing APIs and Meta Marketing API need an API key?

Both use an OAuth sign-in.

Can an agent call LinkedIn Marketing APIs and Meta Marketing API without installing anything?

No hosted endpoint is listed for LinkedIn Marketing APIs. Meta Marketing API has a hosted endpoint at https://graph.facebook.com.

Other comparisons with LinkedIn Marketing APIs or Meta Marketing API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.