Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.36 KB

CampaignCopy.md

File metadata and controls

29 lines (22 loc) · 1.36 KB

TalonOne::CampaignCopy

Properties

Name Type Description Notes
name String Name of the copied campaign (Defaults to "Copy of original campaign name"). [optional]
application_ids Array<Integer> Application IDs of the applications to which a campaign should be copied to.
description String A detailed description of the campaign. [optional]
start_time DateTime Timestamp when the campaign will become active. [optional]
end_time DateTime Timestamp when the campaign will become inactive. [optional]
tags Array<String> A list of tags for the campaign. [optional]
evaluation_group_id Integer The ID of the campaign evaluation group the campaign belongs to. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::CampaignCopy.new(name: Copy of Summer promotions,
                                 application_ids: [1, 2, 3],
                                 description: Campaign for all summer 2021 promotions,
                                 start_time: 2021-06-01T09:00:27.993483Z,
                                 end_time: 2021-09-10T01:00:00.993483Z,
                                 tags: [Summer, Shoes],
                                 evaluation_group_id: 2)