package ads

import (
	"database/sql"
)

type AdLinkedZone struct {
	Ad_id                   int
	Placement_id            int
	Clientid                int
	Status                  int
	Width                   int
	Ext_bannertype          string
	Height                  int
	Type                    string
	Weight                  int
	Adserver                string
	Block_ad                int
	Cap_ad                  int
	Session_cap_ad          int
	Compiledlimitation      string
	Acl_plugins             sql.NullString
	Alt_filename            string
	Priority                float64
	Priority_factor         int
	To_be_delivered         int
	Campaign_id             int
	Campaign_priority       int
	Campaign_weight         int
	Campaign_companion      int
	Block_campaign          int
	Cap_campaign            int
	Session_cap_campaign    int
	Show_capped_no_cookie   int
	Client_id               int
	Expire_time             string
	Revenue_type            int
	Ecpm_enabled            int
	Ecpm                    float64
	Tracker_status          string
	PriorityFinal           float64
	Advertiser_payment_type int
}

type AdDetails struct {
	Ad_id                 int
	Placement_id          int
	Status                int
	Name                  string
	Type                  string
	Contenttype           string
	Pluginversion         int
	Filename              string
	Imageurl              string
	Htmltemplate          string
	Htmlcache             string
	Width                 int
	Height                int
	Weight                int
	Seq                   int
	Target                string
	Url                   string
	Alt                   string
	Statustext            string
	Bannertext            string
	Adserver              string
	Block_ad              int
	Cap_ad                int
	Session_cap_ad        int
	Compiledlimitation    string
	Acl_plugins           sql.NullString
	Prepend               string
	Append                string
	Bannertype            int
	Alt_filename          string
	Alt_imageurl          string
	Alt_contenttype       string
	Parameters            string
	Transparent           int
	Ext_bannertype        string
	Iframe_friendly       int
	Campaign_id           int
	Block_campaign        int
	Cap_campaign          int
	Session_cap_campaign  int
	Show_capped_no_cookie int
	Client_id             int
	Clickwindow           int
	Viewwindow            int
	Advertiser_limitation int
	Agency_id             int
	Campaign_status       int
	Html                  string
	Imp_url               string
	Click_url             string
}

type VideoAd struct {
	Banner_vast_element_id                   int
	Banner_id                                int
	Vast_element_type                        string
	Vast_video_id                            sql.NullString
	Vast_type                                int
	Vast_video_duration                      sql.NullInt64
	Vast_video_delivery                      sql.NullString
	Get_third_internal_type                  sql.NullInt64
	Vast_video_type                          sql.NullString
	Vast_video_bitrate                       sql.NullString
	Vast_net_connection_url                  sql.NullString
	Vast_video_filename                      sql.NullString
	Vast_video_height                        sql.NullInt64
	Vast_video_width                         sql.NullInt64
	Vast_video_outgoing_filename             sql.NullString
	Vast_companion_banner_id                 int
	Vast_overlay_height                      sql.NullInt64
	Vast_overlay_width                       sql.NullInt64
	Vast_video_clickthrough_url              sql.NullString
	Vast_overlay_action                      sql.NullString
	Vast_overlay_format                      sql.NullString
	Vast_overlay_text_title                  sql.NullString
	Vast_overlay_text_description            sql.NullString
	Vast_overlay_text_call                   sql.NullString
	Vast_creative_type                       sql.NullString
	Vast_thirdparty_impression               string
	Vast_wrapper_url                         string
	Vast_version                             string
	Vast_overlay_wrapper                     sql.NullString
	Vast_overlay_version                     sql.NullString
	Vast_video_skip_duration                 sql.NullString
	Vast_video_skip_progress_duration        sql.NullString
	Vast_thirdparty_clicktracking            sql.NullString
	Vast_thirdparty_clickcustom              sql.NullString
	Vast_overlay_expanded_width              sql.NullInt64
	Vast_overlay_expanded_height             sql.NullInt64
	Vast_thirdparty_companion_expandedwidth  int
	Vast_thirdparty_companion_expandedheight int
	Vast_thirdparty_companion_clicktracking  string
	Vast_overlay_expandedminduration         sql.NullString
	Vast_wrapper_followadditional            int
	Vast_wrapper_allowmultipleads            int
	Vast_wrapper_fallbacknoads               int
	Vast_thirdparty_companion_assetwidth     sql.NullInt64
	Vast_thirdparty_companion_assetheight    sql.NullInt64
	Vast_thirdparty_companion_pxratio        sql.NullString
	Vast_thirdparty_companion_alttext        sql.NullString
	Vast4_min_bitrate                        sql.NullInt64
	Vast4_max_bitrate                        sql.NullInt64
	Vast4_verificationurl2                   sql.NullString
	Vast4_verificationurl1                   sql.NullString
	Vast4_adverificationtype2                string
	Vast4_adverificationtype1                string
	Is_conditionalad                         int
	Vast_icon_filename                       sql.NullString
	Vast_icon_width                          int
	Vast_icon_height                         int
	Vast_icon_xposition                      sql.NullInt64
	Vast_icon_yposition                      sql.NullInt64
	Vast_icon_duration                       sql.NullString
	Vast_icon_offset                         sql.NullString
	Icon_click_url                           sql.NullString
	Icon_track_url                           sql.NullString
	Iabcategory                              sql.NullString
	Vast_video_outgoing_filename1            sql.NullString
	Vast_video_type_1                        sql.NullString
	Vast_video_bitrate_1                     sql.NullString
	Vast_video_outgoing_filename2            sql.NullString
	Vast_video_type_2                        sql.NullString
	Vast_video_bitrate_2                     sql.NullString
	Ad_type                                  sql.NullInt64
	Audio_type                               int
	Interactive_mediafile                    sql.NullString
	Is_mezzininefile                         sql.NullInt64
	Mezzanine_en                             sql.NullInt64
	Internal_file                            sql.NullString
	Url_file                                 sql.NullString
	Vast_4_1_url                             sql.NullString
	Vast_4_1_type_file                       sql.NullString
	Vast_4_1_language                        sql.NullString
	Vast_4_1_url_1                           sql.NullString
	Vast_4_1_type_file_1                     sql.NullString
	Vast_4_1_language_1                      sql.NullString
	Vast_4_1_url_2                           sql.NullString
	Vast_4_1_type_file_2                     sql.NullString
	Vast_4_1_language_2                      sql.NullString
	Blocked_category                         sql.NullString
	Vid_upload_type                          sql.NullString
}
