Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdAccount ¶
type AdAccount struct { AccountID string `json:"account_id"` ID string `json:"id"` Name string `json:"name"` Currency string `json:"currency"` }
AdAccount struct is a facebook ad account data
type Campaign ¶
type Campaign struct { ID string `json:"id"` Budget string `json:"budget"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` Targeting []*genetic.Chromosome `json:"targeting"` Media []Media `json:"media"` }
Campaign object represent a Trinacia campaign
type Cookie ¶
type Cookie struct { ID string `json:"id"` IP string `json:"ip"` DeviceID string `json:"device_id"` CreationTime string `json:"creation_time"` LastAccessTime string `json:"last_access"` UserID string `json:"user_id"` Persona string `json:"persona"` Company string `json:"company"` }
Cookie information of website user
type Facebook ¶
type Facebook struct { ID string `json:"id"` Pages []Page `json:"pages"` AdAccounts []AdAccount `json:"ad_accounts"` AccessToken string `json:"access_token"` }
Facebook information related to user
type Media ¶
type Media struct { Title string `json:"title,omitempty"` Body string `json:"body,omitempty"` VideoID string `json:"video_id,omitempty"` URL string `json:"url,omitempty"` ImageHash string `json:"image_hash,omitempty"` }
Media used in the campaign
type Page ¶
type Page struct { Category string `json:"category"` Name string `json:"name"` ID string `json:"id"` Instagram []Instagram `json:"instagram,omitempty"` AccessToken string `json:"access_token"` }
Page information about a facebook page
Click to show internal directories.
Click to hide internal directories.