← Back to Skills Marketplace
Meta Ads Api
by
Otman Heddouch
· GitHub ↗
· v1.0.0
· MIT-0
68
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install metaads
Description
Manage Meta ad campaigns by reading, creating, updating campaigns, ad sets, ads, creatives, and retrieving insights via the Marketing API.
Usage Guidance
Do not install or enable this skill until the publisher corrects the metadata and clarifies storage/secret handling. Specific actions to request or verify before use:
- Metadata fixes: require.env / primaryEnv should list the access token and ad_account_id (or explain how the token is provided). A trusted publisher should declare required credentials.
- Least privilege: only grant the minimal scopes needed (prefer ads_read for read-only use). Avoid long-lived or Business Manager system-user tokens unless absolutely necessary and you trust the publisher.
- Tokens and logs: insist logs and caches never contain raw tokens or PII; ask how caching is implemented and where data is stored (encrypted at rest, retention policy). If you must test, use a dedicated test ad account with limited budget and data.
- Autonomy controls: consider disabling autonomous invocation or restricting the skill to user-invoked operation until you confirm behavior, since the skill can perform write operations (create/update campaigns).
- Verification: ask for a homepage/source or publisher identity and request an explicit privacy/security statement. If the publisher can't provide clear answers (where tokens are stored, how logs are sanitized), treat the skill as unsafe.
If you proceed, provide only short-lived, narrowly-scoped credentials and monitor API calls and account activity closely.
Capability Analysis
Type: OpenClaw Skill
Name: metaads
Version: 1.0.0
The Meta Ads API skill bundle provides standard documentation and instructions for an AI agent to interact with the Facebook Marketing API (graph.facebook.com). It includes legitimate operations for reading and managing ad campaigns, sets, and creatives, and incorporates safety guidelines such as defaulting new campaigns to a 'PAUSED' status and protecting access tokens. No indicators of data exfiltration, malicious execution, or prompt injection were found in SKILL.md or _meta.json.
Capability Tags
Capability Assessment
Purpose & Capability
The human-readable description and SKILL.md both describe a Meta Marketing API integration (reading/creating campaigns, insights) which legitimately requires an access_token and ad_account_id. However, the registry metadata declares no required environment variables or primary credential. That discrepancy (instructions require credentials but metadata lists none) is an incoherence that should be resolved.
Instruction Scope
SKILL.md gives explicit runtime steps that include creating/updating campaigns, paging through results, caching campaign lists, logging all API responses, and recommending long-lived/system user tokens. 'Log all API responses' and 'cache campaign lists' imply writing or persisting potentially sensitive API responses or tokens. The instructions also say 'Never expose access tokens' but do not specify how logs/caches are sanitized, or where/how persistent storage is used. These gaps expand scope beyond a minimal API client and risk accidental credential exposure.
Install Mechanism
This is an instruction-only skill with no install spec or code files, so nothing is written to disk by an installer. That is the lowest-risk install mechanism. However, the runtime instructions still imply persistence (caching/logging), which is not described in the metadata.
Credentials
SKILL.md explicitly requires 'access_token' and 'ad_account_id' and lists permissions (ads_read, ads_management). The registry claims no required environment variables or primary credential. Requesting access tokens and recommending long-lived system user tokens are proportionate to the stated functionality, but the metadata omission is problematic and the recommendation of long-lived/system tokens increases blast radius if mishandled.
Persistence & Privilege
The skill is not flagged always:true and is user-invocable (defaults). Still, the instructions call for caching and logging of API responses without specifying storage location, retention, or sanitization. That implies persistence and potential exposure of sensitive data despite no declared config paths. The lack of clarity about where data will be stored or how it will be protected is a concern.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install metaads - After installation, invoke the skill by name or use
/metaads - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Meta Ads API Skill v1.0.0
- Initial release enabling agents to read, create, and manage Meta (Facebook/Instagram) ad campaigns via the Marketing API.
- Supports campaign, ad set, and ad retrieval and creation, including key campaign analytics (impressions, clicks, spend, CTR, CPC).
- Includes guidelines for authentication, permissions, pagination, error handling, and rate limits.
- Provides agent rules on safety, efficiency, and reliability, plus logic for automated campaign performance analysis.
- Comprehensive request and payload examples documented for all major API operations.
Metadata
Frequently Asked Questions
What is Meta Ads Api?
Manage Meta ad campaigns by reading, creating, updating campaigns, ad sets, ads, creatives, and retrieving insights via the Marketing API. It is an AI Agent Skill for Claude Code / OpenClaw, with 68 downloads so far.
How do I install Meta Ads Api?
Run "/install metaads" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Meta Ads Api free?
Yes, Meta Ads Api is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Meta Ads Api support?
Meta Ads Api is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Meta Ads Api?
It is built and maintained by Otman Heddouch (@otman-ai); the current version is v1.0.0.
More Skills