Skip to main content
Glama

save_ad_image_locally

Download and save a Meta ad image locally by specifying the ad ID and output directory. Retrieve the file path for easy access and storage of ad creatives.

Instructions

Get, download, and save a Meta ad image locally, returning the file path. Args: access_token: Meta API access token (optional - will use cached token if not provided) ad_id: Meta Ads ad ID output_dir: Directory to save the image file (default: 'ad_images') Returns: The file path to the saved image, or an error message string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
access_tokenNo
ad_idNo
output_dirNoad_images

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeboard-co/meta-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server