TopRank Skills

Home / Claw Skills / Intégration d'API / facebook-ads
Official OpenClaw rules 36%

facebook-ads

Facebook Ads integration. Manage Campaigns, Audiences, Pixels. Use when the user wants to interact with Facebook Ads data.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 facebook-ads 技能。 若已安装,则直接安装 facebook-ads 技能。

Overview

Skill Key
gora050/facebook-ads
Author
gora050
Source Repo
openclaw/skills
Version
-
Source Path
skills/gora050/facebook-ads
Latest Commit SHA
b5495231d51a596dd8354383dac7c84a98044af7

Extracted Content

SKILL.md excerpt

# Facebook Ads

Facebook Ads is a platform for creating and managing advertising campaigns on Facebook and Instagram. It's used by businesses of all sizes to reach target audiences with specific demographics, interests, and behaviors. The platform allows for detailed ad customization, tracking, and reporting.

Official docs: https://developers.facebook.com/docs/marketing-apis

## Facebook Ads Overview

- **Campaign**
  - **Ad Set**
    - **Ad**
- **Ad Account**
- **Insights**

## Working with Facebook Ads

This skill uses the Membrane CLI to interact with Facebook Ads. Membrane handles authentication and credentials refresh automatically — so you can focus on the integration logic rather than auth plumbing.

### Install the CLI

Install the Membrane CLI so you can run `membrane` from the terminal:

```bash
npm install -g @membranehq/cli
```

### First-time setup

```bash
membrane login --tenant
```

A browser window opens for authentication.

**Headless environments:** Run the command, copy the printed URL for the user to open in a browser, then complete with `membrane login complete <code>`.

### Connecting to Facebook Ads

1. **Create a new connection:**
   ```bash
   membrane search facebook-ads --elementType=connector --json
   ```
   Take the connector ID from `output.items[0].element?.id`, then:
   ```bash
   membrane connect --connectorId=CONNECTOR_ID --json
   ```
   The user completes authentication in the browser. The output contains the new connection id.

### Getting list of existing connections
When you are not sure if connection already exists:
1. **Check existing connections:**
   ```bash
   membrane connection list --json
   ```
   If a Facebook Ads connection exists, note its `connectionId`


### Searching for actions

When you know what you want to do but not the exact action ID:

```bash
membrane action list --intent=QUERY --connectionId=CONNECTION_ID --json
```
This will return action objects with id and inputSchema in it, so you will know how to...

Related Claw Skills