Skip to main content
An ad playbook says how one ad account’s ads are made. The agent drafts it on its first run on the account, and you confirm it. Every later run reads it first and follows it. DATALYR saves one playbook per ad account in each workspace. Your teammates and every agent app use the same one.

What a playbook holds

The first run

When get_ad_playbook returns playbook: null, or gaps lists missing sections, the agent sets the playbook up.
1

The agent reads the account

It reads campaign and ad set names, the account’s own ads, which ads perform, and the enhancement defaults. See the table below.
2

The agent drafts the playbook

It drafts every section from what it read, not from guesses.
3

You correct it

The agent shows the draft in one message. It asks one short question for each thing it isn’t sure of.
4

You pick the enhancements

The agent asks which AI enhancements to keep on, and saves them in the ad publishing settings.
5

The agent saves it

It calls save_ad_playbook with confirmed: true.
list_ad_examples only reads. It changes nothing in the ad account. On TikTok and Google Ads, the agent asks you for two or three of your best ads instead.

Later runs

A save is a patch. Top-level fields replace the old value. Naming, structure and voice merge field by field. null removes a field.

Who can change it

Each save adds 1 to the version and goes in the audit log, from an agent or from Settings. A save from Settings counts as confirmed.

Edit it in Settings

Open Settings → Ad publishing → Ad playbooks. Each connected ad account has one row.
1

Open the row

Select the ad account.
2

Change the fields

Put one entry per line. Write each landing page as Label | https://…. An empty field removes it.
3

Select Save

The version goes up by 1.
Clear removes the playbook after you confirm. The next agent run on the account sets it up again.

Verify

  1. Ask the agent for a paused ad on an ad account with no playbook.
  2. Confirm the agent shows a draft playbook and asks about enhancements.
  3. Confirm the draft.
  4. Open Settings → Ad publishing → Ad playbooks.
  5. Confirm the row shows Set up, v1 and today’s date.
  6. Start a new conversation and ask for another ad.
  7. Confirm the agent follows the playbook and doesn’t ask the setup questions again.

Next