Hanzo
CLIAd

Ad

7 `hanzo` commands for Ad, each calling one operation on api.hanzo.ai.

Package ads is your paid ad campaigns, launched and paused from one place.

7 commands · API reference →

CommandCallsWhat it does
hanzo ads campaigns launch <id>POST /v1/ad/campaigns/{id}/launchRun one of your stored campaigns on its ad network
hanzo ads campaigns get <id>GET /v1/ad/campaigns/{id}Returns one of the caller org's campaigns.
hanzo ads campaigns set <id>PUT /v1/ad/campaigns/{id}Replaces the user-owned fields of one of the caller org's campaigns and answers the stored row.
hanzo ads campaigns rm <id>DELETE /v1/ad/campaigns/{id}Removes one of the caller org's campaigns and answers 204 with no body.
hanzo ads campaigns listGET /v1/ad/campaignsReturns the caller org's ad campaigns, most recently updated first, optionally narrowed to one lifecycle status.
hanzo ads campaigns createPOST /v1/ad/campaignsRegisters a new ad campaign for the caller's org and answers 201 with the stored row.
hanzo ads summaryGET /v1/ad/summaryRolls the caller org's ad campaigns up into four numbers: how many campaigns exist, how many are active, and the summed…

How is this guide?