Docs / Cli

smallforce ads advertisements update

Update an ad’s name, status, or image creative

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.7. Run smallforce ads advertisements update --help locally to view the same reference for your installed version.

Complete command help

Usage: smallforce ads advertisements update [options] <adId>

Update an ad's name, status, or image creative

Arguments:
  adId                     Provider advertisement id from campaigns tree

Options:
  --account <adAccountId>  Local id from ads accounts list
  --campaign <campaignId>  Provider campaign id
  --ad-set <adSetId>       Provider ad-set id
  --input <json>           Inline JSON request object
  --input-file <path>      JSON request file; use - to read from stdin
  --api-key <key>          SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>      SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json                   Print stable machine-readable JSON
  --text                   Print human-readable text
  --format <format>        Output format: text or json
  -h, --help               display help for command