Hanzo AI

Ad

The `hanzo ad` commands.

Also for this capability: API · CLI · SDKs

Your paid ad campaigns, launched and paused from one place.

API reference →

hanzo ad campaigns list

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo ad summaryRolls the caller org's ad campaigns up into four numbers: how many campaigns exist, how many are active, and the summed…

campaigns

CommandWhat it does
hanzo ad campaigns createRegisters a new ad campaign for the caller's org and answers 201 with the stored row.
hanzo ad campaigns get <id>Returns one of the caller org's campaigns.
hanzo ad campaigns launch <id>Run one of your stored campaigns on its ad network
hanzo ad campaigns listReturns the caller org's ad campaigns, most recently updated first, optionally narrowed to one lifecycle status.
hanzo ad campaigns rm <id>Removes one of the caller org's campaigns and answers 204 with no body.
hanzo ad campaigns set <id>Replaces the user-owned fields of one of the caller org's campaigns and answers the stored row.

How is this guide?

On this page