Documentation
¶
Index ¶
- type Ad
- type AdGroup
- type Campaign
- type CreateAdGroupReq
- type CreateAdGroupReqItems0
- type CreateAdGroupResp
- type CreateAdGroupRespDataItems0
- type CreateAdReq
- type CreateAdReqData
- type CreateAdResp
- type CreateAdRespData
- type CreateCampaignReq
- type CreateCampaignResp
- type CreateCampaignRespData
- type CreateFolderReq
- type CreateFolderResp
- type CreateFolderRespData
- type CreateTechAdGroupReq
- type CreateTechAdGroupReqData
- type CreateTechAdGroupResp
- type CreateTechAdGroupRespData
- type ErrorMess
- type ExportAdgroup
- type Folder
- type GetAdGroupResp
- type GetAdGroupRespDataItems0
- type GetAdResp
- type GetAdRespDataItems0
- type GetCampaignResp
- type GetCampaignRespDataItems0
- type GetFileResp
- type GetFoldersResp
- type GetFoldersRespDataItems0
- type GetSettingsObjectResp
- type GetSettingsObjectRespItems0
- type GetSettingsResp
- type ListMatchingFoldersResp
- type ListMatchingFoldersRespItems0
- type ListVideosResp
- type ListVideosRespItems0
- type MatchFoldersReq
- type MatchFoldersResp
- type MatchFoldersRespData
- type MathingFolders
- type Rules
- type ShowAdGroupResp
- type ShowAdGroupRespData
- type ShowCampaignResp
- type ShowCampaignRespData
- type ShowFolderResp
- type ShowFolderRespData
- type TechAdGroup
- type Video
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ad ¶
type Ad struct { ID *int64 `sql:"id"` AdGroupID int64 `sql:"adgroup_id"` AdName string `sql:"ad_name"` VideoID string `sql:"video_id"` DisplayURL string `sql:"display_url"` CampaignStatus string `sql:"campaign_status"` AdGroupStatus string `sql:"ad_group_status"` Status string `sql:"status"` ApprovalStatus string `sql:"approval_status"` Comment string `sql:"comment"` FinalURL string `sql:"final_url"` FinalMobileURL string `sql:"final_mobile_url"` BumperAd string `sql:"bumper_ad"` Networks string `sql:"-"` // contains filtered or unexported fields }
type AdGroup ¶
type AdGroup struct { Ad []Ad `sql:"-" csv:"-"` ID int64 `sql:"id" csv:"-"` FolderID int64 `sql:"folder_id" csv:"FolderID"` TechAdgroupId int64 `sql:"tech_adgroup_id" csv:"TechAdGroupID"` AdGroupID []string `sql:"adgroup_id,array" csv:"AdGroupID"` Keyword []string `sql:"keyword,array" csv:"Keyword"` Gender []string `sql:"gender,array" csv:"Gender"` Age []string `sql:"age,array" csv:"Age"` ChannelID []string `sql:"channel_id,array" csv:"ChannelID"` Languages []string `sql:"languages,array" csv:"Language"` Audience []string `sql:"audience,array" csv:"Audience"` CustomAudience []string `sql:"custom_audience,array" csv:"CustomAudience"` Devices []string `sql:"devices,array" csv:"Devices"` Placement []string `sql:"placement,array" csv:"Placement"` Location []string `sql:"location,array" csv:"Location"` Topics []string `sql:"topics,array" csv:"Topics"` Interest []string `sql:"interest,array" csv:"Interest"` AdSchedule []string `sql:"ad_schedule,array" csv:"Placement"` // contains filtered or unexported fields }
type Campaign ¶
type Campaign struct { Tad TechAdGroup `sql:"-"` ID int `sql:"id"` FolderID int `sql:"folder_id"` Account string `sql:"account"` Campaign string `sql:"campaign"` Budget float64 `sql:"budget"` BudgetType string `sql:"budget_type"` CampaignType string `sql:"campaign_type"` Networks string `sql:"networks"` Languages string `sql:"languages"` BidStrategyType string `sql:"bid_strategy_type"` BidStrategyName string `sql:"bid_strategy_name"` StartDate string `sql:"start_date"` EndDate string `sql:"end_date"` AdSchedule string `sql:"ad_schedule"` AdRotation string `sql:"ad_rotation"` InventoryType string `sql:"inventory_type"` DeliveryMethod string `sql:"delivery_method"` TargetingMethod string `sql:"targeting_method"` ExclusionMethod string `sql:"exclusion_method"` DSAWebsite string `sql:"dsa_website"` DSALanguage string `sql:"dsa_language"` DSATargetingSource string `sql:"dsa_targeting_source"` DSAPageFeeds string `sql:"dsa_page_feeds"` FlexibleReach string `sql:"flexible_reach"` Location string `sql:"location"` // contains filtered or unexported fields }
type CreateAdGroupReq ¶
type CreateAdGroupReq []*CreateAdGroupReqItems0
CreateAdGroupReq create ad group req
swagger:model CreateAdGroupReq
type CreateAdGroupReqItems0 ¶
type CreateAdGroupReqItems0 struct { // ad group ID AdGroupID []string `json:"adGroupID"` // ad schedule AdSchedule []string `json:"adSchedule"` // age Age []string `json:"age"` // audience Audience []string `json:"audience"` // campaign ID CampaignID int64 `json:"campaignID,omitempty"` // channel ID ChannelID []string `json:"channelID"` // custom audience CustomAudience []string `json:"customAudience"` // devices Devices []string `json:"devices"` // folder ID FolderID int64 `json:"folderID,omitempty"` // frequency Frequency []string `json:"frequency"` // gender Gender []string `json:"gender"` // id ID int64 `json:"id,omitempty"` // interest Interest []string `json:"interest"` // keyword Keyword []string `json:"keyword"` // languages Languages []string `json:"languages"` // location Location []string `json:"location"` // placement Placement []string `json:"placement"` // tech ad group ID TechAdGroupID int64 `json:"techAdGroupID,omitempty"` // topics Topics []string `json:"topics"` }
CreateAdGroupReqItems0 create ad group req items0
swagger:model CreateAdGroupReqItems0
func (*CreateAdGroupReqItems0) MarshalBinary ¶
func (m *CreateAdGroupReqItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAdGroupReqItems0) UnmarshalBinary ¶
func (m *CreateAdGroupReqItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAdGroupResp ¶
type CreateAdGroupResp struct { // data Data []*CreateAdGroupRespDataItems0 `json:"data"` }
CreateAdGroupResp create ad group resp
swagger:model CreateAdGroupResp
func (*CreateAdGroupResp) MarshalBinary ¶
func (m *CreateAdGroupResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAdGroupResp) UnmarshalBinary ¶
func (m *CreateAdGroupResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAdGroupRespDataItems0 ¶
type CreateAdGroupRespDataItems0 struct { // ad group ID AdGroupID []string `json:"adGroupID"` // ad schedule AdSchedule []string `json:"adSchedule"` // age Age []string `json:"age"` // audience Audience []string `json:"audience"` // campaign ID CampaignID int64 `json:"campaignID,omitempty"` // channel ID ChannelID []string `json:"channelID"` // custom audience CustomAudience []string `json:"customAudience"` // devices Devices []string `json:"devices"` // folder ID FolderID int64 `json:"folderID,omitempty"` // frequency Frequency []string `json:"frequency"` // gender Gender []string `json:"gender"` // id ID int64 `json:"id,omitempty"` // interest Interest []string `json:"interest"` // keyword Keyword []string `json:"keyword"` // languages Languages []string `json:"languages"` // location Location []string `json:"location"` // placement Placement []string `json:"placement"` // tech ad group ID TechAdGroupID int64 `json:"techAdGroupID,omitempty"` // topics Topics []string `json:"topics"` }
CreateAdGroupRespDataItems0 create ad group resp data items0
swagger:model CreateAdGroupRespDataItems0
func (*CreateAdGroupRespDataItems0) MarshalBinary ¶
func (m *CreateAdGroupRespDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAdGroupRespDataItems0) UnmarshalBinary ¶
func (m *CreateAdGroupRespDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAdReq ¶
type CreateAdReq struct { // data Data *CreateAdReqData `json:"data,omitempty"` }
CreateAdReq create ad req
swagger:model CreateAdReq
func (*CreateAdReq) MarshalBinary ¶
func (m *CreateAdReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAdReq) UnmarshalBinary ¶
func (m *CreateAdReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAdReqData ¶
type CreateAdReqData struct { // ad group Id AdGroupID int64 `json:"adGroupId,omitempty"` // ad group status AdGroupStatus string `json:"adGroupStatus,omitempty"` // ad name AdName string `json:"adName,omitempty"` // approval status ApprovalStatus string `json:"approvalStatus,omitempty"` // bumper ad BumperAd string `json:"bumperAd,omitempty"` // campaign status CampaignStatus string `json:"campaignStatus,omitempty"` // comment Comment string `json:"comment,omitempty"` // display URL DisplayURL string `json:"displayURL,omitempty"` // final mobile Url FinalMobileURL string `json:"finalMobileUrl,omitempty"` // final Url FinalURL string `json:"finalUrl,omitempty"` // status Status string `json:"status,omitempty"` // video ID VideoID string `json:"videoID,omitempty"` }
CreateAdReqData create ad req data
swagger:model CreateAdReqData
func (*CreateAdReqData) MarshalBinary ¶
func (m *CreateAdReqData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAdReqData) UnmarshalBinary ¶
func (m *CreateAdReqData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAdResp ¶
type CreateAdResp struct { // data Data *CreateAdRespData `json:"data,omitempty"` }
CreateAdResp create ad resp
swagger:model CreateAdResp
func (*CreateAdResp) MarshalBinary ¶
func (m *CreateAdResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAdResp) UnmarshalBinary ¶
func (m *CreateAdResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAdRespData ¶
type CreateAdRespData struct { // ad group Id AdGroupID int64 `json:"adGroupId,omitempty"` // ad group status AdGroupStatus string `json:"adGroupStatus,omitempty"` // ad name AdName string `json:"adName,omitempty"` // approval status ApprovalStatus string `json:"approvalStatus,omitempty"` // bumper ad BumperAd string `json:"bumperAd,omitempty"` // campaign status CampaignStatus string `json:"campaignStatus,omitempty"` // comment Comment string `json:"comment,omitempty"` // display URL DisplayURL string `json:"displayURL,omitempty"` // final mobile Url FinalMobileURL string `json:"finalMobileUrl,omitempty"` // final Url FinalURL string `json:"finalUrl,omitempty"` // id ID int64 `json:"id,omitempty"` // status Status string `json:"status,omitempty"` // video ID VideoID string `json:"videoID,omitempty"` }
CreateAdRespData create ad resp data
swagger:model CreateAdRespData
func (*CreateAdRespData) MarshalBinary ¶
func (m *CreateAdRespData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAdRespData) UnmarshalBinary ¶
func (m *CreateAdRespData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCampaignReq ¶
type CreateCampaignReq struct { // account Account string `json:"account,omitempty"` // ad rotation AdRotation string `json:"adRotation,omitempty"` // ad schedule AdSchedule string `json:"adSchedule,omitempty"` // bid strategy name BidStrategyName string `json:"bidStrategyName,omitempty"` // bid strategy type BidStrategyType string `json:"bidStrategyType,omitempty"` // budget Budget float64 `json:"budget,omitempty"` // budget type BudgetType string `json:"budgetType,omitempty"` // campaign Campaign string `json:"campaign,omitempty"` // campaign type CampaignType string `json:"campaignType,omitempty"` // delivery method DeliveryMethod string `json:"deliveryMethod,omitempty"` // dsa language DsaLanguage string `json:"dsaLanguage,omitempty"` // dsa page feeds DsaPageFeeds string `json:"dsaPageFeeds,omitempty"` // dsa targeting source DsaTargetingSource string `json:"dsaTargetingSource,omitempty"` // dsa website DsaWebsite string `json:"dsaWebsite,omitempty"` // end date EndDate string `json:"endDate,omitempty"` // exclusion method ExclusionMethod string `json:"exclusionMethod,omitempty"` // flexible reach FlexibleReach string `json:"flexibleReach,omitempty"` // folder ID FolderID int64 `json:"folderID,omitempty"` // inventory type InventoryType string `json:"inventoryType,omitempty"` // languages Languages string `json:"languages,omitempty"` // location Location string `json:"location,omitempty"` // max c p c MaxCPC float64 `json:"maxCPC,omitempty"` // max c p m MaxCPM float64 `json:"maxCPM,omitempty"` // max c p v MaxCPV float64 `json:"maxCPV,omitempty"` // networks Networks string `json:"networks,omitempty"` // start date StartDate string `json:"startDate,omitempty"` // target c p a TargetCPA string `json:"targetCPA,omitempty"` // target c p m TargetCPM float64 `json:"targetCPM,omitempty"` // targeting method TargetingMethod string `json:"targetingMethod,omitempty"` }
CreateCampaignReq create campaign req
swagger:model CreateCampaignReq
func (*CreateCampaignReq) MarshalBinary ¶
func (m *CreateCampaignReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCampaignReq) UnmarshalBinary ¶
func (m *CreateCampaignReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCampaignResp ¶
type CreateCampaignResp struct { // data Data *CreateCampaignRespData `json:"data,omitempty"` }
CreateCampaignResp create campaign resp
swagger:model CreateCampaignResp
func (*CreateCampaignResp) MarshalBinary ¶
func (m *CreateCampaignResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCampaignResp) UnmarshalBinary ¶
func (m *CreateCampaignResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCampaignRespData ¶
type CreateCampaignRespData struct { // campaign ID CampaignID int64 `json:"campaignID,omitempty"` // tech ad group ID TechAdGroupID int64 `json:"techAdGroupID,omitempty"` }
CreateCampaignRespData create campaign resp data
swagger:model CreateCampaignRespData
func (*CreateCampaignRespData) MarshalBinary ¶
func (m *CreateCampaignRespData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCampaignRespData) UnmarshalBinary ¶
func (m *CreateCampaignRespData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFolderReq ¶
type CreateFolderReq struct { // b l s split BLSSplit bool `json:"BLSSplit,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // name // Max Length: 255 // Min Length: 1 Name string `json:"name,omitempty"` // rules mask // Max Length: 15 // Min Length: 12 RulesMask string `json:"rulesMask,omitempty"` // type Type string `json:"type,omitempty"` }
CreateFolderReq create folder req
swagger:model CreateFolderReq
func (*CreateFolderReq) MarshalBinary ¶
func (m *CreateFolderReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFolderReq) UnmarshalBinary ¶
func (m *CreateFolderReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFolderResp ¶
type CreateFolderResp struct { // data Data *CreateFolderRespData `json:"data,omitempty"` }
CreateFolderResp create folder resp
swagger:model CreateFolderResp
func (*CreateFolderResp) MarshalBinary ¶
func (m *CreateFolderResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFolderResp) UnmarshalBinary ¶
func (m *CreateFolderResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFolderRespData ¶
type CreateFolderRespData struct { // b l s split BLSSplit bool `json:"BLSSplit,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // rules mask RulesMask string `json:"rulesMask,omitempty"` // type Type string `json:"type,omitempty"` }
CreateFolderRespData create folder resp data
swagger:model CreateFolderRespData
func (*CreateFolderRespData) MarshalBinary ¶
func (m *CreateFolderRespData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFolderRespData) UnmarshalBinary ¶
func (m *CreateFolderRespData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTechAdGroupReq ¶
type CreateTechAdGroupReq struct { // data Data *CreateTechAdGroupReqData `json:"data,omitempty"` }
CreateTechAdGroupReq create tech ad group req
swagger:model CreateTechAdGroupReq
func (*CreateTechAdGroupReq) MarshalBinary ¶
func (m *CreateTechAdGroupReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTechAdGroupReq) UnmarshalBinary ¶
func (m *CreateTechAdGroupReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTechAdGroupReqData ¶
type CreateTechAdGroupReqData struct { // ad group AdGroup string `json:"adGroup,omitempty"` // ad group type AdGroupType string `json:"adGroupType,omitempty"` // bid modifier BidModifier string `json:"bidModifier,omitempty"` // campaign ID CampaignID int64 `json:"campaignID,omitempty"` // content keywords ContentKeywords string `json:"contentKeywords,omitempty"` // criterion type CriterionType string `json:"criterionType,omitempty"` // custom bid type CustomBidType string `json:"customBidType,omitempty"` // custom parameters CustomParameters string `json:"customParameters,omitempty"` // desktop bid modifier DesktopBidModifier string `json:"desktopBidModifier,omitempty"` // destination URL DestinationURL string `json:"destinationURL,omitempty"` // display network DisplayNetwork string `json:"displayNetwork,omitempty"` // feed Feed string `json:"feed,omitempty"` // final URL suffix FinalURLSuffix string `json:"finalURLSuffix,omitempty"` // first page bid FirstPageBid string `json:"firstPageBid,omitempty"` // mobile bid modifier MobileBidModifier string `json:"mobileBidModifier,omitempty"` // radius Radius string `json:"radius,omitempty"` // reach Reach string `json:"reach,omitempty"` // t v screen bid modifier TVScreenBidModifier string `json:"tVScreenBidModifier,omitempty"` // tablet bid modifier TabletBidModifier string `json:"tabletBidModifier,omitempty"` // target r o a s TargetROAS string `json:"targetROAS,omitempty"` // targeting optimization TargetingOptimization string `json:"targetingOptimization,omitempty"` // top content bid modifier TopContentBidModifier string `json:"topContentBidModifier,omitempty"` // top of page bid TopOfPageBid string `json:"topOfPageBid,omitempty"` // tracking template TrackingTemplate string `json:"trackingTemplate,omitempty"` // unit Unit string `json:"unit,omitempty"` }
CreateTechAdGroupReqData create tech ad group req data
swagger:model CreateTechAdGroupReqData
func (*CreateTechAdGroupReqData) MarshalBinary ¶
func (m *CreateTechAdGroupReqData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTechAdGroupReqData) UnmarshalBinary ¶
func (m *CreateTechAdGroupReqData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTechAdGroupResp ¶
type CreateTechAdGroupResp struct { // data Data *CreateTechAdGroupRespData `json:"data,omitempty"` }
CreateTechAdGroupResp create tech ad group resp
swagger:model CreateTechAdGroupResp
func (*CreateTechAdGroupResp) MarshalBinary ¶
func (m *CreateTechAdGroupResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTechAdGroupResp) UnmarshalBinary ¶
func (m *CreateTechAdGroupResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTechAdGroupRespData ¶
type CreateTechAdGroupRespData struct { // ad group AdGroup string `json:"adGroup,omitempty"` // ad group type AdGroupType string `json:"adGroupType,omitempty"` // bid modifier BidModifier string `json:"bidModifier,omitempty"` // campaign ID CampaignID int64 `json:"campaignID,omitempty"` // content keywords ContentKeywords string `json:"contentKeywords,omitempty"` // criterion type CriterionType string `json:"criterionType,omitempty"` // custom bid type CustomBidType string `json:"customBidType,omitempty"` // custom parameters CustomParameters string `json:"customParameters,omitempty"` // desktop bid modifier DesktopBidModifier string `json:"desktopBidModifier,omitempty"` // destination URL DestinationURL string `json:"destinationURL,omitempty"` // display network DisplayNetwork string `json:"displayNetwork,omitempty"` // feed Feed string `json:"feed,omitempty"` // final URL suffix FinalURLSuffix string `json:"finalURLSuffix,omitempty"` // first page bid FirstPageBid string `json:"firstPageBid,omitempty"` // id ID int64 `json:"id,omitempty"` // max c p c MaxCPC float64 `json:"maxCPC,omitempty"` // max c p m MaxCPM float64 `json:"maxCPM,omitempty"` // max c p v MaxCPV float64 `json:"maxCPV,omitempty"` // mobile bid modifier MobileBidModifier string `json:"mobileBidModifier,omitempty"` // radius Radius string `json:"radius,omitempty"` // reach Reach string `json:"reach,omitempty"` // t v screen bid modifier TVScreenBidModifier string `json:"tVScreenBidModifier,omitempty"` // tablet bid modifier TabletBidModifier string `json:"tabletBidModifier,omitempty"` // target c p a TargetCPA string `json:"targetCPA,omitempty"` // target c p m TargetCPM float64 `json:"targetCPM,omitempty"` // target r o a s TargetROAS string `json:"targetROAS,omitempty"` // targeting optimization TargetingOptimization string `json:"targetingOptimization,omitempty"` // top content bid modifier TopContentBidModifier string `json:"topContentBidModifier,omitempty"` // top of page bid TopOfPageBid string `json:"topOfPageBid,omitempty"` // tracking template TrackingTemplate string `json:"trackingTemplate,omitempty"` // unit Unit string `json:"unit,omitempty"` }
CreateTechAdGroupRespData create tech ad group resp data
swagger:model CreateTechAdGroupRespData
func (*CreateTechAdGroupRespData) MarshalBinary ¶
func (m *CreateTechAdGroupRespData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTechAdGroupRespData) UnmarshalBinary ¶
func (m *CreateTechAdGroupRespData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExportAdgroup ¶
type ExportAdgroup struct { ID int64 `sql:"id" csv:"ID"` FolderID int64 `sql:"folder_id" csv:"FolderID"` TechAdgroupId int64 `sql:"tech_adgroup_id" csv:"TechAdGroupID"` AdGroupID string `sql:"adgroup_id,array" csv:"AdGroupID"` Keyword string `sql:"keyword,array" csv:"Keyword"` Gender string `sql:"gender,array" csv:"Gender"` Age string `sql:"age,array" csv:"Age"` ChannelID string `sql:"channel_id,array" csv:"ChannelID"` Languages string `sql:"languages,array" csv:"Language"` Audience string `sql:"audience,array" csv:"Audience"` CustomAudience string `sql:"custom_audience,array" csv:"CustomAudience"` Devices string `sql:"devices,array" csv:"Devices"` Placement string `sql:"placement,array" csv:"Placement"` Location string `sql:"location,array" csv:"Location"` Topics string `sql:"topics,array" csv:"Topics"` Interest string `sql:"interest,array" csv:"Interest"` AdSchedule string `sql:"ad_schedule,array" csv:"AdSchedule"` }
type Folder ¶
type Folder struct { ID int `sql:"id"` Name string `sql:"name,notnull"` Type string `sql:"folder_type,notnull"` RulesMask string `sql:"rules_mask"` Frequency string `sql:"frequency"` BLSSplit bool `sql:"bls_split"` DeletedAt time.Time `pg:",soft_delete"` CreatedAt time.Time `sql:"created_at"` // contains filtered or unexported fields }
type GetAdGroupResp ¶
type GetAdGroupResp struct { // data Data []*GetAdGroupRespDataItems0 `json:"data"` }
GetAdGroupResp get ad group resp
swagger:model GetAdGroupResp
func (*GetAdGroupResp) MarshalBinary ¶
func (m *GetAdGroupResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAdGroupResp) UnmarshalBinary ¶
func (m *GetAdGroupResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAdGroupRespDataItems0 ¶
type GetAdGroupRespDataItems0 struct { // ad group ID AdGroupID []string `json:"adGroupID"` // ad schedule AdSchedule []string `json:"adSchedule"` // age Age []string `json:"age"` // audience Audience []string `json:"audience"` // campaign ID CampaignID int64 `json:"campaignID,omitempty"` // channel ID ChannelID []string `json:"channelID"` // custom audience CustomAudience []string `json:"customAudience"` // devices Devices []string `json:"devices"` // folder ID FolderID int64 `json:"folderID,omitempty"` // frequency Frequency []string `json:"frequency"` // gender Gender []string `json:"gender"` // id ID int64 `json:"id,omitempty"` // interest Interest []string `json:"interest"` // keyword Keyword []string `json:"keyword"` // languages Languages []string `json:"languages"` // location Location []string `json:"location"` // placement Placement []string `json:"placement"` // tech ad group ID TechAdGroupID int64 `json:"techAdGroupID,omitempty"` // topics Topics []string `json:"topics"` }
GetAdGroupRespDataItems0 get ad group resp data items0
swagger:model GetAdGroupRespDataItems0
func (*GetAdGroupRespDataItems0) MarshalBinary ¶
func (m *GetAdGroupRespDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAdGroupRespDataItems0) UnmarshalBinary ¶
func (m *GetAdGroupRespDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAdResp ¶
type GetAdResp struct { // data Data []*GetAdRespDataItems0 `json:"data"` }
GetAdResp get ad resp
swagger:model GetAdResp
func (*GetAdResp) MarshalBinary ¶
MarshalBinary interface implementation
func (*GetAdResp) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GetAdRespDataItems0 ¶
type GetAdRespDataItems0 struct { // ad group Id AdGroupID int64 `json:"adGroupId,omitempty"` // ad group status AdGroupStatus string `json:"adGroupStatus,omitempty"` // ad name AdName string `json:"adName,omitempty"` // approval status ApprovalStatus string `json:"approvalStatus,omitempty"` // bumper ad BumperAd string `json:"bumperAd,omitempty"` // campaign status CampaignStatus string `json:"campaignStatus,omitempty"` // comment Comment string `json:"comment,omitempty"` // display URL DisplayURL string `json:"displayURL,omitempty"` // final mobile Url FinalMobileURL string `json:"finalMobileUrl,omitempty"` // final Url FinalURL string `json:"finalUrl,omitempty"` // id ID int64 `json:"id,omitempty"` // status Status string `json:"status,omitempty"` // video ID VideoID string `json:"videoID,omitempty"` }
GetAdRespDataItems0 get ad resp data items0
swagger:model GetAdRespDataItems0
func (*GetAdRespDataItems0) MarshalBinary ¶
func (m *GetAdRespDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAdRespDataItems0) UnmarshalBinary ¶
func (m *GetAdRespDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCampaignResp ¶
type GetCampaignResp struct { // data Data []*GetCampaignRespDataItems0 `json:"data"` }
GetCampaignResp get campaign resp
swagger:model GetCampaignResp
func (*GetCampaignResp) MarshalBinary ¶
func (m *GetCampaignResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCampaignResp) UnmarshalBinary ¶
func (m *GetCampaignResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCampaignRespDataItems0 ¶
type GetCampaignRespDataItems0 struct { // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` }
GetCampaignRespDataItems0 get campaign resp data items0
swagger:model GetCampaignRespDataItems0
func (*GetCampaignRespDataItems0) MarshalBinary ¶
func (m *GetCampaignRespDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCampaignRespDataItems0) UnmarshalBinary ¶
func (m *GetCampaignRespDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetFileResp ¶
type GetFileResp io.ReadCloser
GetFileResp get file resp
swagger:model GetFileResp
type GetFoldersResp ¶
type GetFoldersResp struct { // data Data []*GetFoldersRespDataItems0 `json:"data"` }
GetFoldersResp get folders resp
swagger:model GetFoldersResp
func (*GetFoldersResp) MarshalBinary ¶
func (m *GetFoldersResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetFoldersResp) UnmarshalBinary ¶
func (m *GetFoldersResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetFoldersRespDataItems0 ¶
type GetFoldersRespDataItems0 struct { // b l s split BLSSplit bool `json:"BLSSplit,omitempty"` // created at CreatedAt string `json:"createdAt,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // rules mask RulesMask string `json:"rulesMask,omitempty"` // type Type string `json:"type,omitempty"` }
GetFoldersRespDataItems0 get folders resp data items0
swagger:model GetFoldersRespDataItems0
func (*GetFoldersRespDataItems0) MarshalBinary ¶
func (m *GetFoldersRespDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetFoldersRespDataItems0) UnmarshalBinary ¶
func (m *GetFoldersRespDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSettingsObjectResp ¶
type GetSettingsObjectResp []*GetSettingsObjectRespItems0
GetSettingsObjectResp get settings object resp
swagger:model GetSettingsObjectResp
type GetSettingsObjectRespItems0 ¶
type GetSettingsObjectRespItems0 struct { // key Key string `json:"key,omitempty"` // name Name string `json:"name,omitempty"` // options Options interface{} `json:"options,omitempty"` }
GetSettingsObjectRespItems0 get settings object resp items0
swagger:model GetSettingsObjectRespItems0
func (*GetSettingsObjectRespItems0) MarshalBinary ¶
func (m *GetSettingsObjectRespItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSettingsObjectRespItems0) UnmarshalBinary ¶
func (m *GetSettingsObjectRespItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSettingsResp ¶
type GetSettingsResp interface{}
GetSettingsResp get settings resp
swagger:model GetSettingsResp
type ListMatchingFoldersResp ¶
type ListMatchingFoldersResp []*ListMatchingFoldersRespItems0
ListMatchingFoldersResp list matching folders resp
swagger:model ListMatchingFoldersResp
type ListMatchingFoldersRespItems0 ¶
type ListMatchingFoldersRespItems0 struct { // audience folder ID AudienceFolderID int64 `json:"audienceFolderID,omitempty"` // audience folder name AudienceFolderName string `json:"audienceFolderName,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // video folder ID VideoFolderID int64 `json:"videoFolderID,omitempty"` // video folder name VideoFolderName string `json:"videoFolderName,omitempty"` }
ListMatchingFoldersRespItems0 list matching folders resp items0
swagger:model ListMatchingFoldersRespItems0
func (*ListMatchingFoldersRespItems0) MarshalBinary ¶
func (m *ListMatchingFoldersRespItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListMatchingFoldersRespItems0) UnmarshalBinary ¶
func (m *ListMatchingFoldersRespItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListVideosResp ¶
type ListVideosResp []*ListVideosRespItems0
ListVideosResp list videos resp
swagger:model ListVideosResp
type ListVideosRespItems0 ¶
type ListVideosRespItems0 struct { // adgroup ID AdgroupID int64 `json:"adgroupID,omitempty"` // creative ID CreativeID string `json:"creativeID,omitempty"` // description Description string `json:"description,omitempty"` // folder ID FolderID int64 `json:"folderID,omitempty"` // title Title string `json:"title,omitempty"` // youtube ID YoutubeID string `json:"youtubeID,omitempty"` }
ListVideosRespItems0 list videos resp items0
swagger:model ListVideosRespItems0
func (*ListVideosRespItems0) MarshalBinary ¶
func (m *ListVideosRespItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListVideosRespItems0) UnmarshalBinary ¶
func (m *ListVideosRespItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MatchFoldersReq ¶
type MatchFoldersReq struct { // audience folder ID AudienceFolderID int64 `json:"audienceFolderID,omitempty"` // name Name string `json:"name,omitempty"` // video folder ID VideoFolderID int64 `json:"videoFolderID,omitempty"` }
MatchFoldersReq match folders req
swagger:model MatchFoldersReq
func (*MatchFoldersReq) MarshalBinary ¶
func (m *MatchFoldersReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MatchFoldersReq) UnmarshalBinary ¶
func (m *MatchFoldersReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MatchFoldersResp ¶
type MatchFoldersResp struct { // data Data *MatchFoldersRespData `json:"data,omitempty"` }
MatchFoldersResp match folders resp
swagger:model MatchFoldersResp
func (*MatchFoldersResp) MarshalBinary ¶
func (m *MatchFoldersResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MatchFoldersResp) UnmarshalBinary ¶
func (m *MatchFoldersResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MatchFoldersRespData ¶
type MatchFoldersRespData struct { // audience folder ID AudienceFolderID int64 `json:"audienceFolderID,omitempty"` // audience folder name AudienceFolderName string `json:"audienceFolderName,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // video folder ID VideoFolderID int64 `json:"videoFolderID,omitempty"` // video folder name VideoFolderName string `json:"videoFolderName,omitempty"` }
MatchFoldersRespData match folders resp data
swagger:model MatchFoldersRespData
func (*MatchFoldersRespData) MarshalBinary ¶
func (m *MatchFoldersRespData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MatchFoldersRespData) UnmarshalBinary ¶
func (m *MatchFoldersRespData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MathingFolders ¶
type Rules ¶
type Rules struct { Geo uint64 Age uint64 Gender uint64 Interest uint64 AudienceTitle uint64 AudienceInterests uint64 Keywords uint64 RelatedVideo uint64 AdSchedule uint64 CustomIntent uint64 CustomAffinity uint64 WeatherMeteoTargeting uint64 RelatedVideoPack uint64 CustomAudience uint64 TechGoal uint64 }
type ShowAdGroupResp ¶
type ShowAdGroupResp struct { // data Data *ShowAdGroupRespData `json:"data,omitempty"` }
ShowAdGroupResp show ad group resp
swagger:model ShowAdGroupResp
func (*ShowAdGroupResp) MarshalBinary ¶
func (m *ShowAdGroupResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShowAdGroupResp) UnmarshalBinary ¶
func (m *ShowAdGroupResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShowAdGroupRespData ¶
type ShowAdGroupRespData struct { // ad group AdGroup string `json:"adGroup,omitempty"` // ad group ID AdGroupID string `json:"adGroupID,omitempty"` // ad group type AdGroupType string `json:"adGroupType,omitempty"` // age Age string `json:"age,omitempty"` // bid modifier BidModifier string `json:"bidModifier,omitempty"` // campaign ID CampaignID int64 `json:"campaignID,omitempty"` // content keywords ContentKeywords string `json:"contentKeywords,omitempty"` // criterion type CriterionType string `json:"criterionType,omitempty"` // custom parameters CustomParameters string `json:"customParameters,omitempty"` // desktop bid modifier DesktopBidModifier string `json:"desktopBidModifier,omitempty"` // destination URL DestinationURL string `json:"destinationURL,omitempty"` // display network custom bid type DisplayNetworkCustomBidType string `json:"displayNetworkCustomBidType,omitempty"` // feed Feed string `json:"feed,omitempty"` // final URL suffix FinalURLSuffix string `json:"finalURLSuffix,omitempty"` // folder ID FolderID int64 `json:"folderID,omitempty"` // gender Gender string `json:"gender,omitempty"` // id ID int64 `json:"id,omitempty"` // location Location string `json:"location,omitempty"` // max c p c MaxCPC float64 `json:"maxCPC,omitempty"` // max c p m MaxCPM float64 `json:"maxCPM,omitempty"` // max c p v MaxCPV float64 `json:"maxCPV,omitempty"` // mobile bid modifier MobileBidModifier string `json:"mobileBidModifier,omitempty"` // nonskippable ad NonskippableAd string `json:"nonskippableAd,omitempty"` // radius Radius string `json:"radius,omitempty"` // reach Reach string `json:"reach,omitempty"` // tablet bid modifier TabletBidModifier string `json:"tabletBidModifier,omitempty"` // target c p a TargetCPA string `json:"targetCPA,omitempty"` // target c p m TargetCPM float64 `json:"targetCPM,omitempty"` // target r o a s TargetROAS string `json:"targetROAS,omitempty"` // targeting optimization TargetingOptimization string `json:"targetingOptimization,omitempty"` // top content bid modifier TopContentBidModifier string `json:"topContentBidModifier,omitempty"` // trackingtemplate Trackingtemplate string `json:"trackingtemplate,omitempty"` // tv screen bid modifier TvScreenBidModifier string `json:"tvScreenBidModifier,omitempty"` // unit Unit string `json:"unit,omitempty"` }
ShowAdGroupRespData show ad group resp data
swagger:model ShowAdGroupRespData
func (*ShowAdGroupRespData) MarshalBinary ¶
func (m *ShowAdGroupRespData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShowAdGroupRespData) UnmarshalBinary ¶
func (m *ShowAdGroupRespData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShowCampaignResp ¶
type ShowCampaignResp struct { // data Data *ShowCampaignRespData `json:"data,omitempty"` }
ShowCampaignResp show campaign resp
swagger:model ShowCampaignResp
func (*ShowCampaignResp) MarshalBinary ¶
func (m *ShowCampaignResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShowCampaignResp) UnmarshalBinary ¶
func (m *ShowCampaignResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShowCampaignRespData ¶
type ShowCampaignRespData struct { // account Account string `json:"account,omitempty"` // ad rotation AdRotation string `json:"adRotation,omitempty"` // ad schedule AdSchedule string `json:"adSchedule,omitempty"` // bid strategy name BidStrategyName string `json:"bidStrategyName,omitempty"` // bid strategy type BidStrategyType string `json:"bidStrategyType,omitempty"` // budget Budget float64 `json:"budget,omitempty"` // budget type BudgetType string `json:"budgetType,omitempty"` // campaign Campaign string `json:"campaign,omitempty"` // campaign type CampaignType string `json:"campaignType,omitempty"` // delivery method DeliveryMethod string `json:"deliveryMethod,omitempty"` // dsa language DsaLanguage string `json:"dsaLanguage,omitempty"` // dsa page feeds DsaPageFeeds string `json:"dsaPageFeeds,omitempty"` // dsa targeting source DsaTargetingSource string `json:"dsaTargetingSource,omitempty"` // dsa website DsaWebsite string `json:"dsaWebsite,omitempty"` // end date EndDate string `json:"endDate,omitempty"` // exclusion method ExclusionMethod string `json:"exclusionMethod,omitempty"` // flexible reach FlexibleReach string `json:"flexibleReach,omitempty"` // id ID int64 `json:"id,omitempty"` // inventory type InventoryType string `json:"inventoryType,omitempty"` // languages Languages string `json:"languages,omitempty"` // networks Networks string `json:"networks,omitempty"` // start date StartDate string `json:"startDate,omitempty"` // targeting method TargetingMethod string `json:"targetingMethod,omitempty"` }
ShowCampaignRespData show campaign resp data
swagger:model ShowCampaignRespData
func (*ShowCampaignRespData) MarshalBinary ¶
func (m *ShowCampaignRespData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShowCampaignRespData) UnmarshalBinary ¶
func (m *ShowCampaignRespData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShowFolderResp ¶
type ShowFolderResp struct { // data Data *ShowFolderRespData `json:"data,omitempty"` }
ShowFolderResp show folder resp
swagger:model ShowFolderResp
func (*ShowFolderResp) MarshalBinary ¶
func (m *ShowFolderResp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShowFolderResp) UnmarshalBinary ¶
func (m *ShowFolderResp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShowFolderRespData ¶
type ShowFolderRespData struct { // b l s split BLSSplit bool `json:"BLSSplit,omitempty"` // campaign ID CampaignID int64 `json:"campaignID,omitempty"` // created at CreatedAt string `json:"createdAt,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // rules mask RulesMask string `json:"rulesMask,omitempty"` // tech ad group ID TechAdGroupID int64 `json:"techAdGroupID,omitempty"` // type Type string `json:"type,omitempty"` }
ShowFolderRespData show folder resp data
swagger:model ShowFolderRespData
func (*ShowFolderRespData) MarshalBinary ¶
func (m *ShowFolderRespData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShowFolderRespData) UnmarshalBinary ¶
func (m *ShowFolderRespData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TechAdGroup ¶
type TechAdGroup struct { Adg []AdGroup `sql:"-"` ID int `sql:"id"` CampaignID int64 `sql:"campaign_id"` AdGroup string `sql:"ad_group"` MaxCPC float64 `sql:"max_cpc"` MaxCPM float64 `sql:"max_cpm"` //- 0.01 TargetCPA string `sql:"target_cpa"` MaxCPV float64 `sql:"max_cpv"` //- 0.01 TargetCPM float64 `sql:"target_cpm"` //- 50.00 TargetROAS string `sql:"target_roas"` DesktopBidModifier string `sql:"desktop_bid_modifier"` MobileBidModifier string `sql:"mobile_bid_modifier"` TabletBidModifier string `sql:"tablet_bid_modifier"` TVScreenBidModifier string `sql:"tv_screen_bid_modifier"` TopContentBidModifier string `sql:"top_content_bid_modifier"` DisplayNetwork string `sql:"display_network"` //Keywords CustomBidType string `sql:"custom_bid_type"` FirstPageBid string `sql:"first_page_bid"` TopOfPageBid string `sql:"top_of_page_bid"` TargetingOptimization string `sql:"targeting_optimization"` //- Disabled //ContentKeywords string `sql:"content_keywords"` //- Disabled AdGroupType string `sql:"ad_group_type"` //- Non-skippable TrackingTemplate string `sql:"tracking_template"` FinalURLSuffix string `sql:"final_url_suffix"` CustomParameters string `sql:"custom_parameters"` BidModifier string `sql:"bid_modifier"` DestinationURL string `sql:"destination_url"` CriterionType string `sql:"criterion_type"` Reach string `sql:"reach"` Feed string `sql:"feed"` Radius string `sql:"radius"` Unit string `sql:"unit"` // contains filtered or unexported fields }
Source Files
¶
- ad.go
- adgroup.go
- campaign.go
- create_ad_group_req.go
- create_ad_group_resp.go
- create_ad_req.go
- create_ad_resp.go
- create_campaign_req.go
- create_campaign_resp.go
- create_folder_req.go
- create_folder_resp.go
- create_tech_ad_group_req.go
- create_tech_ad_group_resp.go
- error_mess.go
- folder.go
- get_ad_group_resp.go
- get_ad_resp.go
- get_campaign_resp.go
- get_file_resp.go
- get_folders_resp.go
- get_settings_object_resp.go
- get_settings_resp.go
- list_matching_folders_resp.go
- list_videos_resp.go
- match_folders_req.go
- match_folders_resp.go
- rules.go
- show_ad_group_resp.go
- show_campaign_resp.go
- show_folder_resp.go
- video.go