Logo vun Ad Syncs

Ad Syncs

Organisatioun
clay-run
ad-syncs

Clay ad syncs — push an audience segment to ad platforms (LinkedIn, Meta, Google, Bing, Reddit, Vibe) as a custom audience. Use to create, edit, pause, or map the fields of an ad sync, or to check its status, match rate, or run history.

Iwwersiicht

Editeurclay-run
Repositoryagent-plugins
Skill-Nummad-syncs
Stären
145
Forks
24
Matgeliwwert Fichieren
1
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum clay-run op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ad Syncs an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/clay-run/agent-plugins/tree/main/clay/skills/ad-syncs
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/clay-run/agent-plugins.git /tmp/agent-plugins
mkdir -p .claude/skills
cp -r /tmp/agent-plugins/clay/skills/ad-syncs .claude/skills/ad-syncs
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ad Syncs an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ad Syncs automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ad Syncs net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Ad syncs

An ad sync pushes an audience segment to ad accounts on ad platforms, called its destinations. Each platform matches the records and builds an audience to advertise to.

Supported commands

  • clay ad-syncs list [--limit <n>] [--cursor <cursor>]
  • clay ad-syncs get <adSyncId>
  • clay ad-syncs get-by-source --source-id <segmentId> --entity-type <people|companies>
  • clay audiences get <segmentId>
  • clay ad-syncs create --name <name> --source-id <segmentId> --entity-type <people|companies> --schedule-type <ONE_TIME|RECURRING>
  • clay ad-syncs update <adSyncId> [--name <name>] [--schedule <ONE_TIME|RECURRING>] [--tier <PREMIUM|STANDARD>]
  • clay app-accounts list --filter type=<provider>-ad-audience
  • clay ad-syncs ad-accounts list <appAccountId> --provider <provider>
  • clay ad-syncs destinations create <adSyncId> --provider <provider> --app-account-id <appAccountId> --ad-account-id <accountId> [--ad-user-data-consent <status> --ad-personalization-consent <status>]
  • clay ad-syncs destinations update <adSyncId> --destination-id <destinationId> [--app-account-id <appAccountId>] [--ad-account-id <accountId>] [--ad-user-data-consent <status>] [--ad-personalization-consent <status>]
  • clay ad-syncs destinations delete <adSyncId> --destination-id <destinationId>
  • clay ad-syncs field-mapping update <adSyncId> --input '<json>'
  • clay ad-syncs pause <adSyncId>
  • clay ad-syncs runs list <adSyncId> [--limit <n>]

Run clay ad-syncs <subcommand> --help before a subcommand's first use. It has the exact output shape, value sets, and error codes. <provider> is LinkedIn, Meta, Google, Bing, Reddit, or Vibe, written in lowercase inside type=<provider>-ad-audience (e.g. type=linkedin-ad-audience). An <accountId> is an accountId from ad-accounts list, and a <destinationId> is a providerSyncConfigs[].id from get.

Limits

  • You can always create an ad sync, and edit it while it is a draft or paused.
  • You cannot delete an ad sync: the user deletes it in the Clay app. A segment can have only one ad sync, so create one only for a segment the user confirmed.
  • Pause a running sync only when the user asks. Before running pause, tell them what pausing does (see Statuses) and ask them to confirm, even when they asked for it. Never start or resume one: the user does that in the Clay app, from the sync's url.

Schedules

  • ONE_TIME: it exports once, when the user starts it.
  • RECURRING: it syncs continuously to its destinations, so they stay up to date with the people or companies the user wants to target.

Statuses

Tell the user the label in parentheses, not the raw value.

  • DRAFT (Draft): not started yet.
  • PROCESSING (Processing): an export is running, including enrichment when the sync has a tier.
  • ACTIVE (Active): a recurring sync whose latest export reached every destination. It exports again on its schedule.
  • DONE (Exported): a one-time sync that reached every destination.
  • WARNING (Warning): some destinations failed. A one-time sync reached only some of them, or a later export of a recurring sync failed on at least one, and the sync stays live. runs list shows which destinations failed.
  • FAILED (Failed): a one-time sync that failed on every destination, or a recurring sync whose first export failed on any destination.
  • BULK_ENRICHMENT_FAILED (Enrichment failed): the enrichment step failed.
  • PAUSED (Paused): the user paused it. Clay stops enriching new records in the segment, so it stops spending credits, and stops pushing new records to the ad platforms. The audiences already on the platforms stay as they are until the user resumes the sync in the Clay app.

Create

Confirm each choice with the user before running the command that makes it.

  1. Draft. Read the segment's entityType with clay audiences get <segmentId>, then run clay ad-syncs get-by-source --source-id <segmentId> --entity-type <entityType>. If it returns a sync, use that one. If it returns not_found, ask whether the sync should run once or on a recurring schedule, and create it:

    bash
    clay ad-syncs create --name "<name>" --source-id <segmentId> --entity-type <entityType> --schedule-type <ONE_TIME|RECURRING>
  2. Accounts. For each platform, run clay app-accounts list --filter type=<provider>-ad-audience. If it returns one connection, pick it. If it returns more than one, list them by name and ask the user which to use. Don't check any connection's ad accounts before the user picks one, even if you expect only one to work.

    You MUST check the picked connection before using it, every time, including when it is the only one: run clay ad-syncs ad-accounts list <appAccountId> --provider <provider>. Never pass an --app-account-id to any command until that check has succeeded for it in this conversation. If the check errors, don't use the connection: tell the user it couldn't load its ad accounts and ask them to pick another one.

    An ad account is usable when canManageAudiences is true, restrictions is empty, and it has not already been added to this ad sync: compare its accountId with the providerSyncConfigs[].providerAdAccount.id values from clay ad-syncs get <adSyncId>. If there are none, the user sets them up in the Clay app from the sync's url. Continue once they're done.

  3. Destinations. Ask which ad accounts to advertise to, then add each one:

    bash
    clay ad-syncs destinations create <adSyncId> --provider <provider> --app-account-id <appAccountId> --ad-account-id <accountId>

    Company syncs go to LinkedIn only. For Google, ask the user for both consent values and add --ad-user-data-consent <status> --ad-personalization-consent <status>. Send UNSPECIFIED if they don't track consent.

  4. Enrichment tier (people syncs only). Best match rates is clay ad-syncs update <adSyncId> --tier PREMIUM, Good match rates is clay ad-syncs update <adSyncId> --tier STANDARD, and none means skipping this step. A tier costs credits and can't be changed once set. To see what each tier costs, the user opens the sync's url in the Clay app.

  5. Field mapping. Read field-mapping.md and follow it.

Then give the user the sync's url so they can review it and start it in the Clay app.

Edit

Check adSync.status with clay ad-syncs get <adSyncId> first. DRAFT and PAUSED syncs can be edited. A running sync (PROCESSING, ACTIVE, or WARNING) has to be paused first. Tell the user it has to be paused and what pausing does, and ask them to confirm before running clay ad-syncs pause <adSyncId>. DONE, FAILED, and BULK_ENRICHMENT_FAILED syncs can't be edited.

  • Rename: clay ad-syncs update <adSyncId> --name "<name>"
  • Change the schedule: clay ad-syncs update <adSyncId> --schedule <ONE_TIME|RECURRING>
  • Set a tier, only if it has none: clay ad-syncs update <adSyncId> --tier <PREMIUM|STANDARD>
  • Add a destination: follow steps 2 and 3 of Create.
  • Change the ad account for a destination: clay ad-syncs destinations update <adSyncId> --destination-id <destinationId> --ad-account-id <accountId>, adding --app-account-id <appAccountId> if that ad account is under another connection. The synced audience will then exist in a different ad account, so confirm the change with the user first. A Google destination needs both consent flags again when its ad account changes.
  • Switch the connection a destination syncs through, keeping its ad account: clay ad-syncs destinations update <adSyncId> --destination-id <destinationId> --app-account-id <appAccountId>
  • Remove a destination, on drafts only: clay ad-syncs destinations delete <adSyncId> --destination-id <destinationId>
  • Change the field mapping: follow field-mapping.md.

A paused sync stays paused. The edit takes effect once the user resumes it in the Clay app.

Read

  1. Find the sync with clay ad-syncs list, paging with --cursor <cursor>, or with clay ad-syncs get-by-source --source-id <segmentId> --entity-type <people|companies> when the user names the segment.
  2. Read its setup with clay ad-syncs get <adSyncId>.
  3. Read its results with clay ad-syncs runs list <adSyncId> --limit 100. The default returns only the 20 newest runs across all destinations, so a destination's latest run can be missing without the higher limit. If a destination has no run in the result, say so rather than guessing. Report each destination's latest run in plain words (status, match rate, and audience size), and link the sync's url.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Ad Syncs?

Clay ad syncs — push an audience segment to ad platforms (LinkedIn, Meta, Google, Bing, Reddit, Vibe) as a custom audience. Use to create, edit, pause, or map the fields of an ad sync, or to check its status, match rate, or run history.

Firwat Ad Syncs op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ad Syncs besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ad Syncs an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/clay-run/agent-plugins/tree/main/clay/skills/ad-syncs an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ad Syncs benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ad Syncs benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ad Syncs domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ad Syncs gratis?

De Skill gëtt vum clay-run op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇