keitaro-api-skill/references/schemas/Campaign.yaml

77 lines
1.3 KiB
YAML

type: object
properties:
id:
type: integer
alias:
type: string
description: Leave empty to generate automatically.
type:
type: string
enum:
- position
- weight
default: position
description: Set 'weight' to enable split-testing the flows.
name:
type: string
cookies_ttl:
type: integer
default: 24
position:
type: integer
state:
type: string
default: active
enum:
- active
- disabled
- deleted
cost_type:
type: string
default: CPC
enum:
- CPM
- CPC
- CPUC
- RevShare
- CPA
- CPS
- CPUV
- CPV
cost_value:
type: number
default: 0
cost_currency:
type: string
description: Leave empty to use tracker currency
group_id:
type: integer
bind_visitors:
type: string
enum:
- s
- sl
- slo
description: >-
's' for flows. 'sl' for flows and landing pages. 'slo' for flows, landing
pages and offers.
traffic_source_id:
type: integer
token:
type: string
cost_auto:
type: boolean
default: false
parameters:
$ref: ../schemas/SourceParameters.yaml
postbacks:
type: array
items:
$ref: ../schemas/S2SPostback.yaml
notes:
type: string
created_at:
type: string
updated_at:
type: string