Campaign Templates API
- Table of Contents
- Create a new template
Create a new template
URL
POST /ga/api/v2/mailing_lists/:mailing_list_id/templates
Request Parameters
The POST request should have a JSON document in its payload with at least keys that marked with bold in the following list:
name string |
The name of the template |
||||||||||||||||||||||||||||||||||||||||||||||
mailing_list_id integer |
The id of the mailing list the template belongs to |
||||||||||||||||||||||||||||||||||||||||||||||
mailing_list_name string |
The name of the mailing list the template belongs to |
||||||||||||||||||||||||||||||||||||||||||||||
segmentation_criteria_id integer |
The id of the segmentation criteria used by this template |
||||||||||||||||||||||||||||||||||||||||||||||
contents array of hashes
|
|||||||||||||||||||||||||||||||||||||||||||||||
dispatch_attributes array of hashes Inline object containing delivery settings of the Template;
|
Response
A successful response will return the template record using the format described above.