API Reference

Meta Ads / API Reference

meta_google_drive_watch_folder

Tool tool. Poll a Google Drive folder for files created or modified recently. Because Drive push-notification webhooks require a public HTTPS server, this tool uses polling instead: it lists all files in the folder whose modifiedTime is newer than (now − since_minutes) and returns them. Call this tool on a schedule (e.g. every minute) to detect new uploads. Args: folder_url: Full Drive folder URL or bare folder ID. since_minutes: How far back to look for changes, in minutes (default 60). Use 1 for near-real-time polling. mime_type_filter: Optional MIME type to filter results, e.g. "video/mp4". Leave blank for all file types. page_size: Max files to return (1–1000, default 100). Returns: JSON with: - checked_at: ISO timestamp when this check ran (UTC). - since: ISO timestamp lower-bound used for the query. - new_or_modified_count: How many files matched. - files: List of matching files with id, name, mimeType, size, createdTime, modifiedTime, webViewLink.

This is a read-only tool: it returns google drive watch folder for your Meta Ads account. It changes nothing.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Google drive watch folder in my Meta Ads account for [folder url].

It takes 1 required and 3 optional parameters.

Parameters

ParameterTypeRequiredDescription
folder_urlstringYesFolder Url
since_minutesintegerNoSince Minutes
mime_type_filterstringNoMime Type Filter
page_sizeintegerNoPage Size

Related Meta Ads tools

Before you can call it

This tool needs a connected Meta Ads account. The Meta Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.

Workflows that use this

Rather than calling tools one at a time, these skills run a whole procedure against the same account:

Start using MCP Ads