Learn how to integrate Adsnapshot into your application and start capturing high-quality ad previews
Get up and running in minutes with our simple API
https://adsnapshot.com/get/API_KEY/AD_ID?format=MOBILE_FEED_STANDARD
Replace API_KEY
with your API key and AD_ID
with the Meta ad ID for the preview you want to generate. The API returns a PNG image. Your first request for a specific ad ID creates
a new preview and counts as a generation. Subsequent requests for the same ad ID will return the cached preview and count as retrievals,
unless you include refresh=true to force a new generation.
Cached retrievals delivered in milliseconds
API key authentication and account-level access control
Generate new previews using refresh=true
New to Adsnapshot? Follow this step-by-step guide to get up and running quickly. We'll walk you through everything from setting up your account to generating your first ad preview.
Learn how teams and access control work in Adsnapshot
Organizations are the foundation of Adsnapshot's team management system. Think of them as workspaces where you can:
Full control over the organization, can manage all settings and members
Can invite members and manage API keys, but cannot delete the organization
Can use API keys and generate previews, but cannot invite others
💡 Pro Tip: Start with one organization for your main project. You can always create additional organizations later for different clients or teams. Your subscription works across all organizations that you own.
Authorize Adsnapshot to access your Facebook ad accounts
Adsnapshot needs permission to access your Meta ad accounts to generate previews. This is done through Facebook's secure OAuth process, which means:
✅ Success: Once connected, your status will show as "Connected" and you'll see your authorized ad accounts. This connection typically lasts for 2 months before needing to be refreshed.
⚠️ Troubleshooting: If authorization fails, make sure you have access to the ad accounts you're trying to connect. Business Manager admin access is typically required.
Generate secure API keys to access the Adsnapshot service
API keys are like passwords for your applications. They allow your code, spreadsheets, or dashboards to securely request ad previews from Adsnapshot without requiring you to log in each time.
🔐 Security Note: Adsnapshot API keys are not highly sensitive since the worst someone can do with them is generate ad preview images. The links containing API keys are even sharable! However, someone malicious could exhaust your quota. If you're an agency, it's a good idea to create separate API keys for each client so they can't generate previews for each other's ads (though they would need to know each other's ad IDs, which is unlikely).
Learn how to find ad IDs and make your first API request
To generate a preview, you need the Meta ad ID. Here's how to find it:
Once you have your API key and ad ID, you can generate your first preview:
https://adsnapshot.com/get/YOUR_API_KEY/23850896789012345
Simply paste this URL into your browser (replacing YOUR_API_KEY and the ad ID) and you'll see your ad preview!
Takes 2-5 seconds, counts against your generation quota. Adsnapshot captures a fresh preview of your ad.
Returns in milliseconds, counts against your retrieval quota. Uses the cached preview from the first generation.
🎯 Real-World Usage: Normally, you don't do this process manually. Instead, you have a dashboard or spreadsheet with ad IDs already populated, powered by tools like Supermetrics, Funnel, or Alvie. Then you just dynamically generate the image links using formulas or code!
Ready to integrate Adsnapshot into your workflows? These step-by-step tutorials will help you get started with the most popular platforms.
Start with Google Sheets - it's the easiest way to see Adsnapshot in action
Use Looker Studio to create professional reporting dashboards
Build custom integrations using our simple REST API
Display ad previews directly in your Google Sheets using the IMAGE function
=IMAGE("https://adsnapshot.com/get/YOUR_API_KEY/"&A2)
Press Enter and your ad preview will appear in the cell! 🎉
Once you have the formula in B2, simply:
The formula will automatically adjust to use the ad ID from each row!
💡 Remember: Each time someone views your sheet, it counts as a retrieval. Add refresh=true parameter only when you need a fresh generation.
Add ad previews to your Looker Studio dashboards using the Image URL field type
Transform your Looker Studio reports with visual ad previews. This guide assumes you already have a data source with ad IDs.
CONCAT("https://adsnapshot.com/get/YOUR_API_KEY/", Ad_ID)
Basic formula:
CONCAT("https://adsnapshot.com/get/YOUR_API_KEY/", Ad_ID)
With format specification:
CONCAT("https://adsnapshot.com/get/YOUR_API_KEY/", Ad_ID, "?format=INSTAGRAM_STORY")
With error handling:
IF(Ad_ID IS NOT NULL, CONCAT("https://adsnapshot.com/get/YOUR_API_KEY/", Ad_ID), "")
💡 Performance Note: Each dashboard view uses retrievals by default. Add refresh=true parameter only when you need fresh previews, as this counts against your generation quota.
See how teams are using Adsnapshot to streamline their ad workflow and reporting.
Create visual reports for clients showing actual ad previews alongside performance metrics.
Share ad previews with stakeholders for approval before launching campaigns.
Have a specific workflow in mind? Our team can help you design the perfect integration for your needs.
Generate and retrieve ad previews as PNG images
format
optional Preview format (default: MOBILE_FEED_STANDARD)
Choose the format that matches where your ad will be displayed
refresh
optional Force a new generation instead of retrieving cached preview
Counts as a generation. Use when you've updated the ad and need a fresh preview
wait
optional Wait time in milliseconds before capturing (default: 0)
Useful for ads with animations or loading states
Available ad preview formats for different placements