Actions31
- Facebook Group Actions
- Facebook Marketplace Actions
- Facebook Media Actions
- Facebook Page Actions
- Facebook Post Actions
- Facebook Search Actions
- Meta Ads Library Actions
Meta Ads Library → Get Page Ad Details
AI-generatedSummary
Retrieve detailed information about a specific Facebook page's ads from the Meta Ads Library.
Inputs
- pageId (required) — The Facebook Page ID whose ads to retrieve details for
- requestOptions — Optional collection of request settings such as batching, SSL verification, proxy, and timeout
- allowUnauthorizedCerts — Whether to ignore SSL certificate validation errors
- proxy — HTTP proxy URL to use for the request
- timeout — Request timeout in milliseconds
Output shape
a single ad record
Returns the ad's archive details; the exact fields depend on the ad but typically include status, targeting, spend, and metrics.
Examples
Example 1: Get ad details for a page
pageId=123456789, requestOptions={batching:{batchSize:50}}
Example 2: Fetch with default settings
pageId=987654321
Example 3: Ignore SSL issues and use a proxy
pageId=11223344, allowUnauthorizedCerts=true, proxy=http://proxy.example.com:3128, timeout=15000