Description Details Methods Note Examples
Campaigns class
Campaigns class
xxx
new()
ChmpCampaigns$new(conn, id)
conn
a connection object. see ChmpClient
id
a campgaign id. optional, but required for most methods
print()
ChmpCampaigns$print(x, ...)
all()
ChmpCampaigns$all( fields = NULL, exclude_fields = NULL, count = 10, offset = 0, type = NULL, status = NULL, before_send_time = NULL, since_send_time = NULL, before_create_time = NULL, since_create_time = NULL, list_id = NULL, folder_id = NULL, sort_field = NULL, sort_dir = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
info()
ChmpCampaigns$info( report = NULL, fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
content()
ChmpCampaigns$content( fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
feedback()
ChmpCampaigns$feedback( feedback_id = NULL, fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
send_checklist()
ChmpCampaigns$send_checklist( fields = NULL, exclude_fields = NULL, key = NULL, parse = TRUE, ... )
fields
(list/vector) A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
(list/vector) A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
clone()
The objects of this class are cloneable with this method.
ChmpCampaigns$clone(deep = FALSE)
deep
Whether to make a deep clone.
not all routes are implemented thus far
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
(conn <- ChmpClient$new())
(x <- ChmpCampaigns$new(conn))
x$all()
x$all(count = 2)
x$all(count = 2, offset = 2)
(x <- ChmpCampaigns$new(conn, id = "<id>"))
x$info()
x$info(parse = FALSE)
x$info(fields = "report_summary")
x$content()
x$feedback()
x$send_checklist()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.