CLI commands

Ad Account Funding commands

The 2 koast CLI commands for the Ad Account Funding operations.

Every command is one API operation, named by its operationId. Global flags such as --output and --api-url work on all of them, see CLI commands.

get-ad-account-funding

Get ad account funding details. GET /v1/ad-account-funding, API reference.

koast get-ad-account-funding

This command takes no flags besides the global ones.

Required scope: read.

Example:

koast get-ad-account-funding

set-ad-account-funding-target

Choose where deposits go. PUT /v1/ad-account-funding/target, API reference.

koast set-ad-account-funding-target --request-id <request-id> --ad-account-id <ad-account-id> [--json <file|->]
FlagTypeRequiredDescription
--request-idstringYesThe ad account request id, or its Koast reference (KST-…). At most 40 characters.
--ad-account-idstringYesThe ad account deposits go to, act_…: one of the targets of the funding details. At most 40 characters.

Required scope: write. --json <file|-> supplies the whole body. Body flags are applied over it.

Example:

koast set-ad-account-funding-target --request-id REQUEST_ID --ad-account-id AD_ACCOUNT_ID

On this page