Sha256: 3902ee4f4938f54d60289ab5ca9ef6fe53be6d1098de4a029743423cfd73aaee

Contents?: true

Size: 647 Bytes

Versions: 10

Compression:

Stored size: 647 Bytes

Contents

# Campaigns

## Create campaign where you will use your custom HTML template

```ruby
client.create_campaign
```

## Upload your HTML template to created campaign

```ruby
client.update_campaign_content(id, options)
```

## Send, schedule or cancel campaign

```ruby
client.campaign_action(id, action)
```

## Returns all campaigns you have in your account by :status which is required. Also basic summary for each campaign including the ID

```ruby
client.campaign_by_status(status)
```

with options

```ruby
client.campaign_by_status(:sent, order: :desc, limit: 5, offset: 10)
```


## Remove a campaign

```ruby
client.delete_campaign(id)
```

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mailerlite-1.16.0 examples/campaigns.md
mailerlite-1.15.0 examples/campaigns.md
mailerlite-1.14.0 examples/campaigns.md
mailerlite-1.13.1 examples/campaigns.md
mailerlite-1.13.0 examples/campaigns.md
mailerlite-1.12.0 examples/campaigns.md
mailerlite-1.11.0 examples/campaigns.md
mailerlite-1.10.0 examples/campaigns.md
mailerlite-1.9.0 examples/campaigns.md
mailerlite-1.8.0 examples/campaigns.md