The flow
1
The agent reads the playbook
It calls
get_ad_playbook for the ad account and follows its naming, voice, claims and setup. On the first run, it sets the playbook up with you. See Ad playbooks.2
The agent proposes
It calls a write tool, for example
create_ad. DATALYR checks the request, the platform runs its own check where it has one, and DATALYR draws the placement previews. Nothing is created.3
DATALYR adds it to the review page
A ready proposal becomes one item on the agent’s review page. The agent keeps going and proposes the rest.
4
The agent sends you the link
When everything is proposed, it sends
review_url once, with a one-line summary.5
You upload
An owner or admin opens the page, checks it, and selects Upload. DATALYR creates or changes exactly what the page shows. See The review page.
Proposal statuses
A ready proposal comes back like this:
create_campaign also returns campaign_ref, and create_ad_set returns ad_set_ref.
See Build from scratch.
What the summary shows
For new ads, the summary lists these lines. The review page shows the same facts.
Changes add their own lines: each object that turns on or pauses, each budget from and to,
and the new daily spend. See Turn ads on within spend limits.
Build from scratch (Meta)
On Meta the agent can propose a whole campaign before anything exists:One angle per call
See every placement (Meta)
The review page draws each Meta ad in every placement at once, grouped by Feeds, Stories & Reels, Video, Explore & search, Marketplace, Messenger, Threads and Apps. These are DATALYR’s own drawings. A ready Meta proposal also returnsall_placements_url, a page in the app with the same
drawings. That page can also show Meta’s own preview for each placement:
Both pages need a DATALYR sign-in as a member of the workspace. Google Ads has no rendered
preview, so the review page shows the headlines, descriptions and link.
Follow the upload
The agent reads the review page withget_review_session. Each item has a status.
get_ad_status with its
operation_id, rv-<item_id>. For ads it returns each ad’s review state: in_review,
approved, rejected with the platform’s reason, or paused.
Items that were replaced, removed, cancelled by Stop agent ads, or expired leave the list.
The agent tells you something is uploaded only when get_review_session says done.
Links and tracking
DATALYR adds UTM and click parameters to every ad link, the same ones a tracking link uses, so DATALYR attributes the ad. Agents don’t add their own. Passtracking.preset: "none" to send the link unchanged.
Your domains are your verified domains, the sites your tracking runs on, and any you add
under Settings → Ad publishing → My domains.
Find agent-made objects
Verify
- Ask the agent for a paused ad.
- Confirm its answer has
status: "added_to_review"and areview_url. - Open the
review_url. - Confirm the ad is on the page.
- Upload it.
- Ask the agent for the status.
- Confirm
get_review_sessionshows the item asdone, with anad_idandlink.
The Create ad tab
People can also make an ad themselves in Settings → Ad publishing → Create ad. That tab doesn’t use the review page: you preview the ad and create it in the same tab.Next
- The review page: Upload, cancel, owner-only items and expiry.
- Ad playbooks: what the agent follows on every ad account.
- Access levels and who uploads: what each connection can propose.
- Troubleshoot agent ads: refused proposals, blocked items and unknown outcomes.